On Mon, 2005-11-21 at 13:48 -0600, Joel Sherrill  wrote:

> I also have this arm-rtems specific patch.  Something changed after 
> 4.0.x and none of the RTEMS BSPs would link before I added this.
> 
> Index: gcc/config/arm/rtems-elf.h
> ===================================================================
> --- gcc/config/arm/rtems-elf.h  (revision 107316)
> +++ gcc/config/arm/rtems-elf.h  (working copy)
> @@ -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"

I fail to see what this patch is good for. 

All rtems targets use the default LINK_GCC_C_SEQUENCE_SPEC and I fail to
understand why the arm should be an exception.

I'd suspect bugs in RTEMS bsp_specs hitting you.

Ralf


Reply via email to