Patchwork m32r-rtems libgcc config missing crtinit/fini

login
register
mail settings
Submitter Joel Sherrill
Date May 16, 2012, 8:52 p.m.
Message ID <4FB413A8.1000002@oarcorp.com>
Download mbox | patch
Permalink /patch/159751/
State New
Headers show

Comments

Joel Sherrill - May 16, 2012, 8:52 p.m.
Hi

When moving stuff into libgcc, a line for m32r-rtems
got lost.  This is PR53314.

Is this OK for the head and 4.7?

2012-05-16  Joel Sherrill <joel.sherrill@oarcorp.com>

     * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
     as extra_parts.

Patch

diff --git a/libgcc/config.host b/libgcc/config.host
index 14c705b..b79f321 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -679,6 +682,7 @@  m32r-*-elf*)
         ;;
  m32r-*-rtems*)
         tmake_file="$tmake_file m32r/t-m32r t-fdpbit"
+       extra_parts="$extra_parts crtinit.o crtfini.o"
         ;;
  m32rle-*-elf*)
         tmake_file=t-fdpbit