aboutsummaryrefslogtreecommitdiff
path: root/include/elf/mips.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2006-10-28 10:13:49 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2006-10-28 10:13:49 +0000
commit165b93e775da68589421df1c8dce01415af28635 (patch)
tree080b1687efc951d65a4248b777925ac41f90ef27 /include/elf/mips.h
parent691e0f4f61c07b6c32d6bb946d9db07c385d1f80 (diff)
downloadgdb-165b93e775da68589421df1c8dce01415af28635.zip
gdb-165b93e775da68589421df1c8dce01415af28635.tar.gz
gdb-165b93e775da68589421df1c8dce01415af28635.tar.bz2
include/elf/
* mips.h (R_MIPS_GLOB_DAT): Define (R_MIPS_max): Bump by 1. bfd/ * elf32-mips.c (elf_mips_howto_table_rel): Add R_MIPS_GLOB_DAT. * elfn32-mips.c (elf_mips_howto_table_rel): Likewise. (elf_mips_howto_table_rela): Likewise. * elf64-mips.c (mips_elf64_howto_table_rel): Likewise. (mips_elf64_howto_table_rela): Likewise.
Diffstat (limited to 'include/elf/mips.h')
-rw-r--r--include/elf/mips.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/elf/mips.h b/include/elf/mips.h
index f22bd4d..c0d3eb1 100644
--- a/include/elf/mips.h
+++ b/include/elf/mips.h
@@ -87,7 +87,8 @@ START_RELOC_NUMBERS (elf_mips_reloc_type)
RELOC_NUMBER (R_MIPS_TLS_TPREL64, 48)
RELOC_NUMBER (R_MIPS_TLS_TPREL_HI16, 49)
RELOC_NUMBER (R_MIPS_TLS_TPREL_LO16, 50)
- FAKE_RELOC (R_MIPS_max, 51)
+ RELOC_NUMBER (R_MIPS_GLOB_DAT, 51)
+ FAKE_RELOC (R_MIPS_max, 52)
/* These relocs are used for the mips16. */
FAKE_RELOC (R_MIPS16_min, 100)
RELOC_NUMBER (R_MIPS16_26, 100)