HomePhabricator

[ELF] Loose a condition for relocation with a symbol
Audit RequiredrL365618

Description

[ELF] Loose a condition for relocation with a symbol

Deleted code was introduced as a work around for a bug in the gold linker
(http://sourceware.org/PR16794). Test case that was given as a reason for
this part of code, the one on previous link, now works for the gold.
This condition is too strict and when a code is compiled with debug info
it forces generation of numerous relocations with symbol for architectures
that do not have relocation addend.

Reviewers: arsenm, espindola

Reviewed By: MaskRay

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

Details

Auditors
grosbach
Committed
NikolaPricaJul 10 2019, 4:17 AM
Reviewer
MaskRay
Differential Revision
D64327: [ELF] Loose condition for relocation with a symbol
Parents
rL365617: [CMake] `install-distribution` for LLDB on Darwin
Branches
Unknown
Tags
Unknown