[PATCH] ld/testsuite: skip ld-size when -shared is not supported
Alan Modra
amodra@gmail.com
Thu Nov 10 09:00:34 GMT 2022
On Thu, Nov 10, 2022 at 08:54:04AM +0100, Clément Chigot wrote:
> 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).
OK, the patch is fine.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list