* 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 b3638be4503d554dd5b22de8e2ab072004cf5a3b..9af9fab6135a31dcc9772a9f23cac8274b1dbc6c 100644 (file)
@@ -1,3 +1,7 @@
+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
index 9542fe0c9ad5d965e050d9e18d6f3dca546253b1..936a16d32bbc7223c7231d070afcb93816cec7fc 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