From: Joel Sherrill Date: Mon, 21 Nov 2005 22:56:34 +0000 (+0000) Subject: rtems-elf.h: Added definition of LINK_GCC_C_SEQUENCE_SPEC which matches behavior... X-Git-Tag: releases/gcc-4.2.0~5825 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46636d314f8c601e2c3fe52591db5e46359e50b3;p=thirdparty%2Fgcc.git rtems-elf.h: Added definition of LINK_GCC_C_SEQUENCE_SPEC which matches behavior of gcc 4.0... 2005-11-21 Joel Sherrill * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8146c4523310..7b02cc54904b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-11-21 Joel Sherrill + + * 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 * cse.c (fold_rtx): Typo fix. diff --git a/gcc/config/arm/rtems-elf.h b/gcc/config/arm/rtems-elf.h index 02bdebf0264b..f71e582ede73 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"