aboutsummaryrefslogtreecommitdiff
path: root/bfd/oasys.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-02-23 20:24:06 +0000
committerIan Lance Taylor <ian@airs.com>1993-02-23 20:24:06 +0000
commit8feff7172602b84ba285d46ea1b08374d228bfe0 (patch)
tree5550764e7ade3b43f1ec5a4971d8b23056fe41a4 /bfd/oasys.c
parentff7f25de27ee6ae4cdd4395843fd2b5adfa4aa4b (diff)
downloadgdb-8feff7172602b84ba285d46ea1b08374d228bfe0.zip
gdb-8feff7172602b84ba285d46ea1b08374d228bfe0.tar.gz
gdb-8feff7172602b84ba285d46ea1b08374d228bfe0.tar.bz2
* bfd-in.h (JUMP_TABLE): Added bfd_reloc_type_lookup and
bfd_make_debug_symbol; they were already in the target structure. * Adjusted all uses of JUMP_TABLE. * coffgen.c, libcoff-in.h (coff_bfd_make_debug_symbol): Renamed from coff_make_debug_symbol. * libcoff.h: Updated accordingly.
Diffstat (limited to 'bfd/oasys.c')
-rw-r--r--bfd/oasys.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/bfd/oasys.c b/bfd/oasys.c
index 215d305..201fedf 100644
--- a/bfd/oasys.c
+++ b/bfd/oasys.c
@@ -1,5 +1,5 @@
/* BFD back-end for oasys objects.
- Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
+ Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
Written by Steve Chamberlain of Cygnus Support, <sac@cygnus.com>.
This file is part of BFD, the Binary File Descriptor library.
@@ -1311,6 +1311,10 @@ return 0;
#define oasys_bfd_get_relocated_section_contents bfd_generic_get_relocated_section_contents
#define oasys_bfd_relax_section bfd_generic_relax_section
#define oasys_bfd_seclet_link bfd_generic_seclet_link
+#define oasys_bfd_reloc_type_lookup \
+ ((CONST struct reloc_howto_struct *(*) PARAMS ((bfd *, bfd_reloc_code_real_type))) bfd_nullvoidptr)
+#define oasys_bfd_make_debug_symbol \
+ ((asymbol *(*) PARAMS ((bfd *, void *, unsigned long))) bfd_nullvoidptr)
/*SUPPRESS 460 */
bfd_target oasys_vec =
@@ -1348,5 +1352,6 @@ bfd_target oasys_vec =
_bfd_write_archive_contents,
bfd_false,
},
- JUMP_TABLE(oasys)
+ JUMP_TABLE(oasys),
+ (PTR) 0
};