[PATCH] D75416: [PowerPC][ELF] Place .toc in the same COMDAT group as the target object

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 1 18:19:40 PST 2020


MaskRay added a comment.

In D75416#1900178 <https://reviews.llvm.org/D75416#1900178>, @Bdragon28 wrote:

> Still working on testing this one.
>
> I'm not sure if this is an artifact of my attempts to force clang to be an external toolchain or if this is a break yet.
>
>   --- all_subdir_lib/libdevdctl ---
>   ld: error: relocation refers to a discarded section: .toc


`ld: error: relocation refers to a discarded section: .toc` was worked around in lld by rL363126 <https://reviews.llvm.org/rL363126>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75416





More information about the llvm-commits mailing list