diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-02-12 15:54:18 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-03-31 13:17:05 +0800 |
commit | 70e804bd4ed3f5dd6d501c664bf3a63dad59eefa (patch) | |
tree | 87cec53e2c92e6b78fb6457994ff3080b105c0c7 /meta-fsl-ppc/recipes-kernel | |
parent | 1afa62312a1c0e7336e5771b6f45c0a4810d9bd7 (diff) | |
download | meta-freescale-70e804bd4ed3f5dd6d501c664bf3a63dad59eefa.tar.gz |
u-boot-qoriq: fix the build issue with binutils-2.25
Remove _GLOBAL_OFFSET_TABLE_ definition from u-boot/mpc85xx/u-boot*.lds
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
[YOCTO #7145]
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Diffstat (limited to 'meta-fsl-ppc/recipes-kernel')
0 files changed, 0 insertions, 0 deletions