aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1997-02-27 * config/obj-elf.c (obj_elf_common): Set BSF_OBJECT in flags.Ian Lance Taylor1-0/+3
* config/tc-sparc.c (s_common): Likewise, if BFD_ASSEMBLER.
1997-02-27 * expr.c (operand): Simplify 0b handling. Don't treat 0b as aIan Lance Taylor2-94/+240
binary number if the next character is '+' or '-'.
1997-02-27 * config/tc-tic80.c (FLT_CHARS): Change from "dD" to "fF".Fred Fish2-4/+32
(find_opcode): Match operands that can be floats. (build_insn): Handle O_big (float) expressions and build correct opcode.
1997-02-27 * gas/tic80/{float.d, float.lst, float.s}: New tests forFred Fish5-0/+187
simple floating point operands. * gas/tic80/tic80.exp: Run the float test.
1997-02-27always keep te-lnews.hStan Shebs1-0/+1
1997-02-27 * configure.in (mips*-*-lnews*): New target, also make emptyStan Shebs3-7/+24
emulation list for this target. * configure: Update. * tc-mips.c (ECOFF_LITTLE_FORMAT): Define. (mips_target_format): Use. * te-lnews.h: New file.
1997-02-27Sanitize out D30V stuff.Martin Hunt2-0/+34
1997-02-26 * config/tc-tic80.c (find_opcode, build_insn): Changes to matchFred Fish2-30/+58
operands with :m or :s modifiers and generate the right opcodes for them.
1997-02-26 * gas/tic80/{regops2.d, regops2.lst, regops2.s, regops3.d,Fred Fish11-0/+410
regops3.lst, regops3.s, regops4.d, regops4.lst, regops4.s}: New tests for :m and :s operand modifiers. * gas/tic80/tic80.exp: Run the regops2, regops3, and regops4 tests.
1997-02-26 * Makefile.in (itbl-parse.c itbl-parse.h): Use $(BISON) andIan Lance Taylor1-0/+5
$(BISONFLAGS), not $(YACC) and $(YACCFLAGS).
1997-02-26 Based on patches from Robert Lipe <robertl@dgii.com>:Ian Lance Taylor5-5/+70
* configure.in: Add i386coff and i386elf to emulation list. * configure: Rebuild. * as.c (i386coff, i386elf): Declare. * obj.h (coff_format_ops): Declare. * config/obj-coff.c (OBJ_HEADER): Define. (coff_obj_symbol_new_hook): Rename from obj_symbol_new_hook. (coff_obj_read_begin_hook): Rename from obj_read_begin_hook. (obj_pseudo_table): Add "version". (coff_pop_insert): New static function. (coff_sec_sym_ok_for_reloc): New static function. (no_func): New static function. (coff_format_ops): New variable. * config/obj-coff.h (coff_obj_symbol_new_hook): Declare. (obj_symbol_new_hook): Define. (coff_obj_read_begin_hook): Declare. (obj_read_begin_hook): Define. * config/tc-i386.h (i386_target_format): Declare. * config/tc-i386.c: Check OBJ_MAYBE_ELF as well as OBJ_ELF; check OUTPUT_FLAVOR when appropriate. (i386_target_format): New function. * Makefile.in (obj-coff.o): New target. (e-i386coff.o, e-i386elf.o): New targets.
1997-02-26Tue Feb 25 22:02:23 1997 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor1-0/+7
* config/tc-m68k.c (instring): Useless local declaration of crack_operand removed. * expr.h (expressionS): Changed type of X_op field to operatorT if __GNUC__.
1997-02-26 From Stephen Williams <steve@icarus.icarus.com>:Ian Lance Taylor1-0/+13
* config/tc-i960.h (TC_SYMFIELD_TYPE): Define if OBJ_COFF. (_tc_get_bal_of_call): Don't declare. (tc_get_bal_of_call): Declare as function, don't define as macro. * config/tc-i960.c (tc_set_bal_of_call): If OBJ_COFF, store balP in sy_tc field, not x_balntry field. (tc_get_bal_of_call): Rename from _tc_get_bal_of_call. Change return type to symbolS *. If OBJ_COFF, retrieve value from sy_tc field, not x_balntry field.
1997-02-25tweak for alignmentIan Lance Taylor1-0/+5
1997-02-25 * Makefile.in ($(OBJS)): Don't depend upon $(IT_HDRS).Ian Lance Taylor1-0/+7
(TARG_CPU_DEP_mips): Depend upon $(srcdir)/itbl-ops.h. (itbl-lex.o): Depend upon itbl-parse.h. * itbl-parse.y (yyerror): Change return type to int. Change to use old style function declaration.
1997-02-25 * Makefile.in (itbl-lex.o): Remove -Wall.Ian Lance Taylor2-10/+11
(itbl-parse.o): Likewise.
1997-02-25 * gas/macros/semi.s: Force the final alignment to use a fill valueIan Lance Taylor1-0/+3
of 0.
1997-02-25 * gas/all/cond.s, gas/all/cond.d: New test.Ian Lance Taylor4-0/+44
* gas/all/gas.exp: Run it.
1997-02-25 * cond.c (s_ifdef): If we should omit conditionals from listings,Ian Lance Taylor1-0/+14
call listing_list. (s_if, s_ifc, s_endif, s_else, s_ifeqs): Likewise. * listing.c (list_info_struct): Add EDICT_NOLIST_NEXT. (listing_listing): Handle EDICT_NOLIST_NEXT. (listing_list): An argument of 2 means EDICT_NOLIST_NEXT. * listing.h (LISTING_NOCOND): Define. (LISTING_SKIP_COND): Define. * as.c (show_usage): Mention c as a suboption of -a. (parse_args): Handle c as a suboption of -a. * doc/as.texinfo: Document -alc.
1997-02-25 * config/tc-tic80.c (md_apply_fix): Handle R_ABS type fixups.Fred Fish2-0/+13
(fixes several failures in generic part of GAS testsuite)
1997-02-24Mon Feb 24 15:19:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+5
* config/tc-d10v.c: Change pre_defined_registers to d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
1997-02-24 * config/obj-coff.c: Fix typo in comment section.Fred Fish2-7/+20
start-sanitize-tic80 * config/tc-tic80.c (md_pseudo_table): Add entry for bss, which takes an additional alignment argument. (find_opcode): Allow O_symbol relocs for any 32 bit field, not just base relative ones. (build_insn): Handle O_symbol relocs for any 32 bit field, not just base relative ones. end-sanitize-tic80
1997-02-24 * gas/tic80/{add.d, bitnum.d, ccode.d, cregops.d, endmask.d,Fred Fish16-453/+836
regops.d, relocs1.d, (relocs1.c): Add file for reference. (relocs1b.d): Split reloc table contents test to different test file. (relocs2.c): Add test that uses various types (char, short, int, ...) of static and global variables with data shuffling to generate lots of ld/st instructions for the different types. (relocs2.d): New file, expected code for relocs2 test. (relocs2.lst): New file, TI assembler listing for reference. (relocs2.s): New file, assembly source for relocs2 test. (relocs2b.d): New file, expected reloc table contents for relocs2 test. (tic80.exp): Run the relocs1b, relocs2, and relocs2b tests.
1997-02-24 * Makefile.in: Remove dependancies on itbl-cpu.h.Dawn Perchik1-0/+6
* as.c: Define stubs for itbl_parse and itbl_init if HAVE_ITBL_CPU is not defined.
1997-02-24 * itbl-ops.h: Include as.h.Dawn Perchik1-0/+4
1997-02-24 * as.c: Remove -t option.Dawn Perchik3-1/+11
* configure, configure.in: Move itbl-cpu.h to mips specific configure. * itbl-ops.h: Include itbl-cpu.h only if HAVE_ITBL_CPU is defined. * config/tc-mips.h: Define HAVE_ITBL_CPU.
1997-02-24 * itbl-ops.c: Don't define DEBUG.Dawn Perchik1-0/+4
1997-02-24 * gas/all/itbl-test.c(main): Update function calls.Dawn Perchik1-0/+6
Remove parameters from itbl_get_reg_val and change itbl_get_insn_name to itbl_get_field.
1997-02-24 * Makefile.in: Update itbl-test.c to reflect its new location.Dawn Perchik2-3/+9
1997-02-24 * gas/mips/itbl: Add comments.Dawn Perchik6-1/+46
* gas/mips/itbl.s: Add comments. Prefix register names with $. * gas/all/itbl: Generic table for testing for itbl support. * gas/all/itbl.s: Generic assembly for testing for itbl support. * gas/mips/itbl-test.c: Moved to gas/all. * gas/all/itbl-test.c: Moved from gas/mips.
1997-02-23 * itbl-ops.c: Add test for itbl_have_entries.Dawn Perchik3-5/+20
* config/tc-mips.c: Remove test for itbl_have_entries. * config/tc-mips.h: Define tc_init_after_args to mips_init_after_args.
1997-02-23 * Makefile.in (DISTSTUFF): Remove itbl-parse.y, itbl-lex.l, andIan Lance Taylor3-5/+14
itbl-ops.c. Add itbl-parse.c and itbl-lex.c. (LEX, LEXFLAGS): Define. * itbl-ops.c (append_insns_as_macros): Remove bogus ASSERT.
1997-02-23fix minor formatting problemIan Lance Taylor1-2/+2
1997-02-23minor formatting fixesIan Lance Taylor4-36/+31
1997-02-23 * itbl-parse.y: Fix indentation mistakes from indent program.Dawn Perchik10-819/+1335
* itbl-lex.l: Fix indentation mistakes from indent program. * itbl-ops.h: Add include for ansidecl.h. Add PARAMS around function arguments. Add declaration for itbl_have_entries. * itbl-ops.c: Add PARAMS around function arguments. * Makefile.in: Add itbl build rules. Add dependancies for itbl files to mips target. * as.c: Add itbl support. Add new option "--insttbl" for dynamically extending instruction set. * as.h: Declare insttbl_file_name; the name of file defining extensions to the basic instruction set * configure.in, configure: Add itbl-parse.o, itbl-lex.o, and itbl-ops.o to extra_objects for mips configuration. Add include file link from itbl-cpu.h to config/itbl-${target_cpu_type}.h. * config/tc-mips.c: Allow copz instructions. Add notes for future additions to the itbl support. Add debug macros. (macro): Call itbl_assemble to assemble itbl instructions. See if an unknown register is specified in an itbl entry.
1997-02-23 * doc/internals.texi (CPU backend): Fix typo in md_section_alignFred Fish3-10/+96
description. start-sanitize-tic80 * config/tc-tic80.h (NEED_FX_R_TYPE): Define. * config/tc-tic80.c (find_opcode): Add code to support O_symbol operands. (build_insn): Grab a frag early so we can use the address in fixups. Take one's complement of BITNUM values before insertion in opcode. Add code to support O_symbol operands. (md_apply_fix): Replace unimplemented warning with implementation. (md_pcrel_from): Ditto. (tc_coff_fix2rtype): Ditto. end-sanitize-tic80
1997-02-23 * gas/tic80/{add.lst, bitnum.lst, ccode.lst, cregops.lst,Fred Fish14-541/+915
endmask.lst, regops.lst}: Remove ^M's from end of lines. * gas/tic80/bitnum.s: Add comment to each line showing value that symbolic BITNUM assembles to. Add coverage for raw numeric values for the BITNUM operand. * gas/tic80/bitnum.d: Update due to bitnum.s changes. * gas/tic80/regops.d: Update due to opcode library additions of floating point test BITNUM values that are ambiguous with the integral ones. * gas/tic80/relocs1.s: New test case that tests simple relocs. * gas/tic80/relocs1.d: Expected output for above. * gas/tic80/relocs1.lst: TI assembler listing for above. * gas/tic80/tic80.exp: Add relocs1 test.
1997-02-22Fri Feb 21 14:34:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-139/+69
* config/tc-d30v.c (parallel_ok): New function. * config/tc-d30v.h: Define TARGET_BYTES_BIG_ENDIAN.
1997-02-21Fri Feb 21 14:34:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-12/+18
* config/tc-d10v.c (md_pcrel_from_section): Return 0 if relocation is in different section. Fixes PR11574.
1997-02-21Fri Feb 21 14:23:14 1997 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt10-0/+902
* gas/d30v/{align.d, align.s, d30.exp, guard.d, guard.s, inst.d, inst.s, opt.d, opt.s}: Test files for D30V.
1997-02-21 * config/tc-m68k.c (line_comment_chars): Add '*'.Ian Lance Taylor1-0/+2
1997-02-21Fix linker relocation overflow errors for the NEC vr4300/ddb toolchain.Jim Wilson2-17/+16
These changes are related to Ian's gas/libgloss changes of Dec 13/Dec 18. * tc-mips.c (mips_ip): If configured for an embedded ELF system, don't set the section alignment to 2**4. * mips/ddb.ld: Align the location counter before setting _gp, and before setting edata. Remove ALIGN from _gp computation. * mips/idt.ld, mips/pmon.ld: Before setting _gp, use ALIGN(8) instead of ALIGN(16). Remove ALIGN from _gp computation.
1997-02-21 * app.c (LEX_IS_TWOCHAR_COMMENT_2ND): Don't define.Ian Lance Taylor1-0/+6
(do_scrub_begin): Don't set lex['*']. (do_scrub_chars): When handling LEX_IS_TWOCHAR_COMMENT_1ST, don't check for LEX_IS_TWOCHAR_COMMENT_2ND. Instead, just check for a literal '*'.
1997-02-21 * configure.in: Set em=svr4 for m68k-*-sysv4*.Ian Lance Taylor6-66/+84
* configure: Rebuild. * config/te-svr4.h: New file. * config/tc-m68k.c (m68k_comment_chars): Only include `#' if TE_SVR4 or TE_DELTA.
1997-02-21 * config/tc-mn10200.c (md_convert_frag): Create a fixup for theJeff Law1-0/+5
short conditional branch around a long unconditional branch. Showing the reloc will allow the linker to shorten the long unconditional branch or remove the long unconditional branch entirely when relaxing.
1997-02-20 * config/obj-coff.c (obj_coff_ln [both versions]): CallIan Lance Taylor2-0/+30
new_logical_line. PR 11725.
1997-02-20 * symbols.c (resolve_symbol_value): If both left and rightIan Lance Taylor1-0/+8
operands are undefined, warn about both of them. PR 11724.
1997-02-20Since d10v is public now, remove all sanitization statementsMichael Meissner6-289/+322
1997-02-19 Based on patches from Eric Youngdale <eric@andante.jic.com>:Ian Lance Taylor1-0/+8
* config/obj-elf.c (elf_pseudo_table): Add "symver". (obj_elf_symver): New static function. * config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy the st_other field.
1997-02-19 * gas/macros/semi.s, gas/macros/semi.d: New test.Ian Lance Taylor7-0/+56
* gas/macros/macros.exp: Run it. * gas/mri/semi.s, gas/mri/semi.d: New test. * gas/mri/mri.exp: Run it. Taken from PR 11715.