Skip to content
Commit 04cbd988 authored by Rui Ueyama's avatar Rui Ueyama
Browse files

Fix a bug in R_X86_64_PC{8,16} relocation handling.

R_X86_64_PC{8,16} relocations are sign-extended, so when we check
for relocation overflow, we had to use checkInt instead of checkUInt.
I confirmed that GNU linkers create the same output for the test case.

llvm-svn: 353437
parent 93fdec73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment