[PATCH,testsuite] fix gcc.target/arm/long-calls-*.c in Thumb-2 mode

Paul Brook paul@codesourcery.com
Wed Jan 14 19:33:00 GMT 2009


On Wednesday 14 January 2009, Nathan Froyd wrote:
> The patch below fixes several failures for tests on Thumb-2 targets.
>
> - GCC doesn't (currently) generate sibling calls in Thumb-2 mode;
>
> - The tests are looking for PLT markers, which don't get generated for
>   Thumb-2, and may eventually not get generated for ARM mode.

> +   * The PLT marker is optional, even though we are using -fpic,
> +     because it is not used (or required) on bare-metal targets.

Technically we shouldn't need/use (PLT) on any EABI target, so 
s/bare-metal/some/.

Ok with that change.

Paul



More information about the Gcc-patches mailing list