+
+ * config/tc-vax.c: Convert to ISO C90 format. Fix formatting and
+ white space usage as well.
+
+
+ * config/tc-xtensa.c (xtensa_mark_narrow_branches): Set
+ is_aligning_branch flag.
+ (find_address_of_next_align_frag): Limit by xtensa_fetch_width.
+ (future_alignment_required): Except for frags with is_aligning_branch
+ flag set, call frag_wane for frags that do not need to be reexamined
+ for aligning.
+ (relax_frag_immed): Replace orig_vinsn with cur_vinsn to fix a leak.
+ (convert_frag_immed): Likewise.
+ (convert_frag_narrow): Check is_aligning_branch flag.
+ * config/tc-xtensa.h (xtensa_frag_type): Add is_aligning_branch flag.
+
+
+ * config/tc-xtensa.c (xg_find_narrowest_format): Optimize 1 slot case.
+ (xg_init_vinsn): Remove redundant initialization.
+ (xg_clear_vinsn): Zero all the slots with a single memset.
+ * config/xtensa-istack.h (vliw_insn): Move insnbuf field after slots.
+
+
+ * doc/t-mt.texi: Update MS1 to MT.
+
+
+ Second part of ms1 to mt renaming.
+ * configure: Rebuilt.
+ * configure.in (mt): Remove special case.
+ * config/tc-mt.c (opcodes/mt-desc.h, opcodes/mt-opc.h): Change
+ #includes.
+ (mt_insn, mt_mach, mt_mach_bitmask, mt_flags, mt_architectures):
+ Rename, adjust.
+ (md_parse_option, md_show_usage, md_begin, md_assemble,
+ md_cgen_lookup_reloc, md_atof): Adjust.
+ (mt_force_relocation, mt_apply_fix, mt_fix_adjustable): Rename, adjust.
+ * config/tc-mt.h (TC_MT): Rename.
+ (LISTING_HEADER, TARGET_ARCH, TARGET_FORMAT): Adjust.
+ (md_apply_fix): Adjust.
+ (mt_apply_fix, mt_fix_adjustable, mt_force_relocation): Rename.
+ (TC_FORCE_RELOCATION, tc_fix_adjustable): Adjust.
+
+
+ * config/tc-i386.c (add_prefix): More fine-grained handling of
+ REX prefixes. Or new prefix value into i.prefix instead of
+ assigning.
+
+
+ * config/tc-m32c.c (m32c_md_end): Only pad code sections.
+
+
+ * config/tc-arm.c (do_branch): Generate EABI branch relocations.
+ (do_bl): New function.
+ (do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation.
+ (do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23.
+ (insns): Use do_bl.
+ (md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and
+ BFD_RELOC_ARM_PCREL_JUMP.
+ (md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and
+ BFD_RELOC_ARM_PCREL_BLX cases. Handle BFD_RELOC_ARM_PCREL_CALL and
+ BFD_RELOC_ARM_PCREL_JUMP.
+ (tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and
+ BFD_RELOC_ARM_PCREL_JUMP.
+ gas/testsuite/
+ * gas/arm/pic.d: Allow R_ARM_CALL relocations.
+
+
+ * configure.in: Replace ms1 arch with mt arch.
+ * configure: Rebuilt.
+ * configure.tgt: Replace ms1 arch with mt arch.
+ * config/tc-mt.c: Renamed from tc-ms1.c: Update include files.
+ * doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files.
+ * doc/Makefile.in: Rebuilt.
+
+
+ Change 32-bit-branch expansion for --pic.
+ * config/tc-cris.c (STATE_COND_BRANCH_PIC): New relaxation state.
+ (md_cris_relax_table): Add entry for STATE_COND_BRANCH_PIC.
+ (cris_any_v0_v10_long_jump_size_pic): New macro.
+ (md_estimate_size_before_relax): Handle STATE_COND_BRANCH_PIC.
+ (md_convert_frag): Similar.
+ (md_create_long_jump): Change 32-bit-branch expansion for --pic.
+ (md_assemble, gen_cond_branch_32): Adjust similarly.
+ (md_parse_option) <case OPTION_PIC>: Adjust md_long_jump_size.
+ <case OPTION_ARCH>: Similar, if --pic.
+
+
+ PR gas/1874
+ * config/tc-i386.c (match_template): Handle monitor.
+ (process_suffix): Likewise.
+
+
+ Bug gas/1948
+ * symbols.c (colon): Also check if now_seg is bss_section when a symbol
+ is being redefined.
+
+
+ * config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>
+
+
+ * config/tc-z80.c (z80_start_line_hook): issue an error when
+ redefining a symbol with equ
+ * doc/as.texinfo(equ<z80>): mention difference with .equiv
+ * doc/as.texinfo(err): fix typo
+ * doc/c-z80.texi(equ): redefining a symbol with equ is no longer
+ allowed
+
+
+ Bug gas/1896
+ * config/tc-hppa.c (hppa_fix_adjustable): Don't reject for reduction
+ R_HPPA relocations that are 32-bits wide.
+
+
+ * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL_S2.
+ (macro_build): Complain for invalid branch displacements.
+ (mips_validate_fix): Delete.
+ (md_apply_fix): Re-add pcrel support for branches. Use consistent
+ text for misaligned branch targets.
+ (tc_gen_reloc: Re-add pcrel support for branches. Handle strange
+ BFD pcrel processing. Remove error for unresolved branches.
+ * config/tc-mips.h (TC_VALIDATE_FIX, mips_validate_fix): Delete.
+
+
+ * config/tc-ia64.c (emit_one_bundle): Perform last_slot < 0 check
+ even when manual_bundling isn't set.
+
+ * config/tc-ia64.c (slot_index): Emit an error instead of a warning
+ when the frag chain is broken by section switching.
+
+
+ * config/bfin-defs.h (IS_BREG, IS_LREG): New macros.
+ * config/bfin-parse.y (asm_1): Check register type for load immediate
+ instruction.
+
+
+ * config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference
+ dotname.
+ * write.c (write_object_file): Do not remove used weakrefd.
+
+
+ * dw2gencfi.c (dot_cfi): Put argument parsing for cases
+ DW_CFA_restore and DW_CFA_undefined in a loop.
+
+
+
+ * symbols.h (S_CLEAR_VOLATILE): Declare.
+ * symbols.c (colon): Also accept redefinable symbols for
+ redefinition. Clone them before modifying.
+ (S_CLEAR_VOLATILE): Define.
+ * cond.c (s_ifdef): Also test for equated symbols.
+ * read.c (s_comm_internal): Also exclude non-redefinable
+ equated symbols. Clone redefinable ones before modifying.
+ (s_weakref): Clone redefinable symbols before modifying.
+ * doc/internals.texi: Document sy_volatile, sy_forward_ref,
+ S_IS_VOLATILE, S_SET_VOLATILE, S_CLEAR_VOLATILE,
+ S_IS_FORWARD_REF, and S_SET_FORWARD_REF.
+
+
+ * config/tc-hppa.c (pa_comm): Set bfd_com_section segment.
+
+
+ * configure.tgt (i386-*-gnu*): Set em=gnu.
+ * config/te-gnu.h: New file.
+ * config/tc-i386.c: Don't use '/' as comment char for TE_GNU.
+
+
+ * config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment.
+ * config/tc-alpha.c (s_alpha_comm): Likewise. Also, remove
+ redundant check.
+ * read.c (s_lsym): Remove non-BFD assembler sym handling.
+
+
+ * read.c (s_comm_internal): Set bfd_com_section segment.
+ (s_mri_common): Likewise.
+ * write.c (write_object_file): Remove non-BFD assembler common
+ sym handling.
+
+
+ * config/tc-arm.c (s_arm_unwind_save_core): Don't emit an extra
+ opcode if r4-r15 are not saved.
+
+
+ * symbols.c (S_GET_VALUE): Remove non-BFD assembler recursion guard.
+
+
+ * config/tc-ia64.c (AR_FCR, AR_EFLAG, AR_CSD, AR_SSD, AR_CFLG,
+ AR_FSR, AR_FIR, AR_FDR, AR_CCV, AR_EC): Define.
+ (ar): Use AR_* instead of literals.
+ (CR_DCR, CR_ITM, CR_IVA, CR_PTA, CR_GPTA, CR_LID, CR_ITV,
+ CR_PMV, CR_CMCV): Define.
+ (cr): Use CR_* instead of literals.
+
+
+ * config/tc-ia64.c (md): Rename regsym to indregsym and move
+ it to the end of the structure.
+ (ar): Field regnum is unsigned.
+ (cr): Likewise:
+ (indirect_reg): Likewise.
+ (declare_register_set): Parameter regnum is unsigned.
+ (declare_register): Parameter numregs and base_regnum are
+ unsigned. So is the local loop variable.
+ (md_begin): Restrict scope of local variable regnum, which
+ also is unsigned. Replace loops with function calls where
+ possible. Re-order things so that register groups are kept
+ together. Remove all uses of regsym except for indirect
+ registers. Replace use of regsym by indregsym for indirect
+ registers.
+ (ia64_optimize_expr): Replace use of regsym by indregsym for
+ indirect registers, with appropriate bias.
+
+
+ * config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes
+ for the MIPS16e save/restore instructions.
+
+
+ * doc/Makefile.am: Make asconfig.texi writeable before trying
+ to write to it.
+ * doc/Makefile.in: Refresh.
+
+
+ * config/tc-i386.c (intel_e11): Don't special-case segment
+ registers in brackets.
+
+
+ * config/tc-arm.c (BAD_ADDR_MODE): Define.
+ (arm_reg_parse_multi): Return NULL rather than FAIL.
+ (arm_reg_parse): Fix comment, the function returns FAIL rather
+ than NULL if it is unable to parse the register name.
+ (do_ldrex): Use BAD_ADDR_MODE.
+ Change error message for PC-relative addressing.
+ (do_strex): Likewise.
+ (do_t_ldrex): Use BAD_ADDR_MODE.
+ (do_t_strex): Likewise.
+
+
+ * config/tc-sparc.c (isoctal): Fix thinko.
+
+
+ * expr.c (operand <case '$'>): Use DOLLAR_AMBIGU rather than
+ flag_mri_m68k as condition for parsing the '$' as a prefix.
+ * as.h (DOLLAR_AMBIGU): Define if needed.
+
+
+ Add ms2 support.
+ * config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1.
+ (ms1_architectures): Add ms2.
+ (md_parse_option): Add ms2.
+ (md_show_usage): Add ms2.
+ (md_assemble): Add JAL_HAZARD detection logic.
+ (md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case.
+ * doc/c-ms1.texi: New.
+ * doc/all.texi: Add MS1.
+ * doc/Makefile.am (CPU_DOCS): Add c-ms1.texi.
+ * doc/Makefile.in: Rebuilt.
+ * doc/Makefile: Rebuilt.
+
+
+ * configure: Regenerate after modifying bfd/warning.m4.
+
+
+ PR gas/1804
+ * config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to
+ output constant data.
+
+
+ * doc/Makefile.am (asconfig.texi): Set top_srcdir.
+ * doc/Makefile.in: Regenerated.
+ * doc/as.texinfo: Document "@FILE".
+
+
+ PR binutils/1568
+ * config/obj-coff.c (obj_coff_section): Set readonly flag with the
+ 'x' attribute. Remember the actions of the 'w' and 'n' attributes
+ and do not allow the 'x','s' or 'd' attributes to change them.
+
+
+ * config/tc-i386.h (tc_comment_chars): Define.
+ * config/tc-i386.c (line_comment_chars): Use '/' unconditionally.
+ (i386_comment_chars): Add.
+ (md_parse_options): Process OPTION_DIVIDE.
+ (md_show_usage): Describe --divide option.
+ * doc/c-i386.texi: Document --divide option.
+
* expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.