linux.h (SH_DIV_STRATEGY_DEFAULT, [...]): Remove.
authorYoshinori Sato <ysato@users.sourceforge.jp>
Sun, 1 May 2016 03:59:39 +0000 (12:59 +0900)
committerOleg Endo <olegendo@gcc.gnu.org>
Sun, 1 May 2016 03:59:39 +0000 (03:59 +0000)
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

gcc/ChangeLog
gcc/config/sh/linux.h
gcc/config/sh/netbsd-elf.h

index fd8a95c213e46915ba6cb9a32309c0a8c3f89653..7dd426d8fdeb63295c19e51e8311a6871e7e3d5d 100644 (file)
@@ -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,
index 09e966b9e498bb813beabdf787b9098ddc1bdf8e..6117b9d1387bb2fac425198033a2da3cf1a59a8b 100644 (file)
@@ -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
index e6580186110253e74b8aeece6d077ca9e5acd933..c5c75a482e49fb7af277f6bbd9a58f080deb9b42 100644 (file)
@@ -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                                                                   \