diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-07-25 08:19:59 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-07-25 08:19:59 +0000 |
commit | 51d46f733a26fc9da14cb5d45d88d09e4fc088dd (patch) | |
tree | b0845ee54f7062089823a7065201145aefbff2ba /sysdeps/wordsize-32 | |
parent | 78ce5a3bbb6ce2ef0c43f5bd575708ff2c7715b9 (diff) | |
download | glibc-51d46f733a26fc9da14cb5d45d88d09e4fc088dd.tar.gz |
Update.
2002-07-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/wordsize-32/divdi3.c: Define __divdi3_internal.
* sysdeps/wordsize-32/lldiv.c: Make gcc use __divdi3_internal instead
of __divdi3.
* sysdeps/unix/sysv/linux/adjtime.c: Use __adjtimex_internal.
* sysdeps/unix/sysv/linux/ntp_gettime.c: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add __adjtimex_internal
alias for adjtimex syscall.
* elf/dl-minimal.c: Define __assert_fail_internal.
* assert/assert.c: Likewise.
* include/assert.h: Define __assert_file macro if !SHARED and not
NOT_IN_libc.
* iconv/Makefile: Define NOT_IN_libc for objects in standalone
programs.
* locale/Makefile: Likewise.
* nscd/Makefile: Likewise.
* catgets/Makefile: Likewise.
succesful seek call. Simplify error checking.
Diffstat (limited to 'sysdeps/wordsize-32')
-rw-r--r-- | sysdeps/wordsize-32/divdi3.c | 1 | ||||
-rw-r--r-- | sysdeps/wordsize-32/lldiv.c | 9 |
2 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/wordsize-32/divdi3.c b/sysdeps/wordsize-32/divdi3.c index b8a8aeecc5..8ca9fe4c0d 100644 --- a/sysdeps/wordsize-32/divdi3.c +++ b/sysdeps/wordsize-32/divdi3.c @@ -294,6 +294,7 @@ __divdi3 (DWtype u, DWtype v) w = -w; return w; } +INTDEF(__divdi3) DWtype __moddi3 (DWtype u, DWtype v) diff --git a/sysdeps/wordsize-32/lldiv.c b/sysdeps/wordsize-32/lldiv.c index b097adc530..2da982ca57 100644 --- a/sysdeps/wordsize-32/lldiv.c +++ b/sysdeps/wordsize-32/lldiv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,6 +21,13 @@ #include <inttypes.h> +#ifdef SHARED +/* This is an ugly trick. We cause the C code generated for the code + in lldiv.c to use __divdi3_internal instead of __divdi3 by defining + an alias on the assembler level. */ +asm ("__divdi3 = __divdi3_internal"); +#endif + #include <sysdeps/generic/lldiv.c> #undef imaxdiv |