]> git.sur5r.net Git - u-boot/blobdiff - board/actux3/u-boot.lds
powerpc/p2041rdb: Add ethernet support on P2041RDB board
[u-boot] / board / actux3 / u-boot.lds
index b9a9eb9ffaa5181f1d805124195650750ab007ed..35aab29d40713c1c8ba468c571b890ce2b3da21f 100644 (file)
@@ -30,34 +30,29 @@ SECTIONS
 
        . = ALIGN (4);
        .text : {
-               cpu/ixp/start.o (.text)
-               lib_generic/string.o (.text)
-               lib_generic/vsprintf.o (.text)
-               lib_arm/board.o (.text)
-               common/dlmalloc.o (.text)
-               cpu/ixp/cpu.o (.text)
+               arch/arm/cpu/ixp/start.o(.text*)
+               net/libnet.o(.text*)
+               board/actux3/libactux3.o(.text*)
+               arch/arm/cpu/ixp/libixp.o(.text*)
+               drivers/serial/libserial.o(.text*)
 
                . = env_offset;
-               common/environment.o (.ppcenv)
-
-               * (.text)
+               common/env_embedded.o(.ppcenv)
+               *(.text*)
        }
 
-       . = ALIGN (4);
+       . = ALIGN(4);
        .rodata : {
-               *(.rodata)
+               *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
        }
-
-       . = ALIGN (4);
+       . = ALIGN(4);
        .data : {
-               *(.data)
+               *(.data*)
        }
-
-       . = ALIGN (4);
+       . = ALIGN(4);
        .got : {
                *(.got)
        }
-
        . =.;
        __u_boot_cmd_start =.;
        .u_boot_cmd : {
@@ -66,9 +61,27 @@ SECTIONS
        __u_boot_cmd_end =.;
 
        . = ALIGN (4);
-       __bss_start =.;
-       .bss (NOLOAD): {
-               *(.bss)
+       .rel.dyn : {
+               __rel_dyn_start = .;
+               *(.rel*)
+               __rel_dyn_end = .;
+       }
+
+       .dynsym : {
+               __dynsym_start = .;
+               *(.dynsym)
+       }
+
+       .bss __rel_dyn_start (OVERLAY) : {
+               __bss_start = .;
+               *(.bss*)
+                . = ALIGN(4);
+               _end = .;
        }
-       _end =.;
+       __bss_end__ =.;
+       /DISCARD/ : { *(.dynstr*) }
+       /DISCARD/ : { *(.dynamic*) }
+       /DISCARD/ : { *(.plt*) }
+       /DISCARD/ : { *(.interp*) }
+       /DISCARD/ : { *(.gnu*) }
 }