summaryrefslogtreecommitdiff
path: root/examples
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
parent22069215eb7adf5a3888bf7c7784ea9d70a72cd0 (diff)
downloadu-boot-imx-eb700636db017d310edaeb559b13d82588560674.zip
u-boot-imx-eb700636db017d310edaeb559b13d82588560674.tar.gz
u-boot-imx-eb700636db017d310edaeb559b13d82588560674.tar.bz2
[MIPS] u-boot.lds: Define _gp in a standard manner
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/mips.lds3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/mips.lds b/examples/mips.lds
index 3bd573c..a770728 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 = .;