[PATCH] D24782: Do not merge input sections if --relocatable.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 27 07:55:11 PDT 2016


> At least amd64 is pretty aggressive about not allowing text relocations.
> Kernel modules are not PIC, they are just explicitly relocated on
> startup.

Interesting. Effectively a relro for text. It would be an interesting
thing to implement some day to experiment with the tradeoffs (slower
startup, less sharing, faster code afterwards).

Cheers,
Rafael


More information about the llvm-commits mailing list