From: Maciej W. Rozycki Date: Fri, 3 Aug 2012 22:17:19 +0000 (+0000) Subject: * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask X-Git-Tag: sid-snapshot-20120901~284 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a6c3ca2340cd65673e3135a77e496b8b0e84f0b;p=external%2Fbinutils.git * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask field initializers throughout. * elfn32-mips.c (elf_mips16_howto_table_rela): Likewise. --- 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 + * 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 + * 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 */ };