commit | 96a73f2cb2a1b4c47e49ff194a94f7394308956b | [log] [tgz] |
---|---|---|
author | YunQiang Su <yunqiang.su@cipunited.com> | Fri Jun 30 13:14:51 2023 +0800 |
committer | YunQiang Su <yunqiang.su@cipunited.com> | Thu Jul 06 09:04:23 2023 +0800 |
tree | 08d79cecb2478669b30fabc92980c590a5f8bf3e | |
parent | 9c72c3349db908daa1e2f155afdfe942dc779ecb [diff] |
ld: Use [list ] syntax to define run_tests in indirect.exp 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 {{}}.