aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-04-30 17:22:39 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-04-30 17:22:39 +0000
commit9e768fa21348c2f24be4e5d84b7fb681b2afe34f (patch)
treeb0f60da5f5dce32a5fb05f04d78638d7b958b678 /bfd/coffcode.h
parent496ca67cbdbba24c74ee85399114fc6bf247efdc (diff)
downloadgdb-9e768fa21348c2f24be4e5d84b7fb681b2afe34f.zip
gdb-9e768fa21348c2f24be4e5d84b7fb681b2afe34f.tar.gz
gdb-9e768fa21348c2f24be4e5d84b7fb681b2afe34f.tar.bz2
* coffcode.h: use dummy_reloc16_extra_cases rather than casting abort.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 1913e35..c554276 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 = {