From 4041cfe888babcba13cb7ab4b11e7d288a3d29fd Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 11 Mar 2004 21:59:36 +0000 Subject: Update. * sysdeps/powerpc/powerpc32/__longjmp.S (JB_SIZE): Undefine before including __longjmp-common.S again. * sysdeps/powerpc/powerpc64/__longjmp.S (JB_SIZE): Likewise. * sysdeps/powerpc/powerpc32/setjmp.S (JB_SIZE): Undefine before including setjmp-common.S again. * sysdeps/powerpc/powerpc64/setjmp.S (JB_SIZE): Likewise. * sysdeps/powerpc/novmxsetjmp.h (__novmx__longjmp): Fix type of first argument in the prototype. * sysdeps/powerpc/longjmp.c (__vmx__longjmp, __vmx__libc_longjmp): Remove bogus semicolons. --- sysdeps/powerpc/longjmp.c | 4 ++-- sysdeps/powerpc/novmxsetjmp.h | 2 +- sysdeps/powerpc/powerpc32/setjmp.S | 3 ++- sysdeps/powerpc/powerpc64/setjmp.S | 3 ++- 4 files changed, 7 insertions(+), 5 deletions(-) (limited to 'sysdeps/powerpc') diff --git a/sysdeps/powerpc/longjmp.c b/sysdeps/powerpc/longjmp.c index e2d7556fd2..6d79f04b70 100644 --- a/sysdeps/powerpc/longjmp.c +++ b/sysdeps/powerpc/longjmp.c @@ -24,9 +24,9 @@ #include #include -extern void __vmx__longjmp (__jmp_buf __env, int __val); +extern void __vmx__longjmp (__jmp_buf __env, int __val) __attribute__ ((noreturn)); -extern void __vmx__libc_longjmp (sigjmp_buf env, int val); +extern void __vmx__libc_longjmp (sigjmp_buf env, int val) __attribute__ ((noreturn)); libc_hidden_proto (__vmx__libc_longjmp) diff --git a/sysdeps/powerpc/novmxsetjmp.h b/sysdeps/powerpc/novmxsetjmp.h index da2a338257..1c46a77dbc 100644 --- a/sysdeps/powerpc/novmxsetjmp.h +++ b/sysdeps/powerpc/novmxsetjmp.h @@ -108,7 +108,7 @@ extern void __novmxsiglongjmp (__novmx__sigjmp_buf __env, int __val) __attribute__ ((__noreturn__)); /* Internal machine-dependent function to restore context sans signal mask. */ -extern void __novmx__longjmp (__novmx__jmp_buf __env, int __val) +extern void __novmx__longjmp (__jmp_buf __env, int __val) __attribute__ ((__noreturn__)); /* Internal function to possibly save the current mask of blocked signals diff --git a/sysdeps/powerpc/powerpc32/setjmp.S b/sysdeps/powerpc/powerpc32/setjmp.S index ecc1482981..ef3514a468 100644 --- a/sysdeps/powerpc/powerpc32/setjmp.S +++ b/sysdeps/powerpc/powerpc32/setjmp.S @@ -21,7 +21,7 @@ #include #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 */ @@ -35,6 +35,7 @@ default_symbol_version (__vmx__sigsetjmp,__sigsetjmp,GLIBC_2.3.4) # 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 diff --git a/sysdeps/powerpc/powerpc64/setjmp.S b/sysdeps/powerpc/powerpc64/setjmp.S index 77653836ad..acbf3728e5 100644 --- a/sysdeps/powerpc/powerpc64/setjmp.S +++ b/sysdeps/powerpc/powerpc64/setjmp.S @@ -22,7 +22,7 @@ #include #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 */ @@ -35,6 +35,7 @@ default_symbol_version (__vmx__sigsetjmp,__sigsetjmp,GLIBC_2.3.4) # if defined SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4) # undef __sigsetjmp # undef __sigjmp_save +# undef JB_SIZE # define __NO_VMX__ symbol_version (__novmx__sigsetjmp,__sigsetjmp,GLIBC_2.3) # define __sigsetjmp __novmx__sigsetjmp -- cgit 1.4.1