+
+ * doc/as.texinfo (Target PowerPC): Document -mpower9 and -mpwr9.
+ * doc/c-ppc.texi (PowerPC-Opts): Likewise.
+ * config/tc-ppc.c (md_show_usage): Likewise.
+ (md_assemble): Handle BFD_RELOC_PPC_REL16DX_HA.
+ (md_apply_fix): Likewise.
+ (ppc_handle_align): Handle power9's group ending nop.
+
+
+ * config/tc-aarch64.c (aarch64_cpus): Add qdf24xx.
+ * config/tc-arm.c (arm_cpus): Likewise.
+ * doc/c-arm.texi, doc/c-aarch64.texi: Likewise.
+
+
+ * read.c (parse_bitfield_cons): Fix left shift of negative value.
+ * config/tc-xstormy16.c (md_section_align): Likewise.
+ * config/tc-xgate.c (md_section_align): Likewise.
+ * config/tc-visium.c (md_section_align): Likewise.
+ * config/tc-v850.c (md_section_align): Likewise.
+ * config/tc-tic6x.c (md_section_align): Likewise.
+ * config/tc-sh.c (SH64PCREL32_M, SH64PCREL48_M, SH64PCREL32_M)
+ (MOVI_32_M, MOVI_48_M, MOVI_32_M, md_section_align): Likewise.
+ * config/tc-sh64.c (shmedia_md_estimate_size_before_relax): Likewise.
+ * config/tc-score.c (s3_section_align): Likewise.
+ * config/tc-score7.c (s7_section_align): Likewise.
+ * config/tc-s390.c (md_section_align): Likewise.
+ * config/tc-rx.c (md_section_align): Likewise.
+ * config/tc-rl78.c (md_section_align): Likewise.
+ * config/tc-ppc.c (md_section_align): Likewise.
+ * config/tc-or1k.c (md_section_align): Likewise.
+ * config/tc-nds32.c (md_section_align): Likewise.
+ * config/tc-mt.c (md_section_align): Likewise.
+ * config/tc-msp430.c (md_section_align): Likewise.
+ * config/tc-mn10300.c (md_section_align): Likewise.
+ * config/tc-mn10200.c (md_section_align): Likewise.
+ * config/tc-mips.c (md_section_align): Likewise.
+ * config/tc-microblaze.c (parse_imm): Likewise.
+ * config/tc-mep.c (md_section_align): Likewise.
+ * config/tc-m68k.c (md_section_align): Likewise.
+ * config/tc-m68hc11.c (md_section_align): Likewise.
+ * config/tc-m32r.c (md_section_align): Likewise.
+ * config/tc-m32c.c (md_section_align): Likewise.
+ * config/tc-lm32.c (md_section_align): Likewise.
+ * config/tc-iq2000.c (md_section_align): Likewise.
+ * config/tc-ip2k.c (md_section_align): Likewise.
+ * config/tc-ia64.c (dot_save, dot_vframe): Likewise.
+ * config/tc-i960.c (md_number_to_field, md_section_align): Likewise.
+ * config/tc-i386.c (md_section_align): Likewise.
+ * config/tc-i370.c (md_section_align): Likewise.
+ * config/tc-frv.c (md_section_align): Likewise.
+ * config/tc-fr30.c (md_section_align): Likewise.
+ * config/tc-epiphany.c (md_section_align): Likewise.
+ * config/tc-d30v.c (md_section_align): Likewise.
+ * config/tc-d10v.c (md_section_align): Likewise.
+ * config/tc-cr16.c (l_cons): Likewise.
+ * config/tc-bfin.c (md_section_align): Likewise.
+ * config/tc-arm.c (md_section_align): Likewise.
+ * config/tc-arc.c (md_section_align): Likewise.
+ * config/bfin-parse.y (expr_1): Likewise.
+
+
+ * config/rx-parse.y: Allow zero value for 5-bit displacements.
+
+
+ * config/tc-rx.c (parse_rx_section): Align parameter provides a
+ multiple of n argument, not a power of n argument.
+
+
+ * config/tc-aarch64.c (elf64_aarch64_target_format): Select the
+ cloudabi format if the TARGET_OS is cloudabi.
+
+
+ * config/tc-arm.c (insns): Guard cps by arm_ext_v6_notm instead of
+ arm_ext_v6_dsp.
+
+
+ * config/tc-arc.c (tokenize_arguments): Avoid creating unused
+ symbols when parsing relocation types.
+ (md_apply_fix): Handle TLS relocations. Fix BFD_RELOC_ARC_32_PCREL
+ relocation.
+ (arc_check_reloc): Emit BFD_RELOC_ARC_32_PCREL relocation.
+
+
+ * config/tc-arm.c (selected_cpu_name): Increase length of array to
+ accomodate "Samsung Exynos M1".
+ (arm_parse_cpu): Add assertion and length check to prevent
+ overfilling selected_cpu_name.
+
+
+ * config/tc-msp430.c (PUSH_1X_WORKAROUND): Delete.
+ (OPTION_SILICON_ERRATA): Define.
+ (OPTION_SILICON_WARN): Define.
+ (md_parse_opton): Handle silicon errata options.
+ (md_longopts): Add silicon errata options.
+ (ms_show_usage): Report silicon errata options.
+ (msp430_srcoperand): Handle silicon errata.
+ (msp430_operands): Likewise. Improve nop insertion.
+ (msp430_fix_adjustable): Update warning generation.
+ * doc/c-msp430.texi: Document silicon errata options.
+
+
+ * configure.ac: Properly check
+ --enable-compressed-debug-sections={yes,all}.
+ * configure: Regenerated.
+
+
+ PR gas/19109
+ * configure.ac: Handle --enable-compressed-debug-sections=*,gas,*.
+ * configure: Regenerated.
+
+
+ * config/tc-i386.c (tc_i386_fix_adjustable): Handle
+ BFD_RELOC_X86_64_GOTPCRELX and BFD_RELOC_X86_64_REX_GOTPCRELX.
+ (tc_gen_reloc): Likewise.
+ (i386_validate_fix): Generate BFD_RELOC_X86_64_GOTPCRELX or
+ BFD_RELOC_X86_64_REX_GOTPCRELX if fx_tcbit2 is set.
+ * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Also return
+ true for BFD_RELOC_X86_64_GOTPCRELX and
+ BFD_RELOC_X86_64_REX_GOTPCRELX.
+
+
+ * config/tc-i386.c (tc_i386_fix_adjustable): Handle
+ BFD_RELOC_386_GOT32X.
+ (tc_gen_reloc): Likewise.
+ (match_template): Force 0x8b encoding for "mov foo@GOT, %eax".
+ (output_disp): Check for "call/jmp *mem", "mov mem, %reg",
+ "test %reg, mem" and "binop mem, %reg" where binop is one of
+ adc, add, and, cmp, or, sbb, sub, xor instructions. Set
+ fx_tcbit if the REX prefix is generated. Set fx_tcbit2 if
+ BFD_RELOC_386_GOT32X should be generated.
+ (i386_validate_fix): Generate BFD_RELOC_386_GOT32X if fx_tcbit2
+ is set.
+
+
+ PR gas/19109
+ * configure.ac: Restore --enable-compressed-debug-sections, with
+ options of all, none or gas.
+ Do not enable compressed debug sections by default for x86 Linux
+ targets.
+ * configure: Regenerate.
+
+
+ PR gas/19109
+ * NEWS: Update --enable-compressed-debug-sections=.
+ * configure.ac: Remove --enable-compressed-debug-sections.
+ (DEFAULT_FLAG_COMPRESS_DEBUG): Check
+ --enable-compressed-debug-sections={all,gas} instead of
+ --enable-compressed-debug-sections. For x86 Linux targets,
+ default to compressing debug sections.
+ * configure: Regenerated.
+
+
+ PR gas/19109
+ * configure.ac: Add option --enable-compressed-debug-sections.
+ This sets the default behaviour for compressing debug sections.
+ * as.c (flag_compress_debug): Define and initialise to
+ COMPRESS_DEBUG_GABI_ZLIB if DEFAULT_COMPRESS_DEBUG is set.
+ (show_usage): Indicate whether --no-compress-debug-sections
+ or --compress-debug-sections is the default.
+ * config/tc-i386.c (flag_compress_debug): Delete definition.
+ * doc/as.texinfo (--nocompress-debug-sectionas): Update
+ description.
+ * NEWS: Announce the new feature.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+
+
+ * config/tc-msp430.c (msp430_mcu_names): Rename to
+ msp430_mcu_data. Add fields for the ISA and hardware multiply
+ support. Update with information from the latest devices.csv
+ file.
+ (md_parse_option): Make use of the new array.
+
+
+ * config/tc-avr.c (avr_output_property_record): Fix overwrite bug
+ for align and fill records.
+ (avr_handle_align): Record fill information for align frags.
+ (create_record_for_frag): Add next frag assertion, use correct
+ address for align records.
+
+
+ PR gas/19113
+ * read.c (next_char_of_string): Mask char after escape. Use
+ CHAR_MASK rather than 0xff.
+
+
+ * config/tc-aarch64.c (md_begin): Access field 'name' rather
+ than 'template'.
+
+
+ * config/tc-arc.c: Revamped file for ARC support.
+ * config/tc-arc.h: Likewise.
+ * doc/as.texinfo: Add new ARC options.
+ * doc/c-arc.texi: Likewise.
+
+
+ * config/tc-aarch64.c (s_tlsdescadd): New.
+ (s_tlsdescldr): New.
+ (md_pseudo_table): Handle tlsdescadd and tlsdescldr pseudo ops.
+ (reloc_table): Add entries for BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC and
+ BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC.
+ (process_movw_reloc_info): Support AARCH64_TLSDESC_OFF_G1 and
+ AARCH64_TLSDESC_OFF_G0_NC.
+ (md_apply_fix): Likewise.
+ (aarch64_force_relocation): Likewise.
+
+
+ * config/tc-aarch64.c (reloc_table): Add two entries for
+ gottprel_g0_nc and gottprel_g1.
+ (process_movw_reloc_info): Add support.
+ (md_apply_fix): Likewise.
+ (aarch64_force_relocation): Likewise.
+
+
+ * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g0_nc.
+ (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
+ (md_apply_fix): Likewise.
+ (aarch64_force_relocation): Likewise.
+
+
+ * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g1.
+ (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
+ (md_apply_fix): Likewise.
+ (aarch64_force_relocation): Likewise.
+
+
+ * config/tc-aarch64.c (reloc_table): New relocation modifier
+ gotoff_g0_nc.
+ (process_movw_reloc_info): Support gotoff_g0_nc.
+ (md_apply_fix): Likewise.
+
+
+ * config/tc-aarch64.c (reloc_table): New relocation modifier
+ gotoff_g1.
+ (process_movw_reloc_info): Support newly added modifier.
+ (md_apply_fix): Likewise.
+
+
+ * doc/c-s390.texi: Add documentation.
+ Add missing code markup.
+ * config/tc-s390.c (current_flags): New static variable.
+ (s390_parse_cpu): Parse cpu flags a la "+nohtm" etc.
+ (s390_setup_opcodes): Use cpu flags to determine the set of opcodes.
+ Fix indentation.
+ (md_parse_option): Call s390_parse_cpu with the new signature.
+ (s390_machine): Likewise.
+ Keep track of current_flags.
+ Simplify code a bit.
+ undefine MAX_HISTORY at end of function.
+ (s390_machinemode): undefine MAX_HISTORY at end of function.
+ Update an error message.
+
+
+ PR ld/18759
+ * config/tc-or1k.c (tc_gen_reloc): Correct computation of PC
+ relative relocs.
+ * config/tc-or1k.h (GAS_CGEN_PRCEL_R_TYPE): Delete.
+
+
+ PR 18994
+ * configure.ac (nds32): Don't use bash == in tests.
+ * configure: Regenerate.
+
+
+ * config/tc-ppc.c (insn_validate): Cast PPC_OPSHIFT_INV to an int.
+
+
+ * config/tc-rx.c (nop_7): Recode using MAX.
+
+
+ * config/tc-avr.c (md_section_align): Append UL for -1 to avoid
+ the latest gcc's warning.
+
+
+ PR gas/18581
+ * config/tc-aarch64.h (TC_START_LABEL): Redefine.
+ * config/tc-arm.c (tc_start_label_without_colon): Delete params.
+ Use input_line_pointer directly.
+ * config/tc-arm.h (TC_START_LABEL): Redefine.
+ (TC_START_LABEL_WITHOUT_COLON): Redefine.
+ (tc_start_label_without_colon): Update prototype.
+ * config/tc-bfin.c (bfin_start_label): Delete ptr param. Check
+ for NUL instead.
+ * config/tc-bfin.h (bfin_start_label): Update prototype.
+ (TC_START_LABEL): Redefine.
+ * config/tc-d30v.h (TC_START_LABEL): Redefine.
+ * config/tc-fr30.c (restore_colon): Rewrite.
+ (fr30_is_colon_insn): Add nul_char param. Return int. Bump
+ i_l_p over quote. Update restore_colon calls.
+ * config/tc-fr30.h (TC_START_LABEL): Redefine.
+ (fr30_is_colon_insn): Update prototype.
+ * config/tc-m32c.c (restore_colon, m32c_is_colon_insn): As above.
+ * config/tc-m32c.h (TC_START_LABEL): Redefine.
+ (m32c_is_colon_insn): Update prototype.
+ * config/tc-m32r.h (TC_START_LABEL): Redefine.
+ * config/tc-mep.h (TC_START_LABEL): Redefine.
+ * config/tc-nds32.h (TC_START_LABEL): Redefine.
+ * config/tc-tic54x.c (tic54x_start_label): Replace params with
+ nul_char and next_char. Step over trailing quote.
+ * config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Redefine.
+ (tic54x_start_label): Update prototype.
+ * read.c (TC_START_LABEL): Redefine. Update invocation.
+ (TC_START_LABEL_WITHOUT_COLON): Update invocation.
+ * config/tc-nios2.c (s_nios2_set): Save initial input_line_pointer
+ and restore if calling s_set. Don't restore delim again.
+
+
+ PR gas/18581
+ * config/tc-mn10200.c (md_assemble <mdr>): Move restore_line_pointer
+ call to where input line used to be restored.
+ * config/tc-mn10300.c (md_assemble <usp>): Remove redundant input
+ line restore.
+ * config/tc-tilepro.c (parse_reg_expression): Add regname var.
+
+
+ PR gas/18842
+ * configure.ac (AS_CHECK_DECLS): Add asprintf.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+
+
+ * config/tc-sparc.c (priv_reg_table): New privileged register
+ %pmcdper.
+
+
+ PR gas/18581
+ * expr.c (get_symbol_end): Rename to get_symbol_name. Add a
+ return parameter pointing to the start of the symbol. Allow
+ symbol names enclosed in double quotes.
+ (restore_line_pointer): New function. Replace the NUL character
+ inserted into the input stream with the given character. If the
+ character was a double quote, advance the input pointer.
+ * expr.h (get_symbol_end): Delete.
+ (get_symbol_name): Add prototype.
+ (restore_line_pointer): Prototype.
+ * read.h (SKIP_WHITESPACE_AFTER_NAME): New macro.
+ * doc/as.texinfo (Symbol Intro): Document that symbol names can
+ now be enclosed in double quotes.
+ * cond.c (s_ifdef): Replace get_symbol_end with get_symbol_name.
+ Use restore_line_pointer to replace the NUL in the input stream.
+ Use SKIP_WHITESPACE_AFTER_NAME to skip past the end of a symbol.
+ Check for the use of double quoted symbol names.
+ * expr.c: Likewise.
+ * config/obj-aout.c: Likewise.
+ * config/obj-coff-seh.c: Likewise.
+ * config/obj-coff.c: Likewise.
+ * config/obj-elf.c: Likewise.
+ * config/obj-evax.c: Likewise.
+ * config/obj-macho.c: Likewise.
+ * config/obj-som.c: Likewise.
+ * config/tc-alpha.c: Likewise.
+ * config/tc-arc.c: Likewise.
+ * config/tc-arm.c: Likewise.
+ * config/tc-dlx.c: Likewise.
+ * config/tc-h8300.c: Likewise.
+ * config/tc-hppa.c: Likewise.
+ * config/tc-i370.c: Likewise.
+ * config/tc-i386-intel.c: Likewise.
+ * config/tc-i386.c: Likewise.
+ * config/tc-i960.c: Likewise.
+ * config/tc-ia64.c: Likewise.
+ * config/tc-iq2000.c: Likewise.
+ * config/tc-m32r.c: Likewise.
+ * config/tc-m68hc11.c: Likewise.
+ * config/tc-m68k.c: Likewise.
+ * config/tc-microblaze.c: Likewise.
+ * config/tc-mips.c: Likewise.
+ * config/tc-mmix.c: Likewise.
+ * config/tc-mn10200.c: Likewise.
+ * config/tc-mn10300.c: Likewise.
+ * config/tc-nios2.c: Likewise.
+ * config/tc-ppc.c: Likewise.
+ * config/tc-s390.c: Likewise.
+ * config/tc-score.c: Likewise.
+ * config/tc-score7.c: Likewise.
+ * config/tc-sparc.c: Likewise.
+ * config/tc-tic4x.c: Likewise.
+ * config/tc-tic54x.c: Likewise.
+ * config/tc-tic6x.c: Likewise.
+ * config/tc-tilegx.c: Likewise.
+ * config/tc-tilepro.c: Likewise.
+ * config/tc-v850.c: Likewise.
+ * config/tc-xtensa.c: Likewise.
+ * config/tc-z80.c: Likewise.
+ * dw2gencfi.c: Likewise.
+ * dwarf2dbgc.: Likewise.
+ * ecoff.c: Likewise.
+ * read.c: Likewise.
+ * stabs.c: Likewise.
+
+
+ * config/tc-aarch64.c (reloc_table): New relocation types support for
+ dtprel_lo12.
+ (ldst_lo12_determine_real_reloc_type): Support
+ BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
+ BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
+ BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
+ BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
+ BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
+ BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
+ BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
+ BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC.
+ (parse_operands): Likewise.
+ (md_apply_fix): Likewise.
+ (aarch64_force_relocation): Likewise.
+ (process_movw_reloc_info): Likewise.
+
+
+ * config/tc-aarch64.c (reloc_table): New relocation modifiers,
+ "dtprel_hi12", "dtprel_g0", "dtprel_g0_nc", "dtprel_g1",
+ "dtprel_g1_nc", "dtprel_g2".
+ (md_apply_fix): Support new relocation types.
+ (aarch64_force_relocation): Likewise.
+ (process_movw_reloc_info): Likewise.
+
+
+ * config/tc-aarch64.c (reloc_table): New relocation modifiers.
+ (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
+ (aarch64_force_relocation): Likewise.
+
+
+ * gas/config/tc-arm.c (s_align): Delete.
+ (md_pseudo_table): Use s_align_ptwo for "align".
+ * gas/config/tc-arm.h (TC_ALIGN_ZERO_IS_DEFAULT): Define.
+ * read.c (s_align): Modify for TC_ALIGN_ZERO_IS_DEFAULT.
+
+
+ * expr.c (operand): Rewrite handling of operands starting with "0f".
+ If atof_generic only parses "-" or "+", treat as expression.
+
+
+ * expr.c (integer_constant): Return O_absent expression if eol.
+ (operand): For targets with both LOCAL_LABELS_FB and
+ NUMBERS_WITH_SUFFIX set, treat "0b" not followed by binary
+ digits as a local label reference. Correct handling of 0b prefix.
+ If a suffix is not allowed, error on 0B.
+
+
+ * doc/as.texinfo (Local Labels): Allowed range of N in local
+ labels is non-negative integers, not positive integers.
+
+
+ * config/tc-xtensa.c (struct litpool_frag, struct litpool_seg):
+ New structures.
+ (xtensa_maybe_create_literal_pool_frag): New function.
+ (litpool_seg_list, auto_litpools, auto_litpool_limit)
+ (litpool_buf, litpool_slotbuf): New static variables.
+ (option_auto_litpools, option_no_auto_litpools)
+ (option_auto_litpool_limit): New enum identifiers.
+ (md_longopts): Add entries for auto-litpools, no-auto-litpools
+ and auto-litpool-limit.
+ (md_parse_option): Handle option_auto_litpools,
+ option_no_auto_litpools and option_auto_litpool_limit.
+ (md_show_usage): Add help for --[no-]auto-litpools and
+ --auto-litpool-limit.
+ (xtensa_mark_literal_pool_location): Record a place for literal
+ pool with a call to xtensa_maybe_create_literal_pool_frag.
+ (get_literal_pool_location): Find highest priority literal pool
+ or convert candidate to literal pool when auto-litpools are used.
+ (xg_assemble_vliw_tokens): Create literal pool after jump
+ instruction.
+ (xtensa_check_frag_count): Create candidate literal pool every
+ auto_litpool_limit frags.
+ (xtensa_relax_frag): Add jump around literals to non-empty
+ literal pool.
+ (xtensa_move_literals): Estimate literal pool addresses and move
+ unreachable literals closer to their users, converting candidate
+ to literal pool if needed.
+ (xtensa_switch_to_non_abs_literal_fragment): Only emit error
+ about missing .literal_position in case auto-litpools are not
+ used.
+ * config/tc-xtensa.h (xtensa_relax_statesE): New relaxation
+ state: RELAX_LITERAL_POOL_CANDIDATE_BEGIN.
+ * doc/as.texinfo (Xtensa options): Document --auto-litpools and
+ --no-auto-litpools options.
+ * doc/c-xtensa.texi (Xtensa options): Likewise.
+
+
+ * config/tc-mips.c (move_register): Change to use 'or' only.
+ (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
+ use or for move.
+
+
+ * config/tc-aarch64.c (reloc_table): New relocation modifiers
+ "dtprel_lo12".
+ (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
+ (aarch64_force_relocation): Likewise.
+
+
+ * config/tc-aarch64.c (reloc_table): New relocation modifiers.
+ (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
+ (aarch64_force_relocation): Likewise.
+
+
+ * config/tc-aarch64.c (reloc_table): New relocation modifiers.
+ (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
+ (aarch64_force_relocation): Likewise.
+
+
+ PR gas/18765
+ * config/tc-arm.c (move_or_literal_pool): Use U suffix to remove
+ compile time warnings about constant expressions being shifted
+ into bit 31.
+ (do_iwmmxt_wldstd): Likewise.
+ (do_iwmmxt_wrwrwr_or_imm5): Likewise.
+ (md_assemble): Likewise.
+
+ PR gas/18574
+ * config/tc-msp430.c (msp430_operands): Rewrite if statements to
+ remove redundant checks.
+ (md_apply_fix): Likewise.
+
+ PR gas/18677
+ * config/tc-mmix.c (md_assemble): Fix typo checking operands with
+ a numeric constant value.
+
+ PR gas/18678
+ * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
+
+ PR gas/18679
+ * config/xtensa-relax.c (same_operand_name): Fix typo.
+
+
+ * tc-arm.c (double_to_single, is_double_a_single): Append ULL to
+ 0xFFFFFFFFFFFFF to avoid errors on 32-bit hosts.
+
+
+ * doc/c-aarch64.texi (.xword): Document directive.
+
+
+ * doc/as.texinfo (Overview): Add --hash-size to the synopsis and
+ fix typo in its entry: @kindex -> @item.
+
+
+ * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
+ * doc/c-mips.texi: Document m5100 and m5101 for -march=.
+
+
+ * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
+ * doc/c-mips.text: Document -march=interaptiv.
+
+
+ * configure: Regenerated.
+
+
+ * config/tc-rl78.c (rl78_abs_sym): New local variable.
+ (md_begin): Initialise the new symbol.
+ (OPIMM): Define the value to be relative to the new symbol and not
+ the absolute section symbol.
+
+
+ PR gas/18687
+ * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
+ loop. Don't drop lines at end of file lacking a newline, add a
+ newline instead. Ensure partial_size is zero whenever
+ partial_where is NULL. Adjust buffer size for extra char.
+ (input_scrub_push, input_scrub_begin): Adjust buffer size here too.
+
+
+ * NEWS: Mention corrected spelling of armv6kz.
+ * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
+ ARM_ARCH_V6KZ.
+ (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
+ * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
+
+
+ * config/tc-aarch64.c (reloc_table): New relocation modifiers.
+ (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
+ (aarch64_force_relocation): Ditto.
+
+
+ * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
+ * doc/c-arm.texi (-mfpu=): Likewise. Correct the entry for
+ neon-fp-armv8.1.
+
+
+ * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
+ not support ARM mode" error messages.
+
+
+ * config/tc-i386.c (flag_compress_debug): Replace
+ COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
+
+
+ * as.c (parse_args): Make --compress-debug-sections and
+ --compress-debug-sections=zlib the same as
+ --compress-debug-sections=zlib-gabi.
+ * doc/as.texinfo: Change --compress-debug-sections and
+ --compress-debug-sections=zlib to zlib-gabi.
+
+
+ * config/tc-mips.c (check_fpabi): Handle
+ VAL_GNU_MIPS_ABI_FP_NAN2008.
+
+
+ * doc/as.texinfo: Clarify case requirements for pseudo ops.
+
+
+ * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
+ 32 bit PC relative and update offset if the fixup is pc-relative.
+ * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
+ relocs.
+
+
+ * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
+ * doc/c-ppc.texi (PowerPC-Opts): Likewise.
+
+
+ * config/tc-nios2.c (nios2_min_align): New.
+ (nop): Replace with....
+ (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
+ (nios2_align): Handle alignment on 2-byte boundaries when CDX
+ instructions may be present.
+ (s_nios2_align): Adjust reference to nop.
+ (CDXBRANCH, IS_CDXBRANCH): New.
+ (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
+ (nios2_relax_subtype_size): Handle 2-byte CDX branches.
+ (nios2_relax_frag): Likewise.
+ (md_convert_frag): Handle R2 encodings.
+ (nios2_check_overflow): Check that low-order bits are zero
+ before applying rightshift from howto.
+ (nios2_check_overflow): Correct negative overflow calculation.
+ (nios2_diagnose_overflow): Handle signed_immed12_overflow. Issue
+ generic overflow messages for miscellaneous instruction formats.
+ (md_apply_fix): Recognize new R2 relocations. For pc_relative
+ relocations, store fixup in *valP.
+ (nios2_reglist_mask, nios2_reglist_dir): New.
+ (nios2_parse_reglist): New.
+ (nios2_parse_base_register): New.
+ (nios2_assemble_expression): Handle constant expressions designated
+ by BFD_RELOC_NONE.
+ (nios2_assemble_reg3): New.
+ (nios2_assemble_arg_c): Handle R2 instruction formats.
+ (nios2_assemble_arg_d): Likewise.
+ (nios2_assemble_arg_s): Likewise.
+ (nios2_assemble_arg_t): Likewise.
+ (nios2_assemble_arg_D): New.
+ (nios2_assemble_arg_S): New.
+ (nios2_assemble_arg_T): New.
+ (nios2_assemble_arg_i): Handle R2 instruction formats.
+ (nios2_assemble_arg_I): New.
+ (nios2_assemble_arg_u): Handle R2 instruction formats.
+ (nios2_assemble_arg_U): New.
+ (nios2_assemble_arg_V): New.
+ (nios2_assemble_arg_W): New.
+ (nios2_assemble_arg_X): New.
+ (nios2_assemble_arg_Y): New.
+ (nios2_assemble_arg_o): Handle R2 instruction formats.
+ (nios2_assemble_arg_O): New.
+ (nios2_assemble_arg_P): New.
+ (nios2_assemble_arg_j): Handle R2 instruction formats.
+ (nios2_assemble_arg_k): New.
+ (nios2_assemble_arg_l): Handle R2 instruction formats.
+ (nios2_assemble_arg_m): Likewise.
+ (nios2_assemble_arg_M): New.
+ (nios2_assemble_arg_N): New.
+ (nios2_assemble_arg_e): New.
+ (nios2_assemble_arg_f): New.
+ (nios2_assemble_arg_g): New.
+ (nios2_assemble_arg_h): New.
+ (nios2_assemble_arg_R): New.
+ (nios2_assemble_arg_B): New.
+ (nios2_assemble_args): Handle new argument letters.
+ (nios2_consume_arg): Likewise.
+ (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
+ in error message.
+ (nios2_ps_insn_info_structs): Add nop.n.
+ (output_ubranch): Handle CDX branches.
+ (output_cbranch): Likewise.
+ (output_call): Handle R2 encodings.
+ (output_movia): Likewise.
+ (md_begin): Initialize nios2_min_align.
+ (md_assemble): Align to nios2_min_align. Adjust nios2_min_align
+ if a 16-bit instruction is seen.
+ (nios2_cons_align): Use appropriate nop pattern.
+
+
+ * config/tc-nios2.c: Adjust includes.
+ (OPTION_MARCH): Define.
+ (md_longopts): Add -march option.
+ (nios2_architecture): New.
+ (nios2_use_arch): New.
+ (md_parse_option): Handle OPTION_MARCH.
+ (md_show_usage): Document -march.
+ (md_begin): Set arch in BFD.
+ (nios2_elf_final_processing): New.
+ * config/tc-nios2.h (elf_tc_final_processing): Define.
+ (nios2_elf_final_processing): New.
+ * doc/c-nios2.texi (-march): Add documentation.
+
+
+ * config/tc-i386.c (cpu_arch): Add .mwaitx.
+ (process_immext): Check operands for monitorx/mwaitx instructions.
+ * doc/c-i386.texi: Document mwaitx.
+
+
+ * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
+ COMPRESS_DEBUG_GNU_ZLIB.
+ * config/tc-i386.c (flag_compress_debug): Likewise.
+
+
+ * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
+
+
+ * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
+ Allow for optional operands without insert functions.
+
+
+ PR gas/18541
+ * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
+ mode against a nearby symbol.
+
+
+ PR gas/18481
+ * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
+ in the same case as BFD_RELOC_ARM_TLS_IS32.
+
+
+ * config/tc-arm.c (is_double_a_single): Make conditional upon the
+ availablity of a 64-bit type. Use this type for the argument and
+ mantissa.
+ (double_to_single): Likewise.
+ * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
+ the constant value, if available. Generate a 64-bit value from a
+ bignum if supported. Only perform the second optimization for
+ PR 18500 if the 64-bit type is available.
+
+
+ PR gas/18500
+ * config/tc-arm.c (is_double_a_single): New function.
+ (double_to_single): New function.
+ (move_or_literal_pool): Add support for converting VLDR to VMOV.
+
+ PR gas/18499
+ * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
+ to MOV.w or MVN.w for Thumb2.
+
+
+ * as.c (show_usage): Document --sectname-subst.
+ (parse_args): Add --sectname-subst.
+ * as.h (flag_sectname_subst): New.
+ * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
+ * doc/as.texinfo: Document it.
+
+
+ * config/tc-aarch64.c (reloc_table): New relocation modifier.
+ (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
+ (aarch64_force_relocation): Ditto
+
+
+ * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
+ out_debug_aranges depends on it.
+ (out_debug_aranges): Track size of header to properly pad header
+ for address alignment.
+
+
+ PR gas/18427
+ * gas/config/tc-hppa.c (last_label_symbol): Declare.
+ (pa_get_label): Return last label in current space/segment or NULL.
+ (pa_define_label): Record last label and add to root.
+ (pa_undefine_label): Remove last label from root.
+
* config/tc-rx.c (rx_op): Correct handling of integer bignums.
(aarch64_force_relocation): Ditto.
gas/
* config/tc-alpha.c (all_cfi_sections): Declare.