diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-02-11 06:31:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-02-11 06:31:57 +0000 |
commit | e5ffa64a7003b5886c85c6434ced62ebc468b40d (patch) | |
tree | 562631f19dcbb5479eab1336d1fbc94daac53571 /linuxthreads/sysdeps/unix/sysv/linux/sparc | |
parent | d9dd121ebe3e983e450c7189cf06dcf000f76178 (diff) | |
download | glibc-e5ffa64a7003b5886c85c6434ced62ebc468b40d.tar glibc-e5ffa64a7003b5886c85c6434ced62ebc468b40d.tar.gz glibc-e5ffa64a7003b5886c85c6434ced62ebc468b40d.tar.bz2 glibc-e5ffa64a7003b5886c85c6434ced62ebc468b40d.zip |
Update.
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.
Diffstat (limited to 'linuxthreads/sysdeps/unix/sysv/linux/sparc')
-rw-r--r-- | linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S | 10 | ||||
-rw-r--r-- | linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S index 2da7703e31..132da67a14 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S +++ b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S @@ -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 diff --git a/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S index 8b85d763d4..f7edf44678 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S +++ b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S @@ -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 |