]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
[MIPS] u-boot.lds: Fix __got_start and __got_end
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>
Sun, 21 Oct 2007 01:55:36 +0000 (10:55 +0900)
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Sun, 21 Oct 2007 01:55:36 +0000 (10:55 +0900)
Ensure that __got_start points to top of the `.got', and __got_end points
to bottom as well, so that we never fail to count num_got_entries.

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 75a3af64b99d0c2a5e184fd826ac729da07fef3a..9c71ef7e4b7582dbafee992df85561aa855e8254 100644 (file)
@@ -45,9 +45,11 @@ SECTIONS
 
        _gp = ALIGN(16);
 
-       __got_start = .;
-       .got  : { *(.got) }
-       __got_end = .;
+       .got : {
+         __got_start = .;
+         *(.got)
+         __got_end = .;
+       }
 
        .sdata  : { *(.sdata) }
 
index 69c8c9d51a813da8ba1984f0c969f70df308cb8c..0ab42db1b01596d8f3463bbba4811de7b559e0f9 100644 (file)
@@ -45,9 +45,11 @@ SECTIONS
 
        _gp = ALIGN(16);
 
-       __got_start = .;
-       .got  : { *(.got) }
-       __got_end = .;
+       .got : {
+         __got_start = .;
+         *(.got)
+         __got_end = .;
+       }
 
        .sdata  : { *(.sdata) }
 
index 75a3af64b99d0c2a5e184fd826ac729da07fef3a..9c71ef7e4b7582dbafee992df85561aa855e8254 100644 (file)
@@ -45,9 +45,11 @@ SECTIONS
 
        _gp = ALIGN(16);
 
-       __got_start = .;
-       .got  : { *(.got) }
-       __got_end = .;
+       .got : {
+         __got_start = .;
+         *(.got)
+         __got_end = .;
+       }
 
        .sdata  : { *(.sdata) }
 
index 865be77bf3d0af8ae89e395437add366d424e3ab..7329e6aaa09b0829c6aea933d012c942466514fd 100644 (file)
@@ -45,9 +45,11 @@ SECTIONS
 
        _gp = ALIGN(16);
 
-       __got_start = .;
-       .got  : { *(.got) }
-       __got_end = .;
+       .got : {
+         __got_start = .;
+         *(.got)
+         __got_end = .;
+       }
 
        .sdata  : { *(.sdata) }
 
index 6b3783f6643934a76e9361612e4e6330854155d2..aa51cbf07c52960987813c6068b95fa346d3770d 100644 (file)
@@ -55,9 +55,11 @@ SECTIONS
 
        _gp = ALIGN(16);
 
-       __got_start = .;
-       .got  : { *(.got) }
-       __got_end = .;
+       .got : {
+         __got_start = .;
+         *(.got)
+         __got_end = .;
+       }
 
        .sdata  : { *(.sdata) }
 
index 26d8c818b19c5ee08191a6c3fbcdd2587164c8b0..148f5e670b84970088909db29a73c546877ab563 100644 (file)
@@ -45,9 +45,11 @@ SECTIONS
 
        _gp = ALIGN(16);
 
-       __got_start = .;
-       .got  : { *(.got) }
-       __got_end = .;
+       .got : {
+         __got_start = .;
+         *(.got)
+         __got_end = .;
+       }
 
        .sdata  : { *(.sdata) }
 
index 6f31eb7198ee8b1ca5e323de061432d6b66bd25f..3bd573cc54a18bac9390de899732e567b1cd2e85 100644 (file)
@@ -41,9 +41,11 @@ SECTIONS
 
        _gp = ALIGN(16);
 
-       __got_start = .;
-       .got  : { *(.got) }
-       __got_end = .;
+       .got : {
+         __got_start = .;
+         *(.got)
+         __got_end = .;
+       }
 
        .sdata  : { *(.sdata) }