From e3fe057d20acfadc61b4d7d92a65a53d0963e4c9 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Sun, 2 Oct 2005 03:24:07 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/unknown-elf.h | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b644aaa85ef..2065da77b63 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-10-01 Mark Mitchell + + * config/arm/unknown-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define + using --start-group and --end-group. + 2005-10-01 Diego Novillo * 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 0b171a5042d..916aac9f255 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" -- 2.30.2