aboutsummaryrefslogtreecommitdiff
path: root/board
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 /board
parent22069215eb7adf5a3888bf7c7784ea9d70a72cd0 (diff)
[MIPS] u-boot.lds: Define _gp in a standard manner
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Diffstat (limited to 'board')
-rw-r--r--board/dbau1x00/u-boot.lds3
-rw-r--r--board/gth2/u-boot.lds3
-rw-r--r--board/incaip/u-boot.lds3
-rw-r--r--board/pb1x00/u-boot.lds3
-rw-r--r--board/purple/u-boot.lds3
-rw-r--r--board/tb0229/u-boot.lds3
6 files changed, 12 insertions, 6 deletions
diff --git a/board/dbau1x00/u-boot.lds b/board/dbau1x00/u-boot.lds
index 9c71ef7e4..9639b81ac 100644
--- a/board/dbau1x00/u-boot.lds
+++ b/board/dbau1x00/u-boot.lds
@@ -43,7 +43,8 @@ SECTIONS
. = ALIGN(4);
.data : { *(.data) }
- _gp = ALIGN(16);
+ . = .;
+ _gp = ALIGN(16) + 0x7ff0;
.got : {
__got_start = .;
diff --git a/board/gth2/u-boot.lds b/board/gth2/u-boot.lds
index 0ab42db1b..90432cb88 100644
--- a/board/gth2/u-boot.lds
+++ b/board/gth2/u-boot.lds
@@ -43,7 +43,8 @@ SECTIONS
. = ALIGN(4);
.data : { *(.data) }
- _gp = ALIGN(16);
+ . = .;
+ _gp = ALIGN(16) + 0x7ff0;
.got : {
__got_start = .;
diff --git a/board/incaip/u-boot.lds b/board/incaip/u-boot.lds
index 9c71ef7e4..9639b81ac 100644
--- a/board/incaip/u-boot.lds
+++ b/board/incaip/u-boot.lds
@@ -43,7 +43,8 @@ SECTIONS
. = ALIGN(4);
.data : { *(.data) }
- _gp = ALIGN(16);
+ . = .;
+ _gp = ALIGN(16) + 0x7ff0;
.got : {
__got_start = .;
diff --git a/board/pb1x00/u-boot.lds b/board/pb1x00/u-boot.lds
index 7329e6aaa..363d974c4 100644
--- a/board/pb1x00/u-boot.lds
+++ b/board/pb1x00/u-boot.lds
@@ -43,7 +43,8 @@ SECTIONS
. = ALIGN(4);
.data : { *(.data) }
- _gp = ALIGN(16);
+ . = .;
+ _gp = ALIGN(16) + 0x7ff0;
.got : {
__got_start = .;
diff --git a/board/purple/u-boot.lds b/board/purple/u-boot.lds
index aa51cbf07..e7ec012c3 100644
--- a/board/purple/u-boot.lds
+++ b/board/purple/u-boot.lds
@@ -53,7 +53,8 @@ SECTIONS
. = ALIGN(4);
.data : { *(.data) }
- _gp = ALIGN(16);
+ . = .;
+ _gp = ALIGN(16) + 0x7ff0;
.got : {
__got_start = .;
diff --git a/board/tb0229/u-boot.lds b/board/tb0229/u-boot.lds
index 148f5e670..b2fa9f22d 100644
--- a/board/tb0229/u-boot.lds
+++ b/board/tb0229/u-boot.lds
@@ -43,7 +43,8 @@ SECTIONS
. = ALIGN(4);
.data : { *(.data) }
- _gp = ALIGN(16);
+ . = .;
+ _gp = ALIGN(16) + 0x7ff0;
.got : {
__got_start = .;