Patch for merged arm-thumb backend...

Scott Bambrough scottb@netwinder.org
Fri Dec 17 08:30:00 GMT 1999


Hi guys,

The attached patch fixes up some left overs from Nicks
-mshort-load-bytes patch.  Could whoever commits it check the main
branch as well.  I suspect it may need to be done there too.

Thanks,

Scott

1999-12-17  Scott Bambrough  <scottb@netwinder.org>

	* config/arm/linux-elf.h: Change all instances of 
	ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
	* config/arm/uclinux-elf.h: Same.
 
-- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org
Index: linux-elf.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/arm/linux-elf.h,v
retrieving revision 1.12.2.2
diff -u -p -r1.12.2.2 linux-elf.h
--- linux-elf.h	1999/12/08 12:56:23	1.12.2.2
+++ linux-elf.h	1999/12/17 16:00:19
@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA.  */
 
 #ifndef SUBTARGET_DEFAULT_APCS26
 /* Default is to use APCS-32 mode.  */
-# define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_SHORT_BYTE)
+# define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_MMU_TRAPS)
 # ifdef SUBTARGET_OLD_LINKER
 #  define SUBTARGET_EXTRA_LINK_SPEC	\
 	" %{mapcs-26:-m elf32arm26} %{!mapcs-26:-m elf32arm}"
@@ -41,7 +41,7 @@ Boston, MA 02111-1307, USA.  */
 	{ "marm", "mlittle-endian", "mhard-float", "mapcs-32", "mno-thumb-interwork" }
 # define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
 #else	/* default is APCS-26 */
-# define TARGET_DEFAULT (ARM_FLAG_SHORT_BYTE)
+# define TARGET_DEFAULT (ARM_FLAG_MMU_TRAPS)
 # ifdef SUBTARGET_OLD_LINKER
 #  define SUBTARGET_LINK_SPEC	\
 	" %{mapcs-32:-m elf32arm} %{!mapcs-32:-m elf32arm26}"
Index: uclinux-elf.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/arm/uclinux-elf.h,v
retrieving revision 1.2
diff -u -p -r1.2 uclinux-elf.h
--- uclinux-elf.h	1999/09/04 15:08:56	1.2
+++ uclinux-elf.h	1999/12/17 16:00:19
@@ -29,4 +29,4 @@ Boston, MA 02111-1307, USA.  */
 #define TARGET_VERSION fputs (" (ARM/ELF ucLinux)", stderr);
 
 #undef  TARGET_DEFAULT
-#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_SHORT_BYTE | ARM_FLAG_SINGLE_PIC_BASE)
+#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_MMU_TRAPS | ARM_FLAG_SINGLE_PIC_BASE)


More information about the Gcc-bugs mailing list