From e5f1cdb1b045406fce27ff6552effbc42de91ed7 Mon Sep 17 00:00:00 2001 From: Amaan Cheval Date: Mon, 7 May 2018 16:32:09 +0000 Subject: [PATCH] config.host (x86_64-*-rtems*): Build crti.o and crtn.o. 2018-05-07 Amaan Cheval * config.host (x86_64-*-rtems*): Build crti.o and crtn.o. From-SVN: r260007 --- libgcc/ChangeLog | 4 ++++ libgcc/config.host | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 7fcf2fb9d61..1b0c5672978 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2018-05-07 Amaan Cheval + + * config.host (x86_64-*-rtems*): Build crti.o and crtn.o. + 2018-04-27 Andreas Tobler Maryse Levavasseur diff --git a/libgcc/config.host b/libgcc/config.host index 11b4acaff55..f8fd78279d3 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -611,6 +611,11 @@ i[34567]86-*-elf*) ;; x86_64-*-elf* | x86_64-*-rtems*) tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic" + case ${host} in + x86_64-*-rtems*) + extra_parts="$extra_parts crti.o crtn.o" + ;; + esac ;; x86_64-*-fuchsia*) tmake_file="$tmake_file t-libgcc-pic"