]> git.sur5r.net Git - u-boot/blobdiff - board/tb0229/u-boot.lds
consolidate mdelay by providing a common function for all users
[u-boot] / board / tb0229 / u-boot.lds
index b18e6a6fc521da0012a2c2eef8118b0ebfd97b23..5ea1094067214b62b9e0be84f3f5295b9a3fa2f4 100644 (file)
@@ -34,14 +34,14 @@ SECTIONS
        . = ALIGN(4);
        .text       :
        {
-         *(.text)
+         *(.text*)
        }
 
        . = ALIGN(4);
-       .rodata  : { *(.rodata) }
+       .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) }
+       .sbss (NOLOAD)  : { *(.sbss*) }
+       .bss (NOLOAD)  : { *(.bss*) . = ALIGN(4); }
        uboot_end = .;
 }