powerpc: Finish updating u-boot*lds scripts for newer binutils
PATCH 1/1 powerpc: Finish updating u-boot*lds scripts for newer binutils
In 522b021 we dropped 'PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4)' lines in the mpc85xx linker scripts as this is not required and breaks newer binutils. This commit cleans up the rest of the powerpc linker scripts.
Signed-off-by Tom Rini <[email protected]>
--- arch/powerpc/cpu/mpc512x/u-boot.lds | 1 - arch/powerpc/cpu/mpc5xx/u-boot.lds | 1 - arch/powerpc/cpu/mpc5xxx/u-boot.lds | 1 - arch/powerpc/cpu/mpc8260/u-boot.lds | 1 - arch/powerpc/cpu/mpc83xx/u-boot-spl.lds | 1 - arch/powerpc/cpu/mpc83xx/u-boot.lds | 1 - arch/powerpc/cpu/mpc86xx/u-boot.lds | 1 - arch/powerpc/cpu/ppc4xx/u-boot.lds | 1 - board/tqc/tqm8xx/u-boot.lds | 1 - 9 files changed, 9 deletions(-)
arch/powerpc/cpu/mpc512x/u-boot.lds +0 -1
@@ -24,7 +24,6 @@ SECTIONS _GOT2_TABLE_ = .; KEEP(*(.got2)) KEEP(*(.got)) - PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; KEEP(*(.fixup)) *(.fixup)
arch/powerpc/cpu/mpc5xx/u-boot.lds +0 -1
@@ -33,7 +33,6 @@ SECTIONS _GOT2_TABLE_ = .; KEEP(*(.got2)) KEEP(*(.got)) - PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; KEEP(*(.fixup)) }
arch/powerpc/cpu/mpc5xxx/u-boot.lds +0 -1
@@ -28,7 +28,6 @@ SECTIONS _GOT2_TABLE_ = .; KEEP(*(.got2)) KEEP(*(.got)) - PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; KEEP(*(.fixup)) }
arch/powerpc/cpu/mpc8260/u-boot.lds +0 -1
@@ -27,7 +27,6 @@ SECTIONS _GOT2_TABLE_ = .; KEEP(*(.got2)) KEEP(*(.got)) - PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; KEEP(*(.fixup)) }
arch/powerpc/cpu/mpc83xx/u-boot-spl.lds +0 -1
@@ -24,7 +24,6 @@ SECTIONS _GOT2_TABLE_ = .; KEEP(*(.got2)) KEEP(*(.got)) - PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); } __got2_entries = ((_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1;
arch/powerpc/cpu/mpc83xx/u-boot.lds +0 -1
@@ -26,7 +26,6 @@ SECTIONS _GOT2_TABLE_ = .; KEEP(*(.got2)) KEEP(*(.got)) - PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; KEEP(*(.fixup)) }
arch/powerpc/cpu/mpc86xx/u-boot.lds +0 -1
@@ -32,7 +32,6 @@ SECTIONS _GOT2_TABLE_ = .; KEEP(*(.got2)) KEEP(*(.got)) - PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; KEEP(*(.fixup)) }
arch/powerpc/cpu/ppc4xx/u-boot.lds +0 -1
@@ -46,7 +46,6 @@ SECTIONS _GOT2_TABLE_ = .; KEEP(*(.got2)) KEEP(*(.got)) - PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; KEEP(*(.fixup)) }
board/tqc/tqm8xx/u-boot.lds +0 -1
@@ -47,7 +47,6 @@ SECTIONS _GOT2_TABLE_ = .; KEEP(*(.got2)) KEEP(*(.got)) - PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; KEEP(*(.fixup)) }
Signature · 1 line
1.7.9.5
PATCH 1/1 powerpc: Finish updating u-boot*lds scripts for newer binutils
Quoted 5 lines · Tom Rini
In 522b021 we dropped 'PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4)' lines in the mpc85xx linker scripts as this is not required and breaks newer binutils. This commit cleans up the rest of the powerpc linker scripts.
Signed-off-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151110/773f90ab/attachment.sig>