aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-12-09 07:22:14 -0800
committerH.J. Lu <hjl.tools@gmail.com>2018-12-09 07:22:14 -0800
commit9f52eab6a7a69870c7b5907a20b0305f30dbf2ae (patch)
treee8387fa7f3c1211147f34ca91c3d618ea375b599 /gas/config/tc-i386.h
parent7a81c1e2d44c6eb11b2ea24dc71ee959ab3a5acd (diff)
downloadgdb-9f52eab6a7a69870c7b5907a20b0305f30dbf2ae.zip
gdb-9f52eab6a7a69870c7b5907a20b0305f30dbf2ae.tar.gz
gdb-9f52eab6a7a69870c7b5907a20b0305f30dbf2ae.tar.bz2
x86: Put back BFD_RELOC_X86_64_GOTPCREL
Put back BFD_RELOC_X86_64_GOTPCREL in TC_FORCE_RELOCATION_LOCAL, which was removed by commit 56ceb5b5405af23eddd12e12d8ba849010120324 Author: H.J. Lu <hjl.tools@gmail.com> Date: Thu Oct 22 04:49:20 2015 -0700 Add R_X86_64_[REX_]GOTPCRELX support to gas and ld by accident.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r--gas/config/tc-i386.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 5426301..e172158 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -174,6 +174,7 @@ extern int tc_i386_fix_adjustable (struct fix *);
(GENERIC_FORCE_RELOCATION_LOCAL (FIX) \
|| (FIX)->fx_r_type == BFD_RELOC_386_PLT32 \
|| (FIX)->fx_r_type == BFD_RELOC_386_GOTPC \
+ || (FIX)->fx_r_type == BFD_RELOC_X86_64_GOTPCREL \
|| (FIX)->fx_r_type == BFD_RELOC_X86_64_GOTPCRELX \
|| (FIX)->fx_r_type == BFD_RELOC_X86_64_REX_GOTPCRELX)