[PATCH] D38554: Fixed ppc32 function relocations in non-pic mode

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 4 15:00:23 PDT 2017


Joerg Sonnenberger via Phabricator <reviews at reviews.llvm.org> writes:

> joerg added a comment.
>
> Let's start with the obvious: I have no idea why you need this code at all. NetBSD builds a mix of static, PIC and PIE code using GNU ld without hitting any unsupported relocations. As I said before, the normal ABI on PowerPC is mostly PIC by default. I wonder if the root of your problem is that you want EABI and not the SYSV ABI.

Also note that this is not about defaults. The testcase explicitly ask
for static.

Cheers,
Rafael


More information about the llvm-commits mailing list