[PATCH] LinkerScript: Add -T <scriptfile> option
Meador Inge
meadori at gmail.com
Wed Mar 11 15:05:50 PDT 2015
Update to fix the `-lfilename` bug mentioned earlier in the review and add more tests. Note that input, `-l`, and `-T` still share the same code path in the option switch, *but* the correct checking is in place (and was before) to determine when we have a linker script in the case of input and `-l`.
http://reviews.llvm.org/D8138
Files:
lib/Driver/GnuLdDriver.cpp
lib/Driver/GnuLdOptions.td
lib/Driver/TODO.rst
lib/ReaderWriter/ELF/ELFLinkingContext.cpp
test/elf/linkerscript/Inputs/valid.ls
test/elf/linkerscript/invalid-script-cli-1.test
test/elf/linkerscript/invalid-script-cli-2.test
test/elf/linkerscript/valid-script-cli.objtxt
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8138.21773.patch
Type: text/x-patch
Size: 4710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150311/c5bf8708/attachment.bin>
More information about the llvm-commits
mailing list