diff options
Diffstat (limited to 'libc/sysdeps/powerpc/powerpc64/__longjmp-common.S')
-rw-r--r-- | libc/sysdeps/powerpc/powerpc64/__longjmp-common.S | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/sysdeps/powerpc/powerpc64/__longjmp-common.S b/libc/sysdeps/powerpc/powerpc64/__longjmp-common.S index 2ff9078ec..716b8ab7b 100644 --- a/libc/sysdeps/powerpc/powerpc64/__longjmp-common.S +++ b/libc/sysdeps/powerpc/powerpc64/__longjmp-common.S @@ -1,5 +1,5 @@ /* longjmp for PowerPC64. - Copyright (C) 1995, 1996,1997,1999-2006,2009 Free Software Foundation, Inc. + Copyright (C) 1995-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -31,7 +31,13 @@ .section ".toc","aw" .LC__dl_hwcap: # ifdef SHARED +# ifdef IS_IN_rtld + /* Inside ld.so we use the local alias to avoid runtime GOT + relocations. */ + .tc _rtld_local_ro[TC],_rtld_local_ro +# else .tc _rtld_global_ro[TC],_rtld_global_ro +# endif # else .tc _dl_hwcap[TC],_dl_hwcap # endif |