summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-12-19 20:12:13 -0800
committerH.J. Lu <hjl.tools@gmail.com>2018-12-19 20:12:13 -0800
commit388c71de6716902ba39fadba3d41b5f3cdb59dca (patch)
tree03b3d0363086b0c3642367e77febd8fb3085146c
parentb9519cfe9828b9ee5a73e74b4be83d46f33e6886 (diff)
downloadbinutils-gdb-388c71de6716902ba39fadba3d41b5f3cdb59dca.tar.gz
Add R_386_SEG16/R_386_SUB16/R_386_SUB32
-rw-r--r--include/elf/i386.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/elf/i386.h b/include/elf/i386.h
index 9d80aa872a0..859c1aa36b1 100644
--- a/include/elf/i386.h
+++ b/include/elf/i386.h
@@ -69,6 +69,12 @@ START_RELOC_NUMBERS (elf_i386_reloc_type)
/* Load from 32 bit GOT entry, relaxable. */
RELOC_NUMBER (R_386_GOT32X, 43)
+ /* Relocation number 44 is reserved. */
+
+ RELOC_NUMBER (R_386_SEG16, 45)
+ RELOC_NUMBER (R_386_SUB16, 46)
+ RELOC_NUMBER (R_386_SUB32, 47)
+
/* Used by Intel. */
RELOC_NUMBER (R_386_USED_BY_INTEL_200, 200)