]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
[MIPS] u-boot.lds: Define _gp in a standard manner
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>
Sun, 21 Oct 2007 01:55:37 +0000 (10:55 +0900)
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Sun, 21 Oct 2007 01:55:37 +0000 (10:55 +0900)
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
board/dbau1x00/u-boot.lds
board/gth2/u-boot.lds
board/incaip/u-boot.lds
board/pb1x00/u-boot.lds
board/purple/u-boot.lds
board/tb0229/u-boot.lds
examples/mips.lds

index 9c71ef7e4b7582dbafee992df85561aa855e8254..9639b81acc62fea49eeab2190ab6141a323f13fa 100644 (file)
@@ -43,7 +43,8 @@ SECTIONS
        . = ALIGN(4);
        .data  : { *(.data) }
 
-       _gp = ALIGN(16);
+       . = .;
+       _gp = ALIGN(16) + 0x7ff0;
 
        .got : {
          __got_start = .;
index 0ab42db1b01596d8f3463bbba4811de7b559e0f9..90432cb8887519ca0e542987e343bc567396a82d 100644 (file)
@@ -43,7 +43,8 @@ SECTIONS
        . = ALIGN(4);
        .data  : { *(.data) }
 
-       _gp = ALIGN(16);
+       . = .;
+       _gp = ALIGN(16) + 0x7ff0;
 
        .got : {
          __got_start = .;
index 9c71ef7e4b7582dbafee992df85561aa855e8254..9639b81acc62fea49eeab2190ab6141a323f13fa 100644 (file)
@@ -43,7 +43,8 @@ SECTIONS
        . = ALIGN(4);
        .data  : { *(.data) }
 
-       _gp = ALIGN(16);
+       . = .;
+       _gp = ALIGN(16) + 0x7ff0;
 
        .got : {
          __got_start = .;
index 7329e6aaa09b0829c6aea933d012c942466514fd..363d974c48f527f84f96124af7b2175a04046d4c 100644 (file)
@@ -43,7 +43,8 @@ SECTIONS
        . = ALIGN(4);
        .data  : { *(.data) }
 
-       _gp = ALIGN(16);
+       . = .;
+       _gp = ALIGN(16) + 0x7ff0;
 
        .got : {
          __got_start = .;
index aa51cbf07c52960987813c6068b95fa346d3770d..e7ec012c3be5eb688dd6e3b47280ff6b3889f233 100644 (file)
@@ -53,7 +53,8 @@ SECTIONS
        . = ALIGN(4);
        .data  : { *(.data) }
 
-       _gp = ALIGN(16);
+       . = .;
+       _gp = ALIGN(16) + 0x7ff0;
 
        .got : {
          __got_start = .;
index 148f5e670b84970088909db29a73c546877ab563..b2fa9f22dc9c7df0b46fc02f76ebeac9d4a72ce2 100644 (file)
@@ -43,7 +43,8 @@ SECTIONS
        . = ALIGN(4);
        .data  : { *(.data) }
 
-       _gp = ALIGN(16);
+       . = .;
+       _gp = ALIGN(16) + 0x7ff0;
 
        .got : {
          __got_start = .;
index 3bd573cc54a18bac9390de899732e567b1cd2e85..a7707287a2412f130643aae165dab7fc2a07011b 100644 (file)
@@ -39,7 +39,8 @@ SECTIONS
        . = ALIGN(4);
        .data  : { *(.data) }
 
-       _gp = ALIGN(16);
+       . = .;
+       _gp = ALIGN(16) + 0x7ff0;
 
        .got : {
          __got_start = .;