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.
This commit is contained in:
Alan Modra 2014-04-02 13:40:21 +10:30
parent 606d8377ae
commit 483818d768
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-04-02 Alan Modra <amodra@gmail.com>
* sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2014-04-01 Will Newton <will.newton@linaro.org>
* benchtests/Makefile (CFLAGS-bench-ffs.c): Add

View File

@ -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)