aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1998-06-22 * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliaryIan Lance Taylor2-19/+21
information.
1998-06-22 * config/tc-mn10300: Handle FMT_D10 instructions.Jeff Law2-7/+63
1998-06-22 * gas/mn10300/am33_6.s: New test.Jeff Law6-1/+709
* gas/mn10300/am33_7.s: Likewise. * gas/mn10300/am33_8.s: Likewise. * gas/mn10300/basic.exp: Run them.
1998-06-22 * config/tc-i386.c (i386_operand): Be prepared for a space betweenIan Lance Taylor1-0/+6
the open parenthesis and the start of the register operand, because of the June 16 change.
1998-06-22* Bringing over fix for PR 16301 from sky beta branch.Frank Ch. Eigler3-5/+1591
1998-06-22 * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly ifIan Lance Taylor1-0/+5
BFD_ASSEMBLER.
1998-06-21Updated to match latest assembler output.Nick Clifton1-1/+7
1998-06-21Always perform alignment requests, even if they are deemed to be unnessasary.Nick Clifton1-0/+5
1998-06-20* Fix small typo.Frank Ch. Eigler1-1/+1
1998-06-20 * config/tc-mips.c (hilo_interlocks): Check mips_5900, notJeff Law2-1/+8
mips_cpu == 5900.
1998-06-19 * config/tc-mn10300.c (md_assemble): Handle FMT_D8 and FMT_D9Jeff Law1-0/+9
instruction formats. Handle MN10300_OPERAND_24BIT modifier. (mn10300_insert_operand): Likewise. (mn10300_check_operand): Likewise.
1998-06-19 * gas/mn10300/am33_4.s: New test.Jeff Law2-1/+7
* gas/mn10300/am33_5.s: New test. * gas/mn10300/basic.exp: Run them.
1998-06-19 * write.c (adjust_reloc_syms): Never adjust relocs against weakIan Lance Taylor2-3/+24
symbols. * config/tc-mips.c (md_apply_fix): Adjust accordingly.
1998-06-19start-sanitize-am33Jeff Law2-53/+379
* config/tc-mn10300.c (r_registers): Add missing registers. (xr_registers): New set of registers. (xr_register_name): New function. (md_assemble): Handle XRREG and PLUS operands. Tweak handling of RREG operand insertion. Handle new D6 and D7 instruction formats. end-sanitize-am33 * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the shift amount for a repeated operand. The shift amount for the repeated copy comes from the size of the operand.
1998-06-19 * gas/mn10300/am33_2.s: New test.Jeff Law3-135/+384
* gas/mn10300/am33_3.s: New test. * gas/mn10300/basic.exp: Run them.
1998-06-19 * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support.Jeff Law1-0/+4
1998-06-18Remove reference to vr5400 inside a r5900 ChangeLog entry.Jeff Law1-2/+1
1998-06-18fix sanitization typorelease1-1/+1
1998-06-18 * gas/mn10300/am33.s: New test.Jeff Law3-0/+71
* gas/mn10300/basic.exp: Run it.
1998-06-18 * config/tc-mn10300.c (r_registers): New register table.Jeff Law3-0/+64
(r_register_name): New function. (md_assemble): Handle new am33 operand types.
1998-06-17 * config/tc-mips.c (md_show_usage): Fix -mipsN usage.Ian Lance Taylor2-4/+8
1998-06-17* MIPS test suite changes that allow cross-assemblers to test MIPS dialectsFrank Ch. Eigler1-0/+14
other than their native tongues. Wed Jun 17 14:02:10 1998 Frank Ch. Eigler <fche@cygnus.com> * gas/mips/delay.d: Add -mcpu=NNNN to gas flags to let test case run on differently targeted assembler. * gas/mips/{ld-ilocks-addr32,ld-svr4pic.d}: Ditto. * gas/mips/{ld-xgot.d,lif-svr4pic.d,lif-xgot.d}: Same. * gas/mips/{mips16.d,mips4.d,nodelay.d}: Again. * gas/mips/{trunc.d,uld.d,ulh-xgot.d,usd.d}: And then some. * gas/mips/ld-ilocks.d: Removed disassembler flags to let target defaults go unmodified. Replaced $f4/$f5 with $fp[45], as the original `ld.d' had. Find `ld.s'. * gas/mips/mul-ilocks.d: Nearly ditto.
1998-06-16Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor1-0/+12
* app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all characters in it as LEX_IS_SYMBOL_COMPONENT. * config/tc-i386.h (tc_symbol_chars): Define. (extra_symbol_chars): Declare. * config/tc-i386.c (extra_symbol_chars): Define. (comment_chars): Don't use '/' as comment start if TE_LINUX. (line_comment_chars): Set to '/' if TE_LINUX. * doc/c-i386.texi (i386-prefixes): Update. * doc/internals.texi (CPU backend): Document tc_symbol_chars.
1998-06-12rebuildIan Lance Taylor1-0/+6810
1998-06-12 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.Tom Tromey1-0/+5
($(PACKAGE).pot): Unconditionally depend on POTFILES.
1998-06-12PR15067Vladimir Makarov1-2/+2
1998-06-12 * config/tc-dvp.c (create_vuoverlay_section): Don't set a non-zeroDoug Evans2-0/+14
section vma.
1998-06-12PR15067Vladimir Makarov1-0/+5
1998-06-11Adjust tests and results after applying patch for PR12542Nick Clifton1-0/+7
1998-06-11Fix for PR12542 - if check_range is passed a constant for a shifted operand,Nick Clifton1-0/+3
shift the constant first.
1998-06-11Fix for PR11938 - display suitable error messages for bogus .byte, .short ↵Nick Clifton2-0/+21
and .quad directives.
1998-06-11Add more checks for NULL pointers.Nick Clifton1-0/+2
1998-06-11Fix for PR 16143 - set SEC_COMMON bit on .scommon, .zcommon and .tcommon ↵Nick Clifton1-0/+5
sections.
1998-06-11Create v850 special sections upon demand.Nick Clifton2-11/+124
1998-06-10PR15041Vladimir Makarov2-35/+58
1998-06-09 * config/tc-dvp.c (assemble_vu): Print better error message ifDoug Evans2-1/+14
lower insn is missing.
1998-06-09 * Makefile.am: Rebuild dependencies.Ian Lance Taylor1-0/+6
(DEP_INCLUDES): Fix reference to intl build directory. * Makefile.in: Rebuild.
1998-06-09Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor2-0/+483
* doc/c-i386.texi: Update 16 bit documentation.
1998-06-09Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor3-7/+25
* config/tc-i386.h: Change Data16 to Size16, Data32 to Size32, IgnoreDataSize to IgnoreSize as they are used for address size as well as data size. * config/tc-i386.c: Likewise. Add code to reject addr32/data32 in 32-bit mode, similarly addr16/data16 and variants.
1998-06-09Updated to match latest assembler results.Nick Clifton1-0/+6
1998-06-09Foixes for PR16116 and ER15940 - improve parallel insn handling.Nick Clifton2-61/+118
1998-06-08 * config/tc-dvp.c (dvp_relax_frag): Adjust target address by stretch.Doug Evans2-0/+15
PR 16132.
1998-06-08 * gas/dvp/relax-1.[sd]: Test .org/relaxing interaction.Doug Evans1-0/+6
1998-06-08Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor3-403/+591
* config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and likewise for REPE. * config/tc-i386.c (reloc): Add braces. * config/tc-i386.c (struct _i386_insn): Rename bi to sib to be consistent with Intel naming. * config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't use bitfields in sib_byte. (modrm_byte): Don't use bitfields here either. * config/tc-i386.c (current_templates): Add const. (parse_register): Add const to return, param, and char *s. (i386_operand): Add const to reg_entry *r. * config/tc-i386.h (templates): Add const to start, end. Inspired by code for 16 bit gas support from Martynas Kunigelis <martynas@nm3.ktu.lt>: * config/tc-i386.c (md_assemble): Add full support for 16 bit modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns. (uses_mem_addrmode): Remove. (md_estimate_size_before_relax): Add support here too. (md_relax_table): Rewrite interface to md_relax for 16 bit support. (BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove. (opcode_suffix_to_type): Remove. (CODE16, SMALL, SMALL16, BIG, BIG16): Define. (SIZE_FROM_RELAX_STATE): Modify to suit above. (md_convert_frag): Likewise. (i386_operand): Add support for 16 bit base/index regs, immediates, and displacements. Remove some unnecessary casts, and localise end_of_operand_string, displacement_string_start, displacement_string_end variables. Add GCC_ASM_O_HACK. * config/tc-i386.h (NO_BASE_REGISTER_16): Define. * config/tc-i386.c (prefix_hash): Remove. (md_begin): Rewrite without obstacks. Remove prefix hash table handling. Rewrite lexical table handling. (i386_print_statistics): Don't print prefix statistics. (md_assemble): Rewrite instruction parser so that line is not converted to lower case. Don't do a hash_find for prefixes, instead recognise them via opcode modifier. (expecting_operand, paren_not_balanced): Localise variables. * config/tc-i386.h (IsPrefix): Define. (prefix_entry): Remove. * config/tc-i386.h (PREFIX_SEPERATOR): Don't define. * config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using '\\' in case where comment_chars contains '/'. * config/tc-i386.c (MATCH): Ensure given operand and template match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid; you must write `ljmp *table(%ebx)'. From H.J. Lu <hjl@gnu.org>: * config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define as 0 ifndef BFD_ASSEMBLER. (md_assemble): Allow immediate operands without suffix or other reg operand to default in size to the current code size.
1998-06-08Mon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com>Catherine Moore2-0/+18
* config/tc-v850.c (md_begin): Restore creation of .call_table_text and .call_table_data sections.
1998-06-06Another fix for PR16116Nick Clifton2-0/+6
1998-06-06xIan Lance Taylor1-14/+34
1998-06-06Fri Jun 5 23:27:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor3-261/+395
* config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2. (i386_operand): Simplify checks for valid base/index combinations. Disallow `in 4(%dx),%al'. * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and index_reg const. (add_prefix): Change parameter from char to int. * config/tc-i386.h (Ugh): Define opcode modifier. * config/tc-i386.c (md_assemble): Print warnings for Ugh insns. * config/tc-i386.c (md_assemble): Rewrite MATCH and CONSISTENT_REGISTER_MATCH macros to check register types more thoroughly. Check for illegal suffix/operand combinations when matching insns with operands. Handle new `s' suffix, and associated FloatMF opcode modifier for float insns with memory operands. * config/tc-i386.h (FloatMF): Define new opcode modifier. (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise. (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define. * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to DATA_PREFIX_OPCODE throughout. * config/tc-i386.c (REGISTER_WARNINGS): Define. (md_assemble): Rewrite suffix/register operand checking code to be more thorough. Remove Abs8,16,32. Change occurrences of Mem to AnyMem, the better to grep. (pi): Remove Abs. (i386_operand): Don't set Mem bits in i.types[this_operand] when given a memory operand. Don't set Abs bits either. (type_names): Remove Mem*, Abs*. * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't define opcode_modifiers as these cases are handled by Disp8, Disp16, Disp32 and suffix checks. (COMES_IN_BOTH_DIRECTIONS): Remove. (FloatR): Define. It's OK to share the bit with ReverseRegRegmem. * config/tc-i386.c (md_assemble): Don't emit operand size prefix if IgnoreDataSize modifier given. Remove ShortformW modifier test. Add test for ShortForm in W base_opcode modification. Merge Seg2ShortForm and Seg3ShortForm code. * config/tc-i386.h (ShortFormW): Remove. (IgnoreDataSize): Define.
1998-06-05Fri Jun 5 19:15:59 1998 Andreas Schwab ↵Ian Lance Taylor1-0/+8
<schwab@issan.informatik.uni-dortmund.de> * gas/m68k/operands.s: For all pc relative addresses change tstl to pea since the former does not allow pcrel on m68000. Do not make label foo global, so that references to it can be relaxed on ELF targets. * gas/m68k/operands.d, gas/m68k/op68000.d: Updated.
1998-06-05Fix PR16116 - stoe previous subseg state with prev instructionss.Nick Clifton2-2/+40