X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2FChangeLog;fp=gas%2FChangeLog;h=eb6cd265a9e14f494d4128450d82ed0d5729feee;hp=9fd2d9d3bf0df38798cda44935b89bb9f77dbd9a;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/ChangeLog b/gas/ChangeLog index 9fd2d9d..eb6cd26 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,1513 +1,2299 @@ -2007-08-28 Robert Sebastian Gerus - - * configure.tgt: Add support for i[3-7]86-*-dragonfly*. - -2007-08-24 Joseph Myers - Paul Brook - - * remap.c: New. - * as.h (remap_debug_filename, add_debug_prefix_map): Declare. - * as.c (show_usage): Document --debug-prefix-map option. - (parse_args): Handle --debug-prefix-map. - * dwarf2dbg.c (out_file_list, out_debug_info): Remap debug paths. - * stabs.c (stabs_generate_asm_file): Remap debug paths. - * Makefile.am (GAS_CFILES): Add remap.c - (GENERIC_OBJS): Add remap.o. - Regenerate dependencies. - * Makefile.in: Regenerate. - * doc/as.texinfo (--debug-prefix-map): Document. +2009-10-13 Alan Modra + H.J. Lu -2007-08-24 Aurelien Jarno + PR gas/2117 + * config/tc-ia64.c (parse_operand): Use expression rather than + expression_and_evalute. + (parse_operand_and_eval): New function. Replace all uses of + parse_operand outside of parse_operands with this function. + (parse_operans_maybe_eval): New function. Replace uses of + parse_operand in parse_operands, except for the dummy, with + this function. - * config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long - before printing them. +2009-10-06 Alan Modra -2007-08-24 Anders Waldenborg - Alan Modra + PR gas/10704 + * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117. - * config/tc-i386.c (lex_got): Don't scan past a comma. +2009-10-06 Alan Modra -2007-08-23 Ben Elliston + * read.c (s_reloc): Don't use expression_and_evaluate. + +2009-10-06 Jakub Jelinek + + * dw2gencfi.c: Include dwarf2dbg.h. + (DWARF2_FORMAT): Define if not defined. + (dot_cfi_sections): New function. + (cfi_pseudo_table): Handle .cfi_sections. + (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define. + (cfi_sections): New variable. + (output_cie, output_fde, select_cie_for_fde): Add eh_frame + argument, add supporting for outputting .debug_frame + section. + (cfi_change_reg_numbers): New function or macro. + (cfi_finish): Only emit .eh_frame if + cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if + cfi_sections & CFI_EMIT_debug_frame. + * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define. + * doc/as.texinfo (CFI directives): Document .cfi_sections. + +2009-10-02 Peter Bergner + + * config/tc-ppc.c (md_show_usage): Document -m476. + * doc/c-ppc.texi (PowerPC-Opts): Document -m476. + +2009-10-01 Peter Bergner - * doc/c-arm.texi (ARM Directives): Move brackets out of @vars. + * config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2". + * doc/c-ppc.texi (PowerPC-Opts): Likewise. -2007-08-17 Alan Modra +2009-09-25 Nick Hudson - * po/Make-in: Add --msgid-bugs-address to xgettext invocation. + * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex + entries. -2007-08-12 Matthias Klose +2009-09-23 Tim E. Sneddon - * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include - $(top_srcdir)/../../bfd/doc. - * doc/Makefile.in: Regenerate. + * configure.com: Fix a typo. -2007-08-10 Nick Clifton +2009-09-23 Alan Modra - * NEWS: Add a marker for the 2.18 features. + * symbols.c (define_sym_at_dot): New function, extracted from.. + (colon): ..here. Define error case cloned symbol. -2007-08-09 H.J. Lu +2009-09-21 Richard Sandiford - * config/tc-i386.c (check_byte_reg): Support pextrb and pinsrb. + * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument. + Require the target to be a bare symbol on targets with + in-place addends. + (macro_build_jalr): Update accordingly. + (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets + with in-place addends. -2007-07-29 H.J. Lu +2009-09-21 Ben Elliston + Peter Bergner - * config/tc-i386.c (check_long_reg): Allow cvtss2si to convert - DWORD memory to Reg64 in Intel synax. - (check_qword_reg): Allow cvtsd2si to convert QWORD memory to - Reg32 in Intel syntax. + * config/tc-ppc.c (md_show_usage): Document -mpcca2. + * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2. -2007-07-25 Sterling Augustine +2009-09-18 Nick Clifton - * config/tc-xtensa.c (xtensa_extui_opcode): New. - (xg_expand_assembly_insn): Check for invalid extui operands. - (md_begin): Initialize xtensa_extui_opcode. + * po/es.po: Updated Spanish translation. -2007-07-24 Nick Clifton +2009-09-15 Tristan Gingold - * config/tc-mep.h (skip_whitespace): Remove definition. + * makefile.vms (OBJS): Compile te-vms.c only on Itanium. -2007-07-23 H.J. Lu +2009-09-11 Nick Clifton + + * po/gas.pot: Updated by the Translation project. + +2009-09-11 Martin Thuresson + + Updated sources to compile cleanly with -Wc++-compat: + * app.c: Add casts. + * as.c: Add casts. + * config/obj-elf.c: Add casts. + (obj_elf_type): Rename variable typename to type_name. + * config/tc-i386-intel.c (i386_operators): Rename member operator to op. + * config/tc-i386.c: Add casts. + (check_cpu_arch_compatible): Rename argument new to new_flag. + (gotrel): Update variable to use enum name instead of integer value. + * dw2gencfi.c: Add casts. + (struct cfi_escape_data): Move to top level. + * dwarf2dbg.c: Add cast. + * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern. + * ehopt.c Add casts. + (enum frame_state): Move to top level. + * expr.c (operatorf): Rename function operator to operatorf. + (operand): Rename variable operator to op. + (expr_set_rank): Rename argument operator to op. + * frags.c: Add cast. + * hash.c: Add casts. + * input-scrub.c: Add cast. + * listing.c: Add casts. + (enum edict_enum): Move to top level. + * macro.c: Add casts. + * macro.h (enum formal_type): Move to top level. + * read.c: Add casts. + (s_include): Rename variable try to try_file. + * remap.c: Add cast. + * stabs.c: Add casts. + * subsegs.c: Add casts. + * symbols.c: Add casts. + * write.c: Add casts. + +2009-09-11 Hans-Peter Nilsson + + PR gas/10623 + * config/tc-mmix.c (md_assemble) : + Allow register operands for SWYM as for TRIP and TRAP. Correct + operand handling and error checking. Never emit + BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns. - * config/tc-i386.c (cpu_arch): Change i386 to PROCESSOR_I386. - (f32_15): Removed. - (jump_31): New. - (f32_patt): Remove f32_15. - (f16_patt): Likewise. - (i386_align_code): Updated to alt_long_patt for 64bit by - default. - - * config/tc-i386.h (processor_type): Add PROCESSOR_I386. - -2007-07-23 Evandro Menezes - - * config/tc-i386.c (i386_align_code): Enable alignment up to - MAX_MEM_FOR_RS_ALIGN_CODE bytes. Remove special treatment - for K8. - - * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Changed to 31. - -2007-07-20 Nick Clifton - - * app.c (do_scrub_chars): Provide a one character buffer to hold a - pushed back newline at the end of an unterminated quoted string. - -2007-07-14 Nick Clifton - - * config/tc-arm.c (create_register_alias): Return a boolean rather - than an integer. - Check the return value of insert_reg_alias and do not continue to - create aliases once an insertion has failed. - (s_unreq): Delete the all-upper-case and all-lower-case - alternatives as well. - -2007-07-12 Kai Tietz - - * symbols.c: Print bfd_hostptr_t to file via fprintf_vma. - * write.c: Likewise. - -2007-07-11 Daniel Jacobowitz - - * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use - HAVE_64BIT_SYMBOLS. - -2007-07-04 Richard Sandiford - - * config/tc-mips.c (mips_cpu_info_table): Add new entries for - {24k,24ke,34k,74k}f{2_1,1_1,x}. Also add an entry for 74kf3_2. - Deprecate *x and *fx. - * doc/c-mips.texi: Document the new CPU arguments. Deprecate - *x and *fx. - -2007-07-04 H.J. Lu - - * config/obj-coff.h (x86_64_target_format): Renamed to ... - (i386_target_format): This - (TARGET_FORMAT): Use i386_target_format. - - * config/tc-i386.c (x86_64_target_format): Removed. - (i386_target_format): Handle PE formats. - -2007-07-04 Nick Clifton - - * symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order - to get the right length of printed value. - -2007-07-03 Nick Clifton - - * COPYING: Replace with GPLv3 text. - * app.c: Update copyright notice to refer to GPLv3. - * as.c, as.h, asintl.h, atof_generic.c, bignum.h, bit_fix.h, - cgen.c, cond.c, debug.c, depend.c, dw2gencfi.c, dw2gencfi.h, - dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, emul.h, - emul_target.h, expr.c, expr.h, flonum-copy.c, flonum.h, - flonum-konst.c, frags.c, frags.h, hash.c, hash.h, input-file.c, - input-file.h, input-scrub.c, ibtl-lex.h, itbl-lex.l, itbl-ops.c, - itbl-ops.h, itbl-parse.y, listing.c, listing.h, literal.c, - macro.c, messages.c, obj.h, output-file.c, output-file.h, read.c, - read.h, sb.c, sb,h, stabs.c, struc-symbol.h, subsegs.c, subsegs.h, - symbols.c, symbols.h, tc.h, write.c, write.h, config/aout_gnu.h, - config/config/atof-ieee.c, config/atof-vax.c, config/bfin-aux.h, - config/bfin-defs.h, config/bfin-lex.l, config/bfin-parse.y, - config/itbl-mips.h, config/m68k-parse.h, config/m68k-parse.y, - config/obj-aout.c, config/obj-aout.h, config/obj-coff.c, - config/obj-coff.h, config/obj-ecoff.c, config/obj-ecoff.h, - config/obj-elf.c, config/obj-elf.h, config/obj-evax.c, - config/obj-evax.h, config/obj-multi.h, config/obj-som.c, - config/obj-som.h, config/tc-alpha.c, config/tc-alpha.h, - config/tc-arc.c, config/tc-arc.h, config/tc-arm.c, - config/tc-arm.h, config/tc-avr.c, config/tc-avr.h, - config/tc-bfin.c, config/tc-bfin.h, config/tc-cr16.c, - config/tc-cr16.h, config/tc-cris.c, config/tc-cris.h, - config/tc-crx.c, config/tc-crx.h, config/tc-d10v.c, - config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h, - config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c, - config/tc-fr30.h, config/tc-frv.c, config/tc-frv.h, - config/tc-generic.c, config/tc-generic.h, config/tc-h8300.c, - config/tc-h8300.h, config/tc-hppa.c, config/tc-hppa.h, - config/tc-i370.c, config/tc-i370.h, config/tc-i386.c, - config/tc-i386.h, config/tc-i860.c, config/tc-i860.h, - config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c, - config/tc-ia64.h, config/tc-ip2k.c, config/tc-ip2k.h, - config/tc-iq2000.c, config/tc-iq2000.h, config/tc-m32c.c, - config/tc-m32c.h, config/tc-m32r.c, config/tc-m32r.h, - config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c, - config/tc-m68k.h, config/tc-maxq.c, config/tc-maxq.h, - config/tc-mcore.c, config/tc-mcore.h, config/tc-mep.c, - config/tc-mep.h, config/tc-mips.c, config/tc-mips.h, - config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c, - config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h, - config/tc-msp430.c, config/tc-msp430.h, config/tc-mt.c, - config/tc-mt.h, config/tc-ns32k.c, config/tc-ms32k.h, - config/tc-openrisc.c, config/tc-openrisc.h, config/tc-or32.c, - config/tc-or32.h, config/tc-pdp11.c, config/tc-pdp11.h, - config/tc-pj.c, config/tc-pj.h, config/tc-ppc.c, config/tc-ppc.h, - config/tc-s390.c, config/tc-s390.h, config/tc-score.c, - config/tc-score.h, config/tc-sh64.c, config/tc-sh64.h, - config/tc-sh.c, config/tc-sh.h, config/tc-sparc.c, - config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h, - config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c, - config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h, - config/tc-v850.c, config/tc-v850.h, config/tc-vax.c, - config/tc-vax.h, config/tc-xc16x.c, config/tc-x16x.h, - config/tc-xstormy16.c, config/tc-xstormy16.h, config/tc-xtensa.c, - config/tc-xtensa.h, config/tc-z80.c, config/tc-z80.h, - config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h, - config/te-freebsd.h, config/te-hppa.h, config/te-irix.h, - config/te-netware.h, config/te-sparcaout.h, config/te-tmips.h, - config/te-vxworks.h, config/vax-inst.h, config/xtensa-istack.h, - config/xtensa-relax.c, config/xtensa-relax.h: Likewise. - - * flonum-mult.c: Likewise, and also correct typo referring to - non-existant GNU Assembler General Public License. - * config/tc-m68851.h: Likewise. - * NEWS: Mention the new license. Also note where the 2.17 release - happened. - * config/e-crisaout.c: Add copyright header. - * config/e-criself.c, config/e-i386aout.c, config/e-i386coff.c, - config/e-i386elf.c, config/e-mipscoff.c, config/e-mipself.c, - config/obj-multi.c, config/te-aix5.h, config/te-armeabi.h, - config/te-armlinuxeabi.h, config/te-dynix.h, config/te-epoc-pe.h, - config/te-generic.h, config/te-gnu.h, config/te-go32.h, - config/te-hppa64.h, config/te-hppalinux64.h, config/te-hpux.h, - config/te-i386aix.h, config/te-ia64aix.h, config/te-interix.h, - config/te-linux.h, config/te-lnews.h, config/te-lynx.h, - config/te-mach.h, config/te-macos.h, config/te-nbsd532.h, - config/te-nbsd.h, config/te-pc532mach.h, config/te-pe.h, - config/te-pep.h, config/te-psos.h, config/te-riscix.h, - config/te-sun3.h, config/te-svr4.h, config/te-symbian.h, - config/te-wince-pe.h: Likewise. - -2007-07-03 Nathan Sidwell - - * config/tc-m68k.c (m68k_ip): Add j & K operand types. - (install_operand): Add E encoding. - (md_begin): Check and skip initial '.' arg character. - (get_num): Add 0..511 case. - -2007-07-03 Alan Modra - - PR 4713 - * config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF. - * config/obj-elf.h (obj_ecoff_set_ext): Comment. - -2007-07-03 Mikkel Lauritsen - - PR 4722 - * app.c (do_scrub_chars ): Check for output buffer full - after memcpy. - -2007-07-02 Joseph Myers - - * config/tc-mips.c (s_dtprelword, s_dtpreldword, - s_dtprel_internal): New. - (mips_pseudo_table): Add .dtprelword and .dtpreldword. - (md_apply_fix): Handle BFD_RELOC_MIPS_TLS_DTPREL32 and - BFD_RELOC_MIPS_TLS_DTPREL64. - -2007-07-02 Alan Modra +2009-09-10 Alan Modra - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * doc/Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. - * po/gas.pot: Regenerate. + * config/tc-d10v.c: Include dwarf2dbg.h. + (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn. + (d10v_frob_label): New function. + * config/tc-d10v.h (d10v_frob_label): Declare. + (tc_frob_label): Define as d10v_frob_label. -2007-07-02 Alan Modra +2009-09-10 Alan Modra - * config/tc-ppc.c (ppc_pe_section): Comment out code assigning - coff section flag values to bfd section flag. + * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label. + * config/tc-frv.c (frv_frob_label): Likewise. -2007-06-30 H.J. Lu +2009-09-09 Alan Modra - * aclocal.m4: Regenerated. - * doc/Makefile.in: Likewise. - * Makefile.in: Likewise. + * config/obj-coff.h (USE_UNIQUE): Don't define. + * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE. + * symbols.c (an_external_name): Define when TE_PE. + (S_SET_EXTERNAL): Assign an_external_name when TE_PE. + * tc.h (an_external_name): Declare when TE_PE. + + * config/tc-i386.c (i386_target_format): Avoid duplicate case label. + +2009-09-08 Kaz Kojima + + * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu. + +2009-09-08 Alan Modra + + * read.c (emit_expr_fix): Handle size 3. + * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn. + * config/tc-d30v.c (write_long, write_1_short, + write_2_short, md_assemble): Likewise. + * config/tc-dlx.c (md_assemble): Likewise. + * config/tc-i860.c (md_assemble): Likewise. + * config/tc-mn10200.c (md_assemble): Likewise. + * config/tc-pj.c (md_assemble): Likewise. + * config/tc-vax.c (md_assemble): Likewise. + +2009-09-07 Tristan Gingold + + * po/gas.pot: Regenerate + * po/POTFILES.in: Regenerate + +2009-09-07 Tristan Gingold + + * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c + (POTFILES): Add $(TARG_ENV_CFILES) in definition. + (EXTRA_as_new_SOURCES): Ditto. + * Makefile: Regenerate. + * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER, + BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4. + * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and + st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and + sys/stat.h headers. + Add te-vms.o in extra_objects if te_file is vms. + * configure: Regenerate. + * config.in: Regenerate. + * config/te-vms.c: New file, from bfd/vmsutil.c + (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name) + (vms_dwarf2_file_name): New functions. + (vms_file_stats_name): Make it static, add a dirname parameter to + locally create the full pathname. + * config/te-vms.h: Add a copyright header. + Declare the above functions. + (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use + the above functions in the definition. + * makefile.vms (OBJS): Add te-vms.obj. + (te-vms.obj): Create a specific target. + * configure.com: Create targ-env.h using a per target value. + Compile te-vms.c for ia64. + +2009-09-05 Jie Zhang + + * doc/as.texinfo: Document that Blackfin GAS does not + accept SYMBOL = VALUE. + +2009-09-05 Martin Thuresson + + * config/tc-arc.c (struct syntax_classes): Rename member class + to s_class. (arc_extinst): Rename variable class to + s_class. Update code to use renamed members. + * config/tc-mips.c (insn_uses_reg): Rename argument class to + regclass. + * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function) + (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label) + (ppc_fix_adjustable, md_apply_fix): Update code to use renamed + members. + * config/tc-ppc.h (struct ppc_tc_sy): Change name of member + from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update + code to use renamed members. + * config/tc-score.c (s3_adjust_paritybit): Rename argument + class to i_class. + * config/tc-score7.c (s7_adjust_paritybit): Rename argument + class to i_class. + +2009-09-04 Tristan Gingold + + * NEWS: Add marker for 2.20. + +2009-09-04 Jie Zhang + + * config/bfin-parse.y (asm_1): Implement HLT instruction. + Fix comments for DBGA, DBGAH and DBGAL. + * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according + to the new encoding of DBGA, DBGAH, and DBGAL. + +2009-09-04 Jie Zhang + + * doc/all.texi: Replace BFIN with Blackfin. + * doc/as.texinfo: Likewise. + * doc/c-bfin.texi: Likewise. + * doc/asconfig.texi: Likewise. + + * doc/c-bfin.texi: Update -mcpu= option with bf512, bf514, + bf516 and bf518. + +2009-09-04 Jie Zhang + + * Makefile.am (bfin-parse.o): Remove bfin-parse.h from + the prerequisite. Add $(srcdir)/config/bfin-aux.h to the + prerequisite. + (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ... + (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these. + (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h + to the prerequisite. + * Makefile.in: Regenerate. -2007-06-29 Joseph Myers +2009-09-03 Ralf Wildenhues - * as.c (main): Only call create_obj_attrs_section if IS_ELF. + * Makefile.am (itbl-lex.o): Depend on itbl-parse.h. + (itbl-ops.o, itbl-tops.o): Likewise. + (itbl-parse.h): Use separate rule. + * Makefile.in: Regenerate. -2007-06-29 Joseph Myers +2009-09-03 Jie Zhang - * as.c (create_obj_attrs_section): New. - (main): Call create_obj_attrs_section for ELF. - * read.c (s_gnu_attribute, skip_whitespace, skip_past_char, - skip_past_comma, s_vendor_attribute): New. - (potable): Add gnu_attribute for ELF. - * read.h (s_vendor_attribute): Declare. - * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper - round s_vendor_attribute. - (aeabi_set_public_attributes): Update for new attributes - interfaces. - (arm_md_end): Remove attributes contents setting now done - generically. + * config/tc-bfin.c (md_parse_option): Call as_fatal for bad + -mcpu= option. -2007-06-29 M R Swami Reddy +2009-09-03 Jie Zhang - * Makefile.am: Add CR16 related entry. - * Makefile.in: Regenerate. - * config/tc-cr16.h: New file - * config/tc-cr16.c: New file - * doc/c-cr16.texi: New file for cr16 - * doc/all.texi: Entry for cr16 - * doc/Makefile.am: Added c-cr16.texi - * doc/Makefile.in: Regenerate - * doc/as.texinfo: Entry for CR16 target - * NEWS: Announce the support for the new target. + * config/bfin-lex.l: Remove V as STATUS_REG. -2007-06-26 Paul Brook +2009-09-03 Jie Zhang - * config/tc-arm.c (parse_operands): Accept generic coprocessor regs - for OP_RVC. - (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1. + * config/bfin-parse.y: Remove trailing whitespace. + (ccstat): Indent. + * config/tc-bfin.c (struct bfin_reg_entry): Remove. + (bfin_reg_info[]): Remove. -2007-06-25 H.J. Lu +2009-09-03 Jie Zhang - * config/tc-i386.c (process_operands): Replace regKludge - with RegKludge. + * config/bfin-defs.h (F_REG_ALL): Remove macro. + (F_REG_HIGH): Redefine. + (F_REG_NONE): New macro. + (F_REG_LOW): New macro. + (REG_CLASS): Enclose macro argument in parentheses when used. + (REG_EVEN): Likewise. + (IS_H): Use flags. + (IS_HCOMPL): Use flags. + * config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags. + (parse_reg): Set flags. + (parse_halfreg): Set flags. -2007-06-25 Richard Sandiford +2009-09-03 Jie Zhang - * config/tc-mips.h (TC_SYMFIELD_TYPE): New. - * config/tc-mips.c (append_insn): Record which symbols have - R_MIPS16_26 relocations against them. - (mips_fix_adjustable): Don't reduce relocations against such symbols. + * config/bfin-parse.y (gen_multi_instr_1): Check anomaly + 05000074 only when both slot1 and slot2 are filled. -2007-06-22 Sterling Augustine +2009-09-03 Jie Zhang - * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules. - (frag_format_size): Handle RELAX_IMMED_STEP3. - (xtensa_relax_frag, md_convert_frag): Likewise. - * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3. - (RELAX_IMMED_MAXSTEPS): Adjust. - * config/xtensa-relax.c (widen_spec_list): Add transitions from - wide branches to branch-over-jumps. - (build_transition): Handle wide branches in transition patterns. - -2007-06-22 H.J. Lu + * config/tc-bfin.c (md_assemble): Bump line counters if there is + EOL in the instruction. - * config/tc-i386.c (disp_size): New. - (imm_size): Likewise. - (output_disp): Use disp_size and imm_size. - (output_imm): Use imm_size. +2009-09-03 Jie Zhang -2007-06-19 Sterling Augustine + * config/bfin-defs.h (IS_GENREG): Define. + (IS_DAGREG): Define. + (IS_SYSREG): Define. + * config/bfin-parse.y (asm_1): Check illegal register move + instructions. - * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about - use of literal_frag field. - * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag - in the literal_frag field. - (xtensa_move_literals): Use it here instead of searching. Update - literal_frag field with new value. +2009-09-03 Jie Zhang -2007-06-14 Paul Brook + * config/bfin-parse.y (asm_1): Fix a typo. - * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and - narrow shift by immediate. +2009-09-03 Jie Zhang -2007-06-14 H.J. Lu + * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END. + * config/tc-bfin.c (bfin_start_line_hook): Remove. + (bfin_loop_beginend): New. + * config/tc-bfin.h (bfin_start_line_hook): Don't declare. + (md_start_line_hook): Don't define. + * config/bfin-aux.h (bfin_loop_beginend): Declare. - * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. +2009-09-03 Tristan Gingold - * acinclude.m4: Don't include m4 files. - (BFD_BINARY_FOPEN): Removed. - Remove libtool kludge. + * config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename. + Call xstrdup on the result and free the buffer after use. - * Makefile.in: Regenerated. - * doc/Makefile.in: Likewise. - * aclocal.m4: Likewise. - * configure: Likewise. +2009-09-03 Tristan Gingold -2007-06-11 Sterling Augustine - Bob Wilson - - * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to... - (XTENSA_PROP_NO_TRANSFORM): ...this. - (frag_flags_struct): Move is_no_transform out of the insn sub-struct. - (xtensa_mark_frags_for_org): New. - (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org. - (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org. - (get_frag_property_flags): Adjust reference to is_no_transform flag. - (xtensa_frag_flags_combinable): Likewise. - (frag_flags_to_number): Likewise. Use XTENSA_PROP_NO_TRANSFORM. - * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG. - -2007-06-06 Paul Brook + * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h. - * config/tc-arm.c (s_align): Pad code sections appropriately. +2009-09-02 Jie Zhang -2007-06-05 Paul Brook + * config/bfin-parse.y (value_match): Use int instead of long. - * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes. + From Michael Frysinger + * config/bfin-defs.h (Expr_Node_Value): Declare the i_value + member as long long. -2007-06-05 Nick Clifton +2009-09-02 Jie Zhang - PR gas/4587 - * config/tc-sparc.c (sparc_ip): Terminate tls_ops array. + From Bernd Schmidt + * config/gas/bfin-parse.y (asm_1): Clean up and unify error handling + for load and store insns. + (neg_value): Delete function. -2007-06-05 Alan Modra +2009-09-01 Ralf Wildenhues - * config/tc-spu.c (spu_cons): Use deferred_expression. Handle - number@ppu. - (tc_gen_reloc): Abort if neither addsy or subsy is set. - (md_apply_fix): Don't attempt to resolve SPU_PPU relocs. - * config/tc-spu.h (md_operand): Handle @ppu without sym. + * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o): + Supply correct source file name for generated files which may be + in $(srcdir). + * Makefile.in: Regenerate. -2007-05-31 Paul Brook +2009-09-01 H.J. Lu + + * version.c (parse_args): Change to "Copyright 2009". + +2009-09-01 Tristan Gingold + + * makefile.vms: Adjust include pathes. Remove useless vaxctrl + library. + * configure.com: Ported to Itanium VMS. Create build.com DCL script. + Make edit silent. + +2009-09-01 Jie Zhang + + * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed + in comparison. + +2009-09-01 Jie Zhang + + 2007-09-28 Bernd Schmidt + * config/tc-bfin.c (bfin_fix_adjustable): Partially revert the + 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable. + + 2007-08-23 Jie Zhang + * config/tc-bfin.c (bfin_fix_adjustable): Adjust + BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and + BFD_RELOC_BFIN_FUNCDESC_GOT17M4. + +2009-09-01 Jie Zhang + + * read.c (TC_START_LABEL): Add a new argument. + (read_a_source_file): Pass the beginning of the symbol through + the new argument of TC_START_LABEL. + * config/tc-arm.h (TC_START_LABEL): Add a new argument. + * config/tc-bfin.c (bfin_start_label): Only search '(' and '[' + from the beginning of the symbol. + * config/tc-bfin.h (TC_START_LABEL): Add the new argument. + * config/tc-d30v.h (TC_START_LABEL): Likewise. + * config/tc-fr30.h (TC_START_LABEL): Likewise. + * config/tc-m32c.h (TC_START_LABEL): Likewise. + * config/tc-m32r.h (TC_START_LABEL): Likewise. + * config/tc-mep.h (TC_START_LABEL): Likewise. + +2009-08-31 H.J. Lu + + PR gas/10570 + * write.c (write_object_file): Revert the accidental change + made in revision 1.124 on 2009-08-17. + +2009-08-31 Jan Beulich + + * config/obj-elf.c (obj_elf_change_section): Set default type + by calling bfd_elf_get_default_section_type. + +2009-08-31 Jie Zhang + + * config/bfin-aux.h: Change format from DOS to UNIX. + +2009-08-29 Martin Thuresson + + * config/tc-arm.c (struct asm_cond, struct asm_psr, struct + asm_barrier_opt): Change member template to + template_name. (md_begin): Update code to reflect new member + names. + * config/tc-i386.c (struct templates, struct _i386_insn) + (match_template, cpu_flags_match, match_reg_size, match_mem_size) + (operand_size_match, md_begin, i386_print_statistics, pi) + (build_vex_prefix, md_assemble, parse_insn, optimize_imm) + (optimize_disp): Updated code to use new names. (parse_insn): + Added casts. + * config/tc-ia64.c (dot_template, emit_one_bundle): Updated + code to use new names. + * config/tc-score.c (struct s3_asm_opcode): Renamed member + template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst, + s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to + use new names. + * config/tc-score7.c (struct s7_asm_opcode): Renamed member + template to template_name. (s7_parse_16_32_inst, + s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to + use new names. + * config/tc-tic30.c (md_begin, struct tic30_insn) + (md_assemble): Update code to use new names. + * config/tc-tic54x.c (struct _tic54x_insn, md_begin) + (optimize_insn, tic54x_parse_insn, next_line_shows_parallel): + Update code to use new names. + * config/tc-arm.c (insert_reg_alias): Rename variable new to + new_reg. + * config/tc-dlx.c (parse_operand): Rename variable new to + new_pos. + * config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable + new to newr. + * config/tc-mcore.c (parse_exp, parse_imm): Rename variable + new to new_pointer. + * config/tc-microblaze.c (parse_exp, parse_imm, check_got): + Change name from new to new_pointer. + * config/tc-or32.c (parse_operand): Rename variable new to + new_pointer. + * config/tc-pdp11.c (md_assemble): Rename variable new to + new_pointer. + * config/tc-pj.c (alias): Change argument new to new_name. + * config/tc-score.c (s3_build_score_ops_hsh): Rename variable + new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable + new to new_i2n. (s3_convert): Rename variables old and new to + r_old and r_new. + * config/tc-score7.c (s7_build_score_ops_hsh): Rename variable + new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable + new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename + variables old and new to r_old and r_new. + * config/tc-sh.c (parse_exp): Rename variable new to + new_pointer. + * config/tc-sh64.c (shmedia_parse_exp): Rename variable new to + new_pointer. + * config/tc-tic4x.c (tic4x_operand_parse): Rename variable new + to new_pointer. + * config/tc-z8k.c (parse_exp): Rename variable new to + new_pointer. + * listing.c (listing_newline): Rename variable new to new_i. + +2009-08-29 Matt Fleming + + * config/tc-sh.c (md_apply_fix): Extend sign of the offset value + for 64-bit host. + +2009-08-28 H.J. Lu + + * config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om". + (i386_align_code): Handle PROCESSOR_L1OM. + (check_cpu_arch_compatible): Fix a typo in comments. + (set_cpu_arch): Check cpu_arch_isa instead of + cpu_arch_isa_flags.bitfield.cpul1om. + (i386_mach): Likewise. + (i386_target_format): Likewise. + + * config/tc-i386.h (processor_type): Add PROCESSOR_L1OM. + +2009-08-26 DJ Delorie + + * config/tc-mep.c (md_pcrel_from_section): Handle any other + forced-relocation cases. + +2009-08-26 Ralf Wildenhues + + * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c. + * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix + syntax error. + * Makefile.in: Regenerate. + * po/POTFILES.in: Likewise. + * po/gas.pot: Likewise. - * config/tc-arm.c (insns): Allow strex on M profile cores. +2009-08-26 Nick Clifton -2007-05-29 David S. Miller - Jakub Jelinek + * config/obj-coff-seh.c (seh_arm_write_pdata): Test for + seh_ctx_root being NULL. - PR gas/4558 - * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks - for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19. +2009-08-24 Ralf Wildenhues -2007-05-29 Alan Modra + * Makefile.am (am__skiplex, am__skipyacc): New. + * Makefile.in: Regenerate. - * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros. +2009-08-22 Ralf Wildenhues -2007-05-29 Alan Modra + * Makefile.am (YFLAGS): Remove, not needed any more. + (AM_CPPFLAGS): Renamed from ... + (INCLUDES): ... this. + * Makefile.in: Regenerate. - * config/tc-ppc.c: Convert to ISO C. - * config/tc-ppc.c: Likewise. + * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11, + foreign and no-dist. + (all): Remove now-unneeded dependency upon info. + (DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES) + (DEP_FILE_DEPS): Remove variables. + (OBJ_FORMAT_CFILES): Add config/obj-multi.c. + (OBJ_FORMAT_HFILES): Add config/obj-multi.h. + ($(OBJS), ecoff.o): Remove now-unneeded manual dependencies. + ($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o) + (obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o) + (e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o) + (e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove + now-unneeded rules. + (EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES), + $(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES), + $(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments + are picked up in the Makefile. + (itbl-lex.c, itbl-ops.o): Remove manual dependencies. + (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o) + (itbl-test.o): Rewrite using automake-style dependency + tracking rules; only list the dependency upon the primary source + file, but no included headers. + (DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am): + Remove. + (mkdep section): Remove. + * Makefile.in: Regenerate. + * gas/po/POTFILES.in, gas/po/gas.pot: Regenerate. -2007-05-29 Alan Modra + * Makefile.am (install-pdf, install-pdf-recursive, install-html) + (install-html-recursive): Remove. + * Makefile.in: Regenerate. + * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) + (html__strip_dir, install-html, install-html-am): Remove. + * doc/Makefile.in: Regenerate. - * write.h (EXEC_MACHINE_TYPE): Delete. - (string_byte_count, section_alignment): Delete. + * Makefile.in: Regenerate. + * aclocal.m4: Likewise. + * config.in: Likewise. + * configure: Likewise. + * doc/Makefile.in: Likewise. -2007-05-28 Nathan Sidwell +2009-08-21 Sterling Augustine - * app.c (do_scrub_chars): Cope with \ at end of buffer. + * config/tc-xtensa.c (config_max_slots): New global variable. + (md_begin): Set config_max_slots. + (total_frag_text_expansion): Use config_max_slots instead of + MAX_SLOTS. + (xg_init_vinsn): Likewise. + (xg_clear_vinsn): Likewise. + (xg_free_vinsn): Likewise. -2007-05-26 Alan Modra +2009-08-20 Sterling Augustine - * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in - top 32 bits of 64 bit value if so doing results in passing - range check. Rewrite sign extension fudges similarly. Enable - fudges for powerpc64 too. Report user value if range check - fails rather than fudged value. Negate PPC_OPERAND_NEGATIVE - range rather than value, also to report user value on failure. + * config/tc-xtensa.c (xg_copy_vinsn): New function. + (finish_vinsn): Call xg_copy_vinsn. -2007-03-25 Paul Brook +2009-08-19 Sterling Augustine - * config/tc-arm.c (T2_SUBS_PC_LR): Define. - (do_t_add_sub): Correctly encode subs pc, lr, #const. - (do_t_mov_cmp): Correctly encode movs pc, lr. + * config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev + to no_transform_end. + * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set + and use no_transform_end. -2007-05-24 Steve Ellcey +2009-08-18 Kai Tietz - * Makefile.in: Regnerate. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * doc/Makefile.in: Regenerate. + * config/obj-coff-seh.c: Add copyright notice. + * config/obj-coff-seh.h: Add copyright notice. + Add x64 specific macros from coff/pe.h header. -2007-05-22 Bob Wilson - - * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements - and index entries about automatic alignment of ENTRY instructions. - -2007-05-22 Nick Clifton +2009-08-18 Sterling Augustine - * doc/as.texinfo: Use @copying around the copyright notice. + * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use + sizeof instead of hard-coded value. + (add_xt_block_frags): Remove unused local variable. + (frag_flags_to_number): Change return type to flagword. Remove + unused local variable. -2007-05-18 Joseph Myers +2009-08-17 Sterling Augustine - * config/tc-mips.c (s_mipsset): Use generic s_set for directives - containing a comma. + * config/tc-xtensa.c (xtensa_frob_label): move call to + do_align_targets to set frag_type only. -2007-05-17 H.J. Lu +2009-08-17 Kai Tietz - PR gas/4517 - 2003-06-05 Michal Ludvig - * doc/as.texinfo: Document new directives: .cfi_restore, - .cfi_undefined, .cfi_same_value, .cfi_return_column, - .cfi_remember_state and .cfi_restore_state. + * config/obj-coff-seh.c: New file. + * config/obj-coff-seh.h: Likewise. + * config/obj-coff.c (obj-coff-seh.c): Add include. + (coff_pseudo_table): Add new .seh... commands. + * config/obj-coff.h (obj_coff_seh_do_final): Add new + function prototype. + (obj_coff_generate_pdata): New obj-coff hook. + * gas/write.c (size_seg): Avoid sizing of already sized + sections. + (write_object_file): Call conditional hook + objc_coff_generate_pdata. + * Makefile.am: Add dependencies for new files. + * Makefile.in: Regenerated. -2007-05-17 Nathan Sidwell +2009-08-17 Nick Clifton - * config/tc-m68k.c (md_apply_fix): Show value of out of range - fixups in error message. - (md_conver_frag_1): Propagate the fix source location and use - as_bad_where rather than fatal, for better error messages. + * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h. + (parse_reg): Use safe-ctype.h macros. + (parse_exp): Likewise. + (md_assemble): Likewise. -2007-05-16 Paul Brook +2009-08-11 DJ Delorie + + * config/tc-mep.c (md_estimate_size_before_relax): Handle weak + symbols correctly. + (md_convert_frag): Likewise. + (md_pcrel_from_section): Likewise. + (mep_force_relocation): Likewise. + +2009-08-11 Bernd Schmidt + + * config/bfin-parse.y (gen_multi_instr_1): New function. + (asm): Use it instead of bfin_gen_multi_instr. + (error): Add a format string when calling as_bad. + * config/bfin-defs.h (insn_regmask): Declare. + * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New + macros. + (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0, + decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0, + decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0, + decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0, + insn_regmask): New functions. + + From Jie Zhang + * config/tc-bfin.h (bfin_anomaly_checks): Declare. + (AC_05000074): Define. + (ENABLE_AC_05000074): Define. + * config/tc-bfin.c (enum bfin_cpu_type): New. + (bfin_cpu_t): Typedef. + (bfin_cpu_type): Define. + (bfin_si_revision): Define. + (bfin_anomaly_checks): Define. + (struct bfin_cpu): New. + (bfin_cpus[]): New. (struct bfin_cpu_isa): Define. + (bfin_isa): New global variable. + (OPTION_MCPU): Define. + (md_longopts[]): Add -mcpu option. + (md_parse_option): Deal with -mcpu option and initialize + bfin_anomaly_checks. + * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document + -mcpu option. + * config/bfin-parse.y (gen_multi_instr_1): Check anomaly + 05000074. + +2009-08-11 Mike Frysinger + + * config/bfin-parse.y (binary): Change "compiler" to "assembler". + (unary): Likewise. + +2009-08-11 Nick Clifton + + PR 10443 + * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted + operands. - * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr. +2009-08-10 Jan Kratochvil -2007-05-15 Mark Shinwell + Fix compilation of i386-*-go32. + * config/tc-i386.c (i386_target_format ): New. + (i386_target_format ): Compile only if !TE_GO32. + * config/te-go32.h (TARGET_FORMAT): Move the definition ... + * config/tc-i386.h : ... here. - * app.c (do_scrub_chars): Don't damage \@ pseudo-variables. +2009-08-10 Daniel Gutson -2007-05-15 Vincent Riviere + PR gas/10479 + * config/tc-arm.c (do_t_add_sub_w): Fixed constraints. - PR gas/3041 - * config/tc-m68k.c (relaxable_symbol): Make sure that the correct - addend is stored for relocs against weak symbols. - (md_apply_fix): So not loose track of addend for relocs against - weak symbols. +2009-08-07 Daniel Jacobowitz -2007-05-14 Thiemo Seufer + * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global + variables. + (mapping_state): Use the section's mapstate. + (mapping_state_2): Likewise. Skip special sections. + (s_arm_unwind_fnend): Use the section's marked_pr_dependency. + (arm_elf_change_section): Do not set deleted globals. + * config/tc-arm.h (struct arm_segment_info_type): Document + marked_pr_dependency. - * config/tc-mips.c (md_parse_option): Fix parsing of -O option. +2009-08-07 Michael Eager -2007-05-14 Mei Ligang + * NEWS: Mention MicroBlaze support. - * config/tc-score.c (data_op2, validate_immediate): Fix bug for - addri, addri.c, subi, and subi.c when immediate number is hex. - (score_insns): Remove subis and subis.c. - (do_sub_rdi16): Delete. - -2007-05-11 Alan Modra +2009-08-06 Michael Eager - * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call - spu_cons for word. - (md_assemble): Tidy use of insn.flag. - (get_imm): Likewise. Handle uppercase input too. - (spu_cons): New function. - * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs. - (TC_FORCE_RELOCATION): Don't resolve them either. + * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to + TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add + DEP_microblaze_elf target. + * Makefile.in: Regenerate. + * config/tc-microblaze.c: Add MicroBlaze assembler. + * config/tc-microblaze.h: Add header for tc-microblaze.c. + * configure.in: Add microblaze target. + * configure: Regenerate. + * configure.tgt: Same. + * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS. + * doc/Makefile.in: Same. + * doc/all.texi: Set MICROBLAZE. + * doc/as.texinfo: Add MicroBlaze doc links. + * doc/c-microblaze.texi: New MicroBlaze docs. -2007-05-05 Mark Shinwell - - * config/tc-arm.c (md_apply_fix): Generate more accurate - diagnostic when 8-bit immediate range is exceeded for - BFD_RELOC_ARM_OFFSET_IMM8. +2009-08-06 Nick Clifton -2007-05-04 Alan Modra + * config/tc-arm.c (md_assemble): Call mapping_state from inside a + block in case it is a null macro. - PR gas/4460 - * config/tc-i386.c (lex_got): Don't replace the reloc token with - a space if we already have a space. +2009-08-05 Chao-ying Fu -2007-05-03 H.J. Lu + * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is + true for new abi. For non-IRIX targets, it is always true. + (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR. - * config/tc-i386.c (match_template): Don't explicitly check - suffix for crc32 in Intel mode. - (process_suffix): Issue an error for crc32 if the operand size - is ambiguous. +2009-08-05 Eric B. Weddington -2007-05-03 Vincent Riviere - Nick Clifton + * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a, + attiny861a, atmega644pa, attiny24a, attiny44a. + * doc/c-avr.texi: Likewise. - PR gas/3041 - * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols. - (tc_gen_reloc): Adjust the addend of relocs against weak symbols. - (md_apply_fix): Put zero values into the frags referencing weak - symbols. +2009-08-04 Sandra Loosemore -2007-05-02 Alan Modra + * doc/c-mips.texi (MIPS Opts): List 1004K options for -march. + * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores. - PR 4448 - * config/tc-ppc.c (ppc_insert_operand): Don't increase min for - PPC_OPERAND_PLUS1. +2009-08-04 Nathan Sidwell -2007-05-01 H.J. Lu + * config/tc-arm.c (my_get_expression): Detect missing expressions. - * config/tc-i386.c (match_template): Check suffix for crc32 in - Intel mdoe. - (process_suffix): Default the suffix of 8bit crc32 to - BYTE_MNEM_SUFFIX. - (check_byte_reg): Skip check for 8bit crc32. +2009-08-02 Eric B. Weddington -2007-04-30 H.J. Lu + * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1. + * doc/c-avr.texi: Likewise. - * config/tc-i386.c (md_assemble): Use register_prefix in - error/warning message. - (check_byte_reg): Likewise. - (check_long_reg): Likewise. - (check_qword_reg): Likewise. - (check_word_reg): Likewise. - (process_operands): Likewise. +2009-08-01 Eric B. Weddington -2007-04-30 Alan Modra + * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2. + * doc/c-avr.texi: Likewise. - PR 4436 - * config/tc-ppc.c (ppc_insert_operand): Disable range check if - min > max. +2009-07-31 Daniel Gutson + Daniel Jacobowitz -2007-04-28 Thiemo Seufer + * config/obj-elf.c (obj_elf_ident): Notify section change to the hook. + * config/tc-arm.c (make_mapping_symbol): New function, from + mapping_state. Save mapping symbols in the frag. + (insert_data_mapping_symbol): New. + (mapping_state): Use make_mapping_symbol, improve state transitions. + (mapping_state_2): New. Provide dummy definition. + (opcode_select): Do not call mapping_state. + (s_bss): Call md_elf_section_change_hook instead of mapping_state. + (output_inst): Update use of tc_frag_data. + (new_automatic_it_block): Call mapping_state before emitting the + IT instruction. + (md_assemble): Move mapping_state to just before outputting the + new instruction. + (arm_handle_align): Update use of tc_frag_data. + Call insert_data_mapping_symbol. + (arm_init_frag): Update use of tc_frag_data. Call + mapping_state_2. + (arm_elf_change_section): Always update the mapping symbol FSM state. + (check_mapping_symbols): New function. + (arm_adjust_symtab): Use check_mapping_symbols. + * config/tc-arm.h (struct arm_frag_type): New. + (TC_FRAG_TYPE): Change to struct arm_frag_type. + (TC_FRAG_INIT): Pass max_chars. + (arm_init_frag): Update prototype. - * config/tc-mips.c: Fix comment. +2009-07-31 Anthony Green -2007-04-26 Anatoly Sokolov + * configure.tgt (generic_target): Add moxie-uclinux support. - * config/tc-avr.c (mcu_types): Add support for atmega8hva and - atmega16hva devices. Move at90usb82 device to 'avr5' architecture. - * doc/c-avr.texi: Document new devices. +2009-07-30 Nick Clifton -2007-04-24 Alan Modra + * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the + different syntaxes support by the ARM port. + (ARM Directives): Add entry for .syntax. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. + * doc/c-mips.texi (MIPS insn): Fix typo. -2007-04-23 Nathan Sidwell +2009-07-29 Alan Modra - * config/tc-m68k.c (mcf54455_ctrl): New. - (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New. - (m68k_archs): Add isac. - (m68k_cpus): Add 54455 family. - (m68k_ip): Split Bg into Bb, Bs, Bg. - (m68k_elf_final_processing): Add ISA_C. - * doc/c-m68k.texi (M680x0 Options): Add isac. + PR ld/10269 + * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION. + * config/tc-i386.c: Revert 2009-06-13 change. + * config/tc-i386.h: Likewise. -2007-04-22 Alan Modra +2009-07-28 Jan Beulich - * read.c (read_a_source_file): Skip multiple spaces to - cover hack in mmix md_start_line_hook which overwrites a - colon with a space. Delete sermon and needless assertion. + * expr.c (op_rank): Specify size. Remove O_md* initializers. -2007-04-21 Alan Modra +2009-07-27 Maxim Kuvyrkov - * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned. - (md_atof): Make number_of_chars unsigned. Revert last change. - * config/tc-or32.c (md_apply_fix): Delete bogus assertions. - * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF. - * config/tc-sh.h (md_optimize_expr): Likewise. - * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus - assertion. - * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise. + * config/tc-m68k.c (mcf5221x_ctrl): New. + (m68k_cpu): Add line for MCF5221x. -2007-04-21 Nick Clifton +2009-07-27 Maxim Kuvyrkov - * config/atof-vax.c (md_atof): Fix comparison inside know(). + * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01]. + (mcf53017_ctrl): Fix RAMBAR. - * config/tc-ia64.c (emit_one_bundle): Fix typo. +2009-07-27 Jan Beulich -2007-04-21 Alan Modra + * obj-elf.c (elf_file_symbol): Replace symbol name set up by + symbol_new() with the passed in, unmodified one. - * expr.c (expr): Assert on rankarg, not rank which can be unsigned. - * read.c (read_a_source_file): Remove buffer_limit[-1] assertion. - Don't skip over NUL char. - (pseudo_set): Set X_op for registers to O_register. - * symbols.c (symbol_clone): Remove assertion that sym is defined. - (resolve_symbol_value): Resolve O_register symbols. - * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab. - Instead find st(0) by hash lookup. - * config/tc-ppc.c (ppc_macro): Warning fix. +2009-07-27 M R Swami Reddy - * as.h (ENABLE_CHECKING): Default define to 0. - (know): Assert if ENABLE_CHECKING. - (struct relax_type): Remove superfluous declaration. - * configure.in (--enable-checking): New. - * configure: Regenerate. - * config.in: Regenerate. - * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING. - Check for duplicate powerpc_operands entries. + * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to + object file without symbol values. + (tc_gen_reloc): For local symbols resolved or its absolute symbol, + then set the relocation type as NULL. -2007-04-20 Nathan Sidwell +2009-07-25 H.J. Lu - * config/tc-m68k.c (mcf5253_ctrl): New. - (mcf52223_ctrl): New. - (m68k_cpus): Add 5253, 52221, 52223. + * config/tc-i386.c (cpu_arch): Add l1om. + (check_cpu_arch_compatible): New. + (set_cpu_arch): Use it. + (i386_arch): New. + (i386_mach): Return bfd_mach_l1om for Intel L1OM. + (md_show_usage): Display l1om. + (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if + cpu_arch_isa_flags.bitfield.cpul1om is set. - * config/m68k-parse.h (RAMBAR_ALT): New. - * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New. - (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl, - mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl, - mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl, - mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for - RAMBAR1. - (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT. - (m68k_cpus): Adjust 5206, 5206e & 5307 entries. - (m68k_ip) : Detect when RAMBAR_ALT should be used. Add it - to control register mapping. + * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()). + (i386_arch): New. + (ELF_TARGET_L1OM_FORMAT): Likewise. -2007-04-20 Alan Modra + * doc/c-i386.texi: Document l1om. - * messages.c (as_internal_value_out_of_range): Fix typo in - error message. Return after printing domain error. - * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits - in max when shifting right. +2009-07-24 Roland McGrath + Mark Wielaard -2007-04-20 Alan Modra + * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS + flags on .comment section. - * messages.c (as_internal_value_out_of_range): Extend to report - errors for values with invalid low bits set. - * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm - fields. Check that operands and opcode fields are disjoint. - (ppc_insert_operand): Check operands using mask rather than bit - count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust - insertion code. - (md_apply_fix): Adjust for struct powerpc_operand change. +2009-07-24 Trevor Smigiel + Alan Modra -2007-04-19 Paul Brook + * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC. + * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC. + (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC. + +2009-07-24 Jan Beulich + + * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx, + .nosse, and .noavx. + (cpu_flags_and_not): New. + (set_cpu_arch): Check whether sub-architecture specified is a + feature disable. + (md_parse_option): Likewise. + (parse_real_register): Don't return floating point register + when x87 functionality is disabled. + (md_show_usage): Add new sub-options. + * doc/c-i386.texi: Update with new command line sub-options. + +2009-07-24 Nick Clifton + + PR 10437 + * config/tc-alpha.c: Fix up uses of gas printf like functions so + that the format string is a constant string. Add translation + support to message strings. + * config/tc-arc.c: Likewise. + * config/tc-arm.c: Likewise. + * config/tc-cris.c: Likewise. + * config/tc-fr30.c: Likewise. + * config/tc-frv.c: Likewise. + * config/tc-h8300.c: Likewise. + * config/tc-hppa.c: Likewise. + * config/tc-i370.c: Likewise. + * config/tc-i960.c: Likewise. + * config/tc-ia64.c: Likewise. + * config/tc-m32r.c: Likewise. + * config/tc-mep.c: Likewise. + * config/tc-mips.c: Likewise. + * config/tc-moxie.c: Likewise. + * config/tc-msp430.c: Likewise. + * config/tc-openrisc.c: Likewise. + * config/tc-pdp11.c: Likewise. + * config/tc-pj.c: Likewise. + * config/tc-s390.c: Likewise. + * config/tc-sh.c: Likewise. + * config/tc-sh64.c: Likewise. + * config/tc-sparc.c: Likewise. + * config/tc-spu.c: Likewise. + * config/tc-tic30.c: Likewise. + * config/tc-tic4x.c: Likewise. + * config/tc-tic54x.c: Likewise. + * config/tc-v850.c: Likewise. + * config/tc-xc16x.c: Likewise. + * config/tc-xstormy16.c: Likewise. + * config/tc-z80.c: Likewise. + * config/tc-z8k.c: Likewise. + * config/atof-ieee.c: Add translation support to as_warn + messages. + * config/obj-coff.c: Likewise. + +2009-07-23 Ulrich Drepper + + * config/obj-elf.c (obj_elf_type): Add code to support a type of + gnu_unique_object. + * doc/as.texinfo: Document new feature of .type directive. + * NEWS: Mention support for gnu_unique_object symbol type. + +2009-07-23 Nick Clifton + + PR binutils/10379 + * doc/c-mips.texi (MIPS insn): Document the special behaviour of + the .global directive for MIPS ports. + +2009-07-21 H.J. Lu + + PR gas/10420 + * config/tc-i386.c (i386_align_code): Tune for 32bit nops in + 64bit. + (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm + for 64bit. + +2009-07-17 H.J. Lu + + * config/tc-i386.c (md_assemble): Update operand types. + (update_imm): Updated. + (finalize_imm): Update the first 2 immediate operands only + for instructions with 2 operands or more. + +2009-07-17 H.J. Lu + + * config/tc-i386.c (md_assemble): Check implicit registers + only for instructions with 3 operands or less. + +2009-07-17 Nick Clifton + + * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid + compile time warning. + +2009-07-16 H.J. Lu + + * config/tc-i386.c (md_assemble): Only check i.operands for AX. + (md_estimate_size_before_relax): Don't relax IFUNC symbols. + +2009-07-16 Nathan Sidwell + + * config/tc-arm.c (md_apply_fix ): Write + the offset for REL targets here. + +2009-07-15 Kai Tietz + + * listing.c (print_source): Initialize cache by NULL. + +2009-07-15 Daniel Gutson + + * doc/c-arm.texi (mauto-it): Removed old option. + (mimplicit-it): Added right option. - * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on - Thumb-1. Add sanity check for bogus relaxations. +2009-07-14 Daniel Gutson -2007-04-19 Paul Brook + * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define. + (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of + MAX_MEM_ALIGNMENT_BYTES. + * config/tc-arm.c (arm_frag_align_code): Replace hard coded + constant with MAX_MEM_FOR_RS_ALIGN_CODE. - * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1. +2009-07-14 Nick Clifton -2007-04-19 Alan Modra + PR 10387 + * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer. + (ARM_IS_FUNC): Likewise. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. +2009-07-14 Daniel Gutson -2007-04-19 Nathan Froyd + * config/tc-arm.c (md_assemble): Added validation. - * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe. +2009-07-10 H.J. Lu -2007-04-18 H.J. Lu + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerated. - * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4. +2009-07-10 Tom Tromey + + * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not + elf/dwarf2.h. + (DEPTC_alpha_elf): Likewise. + (DEPTC_alpha_evax): Likewise. + (DEPTC_arm_elf): Likewise. + (DEPTC_hppa_elf): Likewise. + (DEPTC_i386_aout): Likewise. + (DEPTC_i386_coff): Likewise. + (DEPTC_i386_elf): Likewise. + (DEPTC_m68k_aout): Likewise. + (DEPTC_m68k_coff): Likewise. + (DEPTC_m68k_elf): Likewise. + (DEPTC_mips_coff): Likewise. + (DEPTC_mips_ecoff): Likewise. + (DEPTC_mips_elf): Likewise. + (DEPTC_ppc_coff): Likewise. + (DEPTC_ppc_elf): Likewise. + (DEPTC_s390_elf): Likewise. + (DEPTC_sh_coff): Likewise. + (DEPTC_sh_elf): Likewise. + (DEPTC_sh64_elf): Likewise. + (DEPTC_sparc_aout): Likewise. + (DEPTC_sparc_coff): Likewise. + (DEPTC_sparc_elf): Likewise. + (as.o): Likewise. + (dwarf2dbg.o): Likewise. + (dw2gencfi.o): Likewise. + (ehopt.o): Likewise. + (read.o): Likewise. + * Makefile.in: Rebuild. + * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h. + * dwarf2dbg.c: Likewise. + * ehopt.c: Likewise. + +2009-07-09 Daniel Gutson + + * config/tc-arm.c (it_fsm_post_encode): New forward declaration. + (set_it_insn_type_nonvoid): New macro. + (emit_thumb32_expr): New function. + (thumb_insn_size): New function. + (emit_insn): New function. + (s_arm_elf_inst): New function. + (md_pseudo_table): New pseudo-opcode entries added. + * doc/c-arm.texi: New directive added. + +2009-07-07 DJ Delorie + + * config/tc-mep.c (md_begin): Don't reset the coprocessor options + when enabling other options without a specific configuration. + +2009-07-07 Chung-Lin Tang + + * config/tc-arm.c (insns): Fix encoding for torvsc. + +2009-07-06 Dwarakanath Rajagopal + + * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS. + (build_modrm_byte): Add support to handle FMA4 instructions. + (md_show_usage): Add fma4. + +2009-07-04 Alan Modra + + * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections. + +2009-07-02 Tristan Gingold + + * Makefile.am (OBJ_FORMATS): Add macho. + (CPU_OBJ_VALID): Ditto. + (OBJ_FORMAT_CFILES): Add config/obj-macho.c + (OBJ_FORMAT_HFILES): Add config/obj-macho.h + (obj-macho.o): New rule. + * Makefile.in: Regenerated. + * configure.tgt (generic_target): Add i386-*-darwin*. + * config/tc-i386.h: Use i386_target_format for Mach-O. + * config/tc-i386.c (i386_target_format): Define it for Mach-O. + (i386_target_format): Add a case for bfd_target_mach_o_flavour. + * config/obj-macho.h: New file. + * config/obj-macho.c: New file. + +2009-07-01 Nick Clifton + + PR 10168 + * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as + PKHBT. + +2009-07-01 Paul Brook + + * config/tc-arm.c (MISSING_FNSTART): Define. + (s_arm_unwind_fnstart): Diagnose duplicate directive. + (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend, + s_arm_unwind_cantunwind, s_arm_unwind_personalityindex, + s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp, + s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if + not inside function unwinding region. + +2009-06-29 H.J. Lu + + * config/tc-i386.c: Reformat. + +2009-06-23 DJ Delorie + + * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate + 32 bits for relaxable branches so that we can relax them later. + (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed. + (mep_relax_frag): New. + (md_convert_frag): Relax IVC2 branches in-place. + * config/tc-mep.h ((mep_relax_frag): New. + +2009-06-22 Martin Thuresson + + * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c, + gas/config/atof-ieee.c, gas/config/obj-aout.c, + gas/config/obj-coff.c, gas/config/obj-ecoff.c, + gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c, + gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c, + gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c, + gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c, + gas/config/tc-i386-intel.c, gas/config/tc-i386.c, + gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c, + gas/config/tc-iq2000.c, gas/config/tc-m32c.c, + gas/config/tc-m32r.c, gas/config/tc-m68hc11.c, + gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c, + gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c, + gas/config/tc-mn10300.c, gas/config/tc-moxie.c, + gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c, + gas/config/tc-s390.c, gas/config/tc-score.c, + gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c, + gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c, + gas/config/tc-xtensa.c, gas/config/xtensa-relax.c, + gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c, + gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c, + gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the + gas macro `assert' to `gas_assert'. + +2009-06-22 Daniel Gutson + + * config/tc-arm.c (implicit_it_mode): New enum. + (implicit_it_mode): New global. + (it_instruction_type): New enum. + (arm_parse_it_mode): New function. + (arm_long_opts): New option added. + (arm_it): New field. + (it_state): New enum. + (now_it): New macro. + (check_it_blocks_finished): New function. + (insns[]): Use the IT Thumb opcodes for ARM too. + (arm_cleanup): Call check_it_blocks_finished. + (now_it_compatible): New function. + (conditional_insn): New function. + (set_it_insn_type): New macro. + (set_it_insn_type_last): New macro. + (do_it): Call automatic IT machinery functions. + (do_t_add_sub): Likewise + (do_t_arit3): Likewise. + (do_t_arit3c): Likewise. + (do_t_blx): Likewise. + (do_t_branch): Likewise. + (do_t_bkpt): Likewise. + (do_t_branch23): Likewise. + (do_t_bx): Likewise. + (do_t_bxj): Likewise. + (do_t_cps): Likewise. + (do_t_cpsi): Likewise. + (do_t_cbz): Likewise. + (do_t_it): Likewise. + (encode_thumb2_ldmstm): Likewise. + (do_t_ldst): Likewise. + (do_t_mov_cmp): Likewise. + (do_t_mvn_tst): Likewise. + (do_t_mul): Likewise. + (do_t_neg): Likewise. + (do_t_setend): Likewise. + (do_t_shift): Likewise. + (do_t_tb): Likewise. + (output_it_inst): New function. + (new_automatic_it_block): New function. + (close_automatic_it_block): New function. + (now_it_add_mask): New function. + (it_fsm_pre_encode): New function. + (handle_it_state): New function. + (it_fsm_post_encode): New function. + (force_automatic_it_block_close): New function. + (in_it_block): New function. + (md_assemble): Call automatic IT block machinery functions. + (arm_frob_label): Likewise. + (arm_opts): New element. + * config/tc-arm.h (it_state): New enum. + (current_it): New struct. + (arm_segment_info_type): New member added. + * doc/c-arm.texi: New option -mimplicit-it documented. + +2009-06-20 Alan Modra + + PR 10302 + * doc/as.texinfo (Section ): Clarify tail merge. + +2009-06-19 Martin Schwidefsky + + * config/tc-s390.c (md_gather_operands): Accept an instruction + without operands if all operands are tagged as optional. + +2009-06-18 Nick Clifton + + PR 10169 + * gas/tc-arm.c (do_t_ssat): Move common code from here... + (do_t_usat): ... and here to... + (do_t_ssat_usat): New function: ... here. Add code to check that + the shift value, if present, is in range. + +2009-06-18 Dave Korn + + Merge cegcc and mingw32ce target name changes + from CeGCC project: + + 2007-12-25 Pedro Alves + + * configure.tgt: Add arm*-*-cegcc* target. + + 2007-12-17 Pedro Alves + + * configure.tgt: Add arm-*-mingw32ce* target. + +2009-06-16 Maciej W. Rozycki + + * config/tc-vax.c (md_estimate_size_before_relax): Accept + indirect symbol references in the PIC mode and emit a + PC-relative relocation instead of a GOT/PLT one. Likewise + for symbols known to be hidden at this point. + +2009-06-15 Nick Clifton + + PR 10186 + * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W + instruction. + +2009-06-13 H.J. Lu + + PR ld/10269 + * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION + instead of generic_force_reloc. + + * config/tc-i386.h (TC_FORCE_RELOCATION): New. + +2009-06-11 Anthony Green + + * config/tc-moxie.c (md_chars_to_number): Define. + (md_begin): Populate opcode hashtable with more form 3 opcodes. + (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions. + (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations. + (tc_gen_reloc): Ditto. + (md_pcrel_from): Ditto. + (md_chars_to_number): New function. + +2009-06-10 Anthony Green + + * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded + opcodes. + +2009-06-09 Jakub Jelinek -2007-04-18 H.J. Lu + PR gas/10255 + * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa + to DW_CFA_advance_loc4. - * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4. - (match_template): Handle operand size for crc32 in SSE4.2. - (process_suffix): Handle operand type for crc32 in SSE4.2. - (output_insn): Support SSE4.2. +2009-06-08 Dave Korn -2007-04-18 H.J. Lu + PR gas/977 + * config/tc-i386.c (md_estimate_size_before_relax): Don't relax + branches to weak symbols. + (md_apply_fix): Don't convert fixes against weak symbols to + section-relative offsets, but save addend for later reloc emission. + (tc_gen_reloc): When emitting reloc against weak symbol, adjust + addend to pre-compensate for bfd_install_relocation. - * config/tc-i386.c (cpu_arch): Add .sse4.1. - (process_operands): Adjust implicit operand for blendvpd, - blendvps and pblendvb in SSE4.1. - (output_insn): Support SSE4.1. +2009-06-04 Alan Modra -2007-04-18 Paul Brook + * dep-in.sed: Don't use \n in replacement part of s command. + * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq. + * Makefile.in: Regenerate. - * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible. +2009-06-01 H.J. Lu -2007-04-16 Kaz Kojima + PR gas/10198 + * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'. - * config/tc-sh.c (sh_handle_align): Call as_bad_where instead - of as_warn_where for misaligned data. +2009-05-26 Catherine Moore -2007-04-15 Kaz Kojima + * config/tc-mips.c (check_for_24k_errata): Remove. + (md_mips_end): Remove call to check_for_24k_errata. + (start_noreorder): Likewise. + (s_change_sec): Likewise. + (s_change_section): Likewise. + (insns_between): Add 24k errata checks. + (append_insn): Remove declaration and references to nhdx_24k. + Remove calls to check_for_24k_errata. - * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle - rs_fill frags. +2009-05-26 Nick Clifton -2007-04-14 Steve Ellcey + * po/id.po: Updated Indonesian translation. + * po/gas.pot: Updated template file. - * Makefile.am: Add ACLOCAL_AMFLAGS. - * Makefile.in: Regenerate. +2009-05-26 Nick Clifton -2007-04-14 Kaz Kojima + PR 10143 + * config/bfin-parse.y (error): Use "%s" as format string for error + message. - * config/tc-sh.c (align_test_frag_offset_fixed_p): New. - (sh_optimize_expr): Likewise. - * config/tc-sh.h (md_optimize_expr): Define. - (sh_optimize_expr): Prototype. +2009-05-26 Alan Modra -2007-04-06 Matt Thomas + * dep-in.sed: Output one filename per line with all lines having + continuation backslash. Prefix first line with "A", following + lines with "B". + * Makefile.am (DEP): Don't use dep.sed here. + (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, + sort and uniq. + (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq. + Emit multi dependencies on one line. + * Makefile.in: Regenerate. - * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp) - to emit pcrel relocations by DWARF2 in non-code sections. Borrowed - heavily from tc-sparc.c. (vax_cons_fix_new): Likewise. +2009-05-25 Tristan Gingold -2007-04-04 Kazu Hirata + * makefile.vms: New file to compile gas on VMS. - * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a. + * configure.com: New file to do configuration on VMS with DCL. -2007-04-04 Paul Brook +2009-05-23 Richard Sandiford - * config/tc-arm.c (do_neon_ext): Enforce immediate range. - (insns): Use I15 for vext. + * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p. + (nops_for_insn): Likewise. -2007-04-04 Paul Brook +2009-05-22 H.J. Lu - * configure.tgt: Loosen checks for arm uclinux eabi targets. + * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION. -2007-04-02 Sterling Augustine +2009-05-22 Dwarakanath Rajagopal - * config/tc-xtensa.c (xtensa_flush_pending_output): Check - outputting_stabs_line_debug. + * config/tc-i386.c (process_drex): Delete. Remove SSE5 support. + (build_modrm_byte): Remove DREX handling support. + (DREX_*): Delete. + (drex_byte): Delete. + (md_assemble): Remove DREX handling support. + (process_operands): Remove DREX, SSE5 support. + (i386_insn): Remove DREX. -2007-03-26 Anatoly Sokolov +2009-05-22 Alan Modra - * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82, - at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p - devices. - * doc/c-avr.texi: Document new devices. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. -2007-04-02 Richard Sandiford +2009-05-20 Kai Tietz + H.J. Lu - * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options. - * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document. - * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic. + * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff. + (TARGET_FORMAT): Removed for x86 pe-coff. + (COFF_TARGET_FORMAT): Likewise. -2007-03-30 Sterling Augustine - Bob Wilson + * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff. + (md_parse_option): Likewise. + (md_show_usage): Show option --32/--64 for x86 pe-coff. + (i386_target_format): Use also for x86 pe-coff. - * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument. - Do not check is_loop_target flag. - (xtensa_frob_label): Adjust calls to xtensa_move_labels. - (xg_assemble_vliw_tokens): Likewise. Also avoid calling - xtensa_move_labels for alignment of loop opcodes. - -2007-03-30 H.J. Lu + * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format + for x86 pe-coff. - * config/tc-i386.c (process_suffix): Reindent a bit. +2009-05-19 DJ Delorie -2007-03-30 Paul Brook + * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags. + (mep_process_saved_insns): Remove debugging printfs. - * config/tc-arm.c (encode_thumb2_ldmstm): New function. - (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm. - (do_t_push_pop): Use encode_thumb2_ldmstm. +2009-05-19 Dave Korn -2007-03-29 DJ Delorie + * NEWS: Mention new feature. + * config/obj-coff.c (obj_coff_common_parse): New function. + (obj_coff_comm): Likewise. + (coff_pseudo_table): Override default ".comm" definition on PE. + * doc/as.texinfo: Document new feature. - * config/tc-m32c.c (rl_for, relaxable): Protect argument. - (md_relax_table): Add entries for ADJNZ macros. - (M32C_Macros): Add ADJNZ macros. - (subtype_mappings): Add entries for ADJNZ macros. - (insn_to_subtype): Check for adjnz and sbjnz insns. - (md_estimate_size_before_relax): Pass insn to insn_to_subtype. - (md_convert_frag): Convert adjnz and sbjnz. +2009-05-17 Kai Tietz -2007-03-29 Nick Clifton + * config/obj-coff.c (obj_coff_section): Add 'y' as + specifier for SEC_COFF_NOREAD section flag. + * doc/as.texinfo: Add documentation about .section flag 'y'. - * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long - initialization. - * itbl-ops.h (enum e_processor): Initialise the e_nprocs field - using ITBL_NUMBER_OF_PROCESSORS. - * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS. +2009-05-13 DJ Delorie -2007-03-28 H.J. Lu + * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers. - * config/tc-i386.c (build_modrm_byte): For instructions with 2 - register operands, encode destination in i.rm.regmem if its - RegMem bit is set. +2009-05-13 Andrew Jenner -2007-03-28 Richard Sandiford - Phil Edwards + * config/tc-arm.c: Move as.h to start of file. - * doc/as.texinfo: Put the contents after the title page rather - than at the end of the document. +2009-05-05 Ramana Radhakrishnan -2007-03-27 Alan Modra + * config/tc-arm.h: Fix typo in comment. + (ARM_IS_FUNC): New macro. + (MD_APPLY_SYM_VALUE): Define. - * NEWS: Mention ".reloc". + * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for + all versions of EABI. + (relax_branch): Do not relax for branches to ARM functions. + (md_pcrel_from_section): Set up base correctly for + BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL, + BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX + BFD_RELOC_ARM_PCREL_CALL. + (md_apply_fix): Flip bl to blx where possible. + Flip blx to bl where possible. + (arm_force_relocation): Force relocations for + BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP, + BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX, + BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23, + BFD_RELOC_THUMB_PCREL_BRANCH25. + (arm_apply_sym_value): New function. -2007-03-26 Sterling Augustine - - * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms - in FLIX instructions. - -2007-03-26 Julian Brown +2009-05-04 Tristan Gingold - * config/tc-arm.c (arm_it): Add immisfloat field. - (parse_qfloat_immediate): Disallow integer syntax for floating-point - immediates. Fix hex immediates, handle 0.0 and -0.0 specially. - (parse_neon_mov): Set immisfloat bit for operand if it parsed as a - float. - (neon_cmode_for_move_imm): Reject non-float immediates for float - operands. - (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm. + * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX. -2007-03-26 Julian Brown +2009-05-01 Nathan Sidwell - * doc/c-arm.texi: Add documentation for .dn/.qn directives. + * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP. + * config/tc-armeabi.h (FPU_DEFAULT): Likewise. + * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer + the default FPU from the processor. -2007-03-26 Alan Modra +2009-05-01 Julian Brown - * doc/as.texinfo (Reloc): Document. - * read.c (potable): Add "reloc". - (s_reloc): New function. - * write.c (reloc_list): New global var. - (resolve_reloc_expr_symbols): New function. - (write_object_file): Call it. - (write_relocs): Process reloc_list. - * write.h (struct reloc_list): New. - (reloc_list): Declare. + * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX. + (md_pcrel_from_section): Align address for BLX. + (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to + BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+. -2007-03-24 Paul Brook +2009-04-29 DJ Delorie - * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes. + * config/tc-mep.c (md_begin): Check coprocessor type. + (md_check_parallel64_scheduling): Use memset to initialize the buffer. + (md_check_parallel32_scheduling): Likewise. + (slot_ok): New. + (mep_check_ivc2_scheduling): New. + (mep_check_parallel_scheduling): Call it. + (mep_process_saved_insns): Add IVC2 slot support. + (md_assemble): Likewise. -2007-03-24 Paul Brook - Mark Shinwell +2009-04-30 Nick Clifton - * config/tc-arm.c (operand_parse_code): Add OP_oRRw. - (parse_operands): Don't expect comma if first operand missing. - Handle OP_oRRw. - (do_srs): Encode register number, checking it is r13. Update comment. - (insns): Update SRS entries to take a register. + * config/obj-elf.c (obj_elf_type): Add support for a + gnu_indirect_function type. + * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups + against indirect function symbols. + * doc/as.texinfo (.type): Document the support for the + gnu_indirect_function symbol type. + * NEWS: Mention the new feature. -2007-03-23 H.J. Lu +2009-04-24 Cary Coutant - * config/tc-i386.c (md_begin): Allow '.' in mnemonic. + * NEWS: Add item about discriminator support. + * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field. + * dwarf2dbg.c (current): Add discriminator field. + (dwarf2_where): Copy discriminator value. + (dwarf2_consume_line_info): Set discriminator to 0. + (dwarf2_directive_loc): Process discriminator sub-op. + (out_leb128): New function. + (process_entries): Output DW_LNE_set_discriminator. + * doc/as.texinfo: Add discriminator operand to .loc directive. -2007-03-23 Mark Shinwell +2009-04-22 Nathan Sidwell - * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that - attempt to jump to the next instruction into NOPs. + * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for + as_bad calls to silence compiler warning. -2007-03-23 Alan Modra +2009-04-21 H.J. Lu - * config/tc-spu.c: Don't include opcode/spu.h. - (md_assemble): Set tc_fix_data.insn_tag and arg_format. - (md_apply_fix): Adjust. - * config/tc-spu.h: Include opcode/spu.h. - (struct tc_fix_info): New. - (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust. - (TC_FORCE_RELOCATION): Define. + * config/tc-i386-intel.c (O_XXX): Reorder. -2007-03-22 Joseph Myers +2009-04-20 Jan Beulich - * doc/as.texinfo: Include VERSION_PACKAGE when reporting version. + * Makefile.am: Add explicit dependency of tc-i386.o on + tc-i386-intel.c. + * Makefile.in: Likewise. + * config/tc-i386.c (i386_finalize_immediate): Declare, broken + out from i386_immediate. + (i386_immediate): Slightly re-arrange, call + i386_finalize_immediate. + (i386_finalize_displacement): Declare, broken out from + i386_displacement. + (i386_displacement): Slightly re-arrange, call + i386_finalize_displacement. + (i386_intel_simplify, i386_intel_parse_name): Declare. + (this_operand): Initialize to -1. + (set_intel_syntax): Set expression rank for O_full_ptr. + (md_assemble): Set this_operand back to -1 after parsing + operands. + (x86_cons): Negate intel_syntax to indicate state. Call + i386_intel_simplify. + (md_operand): Convert if to switch. Handle '[' for Intel + syntax. + (i386_intel_operand): Delete, including all helper functions + and data. + * config/tc-i386-intel.c: New file, all new code. + * config/tc-i386.h (i386_operator): Declare. + (md_operator): Define to i386_operator. + (i386_need_index_operator): Declare. + (md_need_index_operator): Define to i386_need_index_operator. + (O_full_ptr): Define. -2007-03-21 H.J. Lu +2009-04-20 Jan Beulich - * config/tc-i386.c (process_suffix): Check 0x90 instead of - xchg for xchg %rax,%rax. + * expr.c (operand): Call md_need_index_operator() and + md_operator() if defined. Add unary label. + (operator): Call md_operator() if defined. + (expr): Adjust assertions on range and rank of op_left and + op_right. Don't abort on unhandled operators when reducing + expressions with both operands being constant. + (expr_set_rank): New. + * expr.h (expr_set_rank): Declare. -2007-03-21 H.J. Lu +2009-04-15 Anthony Green - * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY - and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively. + * config/tc-moxie.h: New file. + * config/tc-moxie.c: New file. + * configure: Add support for moxie. + * configure.tgt: Add support for moxie. -2007-03-21 H.J. Lu +2009-04-16 Jan Beulich - PR binutils/4218 - * config/tc-i386.c (match_template): Properly handle 64bit mode - "xchg %eax, %eax". + * expr.c: Include limits.h if available, and #define CHAR_BITS + otherwise. + (expr): Check range of shift count when evaluating a constant + expression. -2007-03-21 Anton Ertl +2009-04-15 Jan Beulich - PR gas/4124 - * config/tc-alpha.c (emit_ustX): Fix ustq code generation. + * config/tc-i386.c (process_operands): Print operands in + correct order depending on intel_syntax. -2007-03-21 H.J. Lu +2009-04-09 Catherine Moore - * Makefile.am: Run dep-am. - * Makefile.in: Regenerated. + * config/tc-mips.c (mips_fix_24k): Declare. + (check_for_24k_errata): New. + (mips_cleanup): Call check_for_24k_errata. + (start_noreorder): Likewise. + (md_mips_end): Likewise. + (s_change_sec): Likewise. + (s_change_section): Likewise. + (append_insn): Call check_for_24k_errata. Prevent + ERET/DERET instructions from being moved into delay + slots. + (OPTION_FIX_24K): New. + (OPTION_NO_FIX_24k) New. + (md_longopts): Add "mfix-24k" and "mno-fix-24k". + (md_parse_option): Handle fix-24k options. + (md_show_usage): Display fix-24k options. + * doc/c-mips.texi: Document. - * config/tc-i386.c: Don't include "opcodes/i386-opc.h". +2009-04-09 Adam Nemet - * config/tc-i386.h: Include "opcodes/i386-opc.h". - (NOP_OPCODE): Removed. - (template): Likewise. + * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS + instead of HAVE_64BIT_SYMBOLS. -2007-03-21 Andreas Schwab +2009-04-07 DJ Delorie - * config/tc-i386.h (NOP_OPCODE): Restore. + * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support. + (md_show_usage): Change default endian to little. + * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little. -2007-03-18 Mark Shinwell +2009-04-06 DJ Delorie - * config/tc-arm.c (do_mul): Don't warn about overlapping - Rd and Rm operands when assembling for v6 or above. - Correctly capitalize register names in the messages. - (do_mlas): Likewise. Delete spurious blank line. + * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA + immediates. + (build_bytes): Pass insn to do_a_fix_imm. -2007-03-16 Kazu Hirata +2009-04-02 Daniel Gutson - * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa. + * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0. + * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and + Cortex-M1. -2007-03-15 H.J. Lu +2009-04-01 Matt Thomas - * config/tc-i386.c (md_begin): Use i386_regtab_size to scan - i386_regtab. - (parse_register): Use i386_regtab_size instead of ARRAY_SIZE - on i386_regtab. + * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi" + (md_assemble): emit symbol name when used as immediate in PIC mode. + (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4). -2007-03-15 Alexandre Oliva +2009-04-01 Sterling Augustine - PR gas/4184 - * app.c (do_scrub_chars): PUT after setting states. + * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line -2007-03-15 H.J. Lu +2009-04-01 Ramana Radhakrishnan - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerated. + * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF. + (find_real_start): Likewise. + * config/tc-arm.h (TC_VALIDATE_FIX): Likewise - * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of - "opcode/i386.h". - (md_begin): Check reg_name != NULL for the last entry in - i386_regtab. +2009-04-01 Nathan Sidwell - * config/tc-i386.h: Move many entries to opcode/i386.h and - opcodes/i386-opc.h. + * config/tc-arm.c (do_nop): Generate v6k nops whenever possible. + (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops + whenever possible. - * configure.in (need_opcodes): Set true for i386. - * configure: Regenerated. +2009-03-31 Peter Bergner -2007-03-15 H.J. Lu + * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop. - * Makefile.am (REPORT_BUGS_TO): Removed. - (INCLUDES): Remove -DREPORT_BUGS_TO. - * Makefile.in: Regenerated. +2009-03-31 Dave Korn - * configure.in (--with-bugurl): Removed. - * configure: Regenerated. + * doc/internals.texi: Fix trivial syntax errors. - * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi. - (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc. - (TEXI2DVI): Likewise. - (gasver.texi): Removed. - (MOSTLYCLEANFILES): Remove gasver.texi. - (as.1): Don't depend on gasver.texi. - * doc/Makefile.in: Regenerated. +2009-03-26 Alan Modra - * doc/as.texi: Include bfdver.texi instead of gasver.texi. + PR 10005 + * config/tc-i386.c (reloc): Don't abort on lack of required + reloc type. -2007-03-14 Daniel Jacobowitz +2009-03-25 H.J. Lu - * config/tc-arm.c (arm_copy_symbol_attributes): New. - * config/tc-arm.h (arm_copy_symbol_attributes): Declare. - (TC_COPY_SYMBOL_ATTRIBUTES): Define. - * gas/symbols.c (copy_symbol_attributes): Use - TC_COPY_SYMBOL_ATTRIBUTES. + * config/tc-i386.c (parse_insn): Use default_arch on unsupported + arch. -2007-03-14 Paul Brook +2009-03-23 H.J. Lu - * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding. + PR gas/9966 + * listing.c (listing_newline): Properly handle `\\"' and ';'. -2007-03-14 Alan Modra + * read.c (is_end_of_line): Update comments for line separator. + (read_begin): Set line separator in is_end_of_line to 2. - PR 4029 - * write.c (relax_segment): Insert extra alignment padding - to break infinite relax loop when given impossible - gcc_except_table assembly. +2009-03-19 David S. Miller -2007-03-12 H.J. Lu + * config/tc-sparc.c (md_parse_option): If the user gives + us '--64' make sure max_architecture is at least V9. - * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX - on i.tm.base_opcode. - (match_template): Likewise. - (process_operands): Use ~0x3 mask to match MOV_AX_DISP32. +2009-03-18 Andrew Stubbs - * config/tc-i386.h (Opcode_D): New. - (Opcode_FloatR): Likewise. - (Opcode_FloatD): Likewise. - (D): Redefined. - (W): Likewise. - (FloatMF): Likewise. - (FloatR): Likewise. - (FloatD): Likewise. + * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and + BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section. + Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol. -2007-03-09 Alexandre Oliva +2009-03-18 Alan Modra - * app.c (do_scrub_chars): Recognize comments after # line "file". - * read.c (get_linefile_number): New. - (s_app_line): Accept ill-formed .linefile lines as comments. + * as.h: Include alloca-conf.h instead of config.h and remove + existing #if's handling alloca. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. -2007-03-09 Alan Modra +2009-03-14 Richard Sandiford - * config/tc-i386.h (WORKING_DOT_WORD): Define. + * config/tc-ppc.c (ppc_frob_symbol): Add csect information for + C_AIX_WEAKEXT too. -2007-03-09 Alexandre Oliva +2009-03-14 Richard Sandiford - * app.c (do_scrub_chars): Turn #"file"flags into .linefile. - * as.h (new_logical_line_flags): New. - * input-scrub.c (new_logical_line): Turned into wrapper for... - (new_logical_line_flags): this. Handle flags. - * read.c (potable): Add linefile. Adjust appline argument. - (s_app_file): Fake .appfiles no more. - (s_app_line): For .linefile, accept file name and flags. + * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread + "value" from fx_offset. Manually resubtract md_pcrel_from_section + where necessary. -2007-03-08 Alan Modra +2009-03-14 Richard Sandiford - * symbols.c (symbol_relc_make_sym): Comment typo fixes. + * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. + * configure.in: Likewise. + * configure: Regenerate. -2007-03-08 Alan Modra +2009-03-11 Hans-Peter Nilsson + + * config/tc-cris.c (cris_create_short_jump): Remove prototype. + Rename, changing all callers, to... + (md_create_short_jump): Adjust head comment. Assert + word-sized-branch distance for v32. Bail out calling as_fatal for + compatibility mode here. + (md_create_long_jump): ...not here. + * config/tc-cris.h (md_create_short_jump): Do not define. + +2009-03-10 Hans-Peter Nilsson + + * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching + the jump table for multiple overflowing entries with the same + target, handle base symbols being different. + (relax_segment) : Whenever a + single entry overflows, arrange to redirect all entries with the + same target. + +2009-03-10 Alan Modra + + * config/tc-ppc.c (parse_cpu): Delete. + (md_parse_option, ppc_machine): Use ppc_parse_cpu. + +2009-03-09 H.J. Lu + + PR gas/9915 + * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0. + (LOCAL_LABELS_FB): Undefine befoe define. + +2009-03-06 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2009-03-05 Joseph Myers + + * read.c (s_fill, s_space, s_float_space, float_cons, stringer, + s_incbin): Call md_cons_align (1). + +2009-03-04 Nick Clifton + + * config/tc-alpha.c (alpha_prologue_label): Only define for ELF + based targets. + (s_alpha_comm): Only define "temp" and "log_align" local variables + for EVAX targets. + +2009-03-04 Alan Modra + + * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs + have non-zero addend. + (md_assemble): Parse args of __tls_get_addr calls. + (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD. + +2009-03-03 John David Anglin + + binutils/3807 + * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with + local scope for ELF targets. + +2009-03-04 Alan Modra + + * config/tc-ppc.c (md_assemble): APUinfo only for e500. + +2009-03-03 Tristan Gingold + Eric Botcazou + Douglas B Rupp + + * doc/as.texinfo (Overview): Mention -replace/-noreplace options + for Alpha. + * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace. + * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax). + (OBJ_SYMFIELD_TYPE): Remove. + (tc_canonicalize_symbol_name): Define to evax_shorten_name. + (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax. + (tc_frob_file_before_fix): Do not defined on evax. + * config/tc-alpha.c: Always includes dwarf2dbg.h. + Include vms.h if OBJ_EVAX. + (struct alpha_fixup): Add xtrasym and procsym (evax only). + (enum alpha_macro_arg): Remove trailing comma. + (md_longopts): Add replace and noreplace arguments (evax only). + (alpha_evax_proc_hash): New variable. + (alpha_link_section): Make it global. + (alpha_ctors_section, alpha_dtors_section): Removed. + (alpha_ctors_symbol, alpha_dtors_symbol): Ditto. + (alpha_lit8_section): Ifndef'ed on evax. + (alpha_lit8_symbol): Ditto. + (alpha_prologue_label): New variable. + (alpha_linkage_symbol): New variable (evax only). + (alpha_flag_replace): Ditto. + (struct alpha_evax_procs): Add handler and handler_data field. + (alpha_evax_proc): Now of type pointer. + (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables. + (struct alpha_reloc_tag): Add sym and psym fields (evax only). + (get_alpha_reloc_tag): Initialize sym and psym fields (evax only). + (alpha_adjust_relocs): Ifndef'ed on evax. + (load_expression): Add opname argument. + Implement LDA/BSR optimization for evax. + (emit_lda): Adjust for new prototype of load_expression. + (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols. + (emit_loadstore): Likewise. + (emit_ldXu): Likewise. + (emit_stX): Likewise. + (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax. + (emit_ldgp): Avoid warning in evax case. + (add_to_link_pool): Make it static. Return symbolic expression rather + than number expression for the offset. + (s_alpha_text): Create .text symbol for evax if not already created. + (s_alpha_comm): Do not create specific section for common symbol. + Fill common area with zeros for evax. + (s_alpha_prologue): Create alpha_prologue_label. + (s_alpha_section_name): New function (evax). + (s_alpha_section_word): Likewise. + (section_name): New static variabke moved out from ... + (s_alpha_section): ... here. Create new sections on demand. + (s_alpha_literals): New function (evax). + (s_alpha_ent): Create alpha_evax_proc instance and insert it in the + alpha_evax_proc_hash table. + (s_alpha_handler): New function (evax). + (s_alpha_frame): Adjust for new type of alpha_evax_proc. + (s_alpha_prologue): New function (evax). + (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new + handling of procedures with hash table. + Add support for condition handlers. + (s_alpha_linkage): Create linkage_fixup instance and chain it. + (s_alpha_fp_save): Adjust for new type of alpha_evax_proc. + (s_alpha_mask): Likewise. + (s_alpha_fmask): Likewise. + (s_alpha_end): Clear alpha_evax_proc. + (s_alpha_align): Increase max_alignment to 16. + (alpha_print_token): Call print_expr_1 instead of print_expr. + (md_pseudo_table): Add "section", "literals", "handler" and + "handler_data" (evax). Do not ignore "prologue" on evax. + Fix indentation. + (md_begin): Create hash table for alpha_evax_proc_hash. + (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE. + (md_show_usage): Mention -replace/-noreplace for evax. + (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH). + (alpha_force_relocation): Likewise. + (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case. + (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax. + (emit_insn): New cases for evax specific relocs. + (assemble_insn): Fix indentation. + Take care of -MDISP in operand table. + * config/obj-evax.h (struct alpha_linkage_fixups): New struct. + (OBJ_SYMFIELD_TYPE): New macro. + (obj_symbol_new_hook): Define. + (obj_frob_symbol, obj_frob_file_before_adjust): Ditto. + (obj_frob_file_before_fix): Ditto. + (PDSC_S_M_HANDLER_VALID): New macro. + (PDSC_S_M_HANDLER_DATA_VALID): Ditto. + (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove. + Add prototypes for functions declared in obj-evax.c + * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h. + (s_evax_weak): Convert to ansi-C. + (evax_symbol_new_hook): New function. + (evax_frob_symbol): Ditto. + (evax_frob_file_before_adjust): Ditto. + (evax_frob_file_before_fix): Ditto. + (evax_shorten_name): Ditto. + (crc32): Ditto. + (encode_32): Ditto. + (encode_16): Ditto. + (decode_16): Ditto. + (shorten_identifier): Ditto. + (is_truncated_identifier): Ditto. + * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS. + * as.c (close_output_file): Remove #ifndef OBJ_VMS. + (main): Ditto. + +2009-03-03 Alan Modra * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. - * po/POTFILES.in: Regenerate. -2007-03-07 Joseph Myers +2009-03-02 Nick Clifton - * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of - bug-reporting URL. - * doc/Makefile.am (gasver.texi): Define BUGURL. - * doc/as.texinfo: Use BUGURL. - * Makefile.in, configure, doc/Makefile.in: Regenerate. + PR 9874 + * config/tc-ia64.c (fix_insn): Fix warning reported by + -Wformat-security. -2007-03-06 Andreas Krebbel +2009-03-02 Qinwei - * config/tc-s390.c (md_parse_option): z9-ec option added. + * config/tc-score7.c: New file. + * doc/c-score.texi: New file. + * Makefile.am: Update dependencies for tc-score.c. + * Makefile.in: Regenerate. + * NEWS: Mention support for Score7 architecture. + * config/tc-score.c: Add support for Score7 architecture. + * config/tc-score.h: Likewise. + * doc/Makefile.am: Add c-score.texi. + * doc/Makefile.in: Regenerate. + * doc/all.texi: Add Score7. + * doc/as.texinfo: Add Score7. -2007-03-02 Paul Brook +2009-03-01 Mark Mitchell - * config/tc-arm.c (relax_immediate): Always return positive values. - (relaxed_symbol_addr): New function. - (relax_adr, relax_branch): Use it. - (arm_relax_frag): Pass strect argument. Adjust infinite loop check. + * config/tc-arm.c (md_assemble): Allow barrier instructions on + ARMv6-M cores. -2007-03-01 Joseph Myers +2009-03-01 Ralf Wildenhues - * as.c (parse_args): Update copyright date. + * configure: Regenerate. -2007-02-28 Nathan Sidwell +2009-02-26 Peter Bergner - * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf. + * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63", + "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63". + (parse_cpu): Extend -mpower7 to accept power7 and isel instructions. -2007-02-28 Nick Clifton +2009-02-25 H.J. Lu - PR gas/3797 - * config/tc-d10v.c (do_assemble): Do not generate error messages, - just return -1 whenever a problem is encountered. - (md_assemble): If do_assemble returns -1 generate a non-fatal - error message and return. + * config/tc-i386.c (fits_in_imm4): Removed. - PR gas/2623 - * config/tc-msp430.c (line_separator_char): Change to '{'. +2009-02-24 Helge Deller -2007-02-27 Alan Modra + * config/tc-hppa.c (pa_ip): Add check of immediate values. + (SAVE_IMMEDIATE): New define. - * config/tc-m68hc11.c (fixup24): Correct fixup size. - (build_jump_insn): Likewise. - (build_insn): Likewise. - (s_m68hc11_relax): Likewise. +2009-02-23 Mark Mitchell -2007-02-27 Alan Modra + * config/tc-arm.c (warn_deprecated_sp): New macro. + (do_t_mov_cmp): Permit R13 as the second + argument to "cmp.n". - * config/obj-elf.c (elf_frob_file): frag_wane any new frags. +2009-02-23 H.J. Lu -2007-02-25 Mark Shinwell + * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM. + (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero. - * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad. +2009-02-23 H.J. Lu -2007-02-23 Alan Modra + * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4. - * config/tc-mn10300.c (md_convert_frag): Correct fixup size. - (md_assemble): Likewise. +2009-02-23 H.J. Lu -2007-02-22 Alan Modra + * config/tc-i386.c (vex_imm4): Removed. + (VEX_check_operands): Likewise. + (match_template): Updated. - * write.c (size_seg): Always clear SEC_RELOC here. - (install_reloc): New function, extracted from.. - (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code - with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when - testing frag size. Set SEC_RELOC here. +2009-02-23 Martin Schwidefsky -2007-02-21 Alan Modra + * doc/all.texi: Set S390. + * doc/as.texinfo: Add S390 support and pull in c-s390.texi. + * doc/Makefile.am (CPU_DOCS): Add c-s390.texi. + * doc/Makefile.in: Likewise. + * doc/c-s390.texi: New. - PR 4082 - * config/tc-avr.h (TC_FX_SIZE_SLACK): Define. +2009-02-12 Nathan Sidwell -2007-02-20 Thiemo Seufer + * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR. + (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New. + (mcf5307_ctrl): Add VBR. + (no_mac): New variable. + (m68k_extensions): Refer to no_mac mask. + (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277, + 52252..52259, 53011..53017. + (m68k_ip): Process CPUCR. + (init_table): Add cpucr entry. + (m68k_set_extension): Allow negated mask to refer to a variable. + (md_show_usage): Use '%s' to silence fprintf warning. + * config/m68k-parse.h (CPUCR): New control register. - * doc/c-mips.texi: Document 74kc, 74kf, 74kx. +2009-02-10 Nathan Sidwell -2007-02-20 Thiemo Seufer + * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for + as_bad calls to silence compiler warning. - * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations. +2009-02-06 Nick Clifton -2007-02-20 Thiemo Seufer - Chao-Ying Fu + PR 9814 + * config/tc-arm.c (MODE_RECORDED): New define. + (output_inst): Record the thumb_mode in the current frag. + (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data. + (arm_init_frag): Only set the tc_frag_data field if it has not + already been set. - * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2, - ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support. - (macro_build): Add case '2'. - (macro): Expand M_BALIGN to nop, packrl.ph or balign. - (validate_mips_insn): Add support for balign instruction. - (mips_ip): Handle DSP R2 instructions. Support balign instruction. - (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE, - md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2 - command line options. - (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives. - (md_show_usage): Add -mdspr2 and -mno-dspr2 help output. - * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2, - .set dspr2, .set nodspr2. +2009-02-04 H.J. Lu -2007-02-20 Nathan Sidwell + AVX Programming Reference (January, 2009) + * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New. + (CPU_FLAGS_AVX_MATCH): Updated. + (CPU_FLAGS_32BIT_MATCH): Likewise. + (cpu_flags_match): Likewise. - * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New. - (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225. +2009-02-03 Sandip Matte -2007-02-18 Alan Modra + * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T, + M_MSGWAIT and M_MSGWAIT_T. + (mips_cpu_info_table): Add XLR entry. + * doc/c-mips.texi (-march): Document xlr. - * write.c (TC_FX_SIZE_SLACK): Define. - (write_relocs): Reinstate check for fixup within frag. - * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define. - * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define. - * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define. - * config/tc-sh.h (TC_FX_SIZE_SLACK): Define. - * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define. +2009-02-03 Eric B. Weddington -2007-02-17 Mark Mitchell - Nathan Sidwell - Vladimir Prus + * config/tc-avr.c (mcu_types): Add ata6289. + * doc/c-avr.texi: Likewise. - * configure.in (--with-bugurl): New option. +2009-02-03 Carlos O'Donell + + * configure.in: AC_SUBST pdfdir. + * Makefile.am: Add install-pdf, install-pdf-am, + and install-pdf-recursive targets. + * doc/Makefile.am: Define pdf__strip_dir. Add + install-pdf and install-pdf-am targets. + * po/Make-in: Add install-pdf target. * configure: Regenerate. - * dep-in.sed: Remove bin-bugs.h. - * Makefile.am (REPORT_BUGS_TO): Define. - (INCLUDES): Define REPORT_BUGS_TO. - (DEP_INCLUDES): Likewise. - ($(OBJS)): No longer depend on bin-bugs.h. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. - * as.c (show_usage): Don't print empty REPORT_BUGS_TO. - * as.h: Remove include of bin-bugs.h. - -2007-02-17 Alan Modra - - * write.c: White space fixes. - (fixup_segment): Move symbol_mri_common_p adjustments.. - (write_relocs): ..and symbol_equated_reloc_p adjustments.. - (adjust_reloc_syms): ..to here. - -2007-02-16 Alan Modra - - * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than - xmalloc, memset. Don't bother assigning NULL to known zero mem. - (subseg_set_rest): Remove unnecessary cast. - * write.c: Include libbfd.h. Replace PTR with void * throughout. - Remove unnecessary forward declarations and casts. - (set_symtab): Delete extern bfd_alloc. - (fixup_segment): Move. - -2007-02-15 Nathan Sidwell - - * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID. - * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names. - (mcf5475_ctrl, mcf5485_ctrl): New. - (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families. - (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling. - (init_table): Add asid, mmubar, adjust rombar0. - -2007-02-14 Alan Modra - - * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete. - * config/tc-i386.c: Wrap overly long lines, whitespace fixes. - (process_operands): Move old Seg2ShortForm and Seg3ShortForm - code, and test for these insns using a combination of - opcode_modifier and operand_types. - -2007-02-07 Paul Brook - - * configure.tgt: Add arm*-*-uclinux-*eabi. - -2007-02-05 Dave Brolley - Richard Sandiford - DJ Delorie - Stan Cox - Jim Blandy - Nick Clifton - Jim Wilson - Frank Ch. Eigler - Graydon Hoare - Ben Elliston - John Healy - Richard Henderson - - * Makefile.am (CPU_TYPES): Add mep. - (TARGET_CPU_CFILES): Add tc-mep.c. - (TARGET_CPU_HFILES): Add tc-mep.h. - (DEPTC_mep_elf): New variable. - (DEPTC_mep_coff): Likewise. - (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise. - * configure.in: Support mep. - * configure.tgt: Likewise. - * config/tc-mep.c: New file. - * config/obj-elf.c: New file. - * config/tc-mep.c: New file. - * config/tc-mep.h: New file. - * testsuite/gas/mep: New testsuite with content. - * Makefile.in: Regenerate. - * configure: Regenerate. -2007-02-05 Dave Brolley - - * cgen.c (gas_cgen_install_complex_reloc): Removed. - (complex_reloc_installation_howto): Removed. - -2007-02-05 Dave Brolley - Graydon Hoare - DJ Delorie - Catherine Moore - Michael Chastain - Frank Ch. Eigler - - * symbols.c (use_complex_relocs_for): New, to decide - when to use complex relocs. Add signed RELC support. - (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally - encode expression symbols as mangled complex relocation symbols (when - compiled with -DOBJ_COMPLEX_RELOC). - (symbol_relc_make_sym,value,expr): New traversal/conversion routines. - * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call - encode_addend with new args. Modify to get start, length from - ifield whenever it is set. Also change condition on which - self-describing relocs are encoded. Add hook into - gas_cgen_encode_addend. - (queue_fixup_recursively): Add signed RELC support. Change from masked - expr to trunc flag. Restore assignment of sub-field value to - temporary in fixups array. Reflect changed meaning of last arg to - queue_fixup_recursively. - (fixup): Add cgen_maybe_multi_ifield member. - (make_right_shifted_expr): New function. - (queue_fixup): Change to recursive function that fragments - fixups if operand has a multi-ifield. - (gas_cgen_parse_operand): Add RELC code to wrap expressions in - symbols, call weak_operand_overflow_check, and fragment call - queue_fixup with operand fields. - (gas_cgen_finish_insn) Modify to manage ifield pointer. - (weak_operand_overflow_check): New function to try to select - insns correctly. - (gas_cgen_encode_addend): New function for relc. - (gas_cgen_install_complex_reloc): Likewise. - (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc. - * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add - cgen_maybe_multi_ifield field to fx_cgen substructure. - * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32. - * symbols.h (symbol_relc_make_sym,value,expr): New prototypes. - -2007-02-03 DJ Delorie - - * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3 - byte relocs. - * config/tc-m32c.h (TC_CONS_FIX_NEW): Define. - (m32c_cons_fix_new): Prototype. - -2007-02-02 Bob Wilson - - * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init. - (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise. - -2007-02-02 Bob Wilson - - * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New. - (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table. - (map_suffix_reloc_to_operator): New. - (map_operator_to_reloc): New. - (expression_maybe_register): Fix incorrect test of return value from - xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator. - (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc. - -2007-02-02 Bob Wilson - - * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field. - (tinsn_get_tok): Delete prototype. - * config/tc-xtensa.c (tinsn_get_tok): Delete. - -2007-02-02 Bob Wilson - - * config/xtensa-relax.h (struct build_instr): Delete id field. - * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL - and LABEL tokens. - (append_literal_op, append_label_op): Remove litnum/labnum arguments; - set op_data fields to zero. - (parse_id_constant): Delete. - (build_transition): Remove code to handle numbered literals and labels. - -2007-02-02 Bob Wilson - - * config/xtensa-relax.c (build_transition): Remove code after as_fatal. - (build_transition_table): Likewise. - -2007-02-01 Bob Wilson - - * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of - fx_tcbit. - * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove. - -2007-02-02 Alan Modra - - * write.h (struct fix ): Move. - (struct fix ): Rename to tcbit2. - * write.c (fix_new_internal): Adjust. - (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. - * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise. - * config/tc-msp430.c (msp430_force_relocation_local): Likewise. - * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt. - * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. - Instead, compare fx_r_type. - * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use - fx_tcbit in place of fx_plt. - * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define. - * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference - to fx_plt. - -2007-01-30 Nick Clifton - - * as.c (main): Mark symbols created via the --defsym command line - option as volatile so that they can be overridden later on by a - .set directive. This maintains compatibility with the behaviour - of earlier versions of the assembler. - * doc/as.texinfo (--defsym): Document that the defined symbol's - value can be overridden via a .set directive. - -2007-01-28 H.J. Lu - - * config/tc-i386.c (swap_imm_operands): Renamed to ... - (swap_2_operands): This. Take 2 ints. - (md_assemble): Updated. - (swap_operands): Call swap_2_operands to swap 2 operands. - -2007-01-24 DJ Delorie - - * config/tc-m32c.c (md_pseudo_table): Add .3byte. +2009-02-03 Maxim Kuvyrkov + + * config/m68k-parse.h (enum pic_relocation): Add values for TLS + relocations. + * config/m68k-parse.y (yylex): Parse TLS relocations. + * config/tc-m68k.c (m68k_elf_cons): New static function. + (md_pseudo_table): Use it. + (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS + relocations. + (md_apply_fix): Fix to set thread local flag. + (m68k_elf_suffix): New static function; helper for m68k_elf_cons. + +2009-02-03 Vince Weaver + + PR 9779 + * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of + indexed addressing for symbolic expressions. + +2009-01-29 Mark Mitchell + + * config/tc-arm.c (BAD_SP): Define. + (s_arm_unwind_fnstart): Use REG_SP. + (s_arm_unwind_setfp): Likewise. + (reject_bad_reg): New macro. + (do_co_reg): Check for bad registers. + (do_co_reg2c): Likewise. + (do_srs): Use REG_SP. + (do_t_add_sub): Check for bad registers. + (do_t_adr): Likewise. + (do_t_arit3): Likewise. + (do_t_arit3c): Likewise. + (do_t_bfc): Likewise. + (do_t_bfi): Likewise. + (do_t_bfx): Likewise. + (do_t_blx): Likewise. + (do_t_bx): Likewise. + (do_t_bxj): Likewise. + (do_t_clz): Likewise. + (do_t_div): Likewise. + (do_t_mla): Likewise. + (do_t_mlal): Likewise. + (do_t_mov_cmp): Likewise. + (do_t_mov16): Likewise. + (do_t_mvn_tst): Likewise. + (do_t_mrs): Likewise. + (do_t_msr): Likewise. + (do_t_mul): Likewise. + (do_t_mull): Likewise. + (do_t_orn): Likewise. + (do_t_pkhbt): Likewise. + (do_t_pld): Likewise. + (do_t_rbit): Likewise. + (do_t_rev): Likewise. + (do_t_rrx): Likewise. + (do_t_rsb): Likewise. + (do_t_shift): Likewise. + (do_t_simd): Likewise. + (do_t_ssat): Likewise. + (do_t_ssat16): Likewise. + (do_t_sxtah): Likewise. + (do_t_sxth): Likewise. + (do_t_tb): Likewise. + (do_t_usat): Likewise. + (do_t_usat16): Likewise. + (nysn_insert_sp): Use REG_SP. + +2009-01-29 Mark Mitchell + + * config/tc-arm.c (do_t_orn): New function. + (do_t_rrx): Likewise. + (insns): Add orn and rrx. + +2009-01-29 Mark Mitchell + + * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax, + uasx, uhasx, uhsx, uqasx, uqsax, usax. + +2009-01-29 Mark Mitchell + + * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub, + qdsub in Thumb-2 mode. + +2009-01-29 Paul Brook + Mark Mitchell + + * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding + of MUL when possible. + +2009-01-29 Nick Clifton + + * config/tc-mep.h (DIFF_EXPR_OK): Do not define. + +2009-01-29 Nathan Sidwell + Catherine Moore + + * config/tc-mips.c (append_insn): Cope with a complex reloc + sequence containing an unsupported reloc type. + (enum options): Replace computed #define's constants for option + numbers with this enum. + (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF + environment. + (md_parse_option): Allow -32 in a non-ELF environment. + +2009-01-26 Andrew Stubbs + + * config/tc-arm.c (attributes_set_explicitly): New array. + (s_arm_eabi_attribute): Check return value from s_vendor_attribute. + (cpu_arch): Add ARM_ARCH_V5T. + (aeabi_set_attribute_int): New function. + (aeabi_set_attribute_string): New function. + (aeabi_set_public_attributes): Set attributes according to the user's + intentions, rather than the actual state of the binary. + Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of + bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string. + Support WMMXv2. Use attribute names instead of numbers. + * read.c (s_vendor_attribute): Change return type to int. + Return the tag number that was set. + * read.h (s_vendor_attribute): Change return type to int. + +2009-01-26 Eric B. Weddington + + PR 9789 + * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name. + * doc/c-avr.texi: Likewise. + +2009-01-23 Nathan Sidwell + + * doc/c-arm.texi (): Document -mwarn-deprecated. + * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ... + (warn_on_deprecated): ... this. + (opcode_lookup, md_assemble): Check it before warning. + (arm_opts): Add m[no-]warn-deprecated. + (md_parse_option): Replace WARN_DEPRECATED with + warn_on_deprecated. -2007-01-22 Nick Clifton +2009-01-23 Andreas Schwab - PR gas/3871 - * tc-score.c: Remove unnecessary uses of _(). - Make the err_msg[] a file level local array in order to save - storage space. - Remove unnecessary sprintf()s. + * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast + arguments to macro_build to match format. -2007-01-18 Mei Ligang + * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define. + * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define. - PR gas/3871 - * config/tc-score.c : Using _() for const string. - Do not assign inst.error with a local string pointer. - (md_section_align): Pad section. - -2007-01-13 H.J. Lu +2009-01-19 Nick Clifton - * config/tc-i386.c (build_modrm_byte): Check number of operands - when procssing memory/register operand. + * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for + ELF format ARM targets. + * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise. -2007-01-12 Nick Clifton +2009-01-19 Nick Clifton - PR gas/3856 - * macro.c (expand_irp): Do not ignore spaces inside quoted - strings. + * configure.tgt: Restore alpha sorting to object format switch + statement. -2007-01-12 Alan Modra +2009-01-19 Andrew Stubbs - * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. - * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. - * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. - (TC_FORCE_RELOCATION): Define. - (TC_FORCE_RELOCATION_LOCAL): Define. - * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust. + * read.c (s_vendor_attribute): Allow for unknown flag bits in type. -2007-01-12 Alan Modra +2009-01-16 Mark Shinwell - * input-file.c (input_file_open): Check fgets return. + * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5. + * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise. -2007-01-11 Paul Brook +2009-01-16 Andrew Stubbs + Daniel Jacobowitz - * config/tc-arm.c (do_t_add_sub): Use Rd and Rs. + * config/tc-arm.c (arm_copy_symbol_attributes): New function. + * config/tc-arm.h (arm_copy_symbol_attributes): New prototype. + (CONVERT_SYMBOLIC_ATTRIBUTE): New define. + * read.c (s_vendor_attribute): Add support for symbolic tag names. + Improve string parser. + * doc/c-arm.texi (ARM Machine Directives): Document + .eabi_attribute symbolic tag names. -2007-01-11 Nick Clifton +2009-01-16 Alan Modra - PR gas/3707 - * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt - variable. + * configure.in (commonbfdlib): Delete. + * configure: Regenerate. + * po/POTFILES.in: Regenerate. - * config/tc-mcore.c (md_number_to_chars): Use - number_to_chars_{big|little}endian. +2009-01-15 Andrew Stubbs + Julian Brown + + * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11. + +2009-01-15 Andrew Stubbs + + * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat -> + bfd_elf_add_obj_attr_int_string. + +2009-01-15 Douglas B Rupp + + * configure.tgt(ia64-*-*vms*): New target. + * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern. + * tc.h (md_number_to_chars): Declare iff undefined. + * config/obj-elf.c (obj_elf_change_section): Change type of arg + attr to bfd_vma. + (obj_elf_parse_section_letters): Return a bfd_vma. Change type of + variables attr, md_attr to bfd_vma. + (obj_elf_section_word): Likewise. + (obj_elf_section): Change type of variable attr to bfd_vma + * config/obj-elf.h (obj_elf_change_section): Change type of arg + attr to bfd_vma. + * config/tc-ia64.c (bfdver.h,time.h): Include. + (ia64_elf_section_letter): Now returns a bfd_vma. + Handle VMS specific attributes. + (ia64_elf_section_flags): Arg attr now a bfd_vma. + (ia64_init): Don't turn on dependency checking for VMS. + (ia64_target_format): Check for VMS flag bit. + (do_alias): Hande decc$ functions. + (get_vms_time): New function. + (ia64_vms_note): New function. + * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma. + (ia64_elf_section_flags): Arg attr now a bfd_vma. + (tc_init_after_args): Define for VMS. + * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma. + (alpha_elf_section_flags): Change type of arg attr to bfd_vma. + * config/tc-alpha.h: Likewise. + * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma. + (x86_64_section_word): Return a bfd_vma. + * config/tc-i386.h: Likewise. + * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg + attr to bfd_vma. + * config/tc-ip2k.h: Likewise. + * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma. + (mep_elf_section_flags): Change type of arg attr to bfd_vma. + * config/tc-mep.h: Likewise. + * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma. + (ppc_section_word): Return a bfd_vma. + (ppc_section_flags): Change type of arg attr to bfd_vma. + * config/tc-ppc.h: Likewise. + * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars. + * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR, + DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME): + New file with new macros + * dwarf2dbg.c (get_filenum, out_file_list): Default and call new + macros. -2007-01-08 Kazu Hirata +2009-01-15 Nick Clifton - * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an - architecture by itself. - (m68k_ip): Don't issue a warning for tbl instructions on fido. - (m68k_elf_final_processing): Treat Fido as an architecture by - itself. + PR 9722 + * config/tc-arm.c (do_t_nop): Check for availability of Thumb2 + instructions before generating a Thumb2 nop. -2007-01-08 Kai Tietz +2009-01-14 Andreas Krebbel - * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw* + * config/tc-s390.h: Define LOCAL_LABEL_PREFIX. -2007-01-05 H.J. Lu +2009-01-12 Alan Modra - * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax - depending on allow_naked_reg. + * config/tc-spu.c (md_pseudo_table): Add "brinfo". + (brinfo): New var. + (md_assemble): Poke brinfo into branch instructions. + (spu_brinfo): New function. + (md_apply_fix): Don't assume insn fields start off at zero, mask + them to remove possible brinfo. -2007-01-04 Paul Brook +2009-01-10 H.J. Lu - * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form. + * doc/c-i386.texi: Reformat. -2007-01-04 H.J. Lu +2009-01-10 H.J. Lu - PR gas/3830 - * config/tc-i386.c (register_prefix): New. - (set_intel_syntax): Set set_intel_syntax to "" if register - prefix isn't needed. - (check_byte_reg): Use register_prefix for error message. - (check_long_reg): Likewise. - (check_qword_reg): Likewise. - (check_word_reg): Likewise. + * config/tc-i386.c (cpu_arch): Add corei7, .clflush and + .syscall. + (i386_align_code): Handle PROCESSOR_COREI7. + (md_show_usage): Add corei7, clflush and syscall. + (i386_target_format): Replace cpup4 with cpuclflush. -2006-01-04 Julian Brown + * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7. - * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM. - (do_neon_qshl_imm): Likewise. - (do_neon_rshl): New function. Handle rounding variants of - v{q}shl-by-register. - (insns): Use do_neon_rshl for vrshl, vqrshl. + * doc/c-i386.texi: Document corei7, clflush and syscall. -2007-01-04 Paul Brook +2009-01-09 H.J. Lu - * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt - and vacle. + * config/tc-i386.c (cpu_arch): Add .rdtscp. + (md_show_usage): Display rdtscp. -2007-01-03 H.J. Lu + * doc/c-i386.texi: Document rdtscp. - * config/tc-i386.c (swap_operands): Remove branches. +2009-01-09 Peter Bergner -2007-01-03 H.J. Lu + * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test. + Test the new "deprecated" opcode field. - * config/tc-i386.c: Update copyright year. - * config/tc-i386.h: Likewise. +2009-01-07 Sterling Augustine -2007-01-03 H.J. Lu + * config/tc-xtensa.c (produce_flix): New. + (option_flix, optoin_no_generate_flix, option_no_flix) Define. + (md_longopts): Add support for them. + (md_parse_option): Likewise. + (md_show_usage): Add help message. + (finish_vinsn): Don't allow multi-slot flix when produce_flix + option is set to FLIX_NONE. + * config/xtensa-relax.c (transition_applies): Only relax to + flix branches when produce_flix equals FLIX_ALL. + * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE + FLIX_NONE): New. + (produce_flix): Declare. - * config/tc-i386.c (smallest_imm_type): Return unsigned int - instead of int. +2009-01-06 Chao-ying Fu -2007-01-03 H.J. Lu + * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff. + Use strncmp to match jalr and jalr.hb. + Fix a typo. - * config/tc-i386.c: Convert to ISO C90 formatting - * config/tc-i386.h: Likewise. +2009-01-05 H.J. Lu + + AVX Programming Reference (December, 2008) + * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction + support. Don't swap REG and NDS for FMA. -2007-01-03 David Daney +2009-01-02 Matthias Klose - * config/tc-mips.c (md_show_usage): Clean up -mno-shared - documentation. + * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf + behaviour. -For older changes see ChangeLog-2006 +For older changes see ChangeLog-2008 Local Variables: mode: change-log