aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2016-05-01 12:59:39 +0900
committerOleg Endo <olegendo@gcc.gnu.org>2016-05-01 03:59:39 +0000
commit21b607581a6e09a84823bf04bf263e610f5d69d0 (patch)
tree62be4cc8d31f110c7ac5b89b8db1e84b6354fa48
parent5a2fc4d7384cdb0f802c8ad2bd97fe6860f22443 (diff)
downloadgcc-21b607581a6e09a84823bf04bf263e610f5d69d0.zip
gcc-21b607581a6e09a84823bf04bf263e610f5d69d0.tar.gz
gcc-21b607581a6e09a84823bf04bf263e610f5d69d0.tar.bz2
linux.h (SH_DIV_STRATEGY_DEFAULT, [...]): Remove.
gcc/ * 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. From-SVN: r235688
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/sh/linux.h7
-rw-r--r--gcc/config/sh/netbsd-elf.h7
3 files changed, 7 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fd8a95c..7dd426d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+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,
diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h
index 09e966b..6117b9d 100644
--- a/gcc/config/sh/linux.h
+++ b/gcc/config/sh/linux.h
@@ -117,13 +117,6 @@ along with GCC; see the file COPYING3. If not see
#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
diff --git a/gcc/config/sh/netbsd-elf.h b/gcc/config/sh/netbsd-elf.h
index e658018..c5c75a4 100644
--- a/gcc/config/sh/netbsd-elf.h
+++ b/gcc/config/sh/netbsd-elf.h
@@ -80,13 +80,6 @@ do \
} \
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 \