From d9f87b7b02d3a58c1cab889d075f5496e95799fa Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 10 Dec 2024 21:51:49 +0100 Subject: [PATCH] Ada: Add GNU/Hurd x86_64 support This is essentially the same as the i386-pc-gnu section, the differences are the same as between freebsd i386 and freebsd x86_64. gcc/ada/ChangeLog: * Makefile.rtl: Add x86_64-pc-gnu section. Signed-off-by: Samuel Thibault --- gcc/ada/Makefile.rtl | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl index 67c17eaa4a0e..6379c84693dd 100644 --- a/gcc/ada/Makefile.rtl +++ b/gcc/ada/Makefile.rtl @@ -1786,6 +1786,42 @@ ifeq ($(strip $(filter-out x86_64 kfreebsd%,$(target_cpu) $(target_os))),) endif endif +# x86_64-pc-gnu i.e. GNU Hurd +ifeq ($(SELECTED_PAIRS),PAIRS_NONE) +ifeq ($(strip $(filter-out x86_64 pc gnu,$(target_cpu) $(target_vendor) $(target_os))),) + + SELECTED_PAIRS=x86_64-gnuhurd + + LIBGNAT_TARGET_PAIRS = \ + a-intnam.ads