]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/snmc/qs850/u-boot.lds
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
[karo-tx-uboot.git] / board / snmc / qs850 / u-boot.lds
index eb942792940a0065be9e6681cf2c7d6b2c0a7758..1c008959fde660460e061062df996b1d67ee7f7d 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 OUTPUT_ARCH(powerpc)
-SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
 /* Do we need any of these for elf?
    __DYNAMIC = 0;    */
 SECTIONS
@@ -34,11 +33,11 @@ SECTIONS
   .dynsym        : { *(.dynsym)                }
   .dynstr        : { *(.dynstr)                }
   .rel.text      : { *(.rel.text)      }
-  .rela.text     : { *(.rela.text)     }
+  .rela.text     : { *(.rela.text)     }
   .rel.data      : { *(.rel.data)      }
-  .rela.data     : { *(.rela.data)     }
-  .rel.rodata    : { *(.rel.rodata)    }
-  .rela.rodata   : { *(.rela.rodata)   }
+  .rela.data     : { *(.rela.data)     }
+  .rel.rodata    : { *(.rel.rodata)    }
+  .rela.rodata   : { *(.rela.rodata)   }
   .rel.got       : { *(.rel.got)       }
   .rela.got      : { *(.rela.got)      }
   .rel.ctors     : { *(.rel.ctors)     }
@@ -56,31 +55,28 @@ SECTIONS
     /* WARNING - the following is hand-optimized to fit within */
     /* the sector layout of our flash chips!   XXX FIXME XXX   */
 
-       cpu/mpc8xx/start.o              (.text)
-       cpu/mpc8xx/traps.o              (.text)
+       arch/powerpc/cpu/mpc8xx/start.o         (.text)
+       arch/powerpc/cpu/mpc8xx/traps.o         (.text)
        common/dlmalloc.o               (.text)
-       lib_ppc/ppcstring.o             (.text)
-       lib_generic/vsprintf.o  (.text)
-       lib_generic/crc32.o             (.text)
-       lib_generic/zlib.o              (.text)
-       lib_ppc/cache.o         (.text)
-       lib_ppc/time.o          (.text)
+       arch/powerpc/lib/ppcstring.o            (.text)
+       lib/vsprintf.o  (.text)
+       lib/crc32.o             (.text)
+       lib/zlib.o              (.text)
+       arch/powerpc/lib/cache.o                (.text)
+       arch/powerpc/lib/time.o         (.text)
 
     . = DEFINED(env_offset) ? env_offset : .;
-       common/environment.o    (.ppcenv)
+       common/env_embedded.o   (.ppcenv)
 
     *(.text)
-    *(.fixup)
     *(.got1)
   }
   _etext = .;
   PROVIDE (etext = .);
   .rodata    :
   {
-    *(.rodata)
-    *(.rodata1)
-    *(.rodata.str1.4)
     *(.eh_frame)
+    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }
@@ -138,6 +134,7 @@ SECTIONS
    *(.dynbss)
    *(.bss)
    *(COMMON)
+   . = ALIGN(4);
   }
   _end = . ;
   PROVIDE (end = .);