summaryrefslogtreecommitdiff
path: root/debian/patches/ada-arm.diff
blob: ce7f9bc47bcea3229d3f146891e40103f19a5b68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DP: Improve support for ZCX on arm.

Index: b/src/gcc/ada/gcc-interface/Makefile.in
===================================================================
--- a/src/gcc/ada/gcc-interface/Makefile.in
+++ b/src/gcc/ada/gcc-interface/Makefile.in
@@ -1964,7 +1964,10 @@ ifeq ($(strip $(filter-out arm% linux-gn
     LIBGNAT_TARGET_PAIRS += \
     system.ads<system-linux-armeb.ads
   else
-    EH_MECHANISM=-arm
+    # Special case; the GCC exception mechanism is supported under
+    # another name and with different files than for other
+    # target_cpus.
+    override EH_MECHANISM=-arm
     LIBGNAT_TARGET_PAIRS += \
     system.ads<system-linux-armel.ads \
     a-exexpr.adb<a-exexpr-gcc.adb \