Commit eb700636db017d310edaeb559b13d82588560674

Authored by Shinya Kuribayashi
Committed by Shinya Kuribayashi
1 parent 22069215eb

[MIPS] u-boot.lds: Define _gp in a standard manner

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>

Showing 7 changed files with 14 additions and 7 deletions Side-by-side Diff

board/dbau1x00/u-boot.lds
... ... @@ -43,7 +43,8 @@
43 43 . = ALIGN(4);
44 44 .data : { *(.data) }
45 45  
46   - _gp = ALIGN(16);
  46 + . = .;
  47 + _gp = ALIGN(16) + 0x7ff0;
47 48  
48 49 .got : {
49 50 __got_start = .;
board/gth2/u-boot.lds
... ... @@ -43,7 +43,8 @@
43 43 . = ALIGN(4);
44 44 .data : { *(.data) }
45 45  
46   - _gp = ALIGN(16);
  46 + . = .;
  47 + _gp = ALIGN(16) + 0x7ff0;
47 48  
48 49 .got : {
49 50 __got_start = .;
board/incaip/u-boot.lds
... ... @@ -43,7 +43,8 @@
43 43 . = ALIGN(4);
44 44 .data : { *(.data) }
45 45  
46   - _gp = ALIGN(16);
  46 + . = .;
  47 + _gp = ALIGN(16) + 0x7ff0;
47 48  
48 49 .got : {
49 50 __got_start = .;
board/pb1x00/u-boot.lds
... ... @@ -43,7 +43,8 @@
43 43 . = ALIGN(4);
44 44 .data : { *(.data) }
45 45  
46   - _gp = ALIGN(16);
  46 + . = .;
  47 + _gp = ALIGN(16) + 0x7ff0;
47 48  
48 49 .got : {
49 50 __got_start = .;
board/purple/u-boot.lds
... ... @@ -53,7 +53,8 @@
53 53 . = ALIGN(4);
54 54 .data : { *(.data) }
55 55  
56   - _gp = ALIGN(16);
  56 + . = .;
  57 + _gp = ALIGN(16) + 0x7ff0;
57 58  
58 59 .got : {
59 60 __got_start = .;
board/tb0229/u-boot.lds
... ... @@ -43,7 +43,8 @@
43 43 . = ALIGN(4);
44 44 .data : { *(.data) }
45 45  
46   - _gp = ALIGN(16);
  46 + . = .;
  47 + _gp = ALIGN(16) + 0x7ff0;
47 48  
48 49 .got : {
49 50 __got_start = .;
... ... @@ -39,7 +39,8 @@
39 39 . = ALIGN(4);
40 40 .data : { *(.data) }
41 41  
42   - _gp = ALIGN(16);
  42 + . = .;
  43 + _gp = ALIGN(16) + 0x7ff0;
43 44  
44 45 .got : {
45 46 __got_start = .;