[PATCH][ARM][testsuite] Fix address of sg stubs in CMSE tests

Christophe Lyon christophe.lyon@linaro.org
Mon Jul 8 14:41:00 GMT 2019


ping?
I think that's almost obvious?
And maybe should be applied to release branches.

Christophe

On Tue, 2 Jul 2019 at 16:41, Christophe Lyon <christophe.lyon@linaro.org> wrote:
>
> Hi,
>
> While running the GCC testsuite with an armv8-m target, I noticed that
> a few tests where causing the BFD linker to crash. I opened  PR
> ld/24709 for this [1], but fixing it properly is tricky and not worth
> the headache.
>
> I "fixed" the linker so that it emits a useful error message instead
> of crashing, and on the GCC side the "fix" is simply to avoid placing
> the sg stubs section too far from the destination.
>
> This is what this patch does, by replacing
> --section-start,.gnu.sgstubs=0x20400000
> with
> --section-start,.gnu.sgstubs=0x00400000
>
> OK?
>
> Thanks,
>
> Christophe



More information about the Gcc-patches mailing list