summaryrefslogtreecommitdiff
path: root/examples/mips.lds
diff options
context:
space:
mode:
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>2007-10-21 10:55:37 +0900
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2007-10-21 10:55:37 +0900
commiteb700636db017d310edaeb559b13d82588560674 (patch)
tree54b34fbfa0ac42fbcf2db440c1536740b6653b97 /examples/mips.lds
parent22069215eb7adf5a3888bf7c7784ea9d70a72cd0 (diff)
[MIPS] u-boot.lds: Define _gp in a standard manner
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Diffstat (limited to 'examples/mips.lds')
-rw-r--r--examples/mips.lds3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/mips.lds b/examples/mips.lds
index 3bd573cc54a..a7707287a24 100644
--- a/examples/mips.lds
+++ b/examples/mips.lds
@@ -39,7 +39,8 @@ SECTIONS
. = ALIGN(4);
.data : { *(.data) }
- _gp = ALIGN(16);
+ . = .;
+ _gp = ALIGN(16) + 0x7ff0;
.got : {
__got_start = .;