]> git.sur5r.net Git - u-boot/commitdiff
powerpc: Finish updating u-boot*lds scripts for newer binutils
authorTom Rini <trini@konsulko.com>
Tue, 10 Nov 2015 14:16:52 +0000 (09:16 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 10 Nov 2015 14:20:29 +0000 (09:20 -0500)
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 <trini@konsulko.com>
arch/powerpc/cpu/mpc512x/u-boot.lds
arch/powerpc/cpu/mpc5xx/u-boot.lds
arch/powerpc/cpu/mpc5xxx/u-boot.lds
arch/powerpc/cpu/mpc8260/u-boot.lds
arch/powerpc/cpu/mpc83xx/u-boot-spl.lds
arch/powerpc/cpu/mpc83xx/u-boot.lds
arch/powerpc/cpu/mpc86xx/u-boot.lds
arch/powerpc/cpu/ppc4xx/u-boot.lds
board/tqc/tqm8xx/u-boot.lds

index 9658b21951907035038ca64765c4e32dfe71a5f1..b32f74e0022238d8581d9c9656f8a5b8f32523e2 100644 (file)
@@ -24,7 +24,6 @@ SECTIONS
     _GOT2_TABLE_ = .;
     KEEP(*(.got2))
     KEEP(*(.got))
-    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
     _FIXUP_TABLE_ = .;
     KEEP(*(.fixup))
     *(.fixup)
index 719846526f46c2ec75ec8a6e8ffe25edaf9184fb..6a5357124d77d68cf2880abee6cddd33067b84a6 100644 (file)
@@ -33,7 +33,6 @@ SECTIONS
     _GOT2_TABLE_ = .;
     KEEP(*(.got2))
     KEEP(*(.got))
-    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
     _FIXUP_TABLE_ = .;
     KEEP(*(.fixup))
   }
index cd9e23fbb79f2408cff1d3022af33117ecca25bf..aa80d3dbb11535f8474d993de421b350b26a5d98 100644 (file)
@@ -28,7 +28,6 @@ SECTIONS
     _GOT2_TABLE_ = .;
     KEEP(*(.got2))
     KEEP(*(.got))
-    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
     _FIXUP_TABLE_ = .;
     KEEP(*(.fixup))
   }
index 50cbf85d238e16a392c7074b72f7330106342832..469fc293eb989689db9d5d74f0f53ec95408c898 100644 (file)
@@ -27,7 +27,6 @@ SECTIONS
     _GOT2_TABLE_ = .;
     KEEP(*(.got2))
     KEEP(*(.got))
-    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
     _FIXUP_TABLE_ = .;
     KEEP(*(.fixup))
   }
index 774772beaf0f768af435c66aa32cfa5a25c52dbe..4101eaf3f327d343c2128b38e28dd3976e45a3fc 100644 (file)
@@ -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;
 
index 3c177fa2914e90386ab9c2805d1f41180bb60b3d..dbd8bbe23c187e59d130b4780cf856c6d3cf9acb 100644 (file)
@@ -26,7 +26,6 @@ SECTIONS
     _GOT2_TABLE_ = .;
     KEEP(*(.got2))
     KEEP(*(.got))
-    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
     _FIXUP_TABLE_ = .;
     KEEP(*(.fixup))
   }
index 58467c2cc8c44a79d973c51be1dbd570199fe24b..6c48f4099286edc47c69b4c4b0fc3163bd41c43b 100644 (file)
@@ -32,7 +32,6 @@ SECTIONS
     _GOT2_TABLE_ = .;
     KEEP(*(.got2))
     KEEP(*(.got))
-    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
     _FIXUP_TABLE_ = .;
     KEEP(*(.fixup))
   }
index 198050853a326e6c3ba14a8cf7c74579b872f953..55dd4e1300cc199312fc4e1829062db948d6f94b 100644 (file)
@@ -46,7 +46,6 @@ SECTIONS
     _GOT2_TABLE_ = .;
     KEEP(*(.got2))
     KEEP(*(.got))
-    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
     _FIXUP_TABLE_ = .;
     KEEP(*(.fixup))
   }
index b77ae56c512040fded590a6dcea5d75a1b62ef4e..44dfafae2964dbbf94285e094f4c5aa46b7a794d 100644 (file)
@@ -47,7 +47,6 @@ SECTIONS
     _GOT2_TABLE_ = .;
     KEEP(*(.got2))
     KEEP(*(.got))
-    PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
     _FIXUP_TABLE_ = .;
     KEEP(*(.fixup))
   }