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

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 17:34:27 PDT 2016


On Mon, Sep 26, 2016 at 04:04:05PM -0700, Rafael EspĂ­ndola via llvm-commits wrote:
> Do you know why it uses -r instead of -shared?

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

Joerg


More information about the llvm-commits mailing list