From: Doug Rupp Date: Thu, 16 Nov 2017 16:06:48 +0000 (+0000) Subject: Makefile.in: Merge Aarch64 and ARM "ifeq" blocks. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79cefe9d7d04cb9634ebfca6dec5f7c22c1104e3;p=gcc.git Makefile.in: Merge Aarch64 and ARM "ifeq" blocks. 2017-11-16 Doug Rupp * gcc-interface/Makefile.in: Merge Aarch64 and ARM "ifeq" blocks. From-SVN: r254829 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 080cd67ea82..28cfd17112b 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2017-11-16 Doug Rupp + + * gcc-interface/Makefile.in: Merge Aarch64 and ARM "ifeq" blocks. + 2017-11-16 Steve Baird * debug.adb: Update another comment to indicate gnat2scil's use of the diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in index 749dbbfec47..db67dcbf187 100644 --- a/gcc/ada/gcc-interface/Makefile.in +++ b/gcc/ada/gcc-interface/Makefile.in @@ -763,17 +763,29 @@ ifeq ($(strip $(filter-out %86 x86_64 wrs vxworks vxworks7,$(target_cpu) $(targe endif endif -# ARM VxWorks -ifeq ($(strip $(filter-out arm% coff wrs vx%,$(target_cpu) $(target_vendor) $(target_os))),) +# ARM and Aarch64 VxWorks +ifeq ($(strip $(filter-out aarch64 arm% coff wrs vx%,$(target_cpu) $(target_vendor) $(target_os))),) - ifeq ($(strip $(filter-out vxworks7%, $(target_os))),) - SVX=system-vxworks7 - EH_MECHANISM=-arm - SIGTRAMP_OBJ=sigtramp-armvxworks.o + ifeq ($(strip $(filter-out aarch64, $(target_cpu))),) + ARCH_STR=aarch64 + SVX=system-vxworks7 + EH_MECHANISM=-gcc + SIGTRAMP_OBJ=sigtramp-vxworks.o else - SVX=system-vxworks - EH_MECHANISM=-gcc - SIGTRAMP_OBJ=sigtramp-vxworks.o + ifeq ($(strip $(filter-out arm%, $(target_cpu))),) + ARCH_STR=arm + ifeq ($(strip $(filter-out vxworks7%, $(target_os))),) + SVX=system-vxworks7 + EH_MECHANISM=-arm + SIGTRAMP_OBJ=sigtramp-armvxworks.o + else + SVX=system-vxworks + EH_MECHANISM=-gcc + SIGTRAMP_OBJ=sigtramp-vxworks.o + endif + else + ARCH_STR=coff + endif endif LIBGNAT_TARGET_PAIRS = \ @@ -793,7 +805,7 @@ ifeq ($(strip $(filter-out arm% coff wrs vx%,$(target_cpu) $(target_vendor) $(ta s-taprop.adb