aboutsummaryrefslogtreecommitdiff
path: root/bfd/evax-alpha.c
AgeCommit message (Collapse)AuthorFilesLines
1998-07-02Thu Jul 2 14:59:42 1998 Klaus Kaempf <kkaempf@rmi.de>Ian Lance Taylor1-1795/+0
Merge of vax/vms (read-only) support * configure.com: Support Vax target. * makefile.vms: Support Vax target. * vms.h: Renamed from evax.h, merged vax/vms (read-only) support. * vms.c: Renamed from evax-alpha.c, merged vax/vms (read-only) support. * vms-hdr.c: Renamed from evax-emh.c, merged vax/vms (read-only) support. * vms-gsd.c: Renamed from evax-egsd.c, merged vax/vms (read-only) support. * vms-tir.c: Renamed from evax-etir.c, merged vax/vms (read-only) support. * vms-misc.c: Renamed from evax-misc.c, merged vax/vms (read-only) support. * libbfd.c (real_read): Use unbuffered read on VMS/Vax. * targets.c (bfd_target_ovax_flavour): New flavour. (vms_alpha_vec): Renamed from evax_alpha_vec. (vms_vax_vec): New. (target_vector): Update accordingly. * config.bfd (alpha*-*-*vms*): Use vms_alpha_vec, not evax_alpha_vec. (vax*-*-*vms*): New target. * Makefile.am: Update for renamed files. Rebuild dependencies. * bfd-in2.h: Rebuild. * configure.in, Makefile.in, aclocal.m4: Rebuild.
1998-06-30ELF Section-level Garbage Collection.Richard Henderson1-0/+14
1998-05-07 If sysdep.h includes a header file, don't include it again:Ian Lance Taylor1-3/+0
* aix386-core.c: Don't include <stdio.h>, <stddef.h>, or <errno.h>. * aoutx.h: Don't include <string.h>. Use "sysdep.h" rather than <sysdep.h>. * archive.c: Don't include <string.h> or <errno.h>. * evax-alpha.c; Don't include <stdio.h>. * evax-egsd.c: Likewise. * evax-etir.c: Likewise. * evax-misc.c: Likewise. * evax-emh.c: Likewise. Also, don't include <sys/types.h>. * hppabsd-core.c: Don't include <stdio.h>, <sys/types.h>, or <errno.h>. * hpux-core.c: Likewise. * netbsd-core.c: Likewise. * som.c: Likewise. * libbfd.c: Don't include <sys/types.h>. * nlmcode.h: Don't include <string.h>. * osf-core.c: Don't include <string.h> or <stdio.h>. * ptrace-core.c: Don't include <stdio.h>, <sys/types.h>, <errno.h>, or <unistd.h>. * trad-core.c: Don't include <stdio.h> or <sys/types.h>.
1998-03-25Wed Mar 25 13:59:24 1998 Andreas Schwab ↵Ian Lance Taylor1-4/+5
<schwab@issan.informatik.uni-dortmund.de> * evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha and call bfd_default_set_arch_mach to do the real work. Wed Mar 25 13:59:05 1998 Ian Lance Taylor <ian@cygnus.com> * evax-alpha.c (evax_close_and_cleanup): Remove unused local variables er and er1.
1997-10-20various evax patchesIan Lance Taylor1-2/+0
1997-02-28 * syms.c (bfd_is_local_label): Return false if the symbol has noIan Lance Taylor1-1/+1
name. * coff-i960.c (coff_i960_is_local_label_name): New function. (coff_bfd_is_local_label_name): Define. * coff-m68k.c (m68k_coff_is_local_label_name): New function. (coff_bfd_is_local_label_name): Define. * coff-rs6000.c (xcoff_is_local_label_name): New function. (coff_bfd_is_local_label_name): Define. * elf.c (_bfd_elf_is_local_label_name): Treat symbols beginning with .. or _.L_ as local. * elf32-i386.c (elf_i386_is_local_label_name): New function. (bfd_elf32_bfd_is_local_label_name): Define. * evax-alpha.c (evax_bfd_is_local_label_name): Treat symbols beginning with $ as local.
1997-02-28 * targets.c (BFD_JUMP_TABLE_SYMBOLS): Change _bfd_is_local_labelIan Lance Taylor1-4/+4
to _bfd_is_local_label_name. (bfd_target): Likewise. * syms.c (bfd_is_local_label): Define as function, not macro. (bfd_is_local_name): Define. * libbfd.c (bfd_generic_is_local_label_name): Rename from bfd_generic_is_local_label, and take a string rather than a symbol. * libbfd-in.h (_bfd_nosymbols_bfd_is_local_label): Don't define. (_bfd_nosymbols_bfd_is_local_label_name): Define. (bfd_generic_is_local_label): Don't declare. (bfd_generic_is_local_label_name): Declare. * bfd-in2.h, libbfd.h: Rebuild. * All backends: Change local_label to local_label_name.
1997-02-14Thu Feb 13 20:53:22 1997 Klaus Kaempf (kkaempf@progis.de)Ian Lance Taylor1-10/+19
* reloc.c (BFD_RELOC_ALPHA_CODEADDR): New relocation for openVMS/Alpha. * evax.h (ALPHA_R_CODEADDR): New relocation. * evax-alpha.c (ALPHA_R_CODEADDR): 64 bit procedure relocation for openVMS/Alpha. * evax-etir.c (ALPHA_R_CODEADDR): Output object code for this relocation. * bfd-in2.h, libbfd.h: Rebuild. Restrict symbol length to 64 bytes, case preserving: * evax-emh.c (_bfd_evax_write_emh): Remove case hacking. * evax-misc.c (_bfd_evax_case_hack_symbol): Remove. (_bfd_evax_length_hash_symbol): Added. * evax-etir.c (_bfd_evax_write_etir): Call _bfd_evax_length_hash_symbol before output of symbol. * evax-egsd.c (_bfd_evax_write_egsd): Likewise. * evax.h (flag_hash_long_names, flag_show_after_trunc): Remove. * evax-emh.c: Output filename to object file without path. * evax-egsd.c: New sections for local and global commons. * evax-alpha.c, evax-emh.c, evax-egsd.c, evax-etir.c, evax-misc.c, evax.h: Remove 8 bit characters from copyright notices. Replace AXP with Alpha.
1996-10-02Wed Oct 2 15:46:45 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor1-9/+2
openVMS/Alpha: Provide filename and case_hack flags via symbol table from gas. Add case_hack code for symbol output from vax/vms. * evax-alpha.c (evax_initialize): Remove filename handling, filename is provided via symbol table. (evax_get_symtab): Use local symbol count when setting up table. * evax-egsd.c (_bfd_evax_slurp_egsd): Print correct name when debugging. (_bfd_evax_write_egsd): Skip file name symbol. * evax-emh.c (get_vms_time_string): Local function now. (_bfd_evax_write_emh): Extract source filename and case_hack flags from symbol table. * evax_write_etir (_bfd_evax_write_etir): Pass all symbol names through _bfd_evax_case_hack_symbol. * evax-misc.c (hash_string, _bfd_evax_case_hack_symbol): New functions. (_bfd_evax_basename): Removed. (_bfd_get_vms_time_string): Moved to evax-emh.c. * evax.h (evax_private_data_struct): Remove filename. (flag_hash_long_names, flag_show_after_trunc, flag_no_hash_mixed_case, vms_name_mapping): New flags for vms_case_hack.
1996-08-08Thu Aug 8 12:21:56 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor1-88/+14
* 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.
1996-06-18Tue Jun 18 14:42:58 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor1-0/+1857
Added support for Alpha OpenVMS: * evax.h, evax-alpha.c, evax-egsd.c, evax-emh.c: New files. * evax-etir.c, evax-misc.c, hosts/alphavms.h: New files. * config.h-vms, makefile.vms: New files. * config.bfd (alpha-*-*vms*): New target. * configure.in (evax_alpha_vec): New target vector. * configure: Rebuild. * reloc.c (BFD_RELOC_SWREL32, BFD_RELOC_SWREL64): Define. (BFD_RELOC_ALPHA_LINKAGE, BFD_RELOC_ALPHA_BASEREG): Define. * targets.c (bfd_target_evax_flavour): Define. (evax_alpha_vec): Declare. (bfd_target_vector): Add ecoffalpha_little_vec and evax_alpha_vec if BFD64 is defined. * bfd-in2.h, libbfd.h: Rebuild. * Makefile.in: Rebuild dependencies. (BFD64_BACKENDS): Add evax-alpha.o, evax-egsd.o, evax-etir.o, evax-emh.o, and evax-misc.o. (BFD64_BACKENDS_CFILES): Add evax-alpha.c, evax-egsd.c, evax-etir.c, evax-emh.c, and evax-misc.c. (HFILES): Add evax.h.