x86: don't require operand size specification for AVX512 broadcasts
[external/binutils.git] / gas / ChangeLog
1 2015-04-23  Jan Beulich  <jbeulich@suse.com>
2
3         * config/tc-i386.c (match_mem_size): Also allow no size
4         specification when broadcasting.
5
6 2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
7
8         * doc/as.texinfo (Bundle directives): Shorten menu entry and
9         use @subsection.
10         (CFI directives): Use @subsection.
11         (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
12         * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
13
14 2015-04-17  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
15
16         * config/tc-avr.c (create_record_for_frag): Rename link to
17         prop_rec_link.
18
19 2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
20
21         * NEWS: Mention
22         --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
23
24 2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
25
26         * as.h (compressed_debug_section_type): Removed.
27
28 2015-04-14  Nick Clifton  <nickc@redhat.com>
29
30         * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
31         (TC_FORCE_RELOCATION_SUB_SAME): Define.
32         (DWARF2_USE_FIXED_ADVANCE_PC): Define.
33
34 2015-04-10  Nick Clifton  <nickc@redhat.com>
35
36         PR binutils/18198
37         * doc/c-arm.texi (ARM Options): Add a note about the interaction of
38         the -EB option with the linker's --be8 option.
39
40 2015-04-09  Hans-Peter Nilsson  <hp@axis.com>
41
42         * doc/c-rx.texi: Fix markup typos in last change.
43
44 2015-04-09  Nick Clifton  <nickc@redhat.com>
45
46         * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
47         (md_longopts): Add -mno-allow-string-insns.
48         (md_parse_option): Handle -mno-allow-string-insns.
49         (md_show_usage): Mention -mno-allow-string-insns.
50         (rx_note_string_insn_use): New function.  Produces an error
51         message if a string insn is used when it is not allowed.
52         * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
53         (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
54         * config/rx-defs.h (rx_note_string_insn_use): Prototype.
55         * doc/c-rx.texi: Document -mno-allow-string-insns.
56
57 2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
58
59         * as.c (show_usage): Update --compress-debug-sections.
60         (std_longopts): Use optional_argument on compress-debug-sections.
61         (parse_args): Handle
62         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
63         * as.h (compressed_debug_section_type): New.
64         (flag_compress_debug): Change type to compressed_debug_section_type.
65         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
66         * write.c (compress_debug): Set BFD_COMPRESS_GABI for
67         --compress-debug-sections=zlib-gabi.  Call
68         bfd_get_compression_header_size to get compression header size.
69         Don't rename section name for --compress-debug-sections=zlib-gabi.
70         * config/tc-i386.c (compressed_debug_section_type): Set to
71         COMPRESS_DEBUG_ZLIB.
72         * doc/as.texinfo: Document
73         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
74
75 2015-04-07  Renlin Li  <renlin.li@arm.com>
76
77         * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
78         (s_aarch64_inst): Likewise.
79         (md_assemble): Likewise.
80
81 2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82
83         * write.c (compress_debug): Use bfd_putb64 to write uncompressed
84         section size.
85
86 2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
87
88         * write.c (compress_debug): Don't write the zlib header if
89         compressed section size is the same as before compression.
90
91 2015-04-02  Nick Clifton  <nickc@redhat.com>
92
93         PR gas/18189
94         * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
95         min and max parameters.  Sign extend values before testing.
96
97 2015-04-02  Renlin Li  <renlin.li@arm.com>
98
99         * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
100         (mapping_state_2): Don't emit MAP_DATA here.
101         (s_aarch64_inst): Align frag during state transition.
102         (md_assemble): Likewise.
103
104 2015-04-02  Ed Maste  <emaste@freebsd.org>
105
106         * config/tc-aarch64.c (set_error_kind): Delete.
107         (set_error_message): Delete.
108
109 2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
110
111         * configure: Regenerated.
112
113 2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
114
115         * config/tc-aarch64.c: Add support for Samsung Exynos M1.
116         * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
117
118 2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
119
120         * config/tc-arm.c: Add support for Samsung Exynos M1.
121         * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
122
123 2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
124
125         * configure: Regenerated.
126
127 2015-03-31  Ed Schouten  <ed@nuxi.nl>
128
129         * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
130
131 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
132
133         * configure.ac: Revert the AM_ZLIB change.
134         * Makefile.in: Regenerated.
135         * aclocal.m4: Likewise.
136         * configure: Likewise.
137
138 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
139
140         * Makefile.am (ZLIBINC): New.
141         (AM_CFLAGS): Add $(ZLIBINC).
142         * as.c: (show_usage): Don't check HAVE_ZLIB_H.
143         (parse_args): Likewise.
144         * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
145         (compress_init): Don't check HAVE_ZLIB_H.
146         (compress_data): Likewise.
147         (compress_finish): Likewise.
148         * configure.ac (AM_ZLIB): Removed.
149         (zlibinc): New.  AC_SUBST.
150         Add --with-system-zlib.
151         * Makefile.in: Regenerated.
152         * config.in: Likewise.
153         * configure: Likewise.
154         * doc/Makefile.in: Likewise.
155
156 2015-03-27  H.J. Lu  <hongjiu.lu@intel.com>
157
158         * config/tc-i386.c (cpu_flags_set): Removed.
159
160 2015-03-25  Renlin Li  <renlin.li@arm.com>
161
162         * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
163         code.
164         (mapping_state_2): Emit first MAP_DATA symbol here.
165
166 2015-03-24  H.J. Lu  <hongjiu.lu@intel.com>
167
168         PR gas/18087
169         * write.c (compress_debug): Don't write the zlib header if
170         compression didn't make the section smaller.
171
172 2015-03-24  Terry Guo  <terry.guo@arm.com>
173
174         * config/tc-arm.c (no_cpu_selected): Use new macro to compare
175         features.
176         (parse_psr): Likewise.
177         (do_t_mrs): Likewise.
178         (do_t_msr): Likewise.
179         (static const arm_feature_set arm_ext_*): Defined with new macros.
180         (static const arm_feature_set arm_cext_*): Likewise.
181         (static const arm_feature_set fpu_fpa_ext_*): Likewise.
182         (static const arm_feature_set fpu_vfp_ext_*): Likewise.
183         (deprecated_coproc_regs): Likewise.
184         (UL_BARRIER): Likewise.
185         (barrier_opt_names): Likewise.
186         (arm_cpus): Likewise.
187         (arm_extensions): Likewise.
188
189 2015-03-20  H.J. Lu  <hongjiu.lu@intel.com>
190
191         * config/tc-i386.c (i386_align_code): Limit multi-byte nop
192         instructions to 10 bytes.
193
194 2015-03-19  Nick Clifton  <nickc@redhat.com>
195
196         * config/tc-rl78.c (enum options): Add G13 and G14.
197         (md_longopts): Add -mg13 and -mg14.
198         (md_parse_option): Handle -mg13 and -mg14.
199         (md_show_usage): List -mg13 and -mg14.
200         * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
201
202 2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
203             Nick Clifton  <nickc@redhat.com>
204
205         PR binutils/18087
206         * doc/as.texinfo: Note that when gas compresses debug sections the
207         compression is only performed if it makes the section smaller.
208         * write.c (compress_debug): Do not compress a debug section if
209         doing so would make it larger.
210
211 2015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
212
213         * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
214         (i386_align_code): Add PROCESSOR_ZNVER cases.
215         * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
216         * doc/c-i386.texi: Add znver1 and clzero.
217
218 2015-03-16  Nick Clifton  <nickc@redhat.com>
219
220         * dwarf2dbg.c (out_header): Remove spurious #if 1.
221
222 2015-03-13  Jiong Wang  <jiong.wang@arm.com>
223
224         * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
225         number 31.
226
227 2015-03-13  Jiong Wang  <jiong.wang@arm.com>
228
229         * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
230
231 2015-03-12  Andrew Bennett  <andrew.bennett@imgtec.com>
232
233         * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
234         * doc/c-mips.texi: Document i6400 -march option.
235
236 2015-03-12  Nick Clifton  <nickc@redhat.com>
237
238         PR gas/17444
239         * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
240         to arm_apply_sym_value.  Update prototype.
241         * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
242         Do not apply the value if the symbol is in a different segment to
243         the current segment.
244
245 2015-03-11  Alan Modra  <amodra@gmail.com>
246
247         * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
248         (md_apply_fix): Report an error on data-only fixups used with insns.
249
250 2015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
251
252         * config/tc-s390.c (md_gather_operands): Check for valid
253         length field operands.
254
255 2015-03-10  Michael Perkins  <perkinsmg75@yahoo.co.uk>
256
257         * config/tc-arm.c (parse_operands): Fix bug setting writeback
258         values for '^' on OP_REGLSTs.
259         (do_push_pop): Add new writeback constraint.
260
261 2015-03-10  Renlin Li  <renlin.li@arm.com>
262
263         * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
264         (mapping_state_2): Emit first MAP_DATA symbol here.
265
266 2015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
267
268         * config/tc-aarch64.c (mapping_state): Set minimum alignment for
269         code sections.
270
271 2015-03-10  Nick Clifton  <nickc@redhat.com>
272
273         PR gas/17852
274         * config/tc-arm.c (md_begin): Ensure that selected_cpu is
275         initialised when CPU_DEFAULT is defined.
276
277 2015-03-05  Nick Clifton  <nickc@redhat.com>
278
279         * config/tc-v850.c (md_parse_option): Fix code to set or clear
280         EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
281         -m8byte-align and -m4byte-align command line options.
282
283 2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
284
285         PR gas/17843
286         * config/tc-aarch64.c (process_movw_reloc_info): Allow
287         R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
288         for MOVK.
289
290 2015-02-28  Alan Modra  <amodra@gmail.com>
291
292         * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
293         end to their alignment.
294
295 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
296
297         * config/tc-aarch64.c (reloc_table_entry): Generate
298         BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
299         (md_apply_fix, aarch64_force_relocation): Handle
300         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
301
302 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
303
304         * config/tc-aarch64.c (reloc_table_entry): Generate
305         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
306         (md_apply_fix, aarch64_force_relocation): Handle
307         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
308
309 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
310
311         * config/tc-aarch64.c (reloc_table_entry): Generate
312         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
313         (md_apply_fix, aarch64_force_relocation): Handle
314         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
315
316 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
317
318         * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
319         (reloc_table): Likewise.
320         (parse_address_main): Use ld_literal_type.
321
322 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
323
324         * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
325         (reloc_table): Likewise.
326         (parse_address_main): Use adr_type.
327
328 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
329
330         * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
331
332 2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
333
334         * config/tc-avr.c: Add elf32-avr.h include.
335         (struct avr_property_record_link): New structure.
336         (avr_output_property_section_header): New function.
337         (avr_record_size): New function.
338         (avr_output_property_record): New function.
339         (avr_create_property_section): New function.
340         (avr_handle_align): New function.
341         (exclude_section_from_property_tables): New function.
342         (create_record_for_frag): New function.
343         (append_records_for_section): New function.
344         (avr_create_and_fill_property_section): New function.
345         (avr_post_relax_hook): New function.
346         * config/tc-avr.h (md_post_relax_hook): Define.
347         (avr_post_relax_hook): Declare.
348         (HANDLE_ALIGN): Define.
349         (avr_handle_align): Declare.
350         (strut avr_frag_data): New structure.
351         (TC_FRAG_TYPE): Define.
352
353 2015-02-25  Matthew Wahab  <matthew.wahab@arm.com>
354
355         * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
356         cortex-a72.
357
358 2015-02-24  Nick Clifton  <nickc@redhat.com>
359
360         * config/tc-v850.c (soft_float): New variable.
361         (v850_data_8): New variable.
362         (md_show_usage): Add -msoft-float/-mhard-float.
363         (md_parse_option): Likewise.
364         (md_begin): Set the default value of soft_float.
365         (v850_md_end): New function.  Creates a note section.
366         * config/tc-v850.h (md_end): Define.
367         * doc/c-v850.texi: Document -msoft-float/-mhard-float.
368
369 2015-02-23  Yoshinori Sato  <ysato@users.sourceforge.jp>
370
371         * config/tc-h8300.c (line_separater_chars): Add a version for
372         h8300-linux that includes a separator.
373         (default_mach): New variable.
374         (md_main): Use it.
375         (md_longopts): Add '--march' option.
376         (md_parse_option): Parse the new option.
377         * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
378         * configure.tgt: Add h8300-*-linux
379         * doc/c-h8300.texi: Document --march.
380
381 2015-02-23  Nick Clifton  <nickc@redhat.com>
382
383         PR 17940
384         * dwarf2dbg.c (out_header): When generating dwarf sections use
385         real symbols not temps for the start and end symbols.
386         * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
387         adjustments to relocations in debug sections.
388         (TC_LINKRELAX_FIXUP): Likewise.
389
390 2015-02-19  Alan Modra  <amodra@gmail.com>
391
392         * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
393         * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
394
395 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
396
397         * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
398
399 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
400
401         * config/tc-arm.c: Add support for Cortex-A72.
402
403 2015-02-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
404
405         * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
406         of as_warn for deprecation messages.
407         (encode_arm_addr_mode_2): Likewise.
408         (check_obsolete): Likewise.
409         (do_rd_rm_rn): Likewise.
410         (do_co_reg): Likewise.
411         (do_setend): Likewise.
412         (do_t_mov_cmp): Likewise.
413         (do_neon_ldr_str): Likewise.
414         (opcode_lookup): Likewise.
415         (if_fsm_post_encode): Likewise.
416         (md_assemble): Likewise.
417
418 2015-02-06  Jan Beulich  <jbeulich@suse.com>
419
420         * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
421         (cfi_change_reg_numbers): Also do nothing for CFI_label.
422         (cfi_pseudo_table): Also handle .cfi_label when not supporting
423         CFI directives.
424
425 2015-02-05  Alan Modra  <amodra@gmail.com>
426
427         * config/tc-msp430.c (md_assemble): Correct size passed to
428         extract_cmd.  Remove index check.
429
430 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
431
432         * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
433         * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
434
435 2015-02-04  Nick Clifton  <nickc@redhat.com>
436
437         * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
438         these instructions.
439
440 2015-02-03  Renlin Li  <renlin.li@arm.com>
441
442         * doc/c-aarch64.texi (.arch): Document the directive.
443         (.arch_extension): Likewise.
444
445 2015-02-03  Nick Clifton  <nickc@redhat.com>
446
447         * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
448
449 2015-01-28  James Bowman  <james.bowman@ftdichip.com>
450
451         * Makefile.am: Add FT32 files.
452         * config/tc-ft32.c: New file.
453         * config/tc-ft32.h: New file.
454         * configure.tgt: Add FT32 support.
455         * Makefile.in: Regenerate.
456         * po/POTFILES.in: Regenerate.
457
458 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
459
460         * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
461         of instruction la to a symbol.
462
463 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
464
465         * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
466         section name.
467
468 2015-01-19  Alan Modra  <amodra@gmail.com>
469
470         * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
471         * write.c (get_frag_for_reloc): Allow match just past end of frag.
472
473 2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
474
475         * config/tc-s390.c (struct pd_reg): Remove.
476         (pre_defined_registers): Remove.
477         (REG_NAME_CNT): Remove.
478         (reg_name_search): Calculate the register number instead of doing
479         a lookup.
480         (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
481         reg_name_search signature.
482         (s390_parse_cpu): Support the new arch string z13.
483         (s390_insert_operand): Support for vector registers with the extra
484         field for the fifth bit of each vector register operand.
485         (md_gather_operand): Adjust to the new handling of optional
486         parameters.
487
488         * doc/as.texinfo: Document the z13 cpu string.
489
490 2015-01-13  Matthew Wahab  <matthew.wahab@arm.com>
491
492         * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
493         #0, restoring previous behaviour.
494
495 2015-01-12  Jan Beulich  <jbeulich@suse.com>
496
497         * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
498         (cfi_pseudo_table): Add "cfi_label".
499         (output_cfi_insn): Handle CFI_label.
500         (select_cie_for_fde): Als terminate CIE when encountering
501         CFI_label.
502         * dw2gencfi.h (cfi_add_label): Declare.
503         (struct cfi_insn_data): New member "sym_name".
504         (CFI_label): New.
505         * read.c (read_symbol_name): Drop "static".
506         * read.h (read_symbol_name): Declare.
507
508 2015-01-12  Jan Beulich  <jbeulich@suse.com>
509
510         * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
511         (do_neon_qshl_imm): Likewise.
512
513 2015-01-12  Alan Modra  <amodra@gmail.com>
514
515         * read.c (s_altmacro, s_reloc): Make definition static.
516
517 2015-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
518
519         * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
520         diff fixups.
521
522 2015-01-09  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
523
524         * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
525         X-Gene 2.
526         * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
527
528 2015-01-07  Jan Beulich <jbeulich@suse.com>
529
530         * config/tc-arm.c (struct arm_option_extension_value_table):
531         Split field "value" into fields "merge_value" and "clear_value".
532         (arm_extensions): Adjust initializer accordingly.
533
534 2015-01-01  Alan Modra  <amodra@gmail.com>
535
536         * as.c (parse_args): Just print current year.
537
538 2015-01-01  Alan Modra  <amodra@gmail.com>
539
540         Update year range in copyright notice of all files.
541
542 For older changes see ChangeLog-2014
543 \f
544 Copyright (C) 2015 Free Software Foundation, Inc.
545
546 Copying and distribution of this file, with or without modification,
547 are permitted in any medium without royalty provided the copyright
548 notice and this notice are preserved.
549
550 Local Variables:
551 mode: change-log
552 left-margin: 8
553 fill-column: 74
554 version-control: never
555 End: