[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 15:25:08 PST 2016


ruiu added a comment.

Got it. So that's not specific to `_gp`, but you are talking about the fact that LLD complains if a symbol you are trying to define is already defined in an object file.

That's just a negligence or a bug. Symbols in linker scripts should take precedence over pre-existing symbols.


https://reviews.llvm.org/D27276





More information about the llvm-commits mailing list