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

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

diff -u --recursive --new-file v2.4.0-test3/linux/arch/mips64/ld.script.elf32 linux/arch/mips64/ld.script.elf32
@@ -83,6 +83,15 @@
    *(COMMON)
   _end = . ;
   }
+
+  /* Sections to be discarded */
+  /DISCARD/ : 
+  {
+        *(.text.exit)
+        *(.data.exit)
+        *(.exitcall.exit)
+  }
+
   /* These are needed for ELF backends which have not yet been
      converted to the new style linker.  */
   .stab 0 : { *(.stab) }

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