[PATCH] D87318: [LLD][PowerPC] Add support for R_PPC64_GOT_TLSGD_PCREL34 used in TLS General Dynamic

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 12:31:10 PDT 2020


MaskRay added a comment.

In D87318#2306973 <https://reviews.llvm.org/D87318#2306973>, @stefanp wrote:

> Looks like .rela.dyn is located in different places depending on the machine.
> From two different bots:
>
>   # GDTOIE-RELOC: Relocation section '.rela.dyn' at offset 0x10118 contains 2 entries:
>                   ^
>   <stdin>:2:1: note: scanning from here
>   Relocation section '.rela.dyn' at offset 0x10128 contains 2 entries:
>
> or
>
>   # GDTOIE-RELOC: Relocation section '.rela.dyn' at offset 0x10118 contains 2 entries:
>                   ^
>   <stdin>:2:1: note: scanning from here
>   Relocation section '.rela.dyn' at offset 0x10148 contains 2 entries:

I mentioned this several times previously. If you use a shared object for another link, please set `-soname=t` or another fixed string.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87318/new/

https://reviews.llvm.org/D87318



More information about the llvm-commits mailing list