]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/arm720t/u-boot.lds
gpio: Add GPIO driver for Marvell SoC Armada100
[u-boot] / arch / arm / cpu / arm720t / u-boot.lds
index c975fc3d5e4ffb5e7e8200f78bd17ae4c88ffa32..9370fadcf5c5a5f69be29afa42e7ed3b4e69eae9 100644 (file)
@@ -39,10 +39,10 @@ SECTIONS
        .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
        . = ALIGN(4);
-       .data : { *(.data) }
+       .data : {
+       }
 
        . = ALIGN(4);
-       .got : { *(.got) }
 
        . = .;
        __u_boot_cmd_start = .;
@@ -50,7 +50,30 @@ SECTIONS
        __u_boot_cmd_end = .;
 
        . = ALIGN(4);
-       __bss_start = .;
-       .bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
+
+       .rel.dyn : {
+               __rel_dyn_start = .;
+               *(.rel*)
+               __rel_dyn_end = .;
+       }
+
+       .dynsym : {
+               __dynsym_start = .;
+               *(.dynsym)
+       }
+
        _end = .;
+
+       .bss __rel_dyn_start (OVERLAY) : {
+               __bss_start = .;
+               *(.bss)
+                . = ALIGN(4);
+               __bss_end__ = .;
+       }
+
+       /DISCARD/ : { *(.dynstr*) }
+       /DISCARD/ : { *(.dynamic*) }
+       /DISCARD/ : { *(.plt*) }
+       /DISCARD/ : { *(.interp*) }
+       /DISCARD/ : { *(.gnu*) }
 }