mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): No
need to check GLRO(dl_hwcap) & HWCAP_SPARC_FLUSH on sparcv9. (sparc_fixup_plt): Add do_flush argument instead of figuring whether flush should be used or not inside of the function. (elf_machine_fixup_plt, elf_machine_rela): Adjust caller. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone, __thread_start): Use HIDDEN_JUMPTARGET. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone, __thread_start): Likewise. * sysdeps/unix/sysv/linux/sparc/sysdep.h (JUMPTARGET): Define. nptl/ * sysdeps/unix/sysv/linux/lowlevellock.c: Comment fix. * sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid): Pass LLL_SHARED as 4th argument to lll_futex_timed_wait. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): No need to check GLRO(dl_hwcap) & HWCAP_SPARC_FLUSH on sparcv9. (sparc_fixup_plt): Add do_flush argument instead of figuring whether flush should be used or not inside of the function. (elf_machine_fixup_plt, elf_machine_rela): Adjust caller. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone, __thread_start): Use HIDDEN_JUMPTARGET. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone, __thread_start): Likewise. * sysdeps/unix/sysv/linux/sparc/sysdep.h (JUMPTARGET): Define.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1996, 1997, 1998, 2000, 2003, 2004
|
||||
/* Copyright (C) 1996, 1997, 1998, 2000, 2003, 2004, 2007
|
||||
Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Richard Henderson (rth@tamu.edu).
|
||||
@ -71,7 +71,7 @@ ENTRY (__clone)
|
||||
restore %o0,%g0,%o0
|
||||
|
||||
.Lerror:
|
||||
call __errno_location
|
||||
call HIDDEN_JUMPTARGET(__errno_location)
|
||||
or %g0,EINVAL,%i0
|
||||
st %i0,[%o0]
|
||||
jmpl %i7 + 8, %g0
|
||||
@ -99,7 +99,7 @@ __thread_start:
|
||||
mov %g0, %fp /* terminate backtrace */
|
||||
call %g2
|
||||
mov %g3,%o0
|
||||
call _exit,0
|
||||
call HIDDEN_JUMPTARGET(_exit),0
|
||||
nop
|
||||
|
||||
cfi_endproc
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1997, 2000 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997, 2000, 2007 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Richard Henderson (rth@tamu.edu).
|
||||
|
||||
@ -85,7 +85,7 @@ ENTRY (__clone)
|
||||
st %i0, [%g2+%lo(errno)]
|
||||
#endif
|
||||
#else
|
||||
call __errno_location
|
||||
call HIDDEN_JUMPTARGET(__errno_location)
|
||||
nop
|
||||
st %i0, [%o0]
|
||||
#endif
|
||||
@ -112,7 +112,7 @@ __thread_start:
|
||||
mov %g0, %fp /* terminate backtrace */
|
||||
call %g2
|
||||
mov %g3,%o0
|
||||
call _exit,0
|
||||
call HIDDEN_JUMPTARGET(_exit),0
|
||||
nop
|
||||
cfi_endproc
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2000, 2002, 2003, 2004, 2007 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Jakub Jelinek <jakub@redhat.com>, 2000.
|
||||
|
||||
@ -149,5 +149,8 @@
|
||||
})
|
||||
|
||||
|
||||
#ifdef __ASSEMBLER__
|
||||
# define JUMPTARGET(sym) sym
|
||||
#endif
|
||||
|
||||
#endif /* _LINUX_SPARC_SYSDEP_H */
|
||||
|
Reference in New Issue
Block a user