[PATCH] D44214: Improve --warn-symbol-ordering.
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 28 16:03:53 PDT 2018
>> > > This will now fire on symbols the linker defines relative to an output section, no?
>> > >
>> > That would be a good thing, right? Attempting to order a symbol not associated with an OutputSection (whether linker-defined or not) would be impossible.
>> Yeah, I think this is a desired behavior.
> Warning would be good, calling it an absolute symbol in the warning is the issue.
The attached patch on top of your patch shows the
problem. _GLOBAL_OFFSET_TABLE_ is not an absolute symbol.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.diff
Type: text/x-patch
Size: 1441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180328/ef6d0460/attachment.bin>
-------------- next part --------------
Cheers,
Rafael
More information about the llvm-commits
mailing list