diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4789620fb9..5abf0b2d13 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 30 09:38:59 1993 Jim Kingdon (kingdon@cygnus.com) + + * coffcode.h: use dummy_reloc16_extra_cases rather than casting abort. + Thu Apr 29 11:30:32 1993 Ken Raeburn (raeburn@deneb.cygnus.com) * Makefile.in: Build elf32-hppa.o. diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 1913e3573e..c554276d00 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -2223,9 +2223,19 @@ bfd *abfd; #endif #ifndef coff_reloc16_extra_cases -#define coff_reloc16_extra_cases \ - (void (*) PARAMS ((bfd *, bfd_seclet_type *, arelent *, bfd_byte *,\ - unsigned int *, unsigned int *))) abort +#define coff_reloc16_extra_cases dummy_reloc16_extra_cases +/* This works even if abort is not declared in any header file. */ +void +dummy_reloc16_extra_cases (abfd, seclet, reloc, data, src_ptr, dst_ptr) + bfd *abfd; + struct bfd_seclet *seclet; + arelent *reloc; + bfd_byte *data; + unsigned int *src_ptr; + unsigned int *dst_ptr; +{ + abort (); +} #endif static CONST bfd_coff_backend_data bfd_coff_std_swap_table = {