]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/pb1x00/u-boot.lds
MIPS: Introduce --gc-sections for MIPS
[karo-tx-uboot.git] / board / pb1x00 / u-boot.lds
index 358cc54a8b985153f474a6b9b305b1f87b52ee80..bd0dee1efb9a8798d749332478fb6bb1ef49bcaa 100644 (file)
@@ -34,14 +34,14 @@ SECTIONS
        . = ALIGN(4);
        .text       :
        {
-         *(.text)
+         *(.text*)
        }
 
        . = ALIGN(4);
        .rodata  : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
        . = ALIGN(4);
-       .data  : { *(.data) }
+       .data  : { *(.data*) }
 
        . = .;
        _gp = ALIGN(16) + 0x7ff0;
@@ -52,7 +52,7 @@ SECTIONS
          __got_end = .;
        }
 
-       .sdata  : { *(.sdata) }
+       .sdata  : { *(.sdata*) }
 
        .u_boot_cmd : {
          __u_boot_cmd_start = .;
@@ -64,7 +64,7 @@ SECTIONS
        num_got_entries = (__got_end - __got_start) >> 2;
 
        . = ALIGN(4);
-       .sbss (NOLOAD)  : { *(.sbss) }
-       .bss (NOLOAD)  : { *(.bss) . = ALIGN(4); }
+       .sbss (NOLOAD)  : { *(.sbss*) }
+       .bss (NOLOAD)  : { *(.bss*) . = ALIGN(4); }
        uboot_end = .;
 }