3 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
4 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
5 (aarch64_force_relocation): Likewise.
10 * config/tc-arm.c (move_or_literal_pool): Use U suffix to remove
11 compile time warnings about constant expressions being shifted
13 (do_iwmmxt_wldstd): Likewise.
14 (do_iwmmxt_wrwrwr_or_imm5): Likewise.
15 (md_assemble): Likewise.
18 * config/tc-msp430.c (msp430_operands): Rewrite if statements to
19 remove redundant checks.
20 (md_apply_fix): Likewise.
23 * config/tc-mmix.c (md_assemble): Fix typo checking operands with
24 a numeric constant value.
27 * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
30 * config/xtensa-relax.c (same_operand_name): Fix typo.
34 * tc-arm.c (double_to_single, is_double_a_single): Append ULL to
35 0xFFFFFFFFFFFFF to avoid errors on 32-bit hosts.
39 * doc/c-aarch64.texi (.xword): Document directive.
43 * doc/as.texinfo (Overview): Add --hash-size to the synopsis and
44 fix typo in its entry: @kindex -> @item.
48 * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
49 * doc/c-mips.texi: Document m5100 and m5101 for -march=.
53 * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
54 * doc/c-mips.text: Document -march=interaptiv.
58 * configure: Regenerated.
62 * config/tc-rl78.c (rl78_abs_sym): New local variable.
63 (md_begin): Initialise the new symbol.
64 (OPIMM): Define the value to be relative to the new symbol and not
65 the absolute section symbol.
70 * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
71 loop. Don't drop lines at end of file lacking a newline, add a
72 newline instead. Ensure partial_size is zero whenever
73 partial_where is NULL. Adjust buffer size for extra char.
74 (input_scrub_push, input_scrub_begin): Adjust buffer size here too.
78 * NEWS: Mention corrected spelling of armv6kz.
79 * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
81 (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
82 * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
86 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
87 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
88 (aarch64_force_relocation): Ditto.
92 * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
93 * doc/c-arm.texi (-mfpu=): Likewise. Correct the entry for
98 * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
99 not support ARM mode" error messages.
103 * config/tc-i386.c (flag_compress_debug): Replace
104 COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
108 * as.c (parse_args): Make --compress-debug-sections and
109 --compress-debug-sections=zlib the same as
110 --compress-debug-sections=zlib-gabi.
111 * doc/as.texinfo: Change --compress-debug-sections and
112 --compress-debug-sections=zlib to zlib-gabi.
116 * config/tc-mips.c (check_fpabi): Handle
117 VAL_GNU_MIPS_ABI_FP_NAN2008.
121 * doc/as.texinfo: Clarify case requirements for pseudo ops.
125 * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
126 32 bit PC relative and update offset if the fixup is pc-relative.
127 * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
132 * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
133 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
138 * config/tc-nios2.c (nios2_min_align): New.
139 (nop): Replace with....
140 (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
141 (nios2_align): Handle alignment on 2-byte boundaries when CDX
142 instructions may be present.
143 (s_nios2_align): Adjust reference to nop.
144 (CDXBRANCH, IS_CDXBRANCH): New.
145 (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
146 (nios2_relax_subtype_size): Handle 2-byte CDX branches.
147 (nios2_relax_frag): Likewise.
148 (md_convert_frag): Handle R2 encodings.
149 (nios2_check_overflow): Check that low-order bits are zero
150 before applying rightshift from howto.
151 (nios2_check_overflow): Correct negative overflow calculation.
152 (nios2_diagnose_overflow): Handle signed_immed12_overflow. Issue
153 generic overflow messages for miscellaneous instruction formats.
154 (md_apply_fix): Recognize new R2 relocations. For pc_relative
155 relocations, store fixup in *valP.
156 (nios2_reglist_mask, nios2_reglist_dir): New.
157 (nios2_parse_reglist): New.
158 (nios2_parse_base_register): New.
159 (nios2_assemble_expression): Handle constant expressions designated
161 (nios2_assemble_reg3): New.
162 (nios2_assemble_arg_c): Handle R2 instruction formats.
163 (nios2_assemble_arg_d): Likewise.
164 (nios2_assemble_arg_s): Likewise.
165 (nios2_assemble_arg_t): Likewise.
166 (nios2_assemble_arg_D): New.
167 (nios2_assemble_arg_S): New.
168 (nios2_assemble_arg_T): New.
169 (nios2_assemble_arg_i): Handle R2 instruction formats.
170 (nios2_assemble_arg_I): New.
171 (nios2_assemble_arg_u): Handle R2 instruction formats.
172 (nios2_assemble_arg_U): New.
173 (nios2_assemble_arg_V): New.
174 (nios2_assemble_arg_W): New.
175 (nios2_assemble_arg_X): New.
176 (nios2_assemble_arg_Y): New.
177 (nios2_assemble_arg_o): Handle R2 instruction formats.
178 (nios2_assemble_arg_O): New.
179 (nios2_assemble_arg_P): New.
180 (nios2_assemble_arg_j): Handle R2 instruction formats.
181 (nios2_assemble_arg_k): New.
182 (nios2_assemble_arg_l): Handle R2 instruction formats.
183 (nios2_assemble_arg_m): Likewise.
184 (nios2_assemble_arg_M): New.
185 (nios2_assemble_arg_N): New.
186 (nios2_assemble_arg_e): New.
187 (nios2_assemble_arg_f): New.
188 (nios2_assemble_arg_g): New.
189 (nios2_assemble_arg_h): New.
190 (nios2_assemble_arg_R): New.
191 (nios2_assemble_arg_B): New.
192 (nios2_assemble_args): Handle new argument letters.
193 (nios2_consume_arg): Likewise.
194 (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
196 (nios2_ps_insn_info_structs): Add nop.n.
197 (output_ubranch): Handle CDX branches.
198 (output_cbranch): Likewise.
199 (output_call): Handle R2 encodings.
200 (output_movia): Likewise.
201 (md_begin): Initialize nios2_min_align.
202 (md_assemble): Align to nios2_min_align. Adjust nios2_min_align
203 if a 16-bit instruction is seen.
204 (nios2_cons_align): Use appropriate nop pattern.
209 * config/tc-nios2.c: Adjust includes.
210 (OPTION_MARCH): Define.
211 (md_longopts): Add -march option.
212 (nios2_architecture): New.
213 (nios2_use_arch): New.
214 (md_parse_option): Handle OPTION_MARCH.
215 (md_show_usage): Document -march.
216 (md_begin): Set arch in BFD.
217 (nios2_elf_final_processing): New.
218 * config/tc-nios2.h (elf_tc_final_processing): Define.
219 (nios2_elf_final_processing): New.
220 * doc/c-nios2.texi (-march): Add documentation.
224 * config/tc-i386.c (cpu_arch): Add .mwaitx.
225 (process_immext): Check operands for monitorx/mwaitx instructions.
226 * doc/c-i386.texi: Document mwaitx.
230 * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
231 COMPRESS_DEBUG_GNU_ZLIB.
232 * config/tc-i386.c (flag_compress_debug): Likewise.
236 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
240 * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
241 Allow for optional operands without insert functions.
246 * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
247 mode against a nearby symbol.
252 * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
253 in the same case as BFD_RELOC_ARM_TLS_IS32.
257 * config/tc-arm.c (is_double_a_single): Make conditional upon the
258 availablity of a 64-bit type. Use this type for the argument and
260 (double_to_single): Likewise.
261 * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
262 the constant value, if available. Generate a 64-bit value from a
263 bignum if supported. Only perform the second optimization for
264 PR 18500 if the 64-bit type is available.
269 * config/tc-arm.c (is_double_a_single): New function.
270 (double_to_single): New function.
271 (move_or_literal_pool): Add support for converting VLDR to VMOV.
274 * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
275 to MOV.w or MVN.w for Thumb2.
279 * as.c (show_usage): Document --sectname-subst.
280 (parse_args): Add --sectname-subst.
281 * as.h (flag_sectname_subst): New.
282 * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
283 * doc/as.texinfo: Document it.
287 * config/tc-aarch64.c (reloc_table): New relocation modifier.
288 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
289 (aarch64_force_relocation): Ditto
293 * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
294 out_debug_aranges depends on it.
295 (out_debug_aranges): Track size of header to properly pad header
296 for address alignment.
301 * gas/config/tc-hppa.c (last_label_symbol): Declare.
302 (pa_get_label): Return last label in current space/segment or NULL.
303 (pa_define_label): Record last label and add to root.
304 (pa_undefine_label): Remove last label from root.
308 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
312 * NEWS: Mention ARMv8.1 support in the Aarch64 port.
313 * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
314 * doc/c-aarch64.texi (-march): Add "armv8.1-a".
318 * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
323 * config/tc-h8300.c (md_section_align): Fix compile time warning
324 about left shifting a negative value.
328 * config/tc-arm.c (arm_archs): Add "armv8.1-a".
329 * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
330 * NEWS: Mention ARMv8.1 support.
334 * config/tc-arm.c (arm_ext_pan): New.
335 (do_setpan): New, encode an ARM SETPAN instruction.
336 (do_t_setpan): New, encode a Thumb SETPAN instruction.
337 (insns): Add "setpan".
338 (arm_extensions): Add "pan".
339 * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
344 * config/tc-aarch64.c (aarch64_features): Add "rdma".
345 * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
349 * config/tc-aarch64.c (aarch64_features): Add "lor".
350 * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
351 architecture extensions.
355 * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target
356 support. Fix whitespace.
357 (parse_operands): Update for parse_sys_reg changes.
358 (aarch64_features): Add "pan".
359 * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
363 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
364 (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
365 (aarch64_force_relocation): Ditto.
369 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
370 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
371 (aarch64_force_relocation): Ditto.
378 * config/tc-alpha.c (all_cfi_sections): Declare.
379 (s_alpha_ent): Initialize all_cfi_sections.
380 (alpha_elf_md_end): Invoke cfi_set_sections.
381 * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
382 (s_ehword): Use BFD_RELOC_32_PCREL.
383 (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
384 (mips_cfi_reloc_for_encoding): New function.
385 * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
386 (DWARF2_FDE_RELOC_ENCODING): Define.
387 (tc_cfi_reloc_for_encoding): Define.
388 (mips_cfi_reloc_for_encoding): Define.
389 (tc_compact_eh_opcode_stop): Define.
390 (tc_compact_eh_opcode_pad): Define.
391 * doc/as.texinfo: Document Compact EH extensions.
392 * doc/internals.texi: Likewise.
393 * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
394 (tc_cfi_reloc_for_encoding): Provide default.
395 (compact_eh): Declare.
396 (emit_expr_encoded): New function.
397 (get_debugseg_name): Add Compact EH support.
398 (alloc_debugseg_item): Likewise.
399 (cfi_set_sections): New function.
400 (dot_cfi_fde_data): New function.
401 (dot_cfi_personality_id): New function.
402 (dot_cfi_inline_lsda): New function.
403 (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
405 (dot_cfi_personality): Add Compact EH support.
406 (dot_cfi_lsda): Likewise.
407 (dot_cfi_sections): Likewise.
408 (dot_cfi_startproc): Likewise.
409 (get_cfi_seg): Likewise.
410 (output_compact_unwind_data): New function.
411 (output_cfi_insn): Add Compact EH support.
412 (output_cie): Likewise.
413 (output_fde): Likewise.
414 (cfi_finish): Likewise.
415 (cfi_emit_eh_header): New function.
416 (output_eh_header): New function.
417 * dw2gencfi.h (cfi_set_sections): Declare.
418 (SUPPORT_COMPACT_EH): Define.
419 (MULTIPLE_FRAME_SECTIONS): Define.
420 New enumeration to describe the Compact EH header format.
421 (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
422 eh_data, eh_loc and sections.
423 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
424 CFI_EMIT_eh_frame_compact): Define.
428 * config/tc-xtensa.c (xtensa_move_literals): Check that
429 search_frag is non-NULL. Report error if literal frag is not
435 * read.c (output_big_sleb128): Use U suffix to prevent compile
440 * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
441 labels alphabetically.
442 (md_apply_fix): Ditto.
443 (aarch64_force_relocation): Ditto.
448 * config/tc-i386.c (OPTION_MAMD64): New.
449 (OPTION_MINTEL64): Likewise.
450 (md_longopts): Add -mamd64 and -mintel64.
451 (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
452 (md_show_usage): Add -mamd64 and -mintel64.
453 * doc/c-i386.texi: Document -mamd64 and -mintel64.
457 * config/tc-i386.c (shared): New.
458 (OPTION_MSHARED): Likewise.
459 (elf_symbol_resolved_in_segment_p): Add relocation argument.
460 Check PLT relocations and shared.
461 (md_estimate_size_before_relax): Pass fragP->fr_var to
462 elf_symbol_resolved_in_segment_p.
463 (md_longopts): Add -mshared.
464 (md_show_usage): Likewise.
465 (md_parse_option): Handle OPTION_MSHARED.
466 * doc/c-i386.texi: Document -mshared.
470 * write.c (compress_debug): Don't write the zlib header, which
471 is handled by bfd_update_compression_header.
475 * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
476 closer than J_RANGE / 2 to jump frag.
480 * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
481 * config/tc-i386.c (i386_mach): Support iamcu.
482 (i386_target_format): Likewise.
486 * config/tc-i386.c (cpu_arch): Add iamcu.
487 (i386_align_code): Handle PROCESSOR_IAMCU.
488 (i386_arch): Likewise.
489 (i386_mach): Likewise.
490 (i386_target_format): Likewise.
491 (valid_iamcu_cpu_flags): New function.
492 (check_cpu_arch_compatible): Only allow Intel MCU instructions
493 when targeting Intel MCU.
494 (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
495 are valid for Intel MCU.
496 (md_parse_option): Likewise.
497 * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
498 (processor_type): Add PROCESSOR_IAMCU.
499 * doc/c-i386.texi: Document iamcu.
504 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
505 * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move
506 the symbol name checking code to here from...
507 (md_undefined_symbo): ... here.
511 * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
512 (md_estimate_size_before_relax): Use it.
516 * config/tc-sparc.c: Typo in comment fixed.
520 * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
522 * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
526 * doc/as.texinfo (Dollar Local Labels): Note that these are only
527 supported on some targets.
531 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
535 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
540 * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
541 (msp430_make_init_symbols): New function.
542 (msp430_section): Call it.
543 (msp430_frob_section): Likewise.
547 * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
548 (struct cached_fixup, struct fixup_cache): New structures.
549 (fixup_order, xtensa_make_cached_fixup),
550 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
551 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
552 (xtensa_add_cached_fixup): New functions.
553 (xtensa_relax_frag): Cache fixups pointing at potentially
554 oversized jumps at the beginning of every relaxation pass. Only
555 check subset of this cache in the reach of single jump from the
556 trampoline frag currently being relaxed.
560 * config/rl78-parse.y (MULU): Remove ISA_G14.
561 (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
565 * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
566 * config/tc-i386.h (md_end): Likewise.
567 (i386_elf_emit_arch_note): Likewise.
571 * configure.tgt: Support i386-*-elf*.
575 * config/rl78-defs.h (rl78_isa_g10): New.
578 * config/rl78-parse.y (ISA_G10): New.
581 (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
582 * config/tc-rl78.c (rl78_isa_g10): New.
588 * config/tc-i386.c (i386_target_format): Use "else if" on
594 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
595 (if enabled) when the user creates a symbol with the same name as
597 (flag_warn_syms): New static variable.
598 (arm_opts): Add mwarn-syms and mno-warn-syms.
599 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
603 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
608 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
609 if the operand is neither a register nor a vector.
613 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
614 times if the expression is not constant and the target uses linker
619 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
624 * cond.c (s_if): Stop compile time warning about stopc being used
630 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
632 (md_assemble): Likewise, move the align code outside the loop.
636 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
641 * config/tc-arm.h (arm_min): New function.
642 (SUB_SEGMENT_ALIGN): Define.
646 * config/tc-mips.c (macro): State the recommended way of creating
647 32-bit or 64-bit addresses.
651 * config/tc-i386.c (match_mem_size): Also allow no size
652 specification when broadcasting.
656 * doc/as.texinfo (Bundle directives): Shorten menu entry and
658 (CFI directives): Use @subsection.
659 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
660 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
664 * config/tc-avr.c (create_record_for_frag): Rename link to
670 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
674 * as.h (compressed_debug_section_type): Removed.
678 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
679 (TC_FORCE_RELOCATION_SUB_SAME): Define.
680 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
685 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
686 the -EB option with the linker's --be8 option.
690 * doc/c-rx.texi: Fix markup typos in last change.
694 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
695 (md_longopts): Add -mno-allow-string-insns.
696 (md_parse_option): Handle -mno-allow-string-insns.
697 (md_show_usage): Mention -mno-allow-string-insns.
698 (rx_note_string_insn_use): New function. Produces an error
699 message if a string insn is used when it is not allowed.
700 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
701 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
702 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
703 * doc/c-rx.texi: Document -mno-allow-string-insns.
707 * as.c (show_usage): Update --compress-debug-sections.
708 (std_longopts): Use optional_argument on compress-debug-sections.
710 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
711 * as.h (compressed_debug_section_type): New.
712 (flag_compress_debug): Change type to compressed_debug_section_type.
713 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
714 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
715 --compress-debug-sections=zlib-gabi. Call
716 bfd_get_compression_header_size to get compression header size.
717 Don't rename section name for --compress-debug-sections=zlib-gabi.
718 * config/tc-i386.c (compressed_debug_section_type): Set to
720 * doc/as.texinfo: Document
721 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
725 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
726 (s_aarch64_inst): Likewise.
727 (md_assemble): Likewise.
731 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
736 * write.c (compress_debug): Don't write the zlib header if
737 compressed section size is the same as before compression.
742 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
743 min and max parameters. Sign extend values before testing.
747 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
748 (mapping_state_2): Don't emit MAP_DATA here.
749 (s_aarch64_inst): Align frag during state transition.
750 (md_assemble): Likewise.
754 * config/tc-aarch64.c (set_error_kind): Delete.
755 (set_error_message): Delete.
759 * configure: Regenerated.
763 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
764 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
768 * config/tc-arm.c: Add support for Samsung Exynos M1.
769 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
773 * configure: Regenerated.
777 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
781 * configure.ac: Revert the AM_ZLIB change.
782 * Makefile.in: Regenerated.
783 * aclocal.m4: Likewise.
784 * configure: Likewise.
788 * Makefile.am (ZLIBINC): New.
789 (AM_CFLAGS): Add $(ZLIBINC).
790 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
791 (parse_args): Likewise.
792 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
793 (compress_init): Don't check HAVE_ZLIB_H.
794 (compress_data): Likewise.
795 (compress_finish): Likewise.
796 * configure.ac (AM_ZLIB): Removed.
797 (zlibinc): New. AC_SUBST.
798 Add --with-system-zlib.
799 * Makefile.in: Regenerated.
800 * config.in: Likewise.
801 * configure: Likewise.
802 * doc/Makefile.in: Likewise.
806 * config/tc-i386.c (cpu_flags_set): Removed.
810 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
812 (mapping_state_2): Emit first MAP_DATA symbol here.
817 * write.c (compress_debug): Don't write the zlib header if
818 compression didn't make the section smaller.
822 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
824 (parse_psr): Likewise.
825 (do_t_mrs): Likewise.
826 (do_t_msr): Likewise.
827 (static const arm_feature_set arm_ext_*): Defined with new macros.
828 (static const arm_feature_set arm_cext_*): Likewise.
829 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
830 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
831 (deprecated_coproc_regs): Likewise.
832 (UL_BARRIER): Likewise.
833 (barrier_opt_names): Likewise.
834 (arm_cpus): Likewise.
835 (arm_extensions): Likewise.
839 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
840 instructions to 10 bytes.
844 * config/tc-rl78.c (enum options): Add G13 and G14.
845 (md_longopts): Add -mg13 and -mg14.
846 (md_parse_option): Handle -mg13 and -mg14.
847 (md_show_usage): List -mg13 and -mg14.
848 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
854 * doc/as.texinfo: Note that when gas compresses debug sections the
855 compression is only performed if it makes the section smaller.
856 * write.c (compress_debug): Do not compress a debug section if
857 doing so would make it larger.
861 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
862 (i386_align_code): Add PROCESSOR_ZNVER cases.
863 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
864 * doc/c-i386.texi: Add znver1 and clzero.
868 * dwarf2dbg.c (out_header): Remove spurious #if 1.
872 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
877 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
881 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
882 * doc/c-mips.texi: Document i6400 -march option.
887 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
888 to arm_apply_sym_value. Update prototype.
889 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
890 Do not apply the value if the symbol is in a different segment to
895 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
896 (md_apply_fix): Report an error on data-only fixups used with insns.
900 * config/tc-s390.c (md_gather_operands): Check for valid
901 length field operands.
905 * config/tc-arm.c (parse_operands): Fix bug setting writeback
906 values for '^' on OP_REGLSTs.
907 (do_push_pop): Add new writeback constraint.
911 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
912 (mapping_state_2): Emit first MAP_DATA symbol here.
916 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
922 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
923 initialised when CPU_DEFAULT is defined.
927 * config/tc-v850.c (md_parse_option): Fix code to set or clear
928 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
929 -m8byte-align and -m4byte-align command line options.
934 * config/tc-aarch64.c (process_movw_reloc_info): Allow
935 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
940 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
941 end to their alignment.
945 * config/tc-aarch64.c (reloc_table_entry): Generate
946 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
947 (md_apply_fix, aarch64_force_relocation): Handle
948 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
952 * config/tc-aarch64.c (reloc_table_entry): Generate
953 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
954 (md_apply_fix, aarch64_force_relocation): Handle
955 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
959 * config/tc-aarch64.c (reloc_table_entry): Generate
960 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
961 (md_apply_fix, aarch64_force_relocation): Handle
962 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
966 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
967 (reloc_table): Likewise.
968 (parse_address_main): Use ld_literal_type.
972 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
973 (reloc_table): Likewise.
974 (parse_address_main): Use adr_type.
978 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
982 * config/tc-avr.c: Add elf32-avr.h include.
983 (struct avr_property_record_link): New structure.
984 (avr_output_property_section_header): New function.
985 (avr_record_size): New function.
986 (avr_output_property_record): New function.
987 (avr_create_property_section): New function.
988 (avr_handle_align): New function.
989 (exclude_section_from_property_tables): New function.
990 (create_record_for_frag): New function.
991 (append_records_for_section): New function.
992 (avr_create_and_fill_property_section): New function.
993 (avr_post_relax_hook): New function.
994 * config/tc-avr.h (md_post_relax_hook): Define.
995 (avr_post_relax_hook): Declare.
996 (HANDLE_ALIGN): Define.
997 (avr_handle_align): Declare.
998 (strut avr_frag_data): New structure.
999 (TC_FRAG_TYPE): Define.
1003 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
1008 * config/tc-v850.c (soft_float): New variable.
1009 (v850_data_8): New variable.
1010 (md_show_usage): Add -msoft-float/-mhard-float.
1011 (md_parse_option): Likewise.
1012 (md_begin): Set the default value of soft_float.
1013 (v850_md_end): New function. Creates a note section.
1014 * config/tc-v850.h (md_end): Define.
1015 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
1019 * config/tc-h8300.c (line_separater_chars): Add a version for
1020 h8300-linux that includes a separator.
1021 (default_mach): New variable.
1023 (md_longopts): Add '--march' option.
1024 (md_parse_option): Parse the new option.
1025 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
1026 * configure.tgt: Add h8300-*-linux
1027 * doc/c-h8300.texi: Document --march.
1032 * dwarf2dbg.c (out_header): When generating dwarf sections use
1033 real symbols not temps for the start and end symbols.
1034 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
1035 adjustments to relocations in debug sections.
1036 (TC_LINKRELAX_FIXUP): Likewise.
1040 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
1041 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
1045 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
1049 * config/tc-arm.c: Add support for Cortex-A72.
1053 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
1054 of as_warn for deprecation messages.
1055 (encode_arm_addr_mode_2): Likewise.
1056 (check_obsolete): Likewise.
1057 (do_rd_rm_rn): Likewise.
1058 (do_co_reg): Likewise.
1059 (do_setend): Likewise.
1060 (do_t_mov_cmp): Likewise.
1061 (do_neon_ldr_str): Likewise.
1062 (opcode_lookup): Likewise.
1063 (if_fsm_post_encode): Likewise.
1064 (md_assemble): Likewise.
1068 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
1069 (cfi_change_reg_numbers): Also do nothing for CFI_label.
1070 (cfi_pseudo_table): Also handle .cfi_label when not supporting
1075 * config/tc-msp430.c (md_assemble): Correct size passed to
1076 extract_cmd. Remove index check.
1080 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
1081 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
1085 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
1090 * doc/c-aarch64.texi (.arch): Document the directive.
1091 (.arch_extension): Likewise.
1095 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1099 * Makefile.am: Add FT32 files.
1100 * config/tc-ft32.c: New file.
1101 * config/tc-ft32.h: New file.
1102 * configure.tgt: Add FT32 support.
1103 * Makefile.in: Regenerate.
1104 * po/POTFILES.in: Regenerate.
1108 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
1109 of instruction la to a symbol.
1113 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1118 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1119 * write.c (get_frag_for_reloc): Allow match just past end of frag.
1123 * config/tc-s390.c (struct pd_reg): Remove.
1124 (pre_defined_registers): Remove.
1125 (REG_NAME_CNT): Remove.
1126 (reg_name_search): Calculate the register number instead of doing
1128 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1129 reg_name_search signature.
1130 (s390_parse_cpu): Support the new arch string z13.
1131 (s390_insert_operand): Support for vector registers with the extra
1132 field for the fifth bit of each vector register operand.
1133 (md_gather_operand): Adjust to the new handling of optional
1136 * doc/as.texinfo: Document the z13 cpu string.
1140 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1141 #0, restoring previous behaviour.
1145 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1146 (cfi_pseudo_table): Add "cfi_label".
1147 (output_cfi_insn): Handle CFI_label.
1148 (select_cie_for_fde): Als terminate CIE when encountering
1150 * dw2gencfi.h (cfi_add_label): Declare.
1151 (struct cfi_insn_data): New member "sym_name".
1153 * read.c (read_symbol_name): Drop "static".
1154 * read.h (read_symbol_name): Declare.
1158 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1159 (do_neon_qshl_imm): Likewise.
1163 * read.c (s_altmacro, s_reloc): Make definition static.
1167 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
1172 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
1174 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
1178 * config/tc-arm.c (struct arm_option_extension_value_table):
1179 Split field "value" into fields "merge_value" and "clear_value".
1180 (arm_extensions): Adjust initializer accordingly.
1184 * as.c (parse_args): Just print current year.
1188 Update year range in copyright notice of all files.
1190 For older changes see ChangeLog-2014
1192 Copyright (C) 2015 Free Software Foundation, Inc.
1194 Copying and distribution of this file, with or without modification,
1195 are permitted in any medium without royalty provided the copyright
1196 notice and this notice are preserved.
1202 version-control: never