This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Some more ppc fixes


Hi!

I've missed two JB_SIZE redefinitions, plus this patch contains some
spelling fixes.

2004-03-16  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Spelling.
	(JB_SIZE): Undefine before including __longjmp-common.S again.
	* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Spelling.
	(JB_SIZE): Undefine before including setjmp-common.S again.
	* sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Spelling.
	* sysdeps/powerpc/powerpc64/bsd-setjmp.S: Spelling.
	* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Spelling.
	* sysdeps/powerpc/powerpc32/bsd-setjmp.S: Spelling.
	* sysdeps/powerpc/sigjmp.c: Spelling.

--- libc/sysdeps/powerpc/powerpc64/bsd-_setjmp.S.jj	2004-02-19 17:50:45.000000000 +0100
+++ libc/sysdeps/powerpc/powerpc64/bsd-_setjmp.S	2004-03-16 15:40:12.616305287 +0100
@@ -23,7 +23,7 @@
 #include <bp-sym.h>
 
 #if defined NOT_IN_libc
-/* Build a none versioned object for rtld-*.  */
+/* Build a non-versioned object for rtld-*.  */
 ENTRY (BP_SYM (_setjmp))
 	li r4,0			/* Set second argument to 0.  */
 	b JUMPTARGET(BP_SYM (__sigsetjmp))
--- libc/sysdeps/powerpc/powerpc64/bsd-setjmp.S.jj	2004-02-19 17:50:45.000000000 +0100
+++ libc/sysdeps/powerpc/powerpc64/bsd-setjmp.S	2004-03-16 15:39:28.162257059 +0100
@@ -23,10 +23,10 @@
 
 #if defined SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)
 
-/* We need 2 copies of identicatal code for the  setjmp's as gas complains
-  erronously about having multiple versions of setjmp this eliminates the
-  need for the strong alias of __setjmp to setjmp which
-  does not support versioning i.e. another gas unimplemented feature. */
+/* We need 2 copies of identical code for the setjmp's as gas complains
+   erroneously about having multiple versions of setjmp.  This eliminates the
+   need for the strong alias of __setjmp to setjmp which
+   does not support versioning, i.e. another gas unimplemented feature. */
 symbol_version (__novmx__setjmp,__setjmp,GLIBC_2.3)
 symbol_version (__novmxsetjmp,setjmp,GLIBC_2.3)
 
--- libc/sysdeps/powerpc/powerpc32/bsd-_setjmp.S.jj	2004-02-19 17:50:45.000000000 +0100
+++ libc/sysdeps/powerpc/powerpc32/bsd-_setjmp.S	2004-03-16 15:35:24.060920505 +0100
@@ -23,7 +23,7 @@
 #include <bp-sym.h>
 
 #if defined NOT_IN_libc
-/* Build a none versioned object for rtld-*.  */
+/* Build a non-versioned object for rtld-*.  */
 ENTRY (BP_SYM (_setjmp))
 	li r4,0			/* Set second argument to 0.  */
 	b JUMPTARGET(BP_SYM (__sigsetjmp))
--- libc/sysdeps/powerpc/powerpc32/fpu/__longjmp.S.jj	2004-02-19 17:50:45.000000000 +0100
+++ libc/sysdeps/powerpc/powerpc32/fpu/__longjmp.S	2004-03-16 15:16:48.242493553 +0100
@@ -22,7 +22,7 @@
 #include <shlib-compat.h>
 
 #if defined NOT_IN_libc
-/* Build a none versioned object for rtld-*.  */
+/* Build a non-versioned object for rtld-*.  */
 # include "__longjmp-common.S"
 
 #else /* !NOT_IN_libc */
@@ -33,6 +33,7 @@ default_symbol_version (__vmx__longjmp,_
 
 # if defined SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)
 #  define __NO_VMX__
+#  undef JB_SIZE
 symbol_version (__novmx__longjmp,__longjmp,GLIBC_2.0);
 #  undef __longjmp
 #  define __longjmp  __novmx__longjmp
--- libc/sysdeps/powerpc/powerpc32/fpu/setjmp.S.jj	2004-02-19 17:50:45.000000000 +0100
+++ libc/sysdeps/powerpc/powerpc32/fpu/setjmp.S	2004-03-16 15:16:13.558696392 +0100
@@ -22,7 +22,7 @@
 #include <shlib-compat.h>
 
 #if defined NOT_IN_libc
-/* Build a none versioned object for rtld-*.  */
+/* Build a non-versioned object for rtld-*.  */
 # include "setjmp-common.S"
 
 #else /* !NOT_IN_libc */
@@ -36,6 +36,7 @@ default_symbol_version (__vmx__sigsetjmp
 #  define __NO_VMX__
 #  undef __sigsetjmp
 #  undef __sigjmp_save
+#  undef JB_SIZE
 symbol_version (__novmx__sigsetjmp,__sigsetjmp,GLIBC_2.0)
 #  define __sigsetjmp __novmx__sigsetjmp
 #  define __sigjmp_save __novmx__sigjmp_save
--- libc/sysdeps/powerpc/powerpc32/bsd-setjmp.S.jj	2004-02-19 17:50:45.000000000 +0100
+++ libc/sysdeps/powerpc/powerpc32/bsd-setjmp.S	2004-03-16 15:40:57.426289821 +0100
@@ -24,10 +24,10 @@
 #if defined SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)
 
 
-/* We need 2 copies of identicatal code for the  setjmp's as gas complains
-  erronously about having multiple versions of setjmp this eliminates the
-  need for the strong alias of __setjmp to setjmp which
-  does not support versioning i.e. another gas unimplemented feature. */
+/* We need 2 copies of identical code for the  setjmp's as gas complains
+   erroneously about having multiple versions of setjmp.  This eliminates the
+   need for the strong alias of __setjmp to setjmp which
+   does not support versioning, i.e. another gas unimplemented feature. */
 symbol_version (__novmx__setjmp,__setjmp,GLIBC_2.0)
 symbol_version (__novmxsetjmp,setjmp,GLIBC_2.0)
 
--- libc/sysdeps/powerpc/sigjmp.c.jj	2004-02-14 04:26:49.000000000 +0100
+++ libc/sysdeps/powerpc/sigjmp.c	2004-03-16 15:06:08.395923149 +0100
@@ -38,7 +38,7 @@ __vmx__sigjmp_save (sigjmp_buf env, int 
 }
 
 #if defined NOT_IN_libc
-/* Build a none versioned object for rtld-*.  */
+/* Build a non-versioned object for rtld-*.  */
 strong_alias (__vmx__sigjmp_save,__sigjmp_save)
 #else
 /* Build a versioned object for libc.  */

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]