patch-2.4.0-test3 linux/arch/mips64/ld.script.elf32

Next file: linux/arch/mips64/ld.script.elf64
Previous file: linux/arch/mips64/kernel/traps.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/arch/mips64/ld.script.elf32 linux/arch/mips64/ld.script.elf32
@@ -3,11 +3,9 @@
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */
-  . = 0x80000000;
   .init          : { *(.init)		} =0
   .text      :
   {
-    _ftext = . ;
     *(.text)
     *(.rodata)
     *(.rodata1)
@@ -15,9 +13,9 @@
     *(.gnu.warning)
   } =0
   _etext = .;
-  PROVIDE (etext = .);
 
   . = ALIGN(16384);
+  /* This for CONFIG_MAPPED_KERNEL . = . + 16777216; */
   .data.init_task : { *(.data.init_task) }
 
   /* Startup code */
@@ -65,7 +63,6 @@
     CONSTRUCTORS
   }
   .data1   : { *(.data1) }
-  _gp = . + 0x8000;
   .lit8 : { *(.lit8) }
   .lit4 : { *(.lit4) }
   .ctors         : { *(.ctors)   }
@@ -77,10 +74,7 @@
      we can shorten the on-disk segment size.  */
   .sdata     : { *(.sdata) }
   _edata  =  .;
-  PROVIDE (edata = .);
 
-  __bss_start = .;
-  _fbss = .;
   .sbss      : { *(.sbss) *(.scommon) }
   .bss       :
   {
@@ -88,7 +82,6 @@
    *(.bss)
    *(COMMON)
   _end = . ;
-  PROVIDE (end = .);
   }
   /* These are needed for ELF backends which have not yet been
      converted to the new style linker.  */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)