aboutsummaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-01-24 20:23:18 +0000
committerIan Lance Taylor <ian@airs.com>1994-01-24 20:23:18 +0000
commit4991ebb9873c7965b6a70f47ef9ed5c0149b5ae4 (patch)
tree68fd14f3d82d9a8b76892d47d49561184d4b5ccb /bfd/reloc.c
parent5dad4c97286ccff467bb6c96203056106a19e551 (diff)
downloadgdb-4991ebb9873c7965b6a70f47ef9ed5c0149b5ae4.zip
gdb-4991ebb9873c7965b6a70f47ef9ed5c0149b5ae4.tar.gz
gdb-4991ebb9873c7965b6a70f47ef9ed5c0149b5ae4.tar.bz2
* bfd/aoutx.h (aout_link_input_section_std,
aout_link_input_section_ext): Pass additional arguments to reloc_overflow callback. * coff-alpha.c (alpha_ecoff_get_relocated_section_contents, alpha_relocat_section): Likewise. * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. * coff-h8500.c (extra_case): Likewise. * coff-mips.c (mips_relocate_section): Likewise. * coff-z8k.c (extra_case): Likewise. * elf32-hppa.c (hppa_elf_stub_finish): Likewise. * reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r--bfd/reloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 93fccdb..e0fb312 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -1646,7 +1646,9 @@ bfd_generic_get_relocated_section_contents (abfd, link_info, link_order, data,
break;
case bfd_reloc_overflow:
if (! ((*link_info->callbacks->reloc_overflow)
- (link_info, input_bfd, input_section, (*parent)->address)))
+ (link_info, bfd_asymbol_name (*(*parent)->sym_ptr_ptr),
+ (*parent)->howto->name, (*parent)->addend,
+ input_bfd, input_section, (*parent)->address)))
return NULL;
break;
case bfd_reloc_outofrange: