Merge branch 'master' of /home/wd/git/u-boot/custodians
[oweals/u-boot.git] / board / gth2 / u-boot.lds
index 69c8c9d51a813da8ba1984f0c969f70df308cb8c..90432cb8887519ca0e542987e343bc567396a82d 100644 (file)
@@ -43,11 +43,14 @@ SECTIONS
        . = ALIGN(4);
        .data  : { *(.data) }
 
-       _gp = ALIGN(16);
+       . = .;
+       _gp = ALIGN(16) + 0x7ff0;
 
-       __got_start = .;
-       .got  : { *(.got) }
-       __got_end = .;
+       .got : {
+         __got_start = .;
+         *(.got)
+         __got_end = .;
+       }
 
        .sdata  : { *(.sdata) }