HomeFreeBSD

Merge commit 315f8a55f from llvm git (by Fangrui Song):

Description

Merge commit 315f8a55f from llvm git (by Fangrui Song):

[ELF][PPC32] Don't report "relocation refers to a discarded section"
for .got2

Similar to D63182 [ELF][PPC64] Don't report "relocation refers to a
discarded section" for .toc

Reviewed By: Bdragon28

Differential Revision: https://reviews.llvm.org/D75419

This is needed to fix compile errors when building for ppc32/lld10.

Requested by: bdragon
MFC after: 6 weeks
X-MFC-With: 358851
Differential Revision: https://reviews.freebsd.org/D24110

Details

Provenance
dimAuthored on
Differential Revision
D24110: [LLVM][PPC32] Backport LLVM D75419
Parents
rS359084: Merge commit 00925aadb from llvm git (by Fangrui Song):
Branches
Unknown
Tags
Unknown