From: Richard Sandiford Date: Sat, 4 May 2013 09:33:08 +0000 (+0000) Subject: bfd/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d150b1a28f157a0f75797b184fa87fd4bc6bc2ac;p=binutils-gdb.git bfd/ * elf32-mips.c (elf_mips_copy_howto, elf_mips_jump_slot_howto): Use _bfd_mips_elf_generic_reloc instead of bfd_elf_generic_reloc. * elfn32-mips.c: Likewise. * elf64-mips.c: Likewise. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7fdc5313317..58de26f1214 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2013-05-04 Richard Sandiford + + * elf32-mips.c (elf_mips_copy_howto, elf_mips_jump_slot_howto): + Use _bfd_mips_elf_generic_reloc instead of bfd_elf_generic_reloc. + * elfn32-mips.c: Likewise. + * elf64-mips.c: Likewise. + 2013-05-02 Nick Clifton * archures.c: Add some more MSP430 machine numbers. diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index cb7692bf08f..54ae641c2ea 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -1515,7 +1515,7 @@ static reloc_howto_type elf_mips_copy_howto = FALSE, /* pc_relative */ 0, /* bitpos */ complain_overflow_bitfield, /* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ + _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS_COPY", /* name */ FALSE, /* partial_inplace */ 0x0, /* src_mask */ @@ -1531,7 +1531,7 @@ static reloc_howto_type elf_mips_jump_slot_howto = FALSE, /* pc_relative */ 0, /* bitpos */ complain_overflow_bitfield, /* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ + _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS_JUMP_SLOT", /* name */ FALSE, /* partial_inplace */ 0x0, /* src_mask */ diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index c24a4ee4e29..9981bb1c8d3 100644 --- a/bfd/elf64-mips.c +++ b/bfd/elf64-mips.c @@ -2632,7 +2632,7 @@ static reloc_howto_type elf_mips_copy_howto = FALSE, /* pc_relative */ 0, /* bitpos */ complain_overflow_bitfield, /* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ + _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS_COPY", /* name */ FALSE, /* partial_inplace */ 0x0, /* src_mask */ @@ -2648,7 +2648,7 @@ static reloc_howto_type elf_mips_jump_slot_howto = FALSE, /* pc_relative */ 0, /* bitpos */ complain_overflow_bitfield, /* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ + _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS_JUMP_SLOT", /* name */ FALSE, /* partial_inplace */ 0x0, /* src_mask */ diff --git a/bfd/elfn32-mips.c b/bfd/elfn32-mips.c index 18c3d40dab7..119f31bfd84 100644 --- a/bfd/elfn32-mips.c +++ b/bfd/elfn32-mips.c @@ -2597,7 +2597,7 @@ static reloc_howto_type elf_mips_copy_howto = FALSE, /* pc_relative */ 0, /* bitpos */ complain_overflow_bitfield, /* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ + _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS_COPY", /* name */ FALSE, /* partial_inplace */ 0x0, /* src_mask */ @@ -2613,7 +2613,7 @@ static reloc_howto_type elf_mips_jump_slot_howto = FALSE, /* pc_relative */ 0, /* bitpos */ complain_overflow_bitfield, /* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ + _bfd_mips_elf_generic_reloc, /* special_function */ "R_MIPS_JUMP_SLOT", /* name */ FALSE, /* partial_inplace */ 0x0, /* src_mask */