This behavior matches ld.bfd -Ld --version-script=t.script a.o
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
test/ELF/version-script-in-search-path.s | ||
---|---|---|
9 ↗ | (On Diff #157355) | For safety, you should use %T/searchpath/%t.script instead of %T/searchpath/t.script because this line can succeed if there's other test that happens to create t.script in the current directory. |
test/ELF/version-script-in-search-path.s | ||
---|---|---|
9 ↗ | (On Diff #157355) | Sorry I didn't notice this comment when committing. %t.script is an absolute path so it does not work here --version-script=%t.script |
Comment Actions
Thanks! And good to know this substitution (defined in utils/lit/lit/TestRunner.py). I did the same for test/ELF/linkerscript/linker-script-in-search-path.s