1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use

JUMPTARGET.  Instead append @local to __syscall_error.
	* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences
	of JUMPTARGET.  Instead append @local to labels.
	* sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
	* sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise.
	* sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.

	* sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants.
	* sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.  Use one GOT
	slot to access both constants.
	* sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
This commit is contained in:
Ulrich Drepper
2005-05-21 19:29:13 +00:00
parent f7d78e18aa
commit b0e196a46f
26 changed files with 111 additions and 86 deletions

View File

@ -48,7 +48,7 @@ ENTRY (BP_SYM (__brk))
li r3,0
blelr+
li r3,ENOMEM
b JUMPTARGET(__syscall_error)
b __syscall_error@local
END (BP_SYM (__brk))
weak_alias (BP_SYM (__brk), BP_SYM (brk))

View File

@ -132,11 +132,11 @@ L(parent):
#endif
addi r1,r1,32
bnslr+
b JUMPTARGET(__syscall_error)
b __syscall_error@local
L(badargs):
li r3,EINVAL
b JUMPTARGET(__syscall_error)
b __syscall_error@local
END (BP_SYM (__clone))
weak_alias (BP_SYM (__clone), BP_SYM (clone))

View File

@ -251,7 +251,7 @@ L(no_vec):
stw r3,_UC_REGS_PTR(r12)
addi r5,r12,_UC_SIGMASK
li r3,SIG_BLOCK
bl JUMPTARGET(__sigprocmask)
bl __sigprocmask@local
lwz r0,_FRAME_LR_SAVE+16(r1)
addi r1,r1,16
@ -363,7 +363,7 @@ ENTRY(__novec_getcontext)
addi r5,r3,_UC_SIGMASK - _UC_REG_SPACE
li r4,0
li r3,SIG_BLOCK
bl JUMPTARGET(__sigprocmask)
bl __sigprocmask@local
lwz r0,20(r1)
addi r1,r1,16
@ -384,7 +384,7 @@ compat_symbol (libc, __novec_getcontext, getcontext, GLIBC_2_3_3)
compat_text_section
ENTRY (__getcontext_stub)
li r3,ENOSYS
b JUMPTARGET(__syscall_error)
b __syscall_error@local
END (__getcontext_stub)
.previous

View File

@ -101,7 +101,7 @@ ENTRY(__makecontext)
L(exitcode):
mr. r3,r31
beq 4f
bl JUMPTARGET(__setcontext)
bl __setcontext@local
4: bl HIDDEN_JUMPTARGET(exit)
b 4b
@ -188,7 +188,7 @@ ENTRY(__novec_makecontext)
L(novec_exitcode):
mr. r3,r31
beq 4f
bl JUMPTARGET(__novec_setcontext)
bl __novec_setcontext@local
4: bl HIDDEN_JUMPTARGET(exit)
b 4b
@ -206,7 +206,7 @@ compat_symbol (libc, __novec_makecontext, makecontext, GLIBC_2_3_3)
compat_text_section
ENTRY (__makecontext_stub)
li r3,ENOSYS
b JUMPTARGET(__syscall_error)
b __syscall_error@local
END (__makecontext_stub)
.previous

View File

@ -52,7 +52,7 @@ ENTRY(__setcontext)
li r5,0
addi r4,r3,_UC_SIGMASK
li r3,SIG_SETMASK
bl JUMPTARGET(__sigprocmask)
bl __sigprocmask@local
cmpwi r3,0
bne L(error_exit)
@ -295,7 +295,7 @@ ENTRY(__novec_setcontext)
li r5,0
addi r4,r3,_UC_SIGMASK
li r3,SIG_SETMASK
bl JUMPTARGET(__sigprocmask)
bl __sigprocmask@local
cmpwi r3,0
bne L(novec_error_exit)
@ -405,7 +405,7 @@ compat_symbol (libc, __novec_setcontext, setcontext, GLIBC_2_3_3)
compat_text_section
ENTRY (__setcontext_stub)
li r3,ENOSYS
b JUMPTARGET(__syscall_error)
b __syscall_error@local
END (__setcontext_stub)
.previous

View File

@ -249,7 +249,7 @@ L(no_vec):
stw r3,_UC_REGS_PTR(r12)
addi r5,r12,_UC_SIGMASK
li r3,SIG_SETMASK
bl JUMPTARGET(__sigprocmask)
bl __sigprocmask@local
cmpwi r3,0
bne L(error_exit)
@ -579,7 +579,7 @@ ENTRY(__novec_swapcontext)
addi r5,r3,_UC_SIGMASK - _UC_REG_SPACE
addi r4,r4,_UC_SIGMASK
li r3,SIG_SETMASK
bl JUMPTARGET(__sigprocmask)
bl __sigprocmask@local
cmpwi r3,0
bne L(novec_error_exit)
@ -706,7 +706,7 @@ compat_symbol (libc, __novec_swapcontext, swapcontext, GLIBC_2_3_3)
compat_text_section
ENTRY (__swapcontext_stub)
li r3,ENOSYS
b JUMPTARGET(__syscall_error)
b __syscall_error@local
END (__swapcontext_stub)
.previous

View File

@ -50,7 +50,7 @@ ENTRY (__vfork)
bnslr+
.Lsyscall_error:
b JUMPTARGET(__syscall_error)
b __syscall_error@local
#endif
PSEUDO_END (__vfork)