This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/53314] New: m32r-rtems does not provide crtinit.o and crtfini.o


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53314

             Bug #: 53314
           Summary: m32r-rtems does not provide crtinit.o and crtfini.o
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: joel@gcc.gnu.org


Unfortunately libgcc is not a component to select. :(

The extra_parts line was lost in the move of libgcc configuration to its own
directory.

m32r-*-rtems*)
    tmake_file="$tmake_file m32r/t-m32r t-fdpbit"
    extra_parts="$extra_parts crtinit.o crtfini.o"
    ;;

Is this OK for the 4.7 branch and the head? RTEMS builds using this on the
head.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]