]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - examples/mips.lds
Merge branch 'master' of git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / examples / mips.lds
index 8ed01c44586a3b8d9a0c6f610e5bffa9cbae8065..939e0e61c06956488c9a6c3afdcdcb1282dd1a36 100644 (file)
@@ -39,18 +39,21 @@ SECTIONS
        . = ALIGN(4);
        .data  : { *(.data) }
 
-       . = ALIGN(4);
-       .sdata  : { *(.sdata) }
-
-       _gp = ALIGN(16);
+       . = .;
+       _gp = ALIGN(16) + 0x7ff0;
 
-       __got_start = .;
-       .got  : { *(.got) }
-       __got_end = .;
+       .got : {
+         __got_start = .;
+         *(.got)
+         __got_end = .;
+       }
 
        .sdata  : { *(.sdata) }
 
        . = ALIGN(4);
-       .sbss  : { *(.sbss) }
-       .bss  : { *(.bss) }
+       __bss_start = .;
+       .sbss (NOLOAD) : { *(.sbss) }
+       .bss (NOLOAD)  : { *(.bss) . = ALIGN(4); }
+
+       _end = .;
 }