config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
authorAmaan Cheval <amaan.cheval@gmail.com>
Mon, 7 May 2018 16:32:09 +0000 (16:32 +0000)
committerJoel Sherrill <joel@gcc.gnu.org>
Mon, 7 May 2018 16:32:09 +0000 (16:32 +0000)
2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>

* config.host (x86_64-*-rtems*): Build crti.o and crtn.o.

From-SVN: r260007

libgcc/ChangeLog
libgcc/config.host

index 7fcf2fb9d61e406044f12dc3dcfdb38d6e5b8706..1b0c56729784cea3a65cc8fbf938b8cca0384a51 100644 (file)
@@ -1,3 +1,7 @@
+2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
+
+       * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
+
 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
            Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
 
index 11b4acaff55e00ee6bd3c182e9da5dc597ac57c4..f8fd78279d353f6959e75ac25571c1b7b2dec110 100644 (file)
@@ -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"