[PATCH] D30256: [ELF] - Implemented -z noreloc-overflow.

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 14:11:49 PST 2017


On Wed, Feb 22, 2017 at 01:45:56PM -0800, Rui Ueyama via llvm-commits wrote:
> I took a quick look at BFD linker's source code and I think that is right.
> The GNU linker doesn't say anything about text relocations unless "-z text"
> or "-warn-shared-textrel" is given.

This is platform dependent. E.g. for x86_64, the default is that textrel
are invalid, for i386 it is valid.

Joerg


More information about the llvm-commits mailing list