POST Make: fix the sub-dir dependencies missing.
[platform/kernel/u-boot.git] / examples / mips.lds
index 3bd573c..939e0e6 100644 (file)
@@ -39,7 +39,8 @@ SECTIONS
        . = ALIGN(4);
        .data  : { *(.data) }
 
-       _gp = ALIGN(16);
+       . = .;
+       _gp = ALIGN(16) + 0x7ff0;
 
        .got : {
          __got_start = .;
@@ -51,8 +52,8 @@ SECTIONS
 
        . = ALIGN(4);
        __bss_start = .;
-       .sbss  : { *(.sbss) }
-       .bss  : { *(.bss) }
+       .sbss (NOLOAD) : { *(.sbss) }
+       .bss (NOLOAD)  : { *(.bss) . = ALIGN(4); }
 
        _end = .;
 }