aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1994-08-16 * gas/config/tc-hppa.c (pa_comm): Set sy_frag for the commonJeff Law1-2/+2
symbol to the zero address frag.
1994-08-16 * config/tc-hppa.c (pa_comm): Set sy_resolved for the commonJeff Law2-45/+10
symbol.
1994-08-12 * config/tc-mips.c (md_begin): Drop "el" from the end ofIan Lance Taylor1-0/+5
TARGET_CPU. Check for mips64orion.
1994-08-10 * configure.in: Recognize ppc-*-netware.Stu Grossman2-0/+40
* config/te-ppcnw.h: New file to support Power-PC/Netware configurations. Currently, it just enables the use of backslash escapes in string directives.
1994-08-09 * config/tc-ppc.c (ppc_stabx): Call expression directly, ratherIan Lance Taylor1-0/+4
than via pseudo_set. If expression is a symbol, move stab symbol to just after symbol from expression.
1994-08-09 * ecoff.c (ecoff_build_procs): Don't force adr of first fdr to beIan Lance Taylor1-0/+3
zero. Undoes change of June 4, 1993.
1994-08-09 * config/tc-mips.c (md_parse_option): Accept -mcpu=4400, 4600, andIan Lance Taylor2-46/+88
orion.
1994-08-08Fix copyright.Steve Chamberlain1-3/+8
1994-08-08 * gas/config/tc-hppa.c (md_pseudo_table): Delete redundantJeff Law1-0/+5
upper-case versions of the pseudo-ops.
1994-08-08 * config/tc-sparc.c (md_apply_fix): If we are going to generate aIan Lance Taylor1-0/+5
non PC relative reloc, don't put the addend in the object file.
1994-08-06Sat Aug 6 01:15:02 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain1-1/+12
* as.h: If FOPEN_WB is not defined, do the right thing in a go32 environment. Mon Jul 11 11:34:52 1994 Steve Chamberlain (sac@jonny.cygnus.com) * config/tc-h8300.c (pint): New function for handling varying size of int pseudo op. * doc/as.texinfo: Fix typo describing .h8300h pseduop.
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