[PATCH] D30256: [ELF] - Implemented -z noreloc-overflow.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 22 12:48:41 PST 2017
On Wed, Feb 22, 2017 at 12:45 PM, George Rimar <grimar at accesssoftek.com>
> >It doesn't make sense to me. The definition of the option is this:
> -no-dynamic-linker is an option to not add .interp section, >period.
> Essentially, you need to keep the semantics of each option as clear as
> possible instead of overloading multiple meanings >to one option.
> >Maybe we should just allow text relocations.
> That is what I am talking about. There some point to disallow text
> relocations for DSO,
> that what we already do, but I do not know why we do that for PIE.
> So probably at least for PIE we can do that (or I am missing something).
Refused to link a DSO if it contains text relocations is probably too
restrictive, even though we are doing that today. DSOs with text
relocations are bad but not technically incorrect.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits