[PATCH] D27276: [ELF] Allow defined symbols to be assigned from linker script

Meador Inge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 6 11:14:10 PST 2017


meadori updated this revision to Diff 83387.
meadori added a comment.

- Address @ruiu's point about using `addUndefined`.  Note that I had to use the long form to control the visibility (for symbols defined in `PROVIDE`).
- XFAIL of test/ELF/mips-gp-ext.s remains -- this test fails now due to another lld bug. I will look into the other bug after pushing this through.


https://reviews.llvm.org/D27276

Files:
  ELF/LinkerScript.cpp
  test/ELF/linkerscript/symbol-assignexpr.s
  test/ELF/mips-gp-ext.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27276.83387.patch
Type: text/x-patch
Size: 7046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170106/33fc2b25/attachment.bin>


More information about the llvm-commits mailing list