diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-05-16 22:40:23 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-05-18 12:00:22 +0200 |
commit | 37fb1dc05733e0f3d7eca64820dc5c2c25f2a6d9 (patch) | |
tree | 2f4e60a73db2f095737638b41869fe9335ce3ed4 /sysdeps/powerpc/powerpc32/dl-start.S | |
parent | b53ef01aa25acc4c4f0b41dd120e90d6eb69e370 (diff) | |
download | glibc-37fb1dc05733e0f3d7eca64820dc5c2c25f2a6d9.tar.gz glibc-37fb1dc05733e0f3d7eca64820dc5c2c25f2a6d9.tar.xz glibc-37fb1dc05733e0f3d7eca64820dc5c2c25f2a6d9.zip |
Avoid runtime GOT relocations in ld.so on powerpc
Diffstat (limited to 'sysdeps/powerpc/powerpc32/dl-start.S')
-rw-r--r-- | sysdeps/powerpc/powerpc32/dl-start.S | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/powerpc/powerpc32/dl-start.S b/sysdeps/powerpc/powerpc32/dl-start.S index 2546fa52a7..b2d0194032 100644 --- a/sysdeps/powerpc/powerpc32/dl-start.S +++ b/sysdeps/powerpc/powerpc32/dl-start.S @@ -1,6 +1,5 @@ /* Machine-dependent ELF startup code. PowerPC version. - Copyright (C) 1995-2000, 2002, 2004, 2005, 2006, 2011 - 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 @@ -53,9 +52,9 @@ _dl_start_user: /* the address of _start in r30, */ mr r30,r3 /* &_dl_argc in 29, &_dl_argv in 27, and _dl_loaded in 28. */ - lwz r28,_rtld_global@got(r31) + lwz r28,_rtld_local@got(r31) lwz r29,_dl_argc@got(r31) - lwz r27,_dl_argv@got(r31) + lwz r27,INTUSE(_dl_argv)@got(r31) /* Call _dl_init (_dl_loaded, _dl_argc, _dl_argv, _dl_argv+_dl_argc+1). */ lwz r3,0(r28) |