Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ulrich Drepper committed Mar 11, 2004
1 parent 2e56087 commit 4041cfe
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
11 changes: 11 additions & 0 deletions ChangeLog
@@ -1,5 +1,16 @@
2004-03-11 Jakub Jelinek <jakub@redhat.com>

* 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/s390/dl-tls.h: Only add __tls_get_offset assembly if
IS_IN_rtld.
(__TLS_GET_ADDR): Use __tls_get_offset, not __tls_get_addr.
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/powerpc/longjmp.c
Expand Up @@ -24,9 +24,9 @@
#include <setjmp.h>
#include <signal.h>

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)

Expand Down
2 changes: 1 addition & 1 deletion sysdeps/powerpc/novmxsetjmp.h
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion sysdeps/powerpc/powerpc32/setjmp.S
Expand Up @@ -21,7 +21,7 @@
#include <libc-symbols.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 */
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion sysdeps/powerpc/powerpc64/setjmp.S
Expand Up @@ -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 */
Expand All @@ -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
Expand Down

0 comments on commit 4041cfe

Please sign in to comment.