aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-vms.h
AgeCommit message (Collapse)AuthorFilesLines
1996-06-20* config/tc-i386.c (md_number_to_chars): Deleted.Ken Raeburn1-3/+9
* config/tc-i386.h (md_number_to_chars): New macro. * config/tc-alpha.c (build_operate_n, build_mem): Moved earlier in the file. (load_symbol_address, load_expression): Use build_mem. (build_operate): New function. (emit_addq_r): Use it. Wed Mar 13 22:14:14 1996 Pat Rankin <rankin@eql.caltech.edu> * symbols.c (colon): #if VMS, use S_SET_OTHER to store `const_flag'. Tue Mar 5 14:31:45 1996 Pat Rankin <rankin@eql.caltech.edu> * config/tc-vax.h (NOP_OPCODE): Define. Sun Feb 4 21:01:03 1996 Pat Rankin <rankin@eql.caltech.edu> * config/obj-vms.h (S_IS_COMMON): Define. (S_IS_LOCAL): Check for \002 as well as \001. (LONGWORD_ALIGNMENT): New macro. (SUB_SEGMENT_ALIGN): Use it. Fri Jan 26 17:44:09 1996 Pat Rankin <rankin@eql.caltech.edu> * config/vms-conf.h: Reconcile with conf.in.
1995-08-22vms changesKen Raeburn1-5/+7
1995-07-28more vms changesKen Raeburn1-17/+11
1995-07-06fsf address updateKen Raeburn1-1/+1
1995-07-06more vms fixes from Pat RankinKen Raeburn1-9/+20
1995-06-06* config/obj-vms.c (vms_write_object_file, case N_DATA): Use strcmp againstKen Raeburn1-0/+6
FAKE_LABEL_NAME instead of checking third character. (Suggested by Pat Rankin.) Mon 5 Jun 20:10:46 1995 Pat Rankin (rankin@eql.caltech.edu) Add support for N_ABS and N_ABS|N_EXT type symbols. * config/obj-vms.h (LSY_S_M_{DEF,REL}, ENV_S_M_{DEF,NESTED}): New macros for local symbols (from <lsydef.h> and <envdef.h>). * config/obj-vms.c (Current_Environment): New file-scope variable. (VMS_Local_Environment_Setup): New routine. (GBLSYM_LCL): New macro. (VMS_Global_Symbol_Spec): Handle local symbols too. (VMS_Psect_Spec): Set GLOBALVALUE_BIT for absolute symbols. (VMS_Emit_Globalvalues): Handle local and global absolute symbols. (VMS_Store_PIC_Symbol_Reference): Ditto. (vms_write_object_file: GSD symbol loop): Ditto.
1995-05-20more vms updates from Pat RankinKen Raeburn1-0/+6
1995-01-19Cleanup of VAX and VMS code, from Pat Rankin:Ken Raeburn1-2/+7
* config/obj-vms.c: Changed exported function names to lower case. (Changed call sites in write.c.) Declare VMS system function names used, conditional on actually being on VMS. Changed many functions that returned no useful value to now be declared to return void. Removed many unused variables. Supply missing return statements or values. Supply `default' case in switch statements. Ensure local variables get initialized. * config/tc-vax.c: Minor changes to silence "gcc -Wall". * config/obj-vms.h, config/tc-vax.h: Added some missing declarations.
1994-12-19some cleanup of vms code -- sizeof usage &cKen Raeburn1-0/+2
1994-10-07Mon Oct 3 21:02:38 1994 Pat Rankin (rankin@eql.caltech.edu)Ken Raeburn1-1/+1
* config/obj-vms.h (S_IS_LOCAL): fix obsolete flagseen[] reference.
1994-09-19more vms work from Pat RankinKen Raeburn1-15/+74
1994-06-16 Fri Jun 3 17:25:08 1994 Pat Rankin (rankin@eql.caltech.edu)Ken Raeburn1-1/+5
* config/obj-vms.h (DBG_S_C_COMPLX4, DBG_S_C_COMPLX8): define these new VMS symbol-type macros for `complex float' and `complex double' support. Their values come from the existing DSC$K_DTYPE_FC and DSC$K_DTYPE_DC macros in <descrip.h>. (DBG_S_C_REAL8_G, DBG_S_C_COMPLX8_G): G_float versions of REAL8 and COMPLX8; not used yet, because gcc outputs the same .stabs for `double' regardless of whether `-mg' is used. config/obj-vms.c (VMS_typedef_parse) [case 'r']: add entries for gcc2's predefined types "complex float", "complex double", and "complex long double" (identical to complex double).
1994-05-27changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs)Ken Raeburn1-1/+3
1994-03-11Include aout/stab_gnu.h.Ken Raeburn1-20/+2
(N_GSYM, ..., N_LENG): Deleted. (NO_RELOC): Undefine before defining as part of enum reloc_type.
1993-09-14Some more gcc lint, and:Ian Lance Taylor1-0/+2
* read.c (change_to_section): Removed. This is now done by subseg_new. (get_stab_string_offset): Rearranged somewhat. Create the section using subseg_new. Store the string index in seg_info, rather than in a static variable. Force the first string to be empty. Use frag_more rather than FRAG_APPEND_1_CHAR. (s_stab_generic): Rewrote. * subsegs.h (segment_info_type): Added stabu union. * subsegs.c (subseg_new): Initialize stab_string_size to 0. * config/obj-aout.c: Don't include aout/stab_gnu.h. (obj_aout_stab, obj_aout_desc): Removed. (obj_pseudo_table): Removed desc and stabX entries. * config/obj-bout.c: Same changes as config/obj-aout.c. * config/obj-bout.h (S_SET_TYPE): Define. (tc_bout_fix_to_chars): Declare. * config/obj-coff.c (obj_coff_stab): Removed. (obj_pseudo_table): Removed desc and stabX entries. * config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define. * config/obj-coffbfd.c (current_stab_symbol): Removed. * config/obj-coffbfd.h (obj_symbol_type): Removed n_strx, n_type, n_other, n_desc and n_value fields. (S_{S,G}ET_{OFFSET,OTHER,TYPE,DESC}): Removed. (MAKE_STAB_SYMBOL): Removed. * config/obj-ecoff.c (obj_ecoff_stab): Renamed to ecoff_stab. Changed arguments and removed parsing code. (obj_pseudo_table): Removed stabX entries. * config/obj-ecoff.h (ecoff_stab): Declare. (OBJ_PROCESS_STAB): Define. * config/obj-elf.c: Don't include aout/stab_gnu.h. (obj_elf_stab, obj_elf_xstab, obj_elf_desc, elf_stab_symbol_string, elf_stab_symbol, obj_elf_stab_generic): Removed. (obj_pseudo_table): Removed desc, stabX and xstabs entries. (obj_elf_version): Use subseg_new, not bfd_make_section. Don't set SEC_LOAD for .note section. (adjust_stab_sections): Get frag pointer from seg_info, rather than looking through frags. * config/obj-elf.h (S_{S,G}ET_{OTHER,TYPE,DESC}): Removed. (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB): Define. * config/obj-vms.c (obj_aout_stab): Removed. (obj_pseudo_table): Removed stabX entries. * config/obj-vms.h (S_SET_TYPE): Define.
1993-07-14 * Changes to keep a full expression as the value of a symbol, notIan Lance Taylor1-4/+0
just a longword: * struc-symbol.h: New field sy_value. * as.h: Include expr.h before struc-symbol.h. * expr.h: Use struct symbol rather than symbolS. * symbols.c (S_GET_VALUE, S_SET_VALUE): Rewrote to retrieve value of sy_value field; compile unconditionally, not just if BFD_ASSEMBLER. * symbols.h: Compile S_{SG}ET_VALUE prototypes unconditionally. * write.c (write_object_file): Set BFD symbol value to gas symbol value. * config/obj-aout.h, config/obj-bout.h, config/obj-coff.h, config/obj-coffbfd.h, config/obj-generic.h, config/obj-vms.h (S_GET_VALUE, S_SET_VALUE): Removed macro definitions. * config/obj-ieee.c (S_GET_VALUE, S_SET_VALUE): Removed. * config/obj-coff.h, obj-coffbfd.h: Rewrote several macros to use S_GET_VALUE rather than ost_entry.n_value. * config/obj-aout.c (obj_symbol_to_chars), config/obj-bout.c (obj_symbol_to_chars), config/obj-coff.c (obj_symbol_to_chars), config/obj-coffbfd.c (symbol_to_chars): Get value to write out using S_GET_VALUE--don't assume it is already set. * config/obj-ieee.c (do_symbols): Set BFD symbol value to gas symbol value. * config/obj-vms.c (various): Don't assign directly to S_GET_VALUE; use S_SET_VALUE instead.
1993-04-21Get version string from config.h now.Ken Raeburn1-5/+4
Fix several functions to compile under traditional C. Deleted _doprnt. Moved some VMS-specific code here from ../symbols.c.
1993-02-08Move VMS version of SUB_SEGMENT_ALIGN to obj-vms.h from write.h.Ken Raeburn1-1/+9
1993-01-04delete decls of segment_name, seg_nameKen Raeburn1-8/+0
1992-12-07deleted local-vars commentKen Raeburn1-7/+0
1992-12-03vms stuff from fsf version - untestedKen Raeburn1-0/+481