+2016-05-01 Yoshinori Sato <ysato@users.sourceforge.jp>
+
+ * config/sh/linux.h (SH_DIV_STRATEGY_DEFAULT,
+ SH_DIV_STR_FOR_SIZE): Remove.
+ * config/sh/netbsd-elf.h (SH_DIV_STRATEGY_DEFAULT,
+ SH_DIV_STR_FOR_SIZE): Remove.
+
2016-05-01 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/predicates.md (any_register_operand, zero_extend_operand,
#define DBX_REGISTER_NUMBER(REGNO) \
(((REGNO) == 16) ? 16 : SH_DBX_REGISTER_NUMBER (REGNO))
-/* Since libgcc is compiled with -fpic for this target, we can't use
- __sdivsi3_1 as the division strategy for -O0 and -Os. */
-#undef SH_DIV_STRATEGY_DEFAULT
-#define SH_DIV_STRATEGY_DEFAULT SH_DIV_CALL2
-#undef SH_DIV_STR_FOR_SIZE
-#define SH_DIV_STR_FOR_SIZE "call2"
-
/* Install the __sync libcalls. */
#undef TARGET_INIT_LIBFUNCS
#define TARGET_INIT_LIBFUNCS sh_init_sync_libfuncs
} \
while (0)
-/* Since libgcc is compiled with -fpic for this target, we can't use
- __sdivsi3_1 as the division strategy for -O0 and -Os. */
-#undef SH_DIV_STRATEGY_DEFAULT
-#define SH_DIV_STRATEGY_DEFAULT SH_DIV_CALL2
-#undef SH_DIV_STR_FOR_SIZE
-#define SH_DIV_STR_FOR_SIZE "call2"
-
#undef SUBTARGET_OVERRIDE_OPTIONS
#define SUBTARGET_OVERRIDE_OPTIONS \
do \