Add a comment explaining why I use -ffixed-r14 (though actually I'm not sure

it's necessary).
Add -mshort-load-words, since that's safe on all arm26 systems.
This commit is contained in:
bjh21 2002-03-07 23:15:23 +00:00
parent d6c76879a7
commit 08f3639e04

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.arm26,v 1.19 2002/01/07 21:15:50 bjh21 Exp $ # $NetBSD: Makefile.arm26,v 1.20 2002/03/07 23:15:23 bjh21 Exp $
# Makefile for NetBSD # Makefile for NetBSD
# #
@ -34,7 +34,11 @@ GENASSYM= ${ARM26}/arm26/genassym.cf
CPPFLAGS+= -Darm26 CPPFLAGS+= -Darm26
CWARNFLAGS+= -Wcomment CWARNFLAGS+= -Wcomment
LOOSE_PROTOTYPES= yes LOOSE_PROTOTYPES= yes
# We'd like GCC to leave R14 alone as much as possible (so page faults in the
# kernel are safer).
CFLAGS+= -ffixed-r14 CFLAGS+= -ffixed-r14
# arm26 systems can safely do unaligned loads.
CFLAGS+= -mshort-load-words
AFLAGS+= -x assembler-with-cpp -traditional-cpp AFLAGS+= -x assembler-with-cpp -traditional-cpp
## ##