diff options
author | Alan Modra <amodra@gmail.com> | 2014-04-02 13:40:21 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-04-02 13:40:21 +1030 |
commit | 483818d768ed99a5edf4114298a75ebedaee8d5c (patch) | |
tree | 22d73a0dcb22d2405de8c6b9ab019543cabecfaf /sysdeps/powerpc/powerpc64/start.S | |
parent | 606d8377ae0c7a16d51e3f35eb6f0cf6dce13e5d (diff) | |
download | glibc-483818d768ed99a5edf4114298a75ebedaee8d5c.tar.gz glibc-483818d768ed99a5edf4114298a75ebedaee8d5c.tar.xz glibc-483818d768ed99a5edf4114298a75ebedaee8d5c.zip |
Fix reference to toc symbol.
https://sourceware.org/ml/binutils/2014-03/msg00033.html removes the "magic" treatment of symbols defined in a .toc section. * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/start.S')
-rw-r--r-- | sysdeps/powerpc/powerpc64/start.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/start.S b/sysdeps/powerpc/powerpc64/start.S index 15e29d9fb0..934c558389 100644 --- a/sysdeps/powerpc/powerpc64/start.S +++ b/sysdeps/powerpc/powerpc64/start.S @@ -74,7 +74,7 @@ ENTRY(_start) /* put the address of start_addresses in r8... ** ** PPC64 ABI uses R13 for thread local, so we leave it alone */ - ld r8,.L01(r2) + ld r8,.L01@toc(r2) /* and continue in libc-start, in glibc. */ b JUMPTARGET(__libc_start_main) |