diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-08-03 22:17:19 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-08-03 22:17:19 +0000 |
commit | 1a6c3ca2340cd65673e3135a77e496b8b0e84f0b (patch) | |
tree | ecb20806fbb1812086f6eb41e3cc4694858eb1be /bfd | |
parent | 3bdf9505dbaec2f32d25b4c1bb65c61d414be608 (diff) | |
download | gdb-1a6c3ca2340cd65673e3135a77e496b8b0e84f0b.zip gdb-1a6c3ca2340cd65673e3135a77e496b8b0e84f0b.tar.gz gdb-1a6c3ca2340cd65673e3135a77e496b8b0e84f0b.tar.bz2 |
* elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask
field initializers throughout.
* elfn32-mips.c (elf_mips16_howto_table_rela): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elf64-mips.c | 14 | ||||
-rw-r--r-- | bfd/elfn32-mips.c | 14 |
3 files changed, 20 insertions, 14 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9eb776e..559bb35 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 2012-08-03 Maciej W. Rozycki <macro@codesourcery.com> + * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask + field initializers throughout. + * elfn32-mips.c (elf_mips16_howto_table_rela): Likewise. + +2012-08-03 Maciej W. Rozycki <macro@codesourcery.com> + * elfxx-mips.c (mips_elf_perform_relocation): Update the cross-mode jump message. diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index e02f969..093c700 100644 --- a/bfd/elf64-mips.c +++ b/bfd/elf64-mips.c @@ -1803,7 +1803,7 @@ static reloc_howto_type mips16_elf64_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_GD", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -1818,7 +1818,7 @@ static reloc_howto_type mips16_elf64_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_LDM", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -1833,7 +1833,7 @@ static reloc_howto_type mips16_elf64_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_DTPREL_HI16", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -1848,7 +1848,7 @@ static reloc_howto_type mips16_elf64_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_DTPREL_LO16", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -1863,7 +1863,7 @@ static reloc_howto_type mips16_elf64_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_GOTTPREL", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -1878,7 +1878,7 @@ static reloc_howto_type mips16_elf64_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_TPREL_HI16", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -1893,7 +1893,7 @@ static reloc_howto_type mips16_elf64_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_TPREL_LO16", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ }; diff --git a/bfd/elfn32-mips.c b/bfd/elfn32-mips.c index 6728371..81d4cf1 100644 --- a/bfd/elfn32-mips.c +++ b/bfd/elfn32-mips.c @@ -1768,7 +1768,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_GD", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -1783,7 +1783,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_LDM", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -1798,7 +1798,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_DTPREL_HI16", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -1813,7 +1813,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_DTPREL_LO16", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -1828,7 +1828,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_GOTTPREL", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -1843,7 +1843,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_TPREL_HI16", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ @@ -1858,7 +1858,7 @@ static reloc_howto_type elf_mips16_howto_table_rela[] = _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS16_TLS_TPREL_LO16", /* name */ FALSE, /* partial_inplace */ - 0x0000ffff, /* src_mask */ + 0, /* src_mask */ 0x0000ffff, /* dst_mask */ FALSE), /* pcrel_offset */ }; |