summaryrefslogtreecommitdiff
path: root/gcc/config/arm/rtems-elf.h
diff options
context:
space:
mode:
authorjoel <joel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-21 22:56:34 +0000
committerjoel <joel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-21 22:56:34 +0000
commit72a6b07c4c8afddb3a5b5db4b1334a65dd713abf (patch)
tree45124fd4436c7241f8b7784e5867a6512c2722ff /gcc/config/arm/rtems-elf.h
parent60c514ba498cf233e786eea1bae3b77af2ee4356 (diff)
downloadgcc-72a6b07c4c8afddb3a5b5db4b1334a65dd713abf.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107329 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/rtems-elf.h')
-rw-r--r--gcc/config/arm/rtems-elf.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/config/arm/rtems-elf.h b/gcc/config/arm/rtems-elf.h
index 02bdebf0264..f71e582ede7 100644
--- a/gcc/config/arm/rtems-elf.h
+++ b/gcc/config/arm/rtems-elf.h
@@ -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.
@@ -37,3 +37,10 @@
#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"