forked from Imagelibrary/binutils-gdb
bfd/
2013-05-16 Tristan Gingold <gingold@adacore.com> * coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_16. * coff64-rs6000.c (xcoff64_reloc_type_lookup): Likewise. gas/ 2013-05-16 Tristan Gingold <gingold@adacore.com> * config/tc-ppc.c (ppc_is_toc_sym): Symbols of class XMC_TC are also TOC symbols.
This commit is contained in:
@@ -1826,6 +1826,9 @@ xcoff64_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
return &xcoff64_howto_table[8];
|
||||
case BFD_RELOC_PPC_TOC16:
|
||||
return &xcoff64_howto_table[3];
|
||||
case BFD_RELOC_16:
|
||||
/* Note that this relocation is only internally used by gas. */
|
||||
return &xcoff64_howto_table[0xc];
|
||||
case BFD_RELOC_32:
|
||||
case BFD_RELOC_CTOR:
|
||||
return &xcoff64_howto_table[0x1c];
|
||||
|
||||
Reference in New Issue
Block a user