diff options
author | Shinya Kuribayashi <shinya.kuribayashi@necel.com> | 2007-10-21 10:55:36 +0900 |
---|---|---|
committer | Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> | 2007-10-21 10:55:36 +0900 |
commit | cbf2323b5b8285ea01acba7bbb905a3162d9b021 (patch) | |
tree | 9a8c8d8a083929ca33886c7a7506b41c9741a5c7 /examples | |
parent | e5f325fec5b48ae705c89522923ba5a2e37cd5c7 (diff) | |
download | u-boot-cbf2323b5b8285ea01acba7bbb905a3162d9b021.tar.gz u-boot-cbf2323b5b8285ea01acba7bbb905a3162d9b021.tar.bz2 u-boot-cbf2323b5b8285ea01acba7bbb905a3162d9b021.zip |
[MIPS] u-boot.lds: Fix __got_start and __got_end
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>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/mips.lds | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/mips.lds b/examples/mips.lds index 6f31eb7198..3bd573cc54 100644 --- a/examples/mips.lds +++ b/examples/mips.lds @@ -41,9 +41,11 @@ SECTIONS _gp = ALIGN(16); - __got_start = .; - .got : { *(.got) } - __got_end = .; + .got : { + __got_start = .; + *(.got) + __got_end = .; + } .sdata : { *(.sdata) } |