* elf64-mips.c (mips_elf64_howto_table_rela)

[R_MIPS_TLS_DTPMOD64]: Clear partial_inplace.
	[R_MIPS_TLS_DTPREL64, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
	[R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
	[R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL64]: Likewise.
	[R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
	* elfn32-mips.c (elf_mips_howto_table_rela)
	[R_MIPS_TLS_DTPMOD32]: Likewise.
	[R_MIPS_TLS_DTPREL32, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
	[R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
	[R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL32]: Likewise.
	[R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
This commit is contained in:
Maciej W. Rozycki 2010-07-27 21:08:33 +00:00
parent 03ea81db63
commit 667bf02aed
3 changed files with 35 additions and 20 deletions

View File

@ -1339,7 +1339,7 @@ static reloc_howto_type mips_elf64_howto_table_rela[] =
complain_overflow_dont, /* complain_on_overflow */ complain_overflow_dont, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_DTPMOD64", /* name */ "R_MIPS_TLS_DTPMOD64", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
MINUS_ONE, /* src_mask */ MINUS_ONE, /* src_mask */
MINUS_ONE, /* dst_mask */ MINUS_ONE, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1353,7 +1353,7 @@ static reloc_howto_type mips_elf64_howto_table_rela[] =
complain_overflow_dont, /* complain_on_overflow */ complain_overflow_dont, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_DTPREL64", /* name */ "R_MIPS_TLS_DTPREL64", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
MINUS_ONE, /* src_mask */ MINUS_ONE, /* src_mask */
MINUS_ONE, /* dst_mask */ MINUS_ONE, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1368,7 +1368,7 @@ static reloc_howto_type mips_elf64_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_GD", /* name */ "R_MIPS_TLS_GD", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1383,7 +1383,7 @@ static reloc_howto_type mips_elf64_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_LDM", /* name */ "R_MIPS_TLS_LDM", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1398,7 +1398,7 @@ static reloc_howto_type mips_elf64_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_DTPREL_HI16", /* name */ "R_MIPS_TLS_DTPREL_HI16", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1413,7 +1413,7 @@ static reloc_howto_type mips_elf64_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_DTPREL_LO16", /* name */ "R_MIPS_TLS_DTPREL_LO16", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1428,7 +1428,7 @@ static reloc_howto_type mips_elf64_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_GOTTPREL", /* name */ "R_MIPS_TLS_GOTTPREL", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1445,7 +1445,7 @@ static reloc_howto_type mips_elf64_howto_table_rela[] =
complain_overflow_dont, /* complain_on_overflow */ complain_overflow_dont, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_TPREL64", /* name */ "R_MIPS_TLS_TPREL64", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
MINUS_ONE, /* src_mask */ MINUS_ONE, /* src_mask */
MINUS_ONE, /* dst_mask */ MINUS_ONE, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1460,7 +1460,7 @@ static reloc_howto_type mips_elf64_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_TPREL_HI16", /* name */ "R_MIPS_TLS_TPREL_HI16", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1475,7 +1475,7 @@ static reloc_howto_type mips_elf64_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_TPREL_LO16", /* name */ "R_MIPS_TLS_TPREL_LO16", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */

View File

@ -1301,7 +1301,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
complain_overflow_dont, /* complain_on_overflow */ complain_overflow_dont, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_DTPMOD32", /* name */ "R_MIPS_TLS_DTPMOD32", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0xffffffff, /* src_mask */ 0xffffffff, /* src_mask */
0xffffffff, /* dst_mask */ 0xffffffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1315,7 +1315,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
complain_overflow_dont, /* complain_on_overflow */ complain_overflow_dont, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_DTPREL32", /* name */ "R_MIPS_TLS_DTPREL32", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0xffffffff, /* src_mask */ 0xffffffff, /* src_mask */
0xffffffff, /* dst_mask */ 0xffffffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1333,7 +1333,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_GD", /* name */ "R_MIPS_TLS_GD", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1348,7 +1348,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_LDM", /* name */ "R_MIPS_TLS_LDM", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1363,7 +1363,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_DTPREL_HI16", /* name */ "R_MIPS_TLS_DTPREL_HI16", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1378,7 +1378,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_DTPREL_LO16", /* name */ "R_MIPS_TLS_DTPREL_LO16", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1393,7 +1393,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_GOTTPREL", /* name */ "R_MIPS_TLS_GOTTPREL", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1408,7 +1408,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
complain_overflow_dont, /* complain_on_overflow */ complain_overflow_dont, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_TPREL32", /* name */ "R_MIPS_TLS_TPREL32", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0xffffffff, /* src_mask */ 0xffffffff, /* src_mask */
0xffffffff, /* dst_mask */ 0xffffffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1425,7 +1425,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_TPREL_HI16", /* name */ "R_MIPS_TLS_TPREL_HI16", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */
@ -1440,7 +1440,7 @@ static reloc_howto_type elf_mips_howto_table_rela[] =
complain_overflow_signed, /* complain_on_overflow */ complain_overflow_signed, /* complain_on_overflow */
_bfd_mips_elf_generic_reloc, /* special_function */ _bfd_mips_elf_generic_reloc, /* special_function */
"R_MIPS_TLS_TPREL_LO16", /* name */ "R_MIPS_TLS_TPREL_LO16", /* name */
TRUE, /* partial_inplace */ FALSE, /* partial_inplace */
0x0000ffff, /* src_mask */ 0x0000ffff, /* src_mask */
0x0000ffff, /* dst_mask */ 0x0000ffff, /* dst_mask */
FALSE), /* pcrel_offset */ FALSE), /* pcrel_offset */

View File

@ -1,3 +1,18 @@
2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
* elf64-mips.c (mips_elf64_howto_table_rela)
[R_MIPS_TLS_DTPMOD64]: Clear partial_inplace.
[R_MIPS_TLS_DTPREL64, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
[R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
[R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL64]: Likewise.
[R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
* elfn32-mips.c (elf_mips_howto_table_rela)
[R_MIPS_TLS_DTPMOD32]: Likewise.
[R_MIPS_TLS_DTPREL32, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
[R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
[R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL32]: Likewise.
[R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
2010-07-27 Maciej W. Rozycki <macro@codesourcery.com> 2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
* config/tc-mips.c (mips16_macro_build): Pass "args" by * config/tc-mips.c (mips16_macro_build): Pass "args" by