[PATCH] D27276: [ELF, WIP] Allow defined symbols to be assigned from linker script
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 30 13:32:55 PST 2016
ruiu added a comment.
In the first place, I wonder why you want to overwrite `_gp`. What is the background of your motivation?
LLD supports ADDR() funciton, so I think you can do this in a straightforward manner like this.
_gp = ADDR(.got) + 0x100;
Does it work for you?
https://reviews.llvm.org/D27276
More information about the llvm-commits
mailing list