about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/setjmp-common.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-07 19:53:49 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-07 19:53:49 +0000
commitef690addb555ce45696315a2558cde6f70971f1a (patch)
tree8ea57cd3a3ee44fcb95d37e613effd505b5c29ea /sysdeps/powerpc/powerpc64/setjmp-common.S
parent41661489123c7da38c1239281e42bc2b1449d547 (diff)
downloadglibc-ef690addb555ce45696315a2558cde6f70971f1a.tar.gz
glibc-ef690addb555ce45696315a2558cde6f70971f1a.tar.xz
glibc-ef690addb555ce45696315a2558cde6f70971f1a.zip
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.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/setjmp-common.S')
-rw-r--r--sysdeps/powerpc/powerpc64/setjmp-common.S18
1 files changed, 9 insertions, 9 deletions
diff --git a/sysdeps/powerpc/powerpc64/setjmp-common.S b/sysdeps/powerpc/powerpc64/setjmp-common.S
index 541b5d4276..85c840348d 100644
--- a/sysdeps/powerpc/powerpc64/setjmp-common.S
+++ b/sysdeps/powerpc/powerpc64/setjmp-common.S
@@ -31,11 +31,11 @@
 #ifndef __NO_VMX__
 	.section	".toc","aw"
 .LC__dl_hwcap:
-#ifdef SHARED
-	.tc _rtld_global[TC],_rtld_global
-#else
+# ifdef SHARED
+	.tc _rtld_global_ro[TC],_rtld_global_ro
+# else
 	.tc _dl_hwcap[TC],_dl_hwcap
-#endif
+# endif
 	.section ".text"
 #endif
 
@@ -85,12 +85,12 @@ ENTRY (BP_SYM (__sigsetjmp))
 	stfd fp31,((JB_FPRS+17)*8)(3)
 #ifndef __NO_VMX__
 	ld    r5,.LC__dl_hwcap@toc(r2)
-#ifdef SHARED
+# ifdef SHARED
 	/* Load _rtld-global._dl_hwcap.  */
-	ld    r5,RTLD_GLOBAL_DL_HWCAP_OFFSET(r5)
-#else
+	ld    r5,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r5)
+# else
 	ld    r5,0(r5) /* Load extern _dl_hwcap.  */
-#endif
+# endif
 	andis.  r5,r5,(PPC_FEATURE_HAS_ALTIVEC >> 16)
 	beq	no_vmx
 	la	r5,((JB_VRS)*8)(3)
@@ -114,7 +114,7 @@ ENTRY (BP_SYM (__sigsetjmp))
 	vsel    v20,v20,v2,v3
 	stvx    v5,0,r5
 
-#define save_2vmx_partial(savevr,prev_savevr,hivr,shiftvr,maskvr,savegpr,addgpr) \
+# define save_2vmx_partial(savevr,prev_savevr,hivr,shiftvr,maskvr,savegpr,addgpr) \
 	addi    addgpr,addgpr,32; \
 	vperm   savevr,savevr,savevr,shiftvr; \
 	vsel    hivr,prev_savevr,savevr,maskvr; \