patch-pre2.0.8 linux/arch/ppc/ld.script

Next file: linux/arch/ppc/lib/Makefile
Previous file: linux/arch/ppc/kernel/traps.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.7/linux/arch/ppc/ld.script linux/arch/ppc/ld.script
@@ -1,5 +1,5 @@
 OUTPUT_ARCH(powerpc)
-/*SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib);*/ SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
+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
@@ -41,6 +41,7 @@
   .ctors     : { *(.ctors)   }
   .dtors     : { *(.dtors)   }
   /* Read-write section, merged into data segment: */
+  . = (. + 0x0FFF) & 0xFFFFF000;
   .data    :
   {
     *(.data)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this