aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfn32-mips.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2011-11-16 12:12:22 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2011-11-16 12:12:22 +0000
commit72c4ab07b7203ae36281a2e4a93bb86593f5812c (patch)
tree7c32eafe28dfa934b1a6bb2d807142dd722e3c6a /bfd/elfn32-mips.c
parente3631f0d2988d3fe5e3feb3bfbc86216f70d4146 (diff)
downloadgdb-72c4ab07b7203ae36281a2e4a93bb86593f5812c.zip
gdb-72c4ab07b7203ae36281a2e4a93bb86593f5812c.tar.gz
gdb-72c4ab07b7203ae36281a2e4a93bb86593f5812c.tar.bz2
* elf64-mips.c (mips_elf64_howto_table_rela): Set src_mask to
zero throughout. (mips16_elf64_howto_table_rela): Likewise. (micromips_elf64_howto_table_rela): Likewise. * elfn32-mips.c (elf_mips_howto_table_rela): Likewise. (elf_mips16_howto_table_rela): Likewise. (elf_micromips_howto_table_rela): Likewise.
Diffstat (limited to 'bfd/elfn32-mips.c')
-rw-r--r--bfd/elfn32-mips.c72
1 files changed, 36 insertions, 36 deletions
diff --git a/bfd/elfn32-mips.c b/bfd/elfn32-mips.c
index 00ec8b0..7a08dc8 100644
--- a/bfd/elfn32-mips.c
+++ b/bfd/elfn32-mips.c
@@ -1302,7 +1302,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_DTPMOD32", /* name */
FALSE, /* partial_inplace */
- 0xffffffff, /* src_mask */
+ 0, /* src_mask */
0xffffffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1316,7 +1316,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_DTPREL32", /* name */
FALSE, /* partial_inplace */
- 0xffffffff, /* src_mask */
+ 0, /* src_mask */
0xffffffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1334,7 +1334,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_GD", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1349,7 +1349,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_LDM", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1364,7 +1364,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_DTPREL_HI16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1379,7 +1379,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_DTPREL_LO16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1394,7 +1394,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_GOTTPREL", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1409,7 +1409,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_TPREL32", /* name */
FALSE, /* partial_inplace */
- 0xffffffff, /* src_mask */
+ 0, /* src_mask */
0xffffffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1426,7 +1426,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_TPREL_HI16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1441,7 +1441,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_TPREL_LO16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1573,7 +1573,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS16_26", /* name */
FALSE, /* partial_inplace */
- 0x3ffffff, /* src_mask */
+ 0, /* src_mask */
0x3ffffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1588,7 +1588,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] =
mips16_gprel_reloc, /* special_function */
"R_MIPS16_GPREL", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1603,7 +1603,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] =
_bfd_mips_elf_got16_reloc, /* special_function */
"R_MIPS16_GOT16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1618,7 +1618,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS16_CALL16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1633,7 +1633,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] =
_bfd_mips_elf_hi16_reloc, /* special_function */
"R_MIPS16_HI16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1648,7 +1648,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] =
_bfd_mips_elf_lo16_reloc, /* special_function */
"R_MIPS16_LO16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
};
@@ -1961,7 +1961,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_26_S1", /* name */
FALSE, /* partial_inplace */
- 0x3ffffff, /* src_mask */
+ 0, /* src_mask */
0x3ffffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1976,7 +1976,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_hi16_reloc, /* special_function */
"R_MICROMIPS_HI16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -1991,7 +1991,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_lo16_reloc, /* special_function */
"R_MICROMIPS_LO16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2006,7 +2006,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf32_gprel16_reloc, /* special_function */
"R_MICROMIPS_GPREL16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2021,7 +2021,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf32_gprel16_reloc, /* special_function */
"R_MICROMIPS_LITERAL", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2036,7 +2036,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_got16_reloc, /* special_function */
"R_MICROMIPS_GOT16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2051,7 +2051,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_PC7_S1", /* name */
FALSE, /* partial_inplace */
- 0x0000007f, /* src_mask */
+ 0, /* src_mask */
0x0000007f, /* dst_mask */
TRUE), /* pcrel_offset */
@@ -2065,7 +2065,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_PC10_S1", /* name */
FALSE, /* partial_inplace */
- 0x000003ff, /* src_mask */
+ 0, /* src_mask */
0x000003ff, /* dst_mask */
TRUE), /* pcrel_offset */
@@ -2079,7 +2079,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_PC16_S1", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
TRUE), /* pcrel_offset */
@@ -2094,7 +2094,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_CALL16", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2112,7 +2112,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_GOT_DISP",/* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2127,7 +2127,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_GOT_PAGE",/* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2142,7 +2142,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_GOT_OFST",/* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2157,7 +2157,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_GOT_HI16",/* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2172,7 +2172,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_GOT_LO16",/* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2187,7 +2187,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_SUB", /* name */
FALSE, /* partial_inplace */
- MINUS_ONE, /* src_mask */
+ 0, /* src_mask */
MINUS_ONE, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2202,7 +2202,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_HIGHER", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2217,7 +2217,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_HIGHEST", /* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2232,7 +2232,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_CALL_HI16",/* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
@@ -2247,7 +2247,7 @@ static reloc_howto_type elf_micromips_howto_table_rela[] =
_bfd_mips_elf_generic_reloc, /* special_function */
"R_MICROMIPS_CALL_LO16",/* name */
FALSE, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */
};