[PATCH] ld: Use [list ] syntax to define run_tests in indirect.exp
Alan Modra
amodra@gmail.com
Wed Jul 5 20:57:30 GMT 2023
On Fri, Jun 30, 2023 at 01:14:51PM +0800, YunQiang Su wrote:
> Currently, the var run_tests is defined by syntax {{}},
> while in this case, variables cannot be used.
> Thus $NOPIE_CFLAGS and $NOPIE_LDFLAGS are passed to cmd as names
> instead of values:
> gcc ... $NOPIE_CFLAGS -c .../indirect5a.c -o tmpdir/indirect5a.o
>
> Let's use [list [list ]] syntax instead.
>
> ld/ChangeLog:
>
> * testsuite/ld-elf/indirect.exp(run_tests): use [list [list]]
> syntax instead of {{}}.
OK, thanks.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list