* Makefile.rtl (arm% linux-gnueabi%): Always set EH_MECHANISM to -arm.
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 13 Sep 2018 17:13:05 +0000 (17:13 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 13 Sep 2018 17:13:05 +0000 (17:13 +0000)
From-SVN: r264278

gcc/ada/ChangeLog
gcc/ada/Makefile.rtl

index b3638be..9af9fab 100644 (file)
@@ -1,5 +1,9 @@
 2018-09-13  Eric Botcazou  <ebotcazou@adacore.com>
 
+       * Makefile.rtl (arm% linux-gnueabi%): Always set EH_MECHANISM to -arm.
+
+2018-09-13  Eric Botcazou  <ebotcazou@adacore.com>
+
        PR ada/81103
        * terminals.c: Do not include termio.h.
 
index 9542fe0..936a16d 100644 (file)
@@ -2140,15 +2140,10 @@ ifeq ($(strip $(filter-out arm% linux-gnueabi%,$(target_cpu) $(target_os))),)
   $(ATOMICS_BUILTINS_TARGET_PAIRS) \
   system.ads<libgnat/system-linux-arm.ads
 
-  ifeq ($(strip $(filter-out arm%b,$(target_cpu))),)
-    EH_MECHANISM=
-  else
-    EH_MECHANISM=-arm
-  endif
-
   TOOLS_TARGET_PAIRS = indepsw.adb<indepsw-gnu.adb
 
   EXTRA_GNATRTL_TASKING_OBJS=s-linux.o
+  EH_MECHANISM=-arm
   THREADSLIB = -lpthread
   GNATLIB_SHARED = gnatlib-shared-dual
   GMEM_LIB = gmemlib