1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
2003-02-10  Ulrich Drepper  <drepper@redhat.com>

	* elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and
	_BSD_SOURCE to compiler.
	* elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings.
	Patches by Alan Modra.
This commit is contained in:
Ulrich Drepper
2003-02-11 06:31:57 +00:00
parent d9dd121ebe
commit e5ffa64a70
16 changed files with 83 additions and 39 deletions

View File

@ -23,7 +23,7 @@
#ifdef SHARED
.LLGETPC0:
retl
addl %o7, %o0, %o0
add %o7, %o0, %o0
#endif
ENTRY(__vfork)
#ifdef SHARED
@ -38,9 +38,9 @@ ENTRY(__vfork)
ld [%o2], %o2
cmp %o2, 0
#else
.weak __pthread_fork
sethi %hi(__pthread_fork), %o0
orcc %o0, %lo(__pthread_fork), %o0
.weak pthread_create
sethi %hi(pthread_create), %o0
orcc %o0, %lo(pthread_create), %o0
#endif
#if defined SHARED && !defined BROKEN_SPARC_WDISP22
bne HIDDEN_JUMPTARGET(__fork)
@ -48,7 +48,7 @@ ENTRY(__vfork)
bne 1f
#endif
mov __NR_vfork, %g1
ta 0x10;
ta 0x10
bcs __syscall_error_handler
nop
sub %o1, 1, %o1

View File

@ -22,7 +22,7 @@
#ifdef SHARED
.LLGETPC0:
retl
addl %o7, %o0, %o0
add %o7, %o0, %o0
#endif
ENTRY(__vfork)
#ifdef SHARED
@ -38,9 +38,9 @@ ENTRY(__vfork)
cmp %o2, 0
bne HIDDEN_JUMPTARGET(__fork)
#else
.weak __pthread_fork
sethi %hi(__pthread_fork), %o0
or %o0, %lo(__pthread_fork), %o0
.weak pthread_create
sethi %hi(pthread_create), %o0
or %o0, %lo(pthread_create), %o0
brnz,pn %o0, 1f
#endif
mov __NR_vfork, %g1