aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-10-02 03:24:07 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2005-10-02 03:24:07 +0000
commite3fe057d20acfadc61b4d7d92a65a53d0963e4c9 (patch)
treeb2667638095003a55515d944f87c37a0af59eca9
parentc83033e76cb638b1b9a9bfe86b73917c6038584f (diff)
downloadgcc-e3fe057d20acfadc61b4d7d92a65a53d0963e4c9.zip
gcc-e3fe057d20acfadc61b4d7d92a65a53d0963e4c9.tar.gz
gcc-e3fe057d20acfadc61b4d7d92a65a53d0963e4c9.tar.bz2
unknown-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define using --start-group and --end-group.
* config/arm/unknown-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define using --start-group and --end-group. From-SVN: r104864
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/unknown-elf.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b644aaa..2065da7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-01 Mark Mitchell <mark@codesourcery.com>
+
+ * config/arm/unknown-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define
+ using --start-group and --end-group.
+
2005-10-01 Diego Novillo <dnovillo@redhat.com>
* tree-vrp.c (value_inside_range, range_includes_zero_p): Add
diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h
index 0b171a5..916aac9 100644
--- a/gcc/config/arm/unknown-elf.h
+++ b/gcc/config/arm/unknown-elf.h
@@ -89,3 +89,9 @@
#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm7tdmi
#endif
+/* The libgcc udivmod functions may throw exceptions. If newlib is
+ configured to support long longs in I/O, then printf will depend on
+ udivmoddi4, which will depend on the exception unwind routines,
+ which will depend on abort, which is defined in libc. */
+#undef LINK_GCC_C_SEQUENCE_SPEC
+#define LINK_GCC_C_SEQUENCE_SPEC "--start-group %G %L --end-group"