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