1
0
Fork 0
remarkable-uboot/arch/powerpc/cpu
Zhenhua Luo 522b021a8a mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition
In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in
u-boot.lds overrides the linker built-in symbols
(https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;
h=b893397a4b1316610f49819344817715e4305de9),
so the linker is treating _GLOBAL_OFFSET_TABLE_ as a definition into the
.reloc section.

To align with the change of binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbol
should not be defined in sections, and the symbols in linker generated .got
section should be used(https://sourceware.org/ml/binutils/2008-09/
msg00122.html)

Fixed the following build errors with binutils-2.25:
| powerpc-poky-linux-gnuspe-ld.bfd: _GLOBAL_OFFSET_TABLE_ not defined in
linker created .got

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
2015-11-09 23:21:06 +00:00
..
mpc5xx powerpc: mpc5xx: remove cmi_mpc5xx support 2015-09-02 11:33:18 -04:00
mpc5xxx arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mpc8xx video: Drop DEV_EXT_VIDEO flag 2015-11-05 08:24:42 +01:00
mpc8xxx powerpc: Remove __ilog2_u64 and ffs4 from bitops 2015-11-05 16:47:05 -05:00
mpc83xx powerpc: Remove __ilog2_u64 and ffs4 from bitops 2015-11-05 16:47:05 -05:00
mpc85xx mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00
mpc86xx arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mpc512x arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mpc8260 arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
ppc4xx arch/powerpc/cpu/ppc4xx/Kconfig: Finish removing boards 2015-10-27 20:28:39 -04:00
Makefile Makefile: Select objects by CONFIG_ rather than $(ARCH) or $(CPU) 2013-12-16 08:59:42 -05:00