From dc27fa975f6f2d75410d3dbc762fc9a54cb70deb Mon Sep 17 00:00:00 2001 From: scw Date: Mon, 4 Sep 2006 20:43:01 +0000 Subject: [PATCH] Set the division strategy to 'call' to avoid explicit references to 'div_table' when the default 'call2' is used. --- sys/arch/sh5/conf/Makefile.sh5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sh5/conf/Makefile.sh5 b/sys/arch/sh5/conf/Makefile.sh5 index 77ee83920ee0..49abfd3e6cdb 100644 --- a/sys/arch/sh5/conf/Makefile.sh5 +++ b/sys/arch/sh5/conf/Makefile.sh5 @@ -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 # @@ -62,7 +62,7 @@ SH5_ENDIAN_LD= shelf${SH5_ABI}_nbsd .endif 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+= -x assembler-with-cpp -traditional-cpp