aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1994-08-01 * config/tc-hppa.c (create_new_space): Initialize sd_subspacesJeff Law2-0/+4
field in the space chain.
1994-08-01 * config/tc-hppa.c (tc_gen_reloc): Cast return value fromJeff Law1-0/+5
hppa_gen_reloc_type.
1994-08-01 * config/tc-hppa.c (tc_gen_reloc): Cast return value fromJeff Law1-1/+6
hppa_gen_reloc_type.
1994-07-28* tc-sparc.c (sparc_ip): Check more carefully for conflicting architectures.Ken Raeburn2-84/+108
(md_parse_option) [NO_V9]: Complain if v9 was selected. (md_show_usage): Derive architecture list in usage message from architecture_pname array. (cypress): Macro deleted. (op_hash): Don't initialize. (s_common): Use bfd_und_section_ptr instead of bfd_und_section. (BSR): New function. (sparc_ip): Use it for right-shift operations of 32 bits or more. (sparc_ip): Implement new operand type 'x'.
1994-07-27I80960XL support (sanitized), misc cleanup:Ken Raeburn3-2/+60
* config/tc-i960.h (TC_COFF_SET_MACHINE): New macro. Calls tc_headers_hook. * config/tc-i960.c (targ_has_iclass): Use I_CX | I_CX2 where I_CX was used previously. (tc_headers_hook): If I_CX2 is found, set flags to F_I960CA. * config/tc-i960.c (po_hash): Declaration deleted. (next_object_file_charP): Ditto. (regnames, aregs, coj): Now const. (parse_memop): Static array def_scale now const. (md_begin): Cast away const when passing hash routines addresses of values in regnames or aregs. (md_longopts): Added "link-relax" and "no-relax" hyphenated forms. Continue to accept one-word forms. (struct tabentry, arch_tab): Moved to top level from inside md_parse_option. Now const. (md_show_usage): Use arch_tab to generate usage message. Print hyphenated forms of relax options. * config/tc-i960.h (DEFINE_I960_AOUT, TC_S_IS_*, TC_S_*_SYSPROC, TC_S_FORCE_TO_*): Moved from here... * config/tc-i960.c: ... to here. Changed DEFINE_I960_AOUT stuff to test OBJ_AOUT and OBJ_BOUT directly. * config/tc-i960.h (CTRL, COBR, COJ, REG, MEM*, FBRA, CALLJ, M1-M3, REG_OPC, R_*, SFR, LIT, FP, OP, R, RS, RL, RSL, F, {R,F}{,L}{2,4}, M, SFR_OK, LIT_OK, FP_OK, REG_ALIGN, MEMOP, I_*): Macros deleted. * config/tc-i960.c (ARCH_XL): Define. (arch_tab): Include XL. (targ_has_sfr, targ_has_iclass): Handle XL. (tc_headers_hook): Set flags to F_I960XL for i960XL.
1994-07-27Some bits of COFF cleanup, and i960-coff support:Ken Raeburn1-0/+40
* config/obj-coff.h: Moved common includes and TARGET_FORMAT definitions together. (WORKING_DOT_WORD, WARN_SIGNED_OVERFLOW_WORD, OBJ_COFF_OMIT_OPTIONAL_HEADER, BFD_HEADERS, BFD) [!BFD_ASSEMBLER]: Moved these definitions to the start of the file, before the includes. (SYMBOLS_NEED_BACKPOINTERS, OBJ_COFF_MAX_AUXENTRIES): Always define these. (S_GET_ZEROES): Deleted. (S_SET_ZEROES): Moved to obj-coff.c. * config/obj-coff.c (obj_coff_* psuedo-op fns): Deleted forward declarations. (obj_pseudo_table): Moved to one version end of file, conditionalized internally. (stack typedef, stack_init, stack_delete, stack_push, stack_pop, tag_hash, tag_init, tag_insert, tag_find, tag_find_or_make): Moved to one combined version at top of file, unconditional. Deleted forward declarations. (s_get_name): Moved one copy of declarations to start of file. (def_symbol_in_progress): Ditto. Don't initialize. (S_SET_ZEROES): Moved here from obj-coff.h. (write_object_file): If TC_COFF_SET_MACHINE is defined, call it on the file headers. * config/obj-coff.c (seg_info_off_by_4): Now const and static. (SEG_INFO_FROM_SEG_NUMBER): Unused macro deleted. (previous_file_symbol, def_symbol_in_progress, symbol_externP, symbol_extern_lastP, last_functionP) [!BFD_ASSEMBLER]: Don't bother explicitly initializing to zero value. * config/obj-coff.c (fixup_segment) [TC_I960]: Use SF_GET_BALNAME and SF_GET_CALLNAME instead of the TC_S_IS_ versions.
1994-07-26ns32k files; i960xl sanitizationKen Raeburn1-0/+23
1994-07-15more description on last changeKen Raeburn1-0/+2
1994-07-15 * lib/gas-defs.exp (run_dump_test): New routine for running theKen Raeburn2-11/+143
assembler, running objdump or nm (not fully supported) on the resulting object file, and comparing the results against a file of regular expressions in the test suite, all in one command. (fail_phase, slurp_options): New auxiliary routines. (regexp_diff): Always return a value. Fix bugs in actually doing the regexp test. Should make it even easier to write gas test cases, giving Ian even less excuse for not doing so. :-)
1994-07-15remove atof-ns32k.cKen Raeburn1-1/+0
1994-07-14deleted atof-ns32k.c, no longer usedKen Raeburn2-452/+2
1994-07-14updated ns532 support from Ian DallKen Raeburn3-0/+133
1994-07-14* config/obj-aout.c (obj_aout_frob_symbol): Use bfd_ind_section_ptr andKen Raeburn2-3/+11
bfd_und_section_ptr. * subsegs.c (subseg_set_rest): Compare segT values directly, without casting to int first.
1994-07-13 * config/tc-m68k.c (m68k_ip): Change rp to be a const pointer.Ian Lance Taylor1-0/+7
(md_parse_option): Clear cpu field of current_architecture before setting a new cpu type. Clear no_68881 for m68881 or m68882. Clear no_68851 for m68851.
1994-07-13Updated some copyrights, cleaned up some header-file comments, and:Ken Raeburn2-4/+31
* symbols.c (symbol_create): New function, most of the guts of the old symbol_new function. (symbol_new): Now just checks symbol_table_frozen, calls symbol_create, and enters the symbol into the symbol table. * subsegs.c (section_symbol): If EMIT_SECTION_SYMBOLS is not true, and the symbol table is frozen, call symbol_create instead of symbol_new. * symbols.h (symbol_create, symbol_table_frozen): Declare. * symbols.c (symbol_clear_list_pointers): Always a function now. * struc-symbol.h (symbol_clear_list_pointers): Deleted macro version. * symbols.c (debug_verify_symchain): New macro, defined to be verify_symbol_chain or a cast to void, depending on DEBUG_SYMS. (many functions): Invoke debug_verify_symchain unconditionally.
1994-07-13config/ho-sysv.h (realloc): Declare.Ken Raeburn2-1/+5
1994-07-12Modified Files:Kung Hsu1-0/+14
read.c ecoff.h ecoff.c ChangeLog * read.c (read_a_source_file): ditto. * ecoff.h: change calling interface of ecoff_generate_asm_line_stab. * ecoff.c (add_file): record of filename to handle case of include files, also change default built-in type from int to void for asm file. * ecoff.c (ecoff_generate_asm_line_stab): handle case of include files.
1994-07-11 * config/tc-mips.c (macro): In case M_LA_AB, SVR4_PIC, largeIan Lance Taylor1-0/+6
constant, and case ldd_std, set mips_optimize to 2 temporarily to avoid inserting an unexpected nop instruction.
1994-07-09 * ecoff.c (ecoff_build_lineno): Handle count correctly for lastIan Lance Taylor2-1/+10
line number.
1994-07-08 * (process_pseudo_op): Pass right are do do_aif.Steve Chamberlain2-10/+28
(get_any_string): New arg 'pretend_quote'. (get_and_process, do_formals, macro_expand, do_sdata, process_pseudo_op): Use new arg.
1994-07-08Modified Files:Kung Hsu4-15/+222
read.c read.h ecoff.c ecoff.h ChangeLog * read.c (read_a_source_file): generate line stabs for asm file. * read.h: add extern generate_asm_line_stab. * ecoff.h : add prototype for ecoff_generate_asm_line_stab(). * ecoff.c (add_file): if there's no filename provided, set switch to generate line stabs for .s file. * ecoff.c (add_procedure): add stabs symbol for .ent directive. * ecoff.c (generate_ecoff_stab): creates an artificial stabs. * ecoff.c (generate_asm_line_stab): generate a artifitial label for each line and generate a stabn for the line.
1994-07-08Modified Files:Kung Hsu2-2/+17
obj-ecoff.h obj-elf.h * config/obj-ecoff.h: define macro OBJ_GENERATE_ASM_LINE_STAB. * config/obj-elf.h: ditto.
1994-07-08 * gasp.c (get_any_string): Cope with getting a string with anSteve Chamberlain2-18/+50
alternate base specifier. (do_aif, do_aelse): Only enable output if expression is true and previous level was on. (chartype_init): Add BASEBIT chartype. (process_pseudo_op): Notice nesteed AIFs.
1994-07-07 * gas/hppa/reloc/relocreduce2.s: More relocation reduction tests.Jeff Law3-0/+161
* gas/hppa/reloc/reloc.exp: Run them.
1994-07-07 * config/tc-hppa.c (hppa_fix_adjustable): Reject reductions forJeff Law2-2/+42
symbols in DLT relative relocs. (tc_gen_reloc): Zero out the addend field for DLT relative relocs.
1994-07-06 * config/tc-ppc.c (ppc_tc): If not OBJ_COFF, force TOC entry toIan Lance Taylor1-0/+5
align to a four byte boundary.
1994-07-05some internals doc updatesKen Raeburn1-0/+4
1994-07-05handle 32-bit addends in exprs on alphaKen Raeburn1-2/+8
1994-07-05 * config/obj-elf.h (S_GET_ALIGN, S_SET_ALIGN): Define.Ian Lance Taylor1-0/+8
* config/obj-elf.c (obj_elf_common): Set alignment of common symbol. * config/tc-sparc.c (s_common): If OBJ_ELF, set alignment of common symbol.
1994-07-05Fix thinko in last changeJeff Law1-3/+2
1994-07-05 * config/tc-hppa.c (is_complex): New macro.Jeff Law2-6/+24
(cons_fix_new_hppa): "Handle" complex expressions.
1994-06-30* config/default.exp: Look for "as.new" in "$base_dir/..", where it gotKen Raeburn1-2/+0
compiled, not in "$base_dir". * config/unknown.exp: Deleted.
1994-06-30Some updates for const-ness added to BFD structures.Ken Raeburn1-0/+6
1994-06-30 * config/tc-mips.c (macro): For M_LI_SS, decide how to handle itIan Lance Taylor1-0/+9
based on contents of imm_expr and offset_expr, rather than mips_pic. For M_LI_DD, decide how to handle it based on segment name of offset_expr, rather than mips_pic. (mips_ip): If g_switch_value < 4, use immediate values for 'l'. If g_switch_value < 8, use .rdata rather than .lit for 'L'.
1994-06-30 * mpw-make.in (as.c): Compile with C not gC.Stan Shebs2-4/+13
(config-stamp): Touch correctly. (install-only): New target. (install): Depend on all and install-only.
1994-06-30 * as.c (show_usage): Break long string into shorter ones.Stan Shebs2-4/+17
(parse_args): Add -v, prints version id and continues. * config/tc-mips.c (md_show_usage): Break long string.
1994-06-28 * configure.in (i386-go32): When it's a host setSteve Chamberlain1-13/+18
host_makefile_frag. * gasp.c (get_any_string): Fix handling of % when in PharLap mode.
1994-06-28Don't keep the "is" cases, only the "was" cases.Steve Chamberlain32-7584/+0
1994-06-28Reflect new rules.Steve Chamberlain7-49/+65
1994-06-26 * mpw-config.in: Parse target and use to generate forward includesStan Shebs4-22/+89
to tc-, obj-, and atof- files, use te-generic.h for emulation. * mpw-make.in (VERSION): Define. (as.c): Compile with GCC. (TARG_OBJECTS, CLIBS): Define. (as.new): Use LDFLAGS, TARG_OBJECTS, CLIBS and EXTRALIBS in link command. (config.h, config-stamp): Build. config/ho-mpw.h (HOST_SPECIAL_INIT): Define.
1994-06-26Remove GM-specific hackery, no longer needed.Stan Shebs3-46/+2
1994-06-26 * as.c (main) [HOST_SPECIAL_INIT]: New hook, for host-specificStan Shebs1-0/+5
initialization.
1994-06-26 * gas/lib/gas-defs.exp (gas_finish): Call "close" and "wait"Jeff Law1-2/+2
before exiting. Enclose both calls inside a "catch". (objdump_finish): Likewise.
1994-06-26From rob:Jeff Law2-2/+10
* gas/lib/gas-defs.exp (gas_finish): Call "close" before exiting. Make note about possibly needing a call to "wait" too. (objdump_finish): Likewise.
1994-06-22 * config/tc-hppa.h (obj_frob_symbol): Define for OBJ_ELF.Jeff Law1-0/+8
More gas/bfd lossage exposed by the new linker code.
1994-06-21Look for as.new before looking in the path for the binary to test.Rob Savoye1-0/+14
1994-06-21 * subsegs.c (abs_seg_info, und_seg_info): Define if BFD_ASSEMBLER.Ian Lance Taylor2-4/+54
(subseg_change): Store seg_info for bfd_abs_section_ptr in abs_seg_info, and store seg_info for bfd_und_section_ptr in und_seg_info. (subseg_get): Likewise. Also, don't set output_section if it is already set. (seg_info): Define as function. * subsegs.h (seg_info): Declare as function rather than defining as macro. * write.c (relax_and_size_seg): Call seg_info rather than bfd_get_section_userdata.
1994-06-20handle target ppc-*-elf*, for zoo.Ken Raeburn1-0/+2
1994-06-20expr.c (operand): If "0f" is followed by '\0', don't do eol checks.Ken Raeburn1-0/+5
1994-06-20 * ecoff.c (ecoff_build_aux): Call swap_tir_out and swap_rndx_outIan Lance Taylor1-0/+5
via backend pointer, not directly.