From d150b1a28f157a0f75797b184fa87fd4bc6bc2ac Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sat, 4 May 2013 09:33:08 +0000 Subject: [PATCH] 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. --- bfd/ChangeLog | 7 +++++++ bfd/elf32-mips.c | 4 ++-- bfd/elf64-mips.c | 4 ++-- bfd/elfn32-mips.c | 4 ++-- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7fdc531..58de26f 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 cb7692b..54ae641 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 c24a4ee..9981bb1 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 18c3d40..119f31b 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 */ -- 2.7.4