OSDN Git Service

2005-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>
authorjoel <joel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Nov 2005 22:56:34 +0000 (22:56 +0000)
committerjoel <joel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Nov 2005 22:56:34 +0000 (22:56 +0000)
* config/arm/rtems-elf.h: Added definition of LINK_GCC_C_SEQUENCE_SPEC
which matches behavior of gcc 4.0 and older for RTEMS targets.  The
default now includes a linker group which makes the RTEMS one nest.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107329 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/rtems-elf.h

index 8146c45..7b02cc5 100644 (file)
@@ -1,3 +1,9 @@
+2005-11-21  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * config/arm/rtems-elf.h: Added definition of LINK_GCC_C_SEQUENCE_SPEC
+       which matches behavior of gcc 4.0 and older for RTEMS targets.  The
+       default now includes a linker group which makes the RTEMS one nest.
+
 2005-11-22  Ben Elliston  <bje@au.ibm.com>
 
        * cse.c (fold_rtx): Typo fix.
index 02bdebf..f71e582 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for RTEMS based ARM systems using ELF
-   Copyright (C) 2000, 2002 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc.
  
    This file is part of GCC.
  
 #undef SUBTARGET_EXTRA_ASM_SPEC
 #define SUBTARGET_EXTRA_ASM_SPEC "\
   %{!mhard-float: %{!msoft-float:-mfpu=softfpa}}"
+
+/*
+ *  The default includes --start-group and --end-group which conflicts
+ *  with how this used to be defined.
+ */
+#undef LINK_GCC_C_SEQUENCE_SPEC
+#define LINK_GCC_C_SEQUENCE_SPEC "%G %L"