X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Freloc16.c;h=9373f38a25351fbdec9e4aa5b5907da2650e3ab8;hb=af2d5cd8e9f81832b04af6cd0e51def4065bbf71;hp=bae0fb08f6adf00854ea1411844e82acc8b1a63e;hpb=6f2750feaf2827ef8a1a0a5b2f90c1e9a6cabbd1;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/reloc16.c b/bfd/reloc16.c index bae0fb08f6..9373f38a25 100644 --- a/bfd/reloc16.c +++ b/bfd/reloc16.c @@ -1,5 +1,5 @@ /* 8 and 16 bit COFF relocation functions, for BFD. - Copyright (C) 1990-2016 Free Software Foundation, Inc. + Copyright (C) 1990-2020 Free Software Foundation, Inc. Written by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -22,8 +22,7 @@ /* Most of this hacked by Steve Chamberlain . */ -/* These routines are used by coff-h8300 and coff-z8k to do - relocation. +/* These routines are used by coff-z8k to do relocation. FIXME: This code should be rewritten to support the new COFF linker. Basically, they need to deal with COFF relocs rather than @@ -80,11 +79,9 @@ bfd_coff_reloc16_get_value (arelent *reloc, value = 0; else { - if (!((*link_info->callbacks->undefined_symbol) - (link_info, bfd_asymbol_name (symbol), - input_section->owner, input_section, reloc->address, - TRUE))) - abort (); + (*link_info->callbacks->undefined_symbol) + (link_info, bfd_asymbol_name (symbol), + input_section->owner, input_section, reloc->address, TRUE); value = 0; } }