rtems-elf.h: Added definition of LINK_GCC_C_SEQUENCE_SPEC which matches behavior...
authorJoel Sherrill <joel.sherrill@oarcorp.com>
Mon, 21 Nov 2005 22:56:34 +0000 (22:56 +0000)
committerJoel Sherrill <joel@gcc.gnu.org>
Mon, 21 Nov 2005 22:56:34 +0000 (22:56 +0000)
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.

From-SVN: r107329

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

index 8146c452331084902f50824dca611c3bb51d748f..7b02cc54904b849ff0dad066a6d8a122fe00b263 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 02bdebf0264b7bdae0070624f807d5a54e56d149..f71e582ede73b804d100ecdfd8075f5b766a931e 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"