[PATCH] ld/testsuite: skip ld-size when -shared is not supported
Clément Chigot
chigot@adacore.com
Thu Nov 10 07:54:04 GMT 2022
On Wed, Nov 9, 2022 at 10:37 PM Alan Modra <amodra@gmail.com> wrote:
>
> On Wed, Nov 09, 2022 at 05:26:11PM +0100, Clément Chigot via Binutils wrote:
> > * testsuite/ld-size/size.exp: Skip when -shared is not
> > supported.
>
> What does this catch that isn't already covered by the target test?
It does in a wide approach. But it doesn't allow custom targets (as I
do) where shared support is explicitly disabled.
It might not have a big impact but it looks logical to me to check for
-shared (both linker and compiler by the way) before running any tests
related to that.
I've pushed other similar patches recently (see ld-arm or ld-shared).
Thanks,
Clément
More information about the Binutils
mailing list