aboutsummaryrefslogtreecommitdiff
path: root/bfd/evax-emh.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-08-08 16:27:21 +0000
committerIan Lance Taylor <ian@airs.com>1996-08-08 16:27:21 +0000
commit8612a388f71b8a34a4f118a1f9e5ca660342d7cf (patch)
tree8e5c2366446f0297c15524df542e107509c7f635 /bfd/evax-emh.c
parent9e8419d04303bfddb2b062f70ef70541a7f14a10 (diff)
downloadgdb-8612a388f71b8a34a4f118a1f9e5ca660342d7cf.zip
gdb-8612a388f71b8a34a4f118a1f9e5ca660342d7cf.tar.gz
gdb-8612a388f71b8a34a4f118a1f9e5ca660342d7cf.tar.bz2
Thu Aug 8 12:21:56 1996 Klaus Kaempf <kkaempf@progis.de>
* evax-alpha.c (evax_alpha_vec): Corrected flags, cleanup. (evax_initialize): Remove evax_reloc_table. (evax_close_and_cleanup): Ditto. (reloc_nil): Ditto. (alpha_howto_table): Remove ALPHA_R_SWREL32 and ALPHA_R_SWREL64 entries. (evax_bfd_reloc_type_lookup): Ditto. * evax-egsd.c (_bfd_evax_slurp_egsd): Add a few casts; set cooked_size == raw_size. * evax-emh.c (_bfd_evax_register_filename): Remove. * evax-etir.c (etir_stc): Allow ETIR_S_C_STC_xx commands. * evax-misc.c (add_new_contents): Malloc section at full size. (_bfd_save_evax_section): Memcpy section contents directly. * evax.h (ALPHA_R_SWREL32, ALPHA_R_SWREL64): Remove. (evax_reloc_table): Remove. * hosts/alphavms.h (O_ACCMODE): Define if needed. * makefile.vms: Add better support for DEC C compilation Add evax.h dependencies * reloc.c (bfd_get_reloc_size): Add case for 16 byte reloc. (BFD_RELOC_SWREL32,BFD_RELOC_SWREL64): Remove. (BFD_RELOC_ALPHA_BASEREG): Remove. * bfd-in2.h, libbfd.h: Rebuild.
Diffstat (limited to 'bfd/evax-emh.c')
-rw-r--r--bfd/evax-emh.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/bfd/evax-emh.c b/bfd/evax-emh.c
index 7151938..69f7e0b 100644
--- a/bfd/evax-emh.c
+++ b/bfd/evax-emh.c
@@ -124,28 +124,6 @@ _bfd_evax_slurp_emh (abfd)
}
-#if 0
-
-/* register a file name */
-
-int
-_bfd_evax_register_filename (abfd, name)
- bfd *abfd;
- char *name;
-{
- if (PRIV(filename) != NULL)
- {
-#if EVAX_DEBUG
- evax_debug(3, "Second filename %s, first was %s\n", name, PRIV(filename));
-#endif
- return -1;
- }
- PRIV(filename) = strdup (name);
- return 0;
-}
-
-#endif /* 0 */
-
/* write object header for bfd abfd */
int