patch-2.4.0-test9 linux/arch/sh/vmlinux.lds.S

Next file: linux/arch/sparc/config.in
Previous file: linux/arch/sh/mm/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/arch/sh/vmlinux.lds.S linux/arch/sh/vmlinux.lds.S
@@ -4,9 +4,9 @@
  */
 #include <linux/config.h>
 #ifdef CONFIG_CPU_LITTLE_ENDIAN
-OUTPUT_FORMAT("elf32-shl", "elf32-shl", "elf32-shl")
+OUTPUT_FORMAT("elf32-sh-linux", "elf32-sh-linux", "elf32-sh-linux")
 #else
-OUTPUT_FORMAT("elf32-sh", "elf32-sh", "elf32-sh")
+OUTPUT_FORMAT("elf32-shbig-linux", "elf32-shbig-linux", "elf32-shbig-linux")
 #endif
 OUTPUT_ARCH(sh)
 ENTRY(_start)
@@ -89,6 +89,7 @@
   /DISCARD/ : {
 	*(.text.exit)
 	*(.data.exit)
+	*(.exitcall.exit)
 	}
 
   /* Stabs debugging sections.  */

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