mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
Update.
2004-03-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/elf/rtld-global-offsets.sym: Adjust for moving _dl_hwcap into _rtld_global_ro. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.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/powerpc64/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
This commit is contained in:
parent
4166148912
commit
ef690addb5
15
ChangeLog
15
ChangeLog
@ -1,3 +1,18 @@
|
||||
2004-03-07 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/powerpc/elf/rtld-global-offsets.sym: Adjust for moving
|
||||
_dl_hwcap into _rtld_global_ro.
|
||||
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
|
||||
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
|
||||
* sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
|
||||
* sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
|
||||
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.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/powerpc64/getcontext.S: Likewise.
|
||||
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
|
||||
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
|
||||
|
||||
2004-03-07 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* elf/dl-sym.c: Include <dl-tls.h> only when USE_TLS.
|
||||
|
@ -2,6 +2,6 @@
|
||||
|
||||
#include <ldsodefs.h>
|
||||
|
||||
#define rtdl_global_offsetof(mem) offsetof (struct rtld_global, mem)
|
||||
#define rtdl_global_ro_offsetof(mem) offsetof (struct rtld_global_ro, mem)
|
||||
|
||||
RTLD_GLOBAL_DL_HWCAP_OFFSET rtdl_global_offsetof (_dl_hwcap)
|
||||
RTLD_GLOBAL_RO_DL_HWCAP_OFFSET rtdl_global_ro_offsetof (_dl_hwcap)
|
||||
|
@ -36,11 +36,11 @@ ENTRY (BP_SYM (__longjmp))
|
||||
bl _GLOBAL_OFFSET_TABLE_@local-4
|
||||
mflr r5
|
||||
# ifdef SHARED
|
||||
lwz r5,_rtld_global@got(r5)
|
||||
lwz r5,_rtld_global_ro@got(r5)
|
||||
mtlr r6
|
||||
lwz r5,RTLD_GLOBAL_DL_HWCAP_OFFSET(r5)
|
||||
lwz r5,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r5)
|
||||
# else
|
||||
lwz r5,_rtld_global@got(r5)
|
||||
lwz r5,_rtld_global_ro@got(r5)
|
||||
mtlr r6
|
||||
lwz r5,0(r5)
|
||||
# endif
|
||||
|
@ -79,11 +79,11 @@ ENTRY (BP_SYM (__sigsetjmp))
|
||||
bl _GLOBAL_OFFSET_TABLE_@local-4
|
||||
mflr r5
|
||||
#ifdef SHARED
|
||||
lwz r5,_rtld_global@got(r5)
|
||||
lwz r5,_rtld_global_ro@got(r5)
|
||||
mtlr r6
|
||||
lwz r5,RTLD_GLOBAL_DL_HWCAP_OFFSET(r5)
|
||||
lwz r5,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r5)
|
||||
#else
|
||||
lwz r5,_rtld_global@got(r5)
|
||||
lwz r5,_rtld_global_ro@got(r5)
|
||||
mtlr r6
|
||||
lwz r5,0(r5)
|
||||
#endif
|
||||
|
@ -33,7 +33,7 @@
|
||||
.section ".toc","aw"
|
||||
.LC__dl_hwcap:
|
||||
# ifdef SHARED
|
||||
.tc _rtld_global[TC],_rtld_global
|
||||
.tc _rtld_global_ro[TC],_rtld_global_ro
|
||||
# else
|
||||
.tc _dl_hwcap[TC],_dl_hwcap
|
||||
# endif
|
||||
@ -46,7 +46,7 @@ ENTRY (BP_SYM (__longjmp))
|
||||
ld r5,.LC__dl_hwcap@toc(r2)
|
||||
# ifdef SHARED
|
||||
/* Load _rtld-global._dl_hwcap. */
|
||||
ld r5,RTLD_GLOBAL_DL_HWCAP_OFFSET(r5)
|
||||
ld r5,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r5)
|
||||
# else
|
||||
ld r5,0(r5) /* Load extern _dl_hwcap. */
|
||||
# endif
|
||||
|
@ -32,7 +32,7 @@
|
||||
.section ".toc","aw"
|
||||
.LC__dl_hwcap:
|
||||
# ifdef SHARED
|
||||
.tc _rtld_global[TC],_rtld_global
|
||||
.tc _rtld_global_ro[TC],_rtld_global_ro
|
||||
# else
|
||||
.tc _dl_hwcap[TC],_dl_hwcap
|
||||
# endif
|
||||
@ -87,7 +87,7 @@ ENTRY (BP_SYM (__sigsetjmp))
|
||||
ld r5,.LC__dl_hwcap@toc(r2)
|
||||
# ifdef SHARED
|
||||
/* Load _rtld-global._dl_hwcap. */
|
||||
ld r5,RTLD_GLOBAL_DL_HWCAP_OFFSET(r5)
|
||||
ld r5,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r5)
|
||||
# else
|
||||
ld r5,0(r5) /* Load extern _dl_hwcap. */
|
||||
# endif
|
||||
|
@ -124,7 +124,7 @@ ENTRY(__getcontext)
|
||||
# ifdef SHARED
|
||||
lwz r7,_rtld_global_ro@got(r7)
|
||||
mtlr r8
|
||||
lwz r7,RTLD_GLOBAL_DL_HWCAP_OFFSET(r7)
|
||||
lwz r7,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r7)
|
||||
# else
|
||||
lwz r7,_dl_hwcap@got(r7)
|
||||
mtlr r8
|
||||
|
@ -60,9 +60,9 @@ ENTRY(__setcontext)
|
||||
bl _GLOBAL_OFFSET_TABLE_@local-4
|
||||
mflr r7
|
||||
# ifdef SHARED
|
||||
lwz r7,_rtld_global@got(r7)
|
||||
lwz r7,_rtld_global_ro@got(r7)
|
||||
mtlr r8
|
||||
lwz r7,RTLD_GLOBAL_DL_HWCAP_OFFSET(r7)
|
||||
lwz r7,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r7)
|
||||
# else
|
||||
lwz r7,_dl_hwcap@got(r7)
|
||||
mtlr r8
|
||||
|
@ -126,7 +126,7 @@ ENTRY(__swapcontext)
|
||||
# ifdef SHARED
|
||||
lwz r7,_rtld_global_ro@got(r7)
|
||||
mtlr r8
|
||||
lwz r7,RTLD_GLOBAL_DL_HWCAP_OFFSET(r7)
|
||||
lwz r7,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r7)
|
||||
# else
|
||||
lwz r7,_dl_hwcap@got(r7)
|
||||
mtlr r8
|
||||
@ -268,7 +268,7 @@ L(no_vec):
|
||||
# ifdef SHARED
|
||||
lwz r7,_rtld_global_ro@got(r7)
|
||||
mtlr r8
|
||||
lwz r7,RTLD_GLOBAL_DL_HWCAP_OFFSET(r7)
|
||||
lwz r7,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r7)
|
||||
# else
|
||||
lwz r7,_dl_hwcap@got(r7)
|
||||
mtlr r8
|
||||
|
@ -270,7 +270,7 @@ ENTRY(__getcontext)
|
||||
li r10,0
|
||||
# ifdef SHARED
|
||||
/* Load _rtld-global._dl_hwcap. */
|
||||
ld r5,RTLD_GLOBAL_DL_HWCAP_OFFSET(r5)
|
||||
ld r5,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r5)
|
||||
# else
|
||||
ld r5,0(r5) /* Load extern _dl_hwcap. */
|
||||
# endif
|
||||
|
@ -186,7 +186,7 @@ compat_symbol (libc, __novec_setcontext, setcontext, GLIBC_2_3)
|
||||
.section ".toc","aw"
|
||||
.LC__dl_hwcap:
|
||||
#ifdef SHARED
|
||||
.tc _rtld_global[TC],_rtld_global
|
||||
.tc _rtld_global_ro[TC],_rtld_global_ro
|
||||
#else
|
||||
.tc _dl_hwcap[TC],_dl_hwcap
|
||||
#endif
|
||||
@ -226,7 +226,7 @@ ENTRY(__setcontext)
|
||||
ld r10,(SIGCONTEXT_V_REGS_PTR)(r31)
|
||||
# ifdef SHARED
|
||||
/* Load _rtld-global._dl_hwcap. */
|
||||
ld r5,RTLD_GLOBAL_DL_HWCAP_OFFSET(r5)
|
||||
ld r5,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r5)
|
||||
# else
|
||||
ld r5,0(r5) /* Load extern _dl_hwcap. */
|
||||
# endif
|
||||
|
@ -393,7 +393,7 @@ ENTRY(__swapcontext)
|
||||
li r10,0
|
||||
#ifdef SHARED
|
||||
/* Load _rtld-global._dl_hwcap. */
|
||||
ld r8,RTLD_GLOBAL_DL_HWCAP_OFFSET(r8)
|
||||
ld r8,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r8)
|
||||
#else
|
||||
ld r8,0(r8) /* Load extern _dl_hwcap. */
|
||||
#endif
|
||||
@ -529,7 +529,7 @@ L(has_no_vec):
|
||||
ld r10,(SIGCONTEXT_V_REGS_PTR)(r31)
|
||||
# ifdef SHARED
|
||||
/* Load _rtld-global._dl_hwcap. */
|
||||
ld r8,RTLD_GLOBAL_DL_HWCAP_OFFSET(r8)
|
||||
ld r8,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r8)
|
||||
# else
|
||||
ld r8,0(r8) /* Load extern _dl_hwcap. */
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user