]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/ChangeLog
5374c5e71ce6df73c2c358301e96b8c03ff959ce
[thirdparty/binutils-gdb.git] / gas / ChangeLog
1 2015-07-09 Catherine Moore <clm@codesourcery.com>
2
3 * config/tc-mips.c (check_fpabi): Handle
4 VAL_GNU_MIPS_ABI_FP_NAN2008.
5
6 2015-07-08 Ciro Santilli <ciro.santilli@gmail.com>
7
8 * doc/as.texinfo: Clarify case requirements for pseudo ops.
9
10 2015-07-08 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
11
12 * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
13 32 bit PC relative and update offset if the fixup is pc-relative.
14 * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
15 relocs.
16
17 2015-07-03 Alan Modra <amodra@gmail.com>
18
19 * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
20 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
21
22 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
23 Cesar Philippidis <cesar@codesourcery.com>
24
25 * config/tc-nios2.c (nios2_min_align): New.
26 (nop): Replace with....
27 (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
28 (nios2_align): Handle alignment on 2-byte boundaries when CDX
29 instructions may be present.
30 (s_nios2_align): Adjust reference to nop.
31 (CDXBRANCH, IS_CDXBRANCH): New.
32 (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
33 (nios2_relax_subtype_size): Handle 2-byte CDX branches.
34 (nios2_relax_frag): Likewise.
35 (md_convert_frag): Handle R2 encodings.
36 (nios2_check_overflow): Check that low-order bits are zero
37 before applying rightshift from howto.
38 (nios2_check_overflow): Correct negative overflow calculation.
39 (nios2_diagnose_overflow): Handle signed_immed12_overflow. Issue
40 generic overflow messages for miscellaneous instruction formats.
41 (md_apply_fix): Recognize new R2 relocations. For pc_relative
42 relocations, store fixup in *valP.
43 (nios2_reglist_mask, nios2_reglist_dir): New.
44 (nios2_parse_reglist): New.
45 (nios2_parse_base_register): New.
46 (nios2_assemble_expression): Handle constant expressions designated
47 by BFD_RELOC_NONE.
48 (nios2_assemble_reg3): New.
49 (nios2_assemble_arg_c): Handle R2 instruction formats.
50 (nios2_assemble_arg_d): Likewise.
51 (nios2_assemble_arg_s): Likewise.
52 (nios2_assemble_arg_t): Likewise.
53 (nios2_assemble_arg_D): New.
54 (nios2_assemble_arg_S): New.
55 (nios2_assemble_arg_T): New.
56 (nios2_assemble_arg_i): Handle R2 instruction formats.
57 (nios2_assemble_arg_I): New.
58 (nios2_assemble_arg_u): Handle R2 instruction formats.
59 (nios2_assemble_arg_U): New.
60 (nios2_assemble_arg_V): New.
61 (nios2_assemble_arg_W): New.
62 (nios2_assemble_arg_X): New.
63 (nios2_assemble_arg_Y): New.
64 (nios2_assemble_arg_o): Handle R2 instruction formats.
65 (nios2_assemble_arg_O): New.
66 (nios2_assemble_arg_P): New.
67 (nios2_assemble_arg_j): Handle R2 instruction formats.
68 (nios2_assemble_arg_k): New.
69 (nios2_assemble_arg_l): Handle R2 instruction formats.
70 (nios2_assemble_arg_m): Likewise.
71 (nios2_assemble_arg_M): New.
72 (nios2_assemble_arg_N): New.
73 (nios2_assemble_arg_e): New.
74 (nios2_assemble_arg_f): New.
75 (nios2_assemble_arg_g): New.
76 (nios2_assemble_arg_h): New.
77 (nios2_assemble_arg_R): New.
78 (nios2_assemble_arg_B): New.
79 (nios2_assemble_args): Handle new argument letters.
80 (nios2_consume_arg): Likewise.
81 (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
82 in error message.
83 (nios2_ps_insn_info_structs): Add nop.n.
84 (output_ubranch): Handle CDX branches.
85 (output_cbranch): Likewise.
86 (output_call): Handle R2 encodings.
87 (output_movia): Likewise.
88 (md_begin): Initialize nios2_min_align.
89 (md_assemble): Align to nios2_min_align. Adjust nios2_min_align
90 if a 16-bit instruction is seen.
91 (nios2_cons_align): Use appropriate nop pattern.
92
93 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
94 Cesar Philippidis <cesar@codesourcery.com>
95
96 * config/tc-nios2.c: Adjust includes.
97 (OPTION_MARCH): Define.
98 (md_longopts): Add -march option.
99 (nios2_architecture): New.
100 (nios2_use_arch): New.
101 (md_parse_option): Handle OPTION_MARCH.
102 (md_show_usage): Document -march.
103 (md_begin): Set arch in BFD.
104 (nios2_elf_final_processing): New.
105 * config/tc-nios2.h (elf_tc_final_processing): Define.
106 (nios2_elf_final_processing): New.
107 * doc/c-nios2.texi (-march): Add documentation.
108
109 2015-06-30 Amit Pawar <Amit.Pawar@amd.com>
110
111 * config/tc-i386.c (cpu_arch): Add .mwaitx.
112 (process_immext): Check operands for monitorx/mwaitx instructions.
113 * doc/c-i386.texi: Document mwaitx.
114
115 2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
116
117 * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
118 COMPRESS_DEBUG_GNU_ZLIB.
119 * config/tc-i386.c (flag_compress_debug): Likewise.
120
121 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
122
123 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
124
125 2015-06-19 Peter Bergner <bergner@vnet.ibm.com>
126
127 * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
128 Allow for optional operands without insert functions.
129
130 2015-06-18 Nick Clifton <nickc@redhat.com>
131
132 PR gas/18541
133 * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
134 mode against a nearby symbol.
135
136 2015-06-18 Nick Clifton <nickc@redhat.com>
137
138 PR gas/18481
139 * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
140 in the same case as BFD_RELOC_ARM_TLS_IS32.
141
142 2015-06-17 Nick Clifton <nickc@redhat.com>
143
144 * config/tc-arm.c (is_double_a_single): Make conditional upon the
145 availablity of a 64-bit type. Use this type for the argument and
146 mantissa.
147 (double_to_single): Likewise.
148 * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
149 the constant value, if available. Generate a 64-bit value from a
150 bignum if supported. Only perform the second optimization for
151 PR 18500 if the 64-bit type is available.
152
153 2015-06-17 Alessandro Marzocchi <alessandro.marzocchi@gmail.com>
154
155 PR gas/18500
156 * config/tc-arm.c (is_double_a_single): New function.
157 (double_to_single): New function.
158 (move_or_literal_pool): Add support for converting VLDR to VMOV.
159
160 PR gas/18499
161 * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
162 to MOV.w or MVN.w for Thumb2.
163
164 2015-06-17 Nicolas Pitre <nico@linaro.org>
165
166 * as.c (show_usage): Document --sectname-subst.
167 (parse_args): Add --sectname-subst.
168 * as.h (flag_sectname_subst): New.
169 * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
170 * doc/as.texinfo: Document it.
171
172 2015-06-15 Renlin Li <renlin.li@arm.com>
173
174 * config/tc-aarch64.c (reloc_table): New relocation modifier.
175 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
176 (aarch64_force_relocation): Ditto
177
178 2015-06-13 Mark Wielaard <mjw@redhat.com>
179
180 * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
181 out_debug_aranges depends on it.
182 (out_debug_aranges): Track size of header to properly pad header
183 for address alignment.
184
185 2015-06-11 John David Anglin <danglin@gcc.gnu.org>
186
187 PR gas/18427
188 * gas/config/tc-hppa.c (last_label_symbol): Declare.
189 (pa_get_label): Return last label in current space/segment or NULL.
190 (pa_define_label): Record last label and add to root.
191 (pa_undefine_label): Remove last label from root.
192
193 2015-06-08 Nick Clifton <nickc@redhat.com>
194
195 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
196
197 2015-06-04 Matthew Wahab <matthew.wahab@arm.com>
198
199 * NEWS: Mention ARMv8.1 support in the Aarch64 port.
200 * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
201 * doc/c-aarch64.texi (-march): Add "armv8.1-a".
202
203 2015-06-04 Renlin Li <renlin.li@arm.com>
204
205 * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
206 when available.
207
208 2015-06-04 Nick Clifton <nickc@redhat.com>
209
210 * config/tc-h8300.c (md_section_align): Fix compile time warning
211 about left shifting a negative value.
212
213 2015-06-03 Matthew Wahab <matthew.wahab@arm.com>
214
215 * config/tc-arm.c (arm_archs): Add "armv8.1-a".
216 * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
217 * NEWS: Mention ARMv8.1 support.
218
219 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
220
221 * config/tc-arm.c (arm_ext_pan): New.
222 (do_setpan): New, encode an ARM SETPAN instruction.
223 (do_t_setpan): New, encode a Thumb SETPAN instruction.
224 (insns): Add "setpan".
225 (arm_extensions): Add "pan".
226 * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
227 extensions.
228
229 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
230
231 * config/tc-aarch64.c (aarch64_features): Add "rdma".
232 * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
233
234 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
235
236 * config/tc-aarch64.c (aarch64_features): Add "lor".
237 * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
238 architecture extensions.
239
240 2015-06-01 Matthew Wahab <matthew.wahab@arm.com>
241
242 * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target
243 support. Fix whitespace.
244 (parse_operands): Update for parse_sys_reg changes.
245 (aarch64_features): Add "pan".
246 * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
247
248 2015-06-01 Jiong Wang <jiong.wang@arm.com>
249
250 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
251 (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
252 (aarch64_force_relocation): Ditto.
253
254 2015-06-01 Jiong Wang <jiong.wang@arm.com>
255
256 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
257 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
258 (aarch64_force_relocation): Ditto.
259
260 2015-05-28 Catherine Moore <clm@codesourcery.com>
261 Bernd Schmidt <bernds@codesourcery.com>
262 Paul Brook <paul@codesourcery.com>
263
264 gas/
265 * config/tc-alpha.c (all_cfi_sections): Declare.
266 (s_alpha_ent): Initialize all_cfi_sections.
267 (alpha_elf_md_end): Invoke cfi_set_sections.
268 * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
269 (s_ehword): Use BFD_RELOC_32_PCREL.
270 (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
271 (mips_cfi_reloc_for_encoding): New function.
272 * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
273 (DWARF2_FDE_RELOC_ENCODING): Define.
274 (tc_cfi_reloc_for_encoding): Define.
275 (mips_cfi_reloc_for_encoding): Define.
276 (tc_compact_eh_opcode_stop): Define.
277 (tc_compact_eh_opcode_pad): Define.
278 * doc/as.texinfo: Document Compact EH extensions.
279 * doc/internals.texi: Likewise.
280 * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
281 (tc_cfi_reloc_for_encoding): Provide default.
282 (compact_eh): Declare.
283 (emit_expr_encoded): New function.
284 (get_debugseg_name): Add Compact EH support.
285 (alloc_debugseg_item): Likewise.
286 (cfi_set_sections): New function.
287 (dot_cfi_fde_data): New function.
288 (dot_cfi_personality_id): New function.
289 (dot_cfi_inline_lsda): New function.
290 (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
291 and cfi_inline_lsda.
292 (dot_cfi_personality): Add Compact EH support.
293 (dot_cfi_lsda): Likewise.
294 (dot_cfi_sections): Likewise.
295 (dot_cfi_startproc): Likewise.
296 (get_cfi_seg): Likewise.
297 (output_compact_unwind_data): New function.
298 (output_cfi_insn): Add Compact EH support.
299 (output_cie): Likewise.
300 (output_fde): Likewise.
301 (cfi_finish): Likewise.
302 (cfi_emit_eh_header): New function.
303 (output_eh_header): New function.
304 * dw2gencfi.h (cfi_set_sections): Declare.
305 (SUPPORT_COMPACT_EH): Define.
306 (MULTIPLE_FRAME_SECTIONS): Define.
307 New enumeration to describe the Compact EH header format.
308 (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
309 eh_data, eh_loc and sections.
310 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
311 CFI_EMIT_eh_frame_compact): Define.
312
313 2015-05-26 Max Filippov <jcmvbkbc@gmail.com>
314
315 * config/tc-xtensa.c (xtensa_move_literals): Check that
316 search_frag is non-NULL. Report error if literal frag is not
317 found.
318
319 2015-05-22 Nick Clifton <nickc@redhat.com>
320
321 PR gas/18446
322 * read.c (output_big_sleb128): Use U suffix to prevent compile
323 time warning.
324
325 2015-05-19 Jiong Wang <jiong.wang@arm.com>
326
327 * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
328 labels alphabetically.
329 (md_apply_fix): Ditto.
330 (aarch64_force_relocation): Ditto.
331
332 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
333
334 PR binutis/18386
335 * config/tc-i386.c (OPTION_MAMD64): New.
336 (OPTION_MINTEL64): Likewise.
337 (md_longopts): Add -mamd64 and -mintel64.
338 (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
339 (md_show_usage): Add -mamd64 and -mintel64.
340 * doc/c-i386.texi: Document -mamd64 and -mintel64.
341
342 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
343
344 * config/tc-i386.c (shared): New.
345 (OPTION_MSHARED): Likewise.
346 (elf_symbol_resolved_in_segment_p): Add relocation argument.
347 Check PLT relocations and shared.
348 (md_estimate_size_before_relax): Pass fragP->fr_var to
349 elf_symbol_resolved_in_segment_p.
350 (md_longopts): Add -mshared.
351 (md_show_usage): Likewise.
352 (md_parse_option): Handle OPTION_MSHARED.
353 * doc/c-i386.texi: Document -mshared.
354
355 2015-05-14 H.J. Lu <hongjiu.lu@intel.com>
356
357 * write.c (compress_debug): Don't write the zlib header, which
358 is handled by bfd_update_compression_header.
359
360 2015-05-13 Max Filippov <jcmvbkbc@gmail.com>
361
362 * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
363 closer than J_RANGE / 2 to jump frag.
364
365 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
366
367 * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
368 * config/tc-i386.c (i386_mach): Support iamcu.
369 (i386_target_format): Likewise.
370
371 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
372
373 * config/tc-i386.c (cpu_arch): Add iamcu.
374 (i386_align_code): Handle PROCESSOR_IAMCU.
375 (i386_arch): Likewise.
376 (i386_mach): Likewise.
377 (i386_target_format): Likewise.
378 (valid_iamcu_cpu_flags): New function.
379 (check_cpu_arch_compatible): Only allow Intel MCU instructions
380 when targeting Intel MCU.
381 (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
382 are valid for Intel MCU.
383 (md_parse_option): Likewise.
384 * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
385 (processor_type): Add PROCESSOR_IAMCU.
386 * doc/c-i386.texi: Document iamcu.
387
388 2015-05-08 Nick Clifton <nickc@redhat.com>
389
390 PR gas/18347
391 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
392 * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move
393 the symbol name checking code to here from...
394 (md_undefined_symbo): ... here.
395
396 2015-05-07 H.J. Lu <hongjiu.lu@intel.com>
397
398 * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
399 (md_estimate_size_before_relax): Use it.
400
401 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
402
403 * config/tc-sparc.c: Typo in comment fixed.
404
405 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
406
407 * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
408 condition codes
409 * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
410
411 2015-05-06 Nick Clifton <nickc@redhat.com>
412
413 * doc/as.texinfo (Dollar Local Labels): Note that these are only
414 supported on some targets.
415
416 2015-05-06 Renlin Li <renlin.li@arm.com>
417
418 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
419
420 2015-05-05 Renlin Li <renlin.li@arm.com>
421
422 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
423 symbols.
424
425 2015-05-05 Nick Clifton <nickc@redhat.com>
426
427 * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
428 (msp430_make_init_symbols): New function.
429 (msp430_section): Call it.
430 (msp430_frob_section): Likewise.
431
432 2015-05-02 Max Filippov <jcmvbkbc@gmail.com>
433
434 * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
435 (struct cached_fixup, struct fixup_cache): New structures.
436 (fixup_order, xtensa_make_cached_fixup),
437 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
438 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
439 (xtensa_add_cached_fixup): New functions.
440 (xtensa_relax_frag): Cache fixups pointing at potentially
441 oversized jumps at the beginning of every relaxation pass. Only
442 check subset of this cache in the reach of single jump from the
443 trampoline frag currently being relaxed.
444
445 2015-05-01 Nick Clifton <nickc@redhat.com>
446
447 * config/rl78-parse.y (MULU): Remove ISA_G14.
448 (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
449
450 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
451
452 * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
453 * config/tc-i386.h (md_end): Likewise.
454 (i386_elf_emit_arch_note): Likewise.
455
456 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
457
458 * configure.tgt: Support i386-*-elf*.
459
460 2015-04-30 DJ Delorie <dj@redhat.com>
461
462 * config/rl78-defs.h (rl78_isa_g10): New.
463 (rl78_isa_g13): New.
464 (rl78_isa_g14): New.
465 * config/rl78-parse.y (ISA_G10): New.
466 (ISA_G13): New.
467 (ISA_G14): New.
468 (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
469 * config/tc-rl78.c (rl78_isa_g10): New.
470 (rl78_isa_g13): New.
471 (rl78_isa_g14): New.
472
473 2015-04-30 H.J. Lu <hongjiu.lu@intel.com>
474
475 * config/tc-i386.c (i386_target_format): Use "else if" on
476 cpu_arch_isa.
477
478 2015-04-30 Nick Clifton <nickc@redhat.com>
479
480 PR gas/18347
481 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
482 (if enabled) when the user creates a symbol with the same name as
483 an ARM instruction.
484 (flag_warn_syms): New static variable.
485 (arm_opts): Add mwarn-syms and mno-warn-syms.
486 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
487 options.
488
489 PR gas/18353
490 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
491
492 2015-04-29 Nick Clifton <nickc@redhat.com>
493
494 PR 18256
495 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
496 if the operand is neither a register nor a vector.
497
498 2015-04-29 Nick Clifton <nickc@redhat.com>
499
500 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
501 times if the expression is not constant and the target uses linker
502 relaxation.
503
504 2015-04-28 Renlin Li <renlin.li@arm.com>
505
506 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
507
508 2015-04-28 Nick Clifton <nickc@redhat.com>
509
510 PR 18313
511 * cond.c (s_if): Stop compile time warning about stopc being used
512 before it is set.
513 (s_ifc): Likewise.
514
515 2015-04-27 Renlin Li <renlin.li@arm.com>
516
517 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
518 section.
519 (md_assemble): Likewise, move the align code outside the loop.
520
521 2015-04-24 Jim Wilson <jim.wilson@linaro.org>
522
523 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
524 for thunderx.
525
526 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
527
528 * config/tc-arm.h (arm_min): New function.
529 (SUB_SEGMENT_ALIGN): Define.
530
531 2015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
532
533 * config/tc-mips.c (macro): State the recommended way of creating
534 32-bit or 64-bit addresses.
535
536 2015-04-23 Jan Beulich <jbeulich@suse.com>
537
538 * config/tc-i386.c (match_mem_size): Also allow no size
539 specification when broadcasting.
540
541 2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
542
543 * doc/as.texinfo (Bundle directives): Shorten menu entry and
544 use @subsection.
545 (CFI directives): Use @subsection.
546 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
547 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
548
549 2015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
550
551 * config/tc-avr.c (create_record_for_frag): Rename link to
552 prop_rec_link.
553
554 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
555
556 * NEWS: Mention
557 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
558
559 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
560
561 * as.h (compressed_debug_section_type): Removed.
562
563 2015-04-14 Nick Clifton <nickc@redhat.com>
564
565 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
566 (TC_FORCE_RELOCATION_SUB_SAME): Define.
567 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
568
569 2015-04-10 Nick Clifton <nickc@redhat.com>
570
571 PR binutils/18198
572 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
573 the -EB option with the linker's --be8 option.
574
575 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
576
577 * doc/c-rx.texi: Fix markup typos in last change.
578
579 2015-04-09 Nick Clifton <nickc@redhat.com>
580
581 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
582 (md_longopts): Add -mno-allow-string-insns.
583 (md_parse_option): Handle -mno-allow-string-insns.
584 (md_show_usage): Mention -mno-allow-string-insns.
585 (rx_note_string_insn_use): New function. Produces an error
586 message if a string insn is used when it is not allowed.
587 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
588 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
589 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
590 * doc/c-rx.texi: Document -mno-allow-string-insns.
591
592 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
593
594 * as.c (show_usage): Update --compress-debug-sections.
595 (std_longopts): Use optional_argument on compress-debug-sections.
596 (parse_args): Handle
597 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
598 * as.h (compressed_debug_section_type): New.
599 (flag_compress_debug): Change type to compressed_debug_section_type.
600 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
601 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
602 --compress-debug-sections=zlib-gabi. Call
603 bfd_get_compression_header_size to get compression header size.
604 Don't rename section name for --compress-debug-sections=zlib-gabi.
605 * config/tc-i386.c (compressed_debug_section_type): Set to
606 COMPRESS_DEBUG_ZLIB.
607 * doc/as.texinfo: Document
608 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
609
610 2015-04-07 Renlin Li <renlin.li@arm.com>
611
612 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
613 (s_aarch64_inst): Likewise.
614 (md_assemble): Likewise.
615
616 2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
617
618 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
619 section size.
620
621 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
622
623 * write.c (compress_debug): Don't write the zlib header if
624 compressed section size is the same as before compression.
625
626 2015-04-02 Nick Clifton <nickc@redhat.com>
627
628 PR gas/18189
629 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
630 min and max parameters. Sign extend values before testing.
631
632 2015-04-02 Renlin Li <renlin.li@arm.com>
633
634 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
635 (mapping_state_2): Don't emit MAP_DATA here.
636 (s_aarch64_inst): Align frag during state transition.
637 (md_assemble): Likewise.
638
639 2015-04-02 Ed Maste <emaste@freebsd.org>
640
641 * config/tc-aarch64.c (set_error_kind): Delete.
642 (set_error_message): Delete.
643
644 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
645
646 * configure: Regenerated.
647
648 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
649
650 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
651 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
652
653 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
654
655 * config/tc-arm.c: Add support for Samsung Exynos M1.
656 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
657
658 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
659
660 * configure: Regenerated.
661
662 2015-03-31 Ed Schouten <ed@nuxi.nl>
663
664 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
665
666 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
667
668 * configure.ac: Revert the AM_ZLIB change.
669 * Makefile.in: Regenerated.
670 * aclocal.m4: Likewise.
671 * configure: Likewise.
672
673 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
674
675 * Makefile.am (ZLIBINC): New.
676 (AM_CFLAGS): Add $(ZLIBINC).
677 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
678 (parse_args): Likewise.
679 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
680 (compress_init): Don't check HAVE_ZLIB_H.
681 (compress_data): Likewise.
682 (compress_finish): Likewise.
683 * configure.ac (AM_ZLIB): Removed.
684 (zlibinc): New. AC_SUBST.
685 Add --with-system-zlib.
686 * Makefile.in: Regenerated.
687 * config.in: Likewise.
688 * configure: Likewise.
689 * doc/Makefile.in: Likewise.
690
691 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
692
693 * config/tc-i386.c (cpu_flags_set): Removed.
694
695 2015-03-25 Renlin Li <renlin.li@arm.com>
696
697 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
698 code.
699 (mapping_state_2): Emit first MAP_DATA symbol here.
700
701 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
702
703 PR gas/18087
704 * write.c (compress_debug): Don't write the zlib header if
705 compression didn't make the section smaller.
706
707 2015-03-24 Terry Guo <terry.guo@arm.com>
708
709 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
710 features.
711 (parse_psr): Likewise.
712 (do_t_mrs): Likewise.
713 (do_t_msr): Likewise.
714 (static const arm_feature_set arm_ext_*): Defined with new macros.
715 (static const arm_feature_set arm_cext_*): Likewise.
716 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
717 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
718 (deprecated_coproc_regs): Likewise.
719 (UL_BARRIER): Likewise.
720 (barrier_opt_names): Likewise.
721 (arm_cpus): Likewise.
722 (arm_extensions): Likewise.
723
724 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
725
726 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
727 instructions to 10 bytes.
728
729 2015-03-19 Nick Clifton <nickc@redhat.com>
730
731 * config/tc-rl78.c (enum options): Add G13 and G14.
732 (md_longopts): Add -mg13 and -mg14.
733 (md_parse_option): Handle -mg13 and -mg14.
734 (md_show_usage): List -mg13 and -mg14.
735 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
736
737 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
738 Nick Clifton <nickc@redhat.com>
739
740 PR binutils/18087
741 * doc/as.texinfo: Note that when gas compresses debug sections the
742 compression is only performed if it makes the section smaller.
743 * write.c (compress_debug): Do not compress a debug section if
744 doing so would make it larger.
745
746 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
747
748 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
749 (i386_align_code): Add PROCESSOR_ZNVER cases.
750 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
751 * doc/c-i386.texi: Add znver1 and clzero.
752
753 2015-03-16 Nick Clifton <nickc@redhat.com>
754
755 * dwarf2dbg.c (out_header): Remove spurious #if 1.
756
757 2015-03-13 Jiong Wang <jiong.wang@arm.com>
758
759 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
760 number 31.
761
762 2015-03-13 Jiong Wang <jiong.wang@arm.com>
763
764 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
765
766 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
767
768 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
769 * doc/c-mips.texi: Document i6400 -march option.
770
771 2015-03-12 Nick Clifton <nickc@redhat.com>
772
773 PR gas/17444
774 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
775 to arm_apply_sym_value. Update prototype.
776 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
777 Do not apply the value if the symbol is in a different segment to
778 the current segment.
779
780 2015-03-11 Alan Modra <amodra@gmail.com>
781
782 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
783 (md_apply_fix): Report an error on data-only fixups used with insns.
784
785 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
786
787 * config/tc-s390.c (md_gather_operands): Check for valid
788 length field operands.
789
790 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
791
792 * config/tc-arm.c (parse_operands): Fix bug setting writeback
793 values for '^' on OP_REGLSTs.
794 (do_push_pop): Add new writeback constraint.
795
796 2015-03-10 Renlin Li <renlin.li@arm.com>
797
798 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
799 (mapping_state_2): Emit first MAP_DATA symbol here.
800
801 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
802
803 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
804 code sections.
805
806 2015-03-10 Nick Clifton <nickc@redhat.com>
807
808 PR gas/17852
809 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
810 initialised when CPU_DEFAULT is defined.
811
812 2015-03-05 Nick Clifton <nickc@redhat.com>
813
814 * config/tc-v850.c (md_parse_option): Fix code to set or clear
815 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
816 -m8byte-align and -m4byte-align command line options.
817
818 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
819
820 PR gas/17843
821 * config/tc-aarch64.c (process_movw_reloc_info): Allow
822 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
823 for MOVK.
824
825 2015-02-28 Alan Modra <amodra@gmail.com>
826
827 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
828 end to their alignment.
829
830 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
831
832 * config/tc-aarch64.c (reloc_table_entry): Generate
833 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
834 (md_apply_fix, aarch64_force_relocation): Handle
835 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
836
837 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
838
839 * config/tc-aarch64.c (reloc_table_entry): Generate
840 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
841 (md_apply_fix, aarch64_force_relocation): Handle
842 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
843
844 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
845
846 * config/tc-aarch64.c (reloc_table_entry): Generate
847 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
848 (md_apply_fix, aarch64_force_relocation): Handle
849 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
850
851 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
852
853 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
854 (reloc_table): Likewise.
855 (parse_address_main): Use ld_literal_type.
856
857 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
858
859 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
860 (reloc_table): Likewise.
861 (parse_address_main): Use adr_type.
862
863 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
864
865 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
866
867 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
868
869 * config/tc-avr.c: Add elf32-avr.h include.
870 (struct avr_property_record_link): New structure.
871 (avr_output_property_section_header): New function.
872 (avr_record_size): New function.
873 (avr_output_property_record): New function.
874 (avr_create_property_section): New function.
875 (avr_handle_align): New function.
876 (exclude_section_from_property_tables): New function.
877 (create_record_for_frag): New function.
878 (append_records_for_section): New function.
879 (avr_create_and_fill_property_section): New function.
880 (avr_post_relax_hook): New function.
881 * config/tc-avr.h (md_post_relax_hook): Define.
882 (avr_post_relax_hook): Declare.
883 (HANDLE_ALIGN): Define.
884 (avr_handle_align): Declare.
885 (strut avr_frag_data): New structure.
886 (TC_FRAG_TYPE): Define.
887
888 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
889
890 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
891 cortex-a72.
892
893 2015-02-24 Nick Clifton <nickc@redhat.com>
894
895 * config/tc-v850.c (soft_float): New variable.
896 (v850_data_8): New variable.
897 (md_show_usage): Add -msoft-float/-mhard-float.
898 (md_parse_option): Likewise.
899 (md_begin): Set the default value of soft_float.
900 (v850_md_end): New function. Creates a note section.
901 * config/tc-v850.h (md_end): Define.
902 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
903
904 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
905
906 * config/tc-h8300.c (line_separater_chars): Add a version for
907 h8300-linux that includes a separator.
908 (default_mach): New variable.
909 (md_main): Use it.
910 (md_longopts): Add '--march' option.
911 (md_parse_option): Parse the new option.
912 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
913 * configure.tgt: Add h8300-*-linux
914 * doc/c-h8300.texi: Document --march.
915
916 2015-02-23 Nick Clifton <nickc@redhat.com>
917
918 PR 17940
919 * dwarf2dbg.c (out_header): When generating dwarf sections use
920 real symbols not temps for the start and end symbols.
921 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
922 adjustments to relocations in debug sections.
923 (TC_LINKRELAX_FIXUP): Likewise.
924
925 2015-02-19 Alan Modra <amodra@gmail.com>
926
927 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
928 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
929
930 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
931
932 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
933
934 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
935
936 * config/tc-arm.c: Add support for Cortex-A72.
937
938 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
939
940 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
941 of as_warn for deprecation messages.
942 (encode_arm_addr_mode_2): Likewise.
943 (check_obsolete): Likewise.
944 (do_rd_rm_rn): Likewise.
945 (do_co_reg): Likewise.
946 (do_setend): Likewise.
947 (do_t_mov_cmp): Likewise.
948 (do_neon_ldr_str): Likewise.
949 (opcode_lookup): Likewise.
950 (if_fsm_post_encode): Likewise.
951 (md_assemble): Likewise.
952
953 2015-02-06 Jan Beulich <jbeulich@suse.com>
954
955 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
956 (cfi_change_reg_numbers): Also do nothing for CFI_label.
957 (cfi_pseudo_table): Also handle .cfi_label when not supporting
958 CFI directives.
959
960 2015-02-05 Alan Modra <amodra@gmail.com>
961
962 * config/tc-msp430.c (md_assemble): Correct size passed to
963 extract_cmd. Remove index check.
964
965 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
966
967 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
968 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
969
970 2015-02-04 Nick Clifton <nickc@redhat.com>
971
972 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
973 these instructions.
974
975 2015-02-03 Renlin Li <renlin.li@arm.com>
976
977 * doc/c-aarch64.texi (.arch): Document the directive.
978 (.arch_extension): Likewise.
979
980 2015-02-03 Nick Clifton <nickc@redhat.com>
981
982 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
983
984 2015-01-28 James Bowman <james.bowman@ftdichip.com>
985
986 * Makefile.am: Add FT32 files.
987 * config/tc-ft32.c: New file.
988 * config/tc-ft32.h: New file.
989 * configure.tgt: Add FT32 support.
990 * Makefile.in: Regenerate.
991 * po/POTFILES.in: Regenerate.
992
993 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
994
995 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
996 of instruction la to a symbol.
997
998 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
999
1000 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1001 section name.
1002
1003 2015-01-19 Alan Modra <amodra@gmail.com>
1004
1005 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1006 * write.c (get_frag_for_reloc): Allow match just past end of frag.
1007
1008 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1009
1010 * config/tc-s390.c (struct pd_reg): Remove.
1011 (pre_defined_registers): Remove.
1012 (REG_NAME_CNT): Remove.
1013 (reg_name_search): Calculate the register number instead of doing
1014 a lookup.
1015 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1016 reg_name_search signature.
1017 (s390_parse_cpu): Support the new arch string z13.
1018 (s390_insert_operand): Support for vector registers with the extra
1019 field for the fifth bit of each vector register operand.
1020 (md_gather_operand): Adjust to the new handling of optional
1021 parameters.
1022
1023 * doc/as.texinfo: Document the z13 cpu string.
1024
1025 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
1026
1027 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1028 #0, restoring previous behaviour.
1029
1030 2015-01-12 Jan Beulich <jbeulich@suse.com>
1031
1032 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1033 (cfi_pseudo_table): Add "cfi_label".
1034 (output_cfi_insn): Handle CFI_label.
1035 (select_cie_for_fde): Als terminate CIE when encountering
1036 CFI_label.
1037 * dw2gencfi.h (cfi_add_label): Declare.
1038 (struct cfi_insn_data): New member "sym_name".
1039 (CFI_label): New.
1040 * read.c (read_symbol_name): Drop "static".
1041 * read.h (read_symbol_name): Declare.
1042
1043 2015-01-12 Jan Beulich <jbeulich@suse.com>
1044
1045 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1046 (do_neon_qshl_imm): Likewise.
1047
1048 2015-01-12 Alan Modra <amodra@gmail.com>
1049
1050 * read.c (s_altmacro, s_reloc): Make definition static.
1051
1052 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
1053
1054 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
1055 diff fixups.
1056
1057 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1058
1059 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
1060 X-Gene 2.
1061 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
1062
1063 2015-01-07 Jan Beulich <jbeulich@suse.com>
1064
1065 * config/tc-arm.c (struct arm_option_extension_value_table):
1066 Split field "value" into fields "merge_value" and "clear_value".
1067 (arm_extensions): Adjust initializer accordingly.
1068
1069 2015-01-01 Alan Modra <amodra@gmail.com>
1070
1071 * as.c (parse_args): Just print current year.
1072
1073 2015-01-01 Alan Modra <amodra@gmail.com>
1074
1075 Update year range in copyright notice of all files.
1076
1077 For older changes see ChangeLog-2014
1078 \f
1079 Copyright (C) 2015 Free Software Foundation, Inc.
1080
1081 Copying and distribution of this file, with or without modification,
1082 are permitted in any medium without royalty provided the copyright
1083 notice and this notice are preserved.
1084
1085 Local Variables:
1086 mode: change-log
1087 left-margin: 8
1088 fill-column: 74
1089 version-control: never
1090 End: