Files
clang-p2996/lld/test/elf/linkerscript/Inputs/valid.ls
Meador Inge 84f613532f LinkerScript: Add -T <scriptfile> option
GNU LD has an option named -T/--script which allows a user to specify
a linker script to be used [1].  LLD already accepts linker scripts
without this option, but the option is widely used.  Therefore it is
best to support it in LLD as well.

[1] https://sourceware.org/binutils/docs/ld/Options.html#Options

llvm-svn: 232183
2015-03-13 18:15:01 +00:00

7 lines
232 B
Plaintext

/* A simple valid linker script used for testing the -T/--script options.
*
* An unresolved symbol named '_entry_point' can be scanned for by the tests
* to determine that the linker script was processed.
*/
ENTRY(_entry_point)