HomePhabricator

[ELF][Hexagon] Replace R_HEXAGON_GOT with R_GOTPLT

Authored by MaskRay on Aug 16 2019, 10:01 AM.

Description

[ELF][Hexagon] Replace R_HEXAGON_GOT with R_GOTPLT

R_GOTPLT is relative to .got.plt since D59594. Since R_HEXAGON_GOT
relocations always have 0 r_addend, they can use R_GOTPLT instead.

Reviewed By: sidneym

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

llvm-svn: 369128

Details

Committed
MaskRayAug 16 2019, 10:01 AM
Reviewer
sidneym
Differential Revision
D66274: [ELF][Hexagon] Replace R_HEXAGON_GOT with R_GOTPLT
Parents
rG144903310f58: [SLP] add tests for PR16739; NFC
Branches
Unknown
Tags
Unknown