From 9e768fa21348c2f24be4e5d84b7fb681b2afe34f Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 30 Apr 1993 17:22:39 +0000 Subject: [PATCH] * coffcode.h: use dummy_reloc16_extra_cases rather than casting abort. --- bfd/ChangeLog | 4 ++++ bfd/coffcode.h | 16 +++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4789620fb92..5abf0b2d139 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 1913e3573ef..c554276d00c 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 = { -- 2.30.2