Skip to content
Commit f6bc52f0 authored by H.J. Lu's avatar H.J. Lu Committed by Sunil K Pandey
Browse files

x86-64: Ignore r_addend for R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT



According to x86-64 psABI, r_addend should be ignored for R_X86_64_GLOB_DAT
and R_X86_64_JUMP_SLOT.  Since linkers always set their r_addends to 0, we
can ignore their r_addends.

Reviewed-by: default avatarFangrui Song <maskray@google.com>
(cherry picked from commit f8587a61)
parent 8ab861d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment