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