[PATCH] [ELF] Support --defsym option to define an absolute symbol.
Shankar Kalpathi Easwaran
shankarke at gmail.com
Fri Mar 28 06:06:37 PDT 2014
I am not sure if you have seen this thread on lld --defsym option, it's more complicated than this to implement to reflect behavior like gnu ld.
Note : the symbol gets defined in the output file only if there is a relocation to it or a reference to it. Any global symbol should still override defsym option.
More information about the llvm-commits