aboutsummaryrefslogtreecommitdiff
path: root/bfd/sco-core.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-01-12 00:38:59 +0000
committerIan Lance Taylor <ian@airs.com>1993-01-12 00:38:59 +0000
commit0c2fae099af0d4761fdfa79cccff8ec8e40c5fb0 (patch)
tree54881261b0f06e01ed0b0790c4c1fea1da801618 /bfd/sco-core.c
parent870f29f564eedeb51ed20043c3e828cfeec72b67 (diff)
downloadgdb-0c2fae099af0d4761fdfa79cccff8ec8e40c5fb0.zip
gdb-0c2fae099af0d4761fdfa79cccff8ec8e40c5fb0.tar.gz
gdb-0c2fae099af0d4761fdfa79cccff8ec8e40c5fb0.tar.bz2
Mon Jan 11 18:32:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* targets.c (bfd_target): Added relocateable argument to _bfd_get_relocated_section_contents. Added _bfd_seclet_link target vector for linker use. * bfd.c (bfd_seclet_link): New macro. * bfd-in.h (JUMP_TABLE): Added _bfd_seclet_link. * seclet.c (rel, seclet_dump_seclet): Added relocateable argument and boolean return value. Made static. (bfd_generic_seclet_link): Renamed from seclet_dump. Added relocateable argument. * reloc.c (bfd_generic_get_relocated_section_contents): Added relocateable argument (if relocateable, saves relocs). * bout.c (b_out_get_relocated_section_contents), reloc16.c (bfd_coff_reloc16_get_relocated_section_contents): Added relocateable argument (if relocateable, just calls bfd_generic_get_relocated_section_contents). * libcoff-in.h (bfd_coff_reloc16_get_value): Added relocateable argument to prototype. * All targets: Set new _bfd_seclet_link vector to bfd_generic_seclet_link.
Diffstat (limited to 'bfd/sco-core.c')
-rw-r--r--bfd/sco-core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/sco-core.c b/bfd/sco-core.c
index 01aac6c..c7279ef 100644
--- a/bfd/sco-core.c
+++ b/bfd/sco-core.c
@@ -249,6 +249,9 @@ sco_core_file_matches_executable_p (core_bfd, exec_bfd)
(bfd *, struct sec *))) bfd_void
#define sco_bfd_get_relocated_section_contents bfd_generic_get_relocated_section_contents
#define sco_bfd_relax_section bfd_generic_relax_section
+#define sco_bfd_seclet_link \
+ ((boolean (*) PARAMS ((bfd *, PTR, boolean))) bfd_false)
+
/* If somebody calls any byte-swapping routines, shoot them. */
void
swap_abort()