Set the division strategy to 'call' to avoid explicit references to

'div_table' when the default 'call2' is used.
This commit is contained in:
scw 2006-09-04 20:43:01 +00:00
parent 9bdabd4316
commit dc27fa975f
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sh5,v 1.16 2005/12/11 12:19:00 christos Exp $ # $NetBSD: Makefile.sh5,v 1.17 2006/09/04 20:43:01 scw Exp $
# Makefile for NetBSD/sh5 # Makefile for NetBSD/sh5
# #
@ -62,7 +62,7 @@ SH5_ENDIAN_LD= shelf${SH5_ABI}_nbsd
.endif .endif
CPPFLAGS+= -D__NetBSD__ -D${MACHINE} ${SH5_ABI_DEF} CPPFLAGS+= -D__NetBSD__ -D${MACHINE} ${SH5_ABI_DEF}
CFLAGS+= ${SH5_ENDIAN_CC} -m5-${SH5_ABI}media-nofpu CFLAGS+= ${SH5_ENDIAN_CC} -m5-${SH5_ABI}media-nofpu -mdiv=call
AFLAGS+= ${SH5_ENDIAN_CC} -m5-${SH5_ABI}media-nofpu AFLAGS+= ${SH5_ENDIAN_CC} -m5-${SH5_ABI}media-nofpu
AFLAGS+= -x assembler-with-cpp -traditional-cpp AFLAGS+= -x assembler-with-cpp -traditional-cpp