[PATCH] ld: Use [list ] syntax to define run_tests in indirect.exp
Nick Clifton
nickc@redhat.com
Fri Jul 7 08:47:42 GMT 2023
Hi YunQiang Su,
> 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 {{}}.
Approved - please apply.
Cheers
Nick
More information about the Binutils
mailing list