HomePhabricator

Reland [ELF] Loose a condition for relocation with a symbol
Audit Required0166cff09b1b

Authored by NikolaPrica on Mon, Jul 22, 6:07 AM.

Description

Reland [ELF] Loose a condition for relocation with a symbol

This patch was not the reason of the buildbot failure.

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

llvm-svn: 366686

Details

Auditors
grosbach
Committed
NikolaPricaMon, Jul 22, 6:07 AM
Reviewer
MaskRay
Differential Revision
D64327: [ELF] Loose condition for relocation with a symbol
Parents
rG937d0ee5d8da: AMDGPU/GlobalISel: Remove unnecessary code
Branches
Unknown
Tags
Unknown