]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/atmel/atstk1000/u-boot.lds
imported Ka-Ro specific additions to U-Boot 2009.08 for TX28
[karo-tx-uboot.git] / board / atmel / atstk1000 / u-boot.lds
index ef89ea4dfa53d696cb47d5fb1ab6e06f76192632..86ef93927b3c49dc9e52967d6476bce00167c150 100755 (executable)
@@ -29,46 +29,41 @@ SECTIONS
        . = 0;
        _text = .;
        .text : {
+               *(.exception.text)
                *(.text)
                *(.text.*)
        }
+       _etext = .;
 
-       . = ALIGN(32);
-       __flashprog_start = .;
-       .flashprog : {
-               *(.flashprog)
-       }
-       . = ALIGN(32);
-       __flashprog_end = .;
-
-       . = ALIGN(8);
        .rodata : {
-               *(.rodata)
-               *(.rodata.*)
+               *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
        }
-       _etext = .;
 
-       __data_lma = ALIGN(8);
-       . = 0x24000000;
+       . = ALIGN(8);
        _data = .;
-       .data : AT(__data_lma) {
+       .data : {
                *(.data)
                *(.data.*)
        }
 
        . = ALIGN(4);
        __u_boot_cmd_start = .;
-       __u_boot_cmd_lma = __data_lma + (__u_boot_cmd_start - _data);
-       .u_boot_cmd : AT(__u_boot_cmd_lma) {
+       .u_boot_cmd : {
                KEEP(*(.u_boot_cmd))
        }
        __u_boot_cmd_end = .;
 
+       . = ALIGN(4);
+       _got = .;
+       .got : {
+               *(.got)
+       }
+       _egot = .;
+
        . = ALIGN(8);
        _edata = .;
-       __edata_lma = __u_boot_cmd_lma + (_edata - __u_boot_cmd_start);
 
-       .bss : AT(__edata_lma) {
+       .bss (NOLOAD) : {
                *(.bss)
                *(.bss.*)
        }