aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elfxx-x86.h')
-rw-r--r--bfd/elfxx-x86.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bfd/elfxx-x86.h b/bfd/elfxx-x86.h
index 4b5784c..3219f36 100644
--- a/bfd/elfxx-x86.h
+++ b/bfd/elfxx-x86.h
@@ -50,7 +50,11 @@
#define X86_64_GOT_TYPE_P(TYPE) \
((TYPE) == R_X86_64_GOTPCREL \
|| (TYPE) == R_X86_64_GOTPCRELX \
- || (TYPE) == R_X86_64_REX_GOTPCRELX)
+ || (TYPE) == R_X86_64_REX_GOTPCRELX \
+ || (TYPE) == R_X86_64_GOT32 \
+ || (TYPE) == R_X86_64_GOT64 \
+ || (TYPE) == R_X86_64_GOTPCREL64 \
+ || (TYPE) == R_X86_64_GOTPLT64)
#define I386_GOT_TYPE_P(TYPE) \
((TYPE) == R_386_GOT32 || (TYPE) == R_386_GOT32X)
#define X86_GOT_TYPE_P(IS_X86_64, TYPE) \