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