* sysdeps/wordsize-32/Makefile (CPPFLAGS-divdi3.c): Set to

-Din_divdi3_c.
	* sysdeps/wordsize-32/symbol-hacks.h: Skip if in_divdi3_c is defined.
This commit is contained in:
Ulrich Drepper 2005-11-16 19:20:10 +00:00
parent 478f33c9f7
commit 510afb6420
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-11-08 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/wordsize-32/Makefile (CPPFLAGS-divdi3.c): Set to
-Din_divdi3_c.
* sysdeps/wordsize-32/symbol-hacks.h: Skip if in_divdi3_c is defined.
2005-11-16 Jakub Jelinek <jakub@redhat.com> 2005-11-16 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/fchownat.c: Include string.h. * sysdeps/unix/sysv/linux/fchownat.c: Include string.h.

View File

@ -2,5 +2,6 @@ ifeq ($(subdir),csu)
ifeq (yes,$(build-shared)) ifeq (yes,$(build-shared))
sysdep_routines += divdi3 sysdep_routines += divdi3
shared-only-routines += divdi3 shared-only-routines += divdi3
CPPFLAGS-divdi3.c = -Din_divdi3_c
endif endif
endif endif

View File

@ -22,7 +22,7 @@
therefore we get PLTs. Unnecessarily so. Changing gcc is a big therefore we get PLTs. Unnecessarily so. Changing gcc is a big
task which might not be worth it so we play tricks with the task which might not be worth it so we play tricks with the
assembler. */ assembler. */
#if !defined __ASSEMBLER__ && !defined NOT_IN_libc && defined SHARED #if !defined __ASSEMBLER__ && !defined in_divdi3_c && !defined NOT_IN_libc && defined SHARED
asm ("__divdi3 = __divdi3_internal"); asm ("__divdi3 = __divdi3_internal");
asm ("__udivdi3 = __udivdi3_internal"); asm ("__udivdi3 = __udivdi3_internal");
asm ("__moddi3 = __moddi3_internal"); asm ("__moddi3 = __moddi3_internal");