]> git.sur5r.net Git - u-boot/blobdiff - board/esd/vom405/u-boot.lds
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
[u-boot] / board / esd / vom405 / u-boot.lds
index 5d07e44389f4004cd60c509347e559cf4a8175d8..8c010162f00dc2405cfcedb7ec13cce5323b7799 100644 (file)
@@ -57,9 +57,6 @@ SECTIONS
   .plt : { *(.plt) }
   .text      :
   {
-    /* WARNING - the following is hand-optimized to fit within */
-    /* the sector layout of our flash chips!   XXX FIXME XXX   */
-
     cpu/ppc4xx/start.o (.text)
 
     *(.text)
@@ -70,10 +67,8 @@ SECTIONS
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
-    *(.rodata.str1.4)
     *(.eh_frame)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }
@@ -131,6 +126,7 @@ SECTIONS
    *(.dynbss)
    *(.bss)
    *(COMMON)
+   . = ALIGN(4);
   }
   _end = . ;
   PROVIDE (end = .);