aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/coffcode.h16
2 files changed, 17 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4789620..5abf0b2 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 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 = {