[ARM][doc] Document cortex-a17 mcpu option
[external/binutils.git] / gas / ChangeLog
1 2016-02-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2
3     * doc/c-arm.texi (ARM Options): Document cortex-a17.
4
5 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6
7         * testsuite/gas/elf/elf.exp: Skip tests for common directive on
8         hpux.
9
10 2016-02-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
11
12         * output-file.c (output_file_create): Make file name argument const.
13         (output_file_close): Likewise.
14         * output-file.h (output_file_create): Adjust.
15         (output_file_close): Likewise.
16         * depend.c (quote_string_for_make): Make src argument const char *.
17         (register_dependency): Likewise.
18         (wrap_output): Likewise.
19         * as.h (register_dependency): Adjust.
20         * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
21         as_where ();
22         * symbols.c (S_SET_EXTERNAL): Likewise.
23         * input-scrub.c (as_where): Return the file name.
24         * as.h (as_where): Adjust prototype.
25         * app.c (do_scrub_chars): Adjust.
26         * cond.c (s_elseif): Likewise.
27         (s_else): Likewise.
28         (initialize_cframe): Likewise.
29         * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
30         * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
31         * config/obj-som.c (obj_som_init_stab_section): Likewise.
32         * config/tc-aarch64.c (output_info): Likewise.
33         * config/tc-ia64.c (md_assemble): Likewise.
34         (dot_alias): Likewise.
35         * config/tc-m68k.c (m68k_frob_label): Likewise.
36         * config/tc-mmix.c (s_bspec): Likewise.
37         (mmix_handle_mmixal): Likewise.
38         * config/tc-rx.c (rx_include): Likewise.
39         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
40         (tic54x_adjust_symtab): Likewise.
41         * config/tc-xtensa.c (directive_push): Likewise.
42         (xtensa_sanity_check): Likewise.
43         (xtensa_relax_frag): Likewise.
44         (md_convert_frag): Likewise.
45         (tinsn_to_slotbuf): Likewise.
46         * dwarf2dbg.c (dwarf2_where): Likewise.
47         * ecoff.c (add_file): Likewise.
48         (ecoff_generate_asm_lineno): Likewise.
49         * expr.c (make_expr_symbol): Likewise.
50         * frags.c (frag_new): Likewise.
51         (frag_var_init): Likewise.
52         * listing.c (listing_newline): Likewise.
53         * messages.c (identify): Likewise.
54         (as_show_where): Likewise.
55         (as_warn_internal): Likewise.
56         (as_bad_internal): Likewise.
57         * read.c (s_irp): Likewise.
58         (s_macro): Likewise.
59         (s_reloc): Likewise.
60         * stabs.c (stabs_generate_asm_file): Likewise.
61         (stabs_generate_asm_lineno): Likewise.
62         (stabs_generate_asm_func): Likewise.
63         * write.c (fix_new_internal): Likewise.
64         * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
65         (as_warn_value_out_of_range): Adjust prototype.
66         (as_bad_value_out_of_range): Adjust prototype.
67         * messages.c (identify): Make file name argument const char *.
68         (as_warn_internal): Likewise.
69         (as_warn_where): Likewise.
70         (as_bad_internal): Likewise.
71         (as_bad_where): Likewise.
72         (as_internal_value_out_of_range): Likewise.
73         (as_warn_value_out_of_range): Likewise.
74         (as_bad_value_out_of_range): Likewise.
75         * as.h (found_comment_file): Change type to const char *.
76         * cond.c (file_line::file): Likewise.
77         * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
78         * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
79         * config/obj-som.c (obj_som_init_stab_section): Likewise.
80         * config/tc-aarch64.c (output_info): Likewise.
81         * config/tc-alpha.c (insert_operand): Likewise.
82         * config/tc-arc.c (insert_operand): Likewise.
83         * config/tc-d30v.c (check_size): Likewise.
84         * config/tc-ia64.c (struct alias): Likewise.
85         * config/tc-m68k.c (struct label_line): Likewise.
86         * config/tc-mcore.c (md_apply_fix): Likewise.
87         * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
88         * config/tc-mips.c (mips16_immed): Likewise.
89         * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
90         * config/tc-ppc.c (ppc_insert_operand): Likewise.
91         * config/tc-rx.c (rx_include): Likewise.
92         * config/tc-s390.c (s390_insert_operand): Likewise.
93         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
94         (tic54x_adjust_symtab): Likewise.
95         * config/tc-tilegx.c (insert_operand): Likewise.
96         (apply_special_operator): Likewise.
97         * config/tc-tilepro.c (insert_operand): Likewise.
98         * config/tc-xtensa.c (directive_push): Likewise.
99         * ecoff.c (add_file): Likewise.
100         (ecoff_generate_asm_lineno): Likewise.
101         * listing.c (listing_newline): Likewise.
102         * read.c (s_irp): Likewise.
103         * write.c (install_reloc): Likewise.
104         * write.h (struct fix): Likewise.
105         * input-file.c (file_name): Change type to const char *.
106         (saved_file::file_name): Likewise.
107         (input_file_open): Change type of argument to const char *.
108         * input-file.h (input_file_open): Adjust.
109         * input-scrub.c (logical_input_file): change type to const char *.
110         (physical_input_file): Likewise.
111         (struct input_save): Adjust.
112         (input_scrub_push): Adjust.
113         (input_scrub_begin): Adjust.
114         (as_where): Adjust.
115         * input-scrub.c (input_scrub_new_file): Make file name argument const.
116         (input_scrub_include_file): Likewise.
117         (new_logical_line_flags): Likewise.
118         (new_logical_line): Likewise.
119         * as.h: Adjust.
120         * frags.h (struct frag): Change type of fr_file to const char *.
121         * expr.c (expr_symbol_where): Change type of file argument to
122         const char **.
123         * expr.h (expr_symbol_where): Likewise.
124         * config/tc-i370.c (md_apply_fix): adjust.
125         * config/tc-mmix.c (mmix_md_end): Likewise.
126         * config/tc-ppc.c (md_apply_fix): Likewise.
127         * config/tc-s390.c (md_apply_fix): Likewise.
128         * symbols.c (report_op_error): Likewise.
129         (resolve_symbol_value): Likewise.
130         * config/tc-ia64.c (slot::src_file): Change type to const char *.
131         (rsrc::file): Likewise.
132         * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
133         const char *.
134         (xtensa_relax_frag): Likewise.
135         (md_convert_frag): Likewise.
136         (tinsn_to_slotbuf): Likewise.
137         * expr.c (expr_symbol_line): Likewise.
138         * macro.c (define_macro): Likewise.
139         * macro.h (macro_struct): Likewise.
140         * messages.c (as_show_where): Likewise.
141         * read.c (s_macro): Likewise.
142         * stabs.c (stabs_generate_asm_file): Likewise.
143         (generate_asm_file): Likewise.
144         (stabs_generate_asm_lineno): Likewise.
145         * write.h (struct reloc_list): Likewise.
146         * input-scrub.c (as_where): Change return type to const char *.
147         * as.h (as_wheree): Adjust.
148
149 2016-02-21  H.J. Lu  <hongjiu.lu@intel.com>
150
151         * write.c (compress_debug): Move BFD compression bits setting
152         to ...
153         (write_object_file): Here.
154
155 2016-02-20  H.J. Lu  <hongjiu.lu@intel.com>
156
157         * config/tc-i386.c (register_number): Check RegVRex.
158         * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
159         with %zmm19 and %zmm3.
160         * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
161         * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
162
163 2016-02-19  Matthew Wahab  <matthew.wahab@arm.com>
164             Jiong Wang  <jiong.wang@arm.com>
165
166         * config/tc-arm.c (arm_ext_fp16): New.
167         (arm_extensions): New entry for "fp16".
168
169 2016-02-19  Nick Clifton  <nickc@redhat.com>
170
171         PR 19630
172         * read.c (read_a_source_file): Check for assemble_one returning
173         with input_line_pointer set to NULL.
174
175 2016-02-19  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
176
177         * listing.c (rebuffer_line): Change return type to void.
178
179         * symbols.c (decode_local_label_name): Make type a const char *.
180         * listing.c (print_source): Make type of p const char *.
181         (print_line): Make type of string const char *.
182         (buffer_line): Return const char *.
183         (title): Make type const char *.
184         (subtitle): Likewise.
185         (listing_listing): Make type of p const char *.
186         * messages.c (as_internal_value_out_of_range): Make type of prefix
187         const char *.
188         * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
189         and string const char *.
190         * read.c (_bfd_rel): Make type of name const char *.
191         * app.c (out_string): Change type to const char *.
192         (struct app_save::out_string): Likewise.
193
194 2016-02-18  Dan Gisselquist  <dgisselq@verizon.net>
195             Nick Clifton  <nickc@redhat.com>
196
197         * read.c (finish_bundle): Avoid recording a negative alignment.
198         (do_align): Use unsigned values for n, len and max.  Only create
199         a frag if the alignment requirement is greater than the minimum
200         byte alignment.  Avoid recording a negative alignment.
201         (s_align): Use unsigned values where appropriate.
202         (bss_alloc): Use an unsigned value for the alignment.
203         (sizeof_sleb128): Add a comment noting that we encode one octet
204         per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
205         (emit_leb129_expr): Abort if the emitted encoding was longer than
206         expected.
207         * read.h (output_leb128): Update prototype.
208         (sizeof_leb128): Update prototype.
209         (bss_alloc): Update prototype.
210         * write.c (record_alignment): Use an unsigned value for the
211         alignment.  Do not record alignments less than the minimum
212         alignment for a byte.
213         * write.h (record_alignment): Update prototype.
214
215 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
216
217         * config/tc-xtensa.c (xtensa_move_literals): Fix check for
218         .init.literal/.fini.literal section name.
219         * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
220         list of xtensa tests.
221         * testsuite/gas/xtensa/init-fini-literals.d: New file:
222         init-fini-literals test result patterns.
223         * testsuite/gas/xtensa/init-fini-literals.s: New file:
224         init-fini-literals test.
225
226 2016-02-17  Nick Clifton  <nickc@redhat.com>
227
228         * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
229         devices.csv file as of March 2016.
230
231 2016-02-16  Claudiu Zissulescu  <claziss@synopsys.com>
232
233         * config/tc-arc.c (tc_arc_frame_initial_instructions): New
234         function.
235         (tc_arc_regname_to_dw2regnum): Likewise.
236         * config/tc-arc.h (TARGET_USE_CFIPOP): Define
237         (tc_cfi_frame_initial_instructions): Likewise.
238         (tc_regname_to_dw2regnum): Likewise.
239
240 2016-02-16  Trevor Saunders  <tbsaunde@tbsaunde.org>
241
242         * doc/internals.texi (S_IS_EXTERN): Remove.
243
244 2016-02-16  Nick Clifton  <nickc@redhat.com>
245
246         * doc/as.texinfo (Section): Fix up texinfo snafus in previous
247         update.
248
249 2016-02-16  Renlin Li  <renlin.li@arm.com>
250
251         PR gas/19620
252         * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
253         * testsuite/gas/aarch64/movw_label.d: New.
254         * testsuite/gas/aarch64/movw_label.s: New.
255
256 2016-02-15  Vinay Kumar G. <Vinay.G@kpit.com>
257
258         PR gas/19556
259         * config/rx-parse.y (MOV):  Opcode generation for index
260         register addressing mode.
261         * testsuite/gas/rx/rx.exp: Updated for new testcase.
262         * testsuite/gas/rx/pr19665.s: New file.
263         * testsuite/gas/rx/pr19665.s: New file.
264         * testsuite/gas/rx/mov.d: Update expected output.
265
266 2016-02-15  Nick Clifton  <nickc@redhat.com>
267
268         * doc/as.texinfo (.section): Document that numeric values can now
269         be used for the flags and type fields of the ELF target's .section
270         directive.  Add notes about the restrictions on setting flags and
271         types.
272         * config/obj-elf.c (obj_elf_change_section): Allow known sections
273         to be given processor specific section types.  Allow processor and
274         application specific flags of a section to be set after
275         definition.
276         (obj_elf_parse_section_letters): Handle parsing numeric values.
277         (obj_elf_section_type): Handle parsing numeric values.
278         (obj_elf_section): Allow numeric type values.
279         * config/obj-elf.h (obj_elf_change_section): Update prototype.
280         * testsuite/gas/elf/section10.d: New test.
281         * testsuite/gas/elf/section10.s: Source file for new test.
282         * testsuite/gas/elf/elf.exp: Run the new test.
283         * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
284         the description of the flags produced by readelf.
285         * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
286         * NEWS: Mention the new feature.
287
288 2016-02-11  Nick Clifton  <nickc@redhat.com>
289
290         PR gas/19614
291         * dw2gencfi.c (cfi_sections_set): Delay setting this variable
292         until it is actually used.
293         (cfi_set_sections): Set cfi_sections_set to true.
294         (dot_cfi_startproc): Likewise.
295         (dot_cfi_endproc): Likewise.
296         (dot_cfi_fde_data): Likewise.
297         (cfi_finish): Likewise.
298         (dot_cfi_sections): Do not set cfi_sections_set.
299         * doc/as.texinfo (.cfi_sections): Note that targets can provide
300         their own cfi section name.  Also note that the directive can be
301         reissued provided that CFI generation has not started.
302         * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
303         .cfi_endproc directives so that the redefinition of .cfi_sections
304         will trigger the generation of the error message.
305         * testsuite/gas/mips/compact-eh-err2.l: Update expected line
306         number of error message.
307
308 2016-02-10  Claudiu Zissulescu  <claziss@synopsys.com>
309             Janek van Oirschot <jvanoirs@synopsys.com>
310
311         * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
312         (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
313         Define.
314         (arc_flags, arc_relax_type): New structure.
315         * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
316         (RELAX_TABLE_ENTRY_MAX): New define.
317         (relaxation_state, md_relax_table, arc_relaxable_insns)
318         (arc_num_relaxable_ins): New variable.
319         (rlx_operand_type, arc_rlx_types): New enums.
320         (arc_relaxable_ins): New structure.
321         (OPTION_RELAX): New option.
322         (arc_insn): New relax member.
323         (arc_flags): Remove.
324         (relax_insn_p): New function.
325         (apply_fixups): Likewise.
326         (relaxable_operand): Likewise.
327         (may_relax_expr): Likewise.
328         (relaxable_flag): Likewise.
329         (arc_pcrel_adjust): Likewise.
330         (md_estimate_size_before_relax): Implement.
331         (md_convert_frag): Likewise.
332         (md_parse_option): Handle new mrelax option.
333         (md_show_usage): Likewise.
334         (assemble_insn): Set relax member.
335         (emit_insn0): New function.
336         (emit_insn1): Likewise.
337         (emit_insn): Handle relaxation case.
338         * NEWS: Mention the new relaxation option.
339         * doc/c-arc.texi (ARC Options): Document new mrelax option.
340         * doc/as.texinfo (Target ARC Options): Likewise.
341         * testsuite/gas/arc/relax-avoid1.d: New file.
342         * testsuite/gas/arc/relax-avoid1.s: Likewise.
343         * testsuite/gas/arc/relax-avoid2.d: Likewise.
344         * testsuite/gas/arc/relax-avoid2.s: Likewise.
345         * testsuite/gas/arc/relax-avoid3.d: Likewise.
346         * testsuite/gas/arc/relax-avoid3.s: Likewise.
347         * testsuite/gas/arc/relax-b.d: Likewise.
348         * testsuite/gas/arc/relax-b.s: Likewise.
349
350 2016-02-08  Nick Clifton  <nickc@redhat.com>
351
352         * config/tc-ia64.c (dot_prologue): Fix formatting.
353
354 2016-02-04  Nick Clifton  <nickc@redhat.com>
355
356         * config/obj-elf.c (obj_elf_change_section): Remove support for
357         ARM NOREAD sections.
358         * config/tc-arm.c (arm_elf_section_letter): Delete.
359         * config/tc-arm.h (md_elf_section_letter): Delete.
360         * doc/c-arm.texi (ARM Section Attribute): Delete section.
361         * testsuite/gas/arm/section-execute-only.d: Delete.
362         * testsuite/gas/arm/section-execute-only.s: Delete.
363
364 2016-02-04  Nick Clifton  <nickc@redhat.com>
365
366         PR target/19561
367         * config/tc-msp430.c (msp430_operands): Remove case 7.  Use case 2
368         to handle encoding of RRUX instruction.
369         * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
370         shift instructions.
371         * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
372
373 2016-02-03  Max Filippov  <jcmvbkbc@gmail.com>
374
375         * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
376         substitutions for BFD_RELOC_* as unsigned.
377         * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
378         * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
379         * testsuite/gas/xtensa/loc.s: New file: loc test.
380
381 2016-02-03  Kevin Buettner  <kevinb@redhat.com>
382
383         * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
384
385 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
386
387         PR gas/19520
388         * NEWS: Mention new command line option -mrelax-relocations and
389         new configure option --enable-x86-relax-relocations for x86
390         target.
391         * config.in: Regenerated.
392         * configure.ac: Add --enable-x86-relax-relocations.
393         (ac_default_x86_relax_relocations): New.  Default to 1 except
394         for x86 Solaris targets older than Solaris 12.
395         (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
396         * configure: Likewise.
397         * config/tc-i386.c (generate_relax_relocations): New.
398         (OPTION_MRELAX_RELOCATIONS): Likewise.
399         (output_disp): Don't generate relax relocations if
400         generate_relax_relocations is 0.
401         (md_longopts): Add -mrelax-relocations.
402         (md_show_usage): Likewise.
403         (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
404         * doc/c-i386.texi: Document -mrelax-relocations=.
405         * testsuite/gas/i386/got-no-relax.d: New file.
406         * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
407         * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
408         * testsuite/gas/i386/localpic.d: Likewise.
409         * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
410         * testsuite/gas/i386/reloc32.d: Likewise.
411         * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
412         * testsuite/gas/i386/x86-64-localpic.d: Likewise.
413         * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
414         * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
415         * testsuite/gas/i386/i386.exp: Run got-no-relax and
416         x86-64-gotpcrel-no-relax.
417
418 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
419
420         * NEWS: Mention new command line option -mfence-as-lock-add=yes
421         for x86 target.
422
423 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
424
425         * NEWS: Remove duplicated marker for 2.26.
426
427 2016-02-02  Renlin Li  <renlin.li@arm.com>
428
429         * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
430
431 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
432
433         * testsuite/gas/ip2k/allinsn.d: New file.
434         * testsuite/gas/ip2k/allinsn.s: New file.
435         * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
436
437 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
438
439         * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
440         some load instructions.
441         * testsuite/gas/epiphany/allinsn.d: Likewise.
442         * testsuite/gas/epiphany/regression.d: Likewise.
443
444 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
445
446         * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
447         suffixes from instruction mnemonics in expected output.
448         * testsuite/gas/epiphany/allinsn.d: Likewise.
449         * testsuite/gas/epiphany/regression.d: Likewise.
450         * testsuite/gas/epiphany/sample.d: Likewise.
451
452 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
453
454         * testsuite/gas/epiphany/addr-syntax.d: Update expected register
455         names.
456         * testsuite/gas/epiphany/allinsn.d: Likewise.
457         * testsuite/gas/epiphany/sample.d: Likewise.
458
459 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
460
461         * testsuite/gas/epiphany/sample.d: Update expected output.
462
463 2016-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
464
465         * config/tc-arc.c (md_apply_fix): Allow addendum.
466         (arc_reloc_op): Allow complex expressions for tpoff.
467         (md_apply_fix): Handle resolved TLS local symbol.
468
469         * testsuite/gas/arc/tls-relocs1.d: New file.
470         * testsuite/gas/arc/tls-relocs1.s: Likewise.
471
472 2016-02-01  Loria  <Loria@phantasia.org>
473
474         PR target/19311
475         * config/tc-arm.c (encode_arm_immediate): Recode to improve
476         efficiency and avoid an LLVM loop optimization bug.
477
478 2016-02-01  Nick Clifton  <nickc@redhat.com>
479
480         * config/tc-microblaze.c (parse_imm): Fix compile time warning
481         message extending a negative 32-bit value into a larger signed
482         value on a 32-bit host.
483
484 2016-01-29  H.J. Lu  <hongjiu.lu@intel.com>
485
486         PR gas/19532
487         * configure.ac (compressed_debug_sections): Replace == with =.
488         * configure: Regenerated.
489
490 2016-01-29  Andrew Senkevich  <andrew.senkevich@intel.com>
491             H.J. Lu  <hongjiu.lu@intel.com>
492
493         * config/tc-i386.c (avoid_fence): New.
494         (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
495         is true.
496         (OPTION_FENCE_AS_LOCK_ADD): New.
497         (md_longopts): Add -mfence-as-lock-add.
498         (md_parse_option): Handle -mfence-as-lock-add.
499         (md_show_usage): Add -mfence-as-lock-add=[no|yes].
500         * doc/c-i386.texi (-mfence-as-lock-add): Document.
501         * testsuite/gas/i386/i386.exp: Run new tests.
502         * testsuite/gas/i386/fence-as-lock-add.s: New.
503         * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
504         * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
505         * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
506         * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
507
508 2016-01-27  H.J. Lu  <hongjiu.lu@intel.com>
509
510         * configure.ac (compressed_debug_sections): Remove trailing `]'.
511         * configure: Regenerated.
512
513 2016-01-25  H.J. Lu  <hongjiu.lu@intel.com>
514
515         * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
516         (OPTION_MOMIT_LOCK_PREFIX): This.
517         (md_longopts): Updated.
518         (md_parse_option): Likewise.
519
520 2016-01-25  Catherine Moore  <clm@codesourcery.com>
521
522         * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
523         if abicalls are in effect.
524         * testsuite/gas/mips/sdata-gp.s: New test.
525         * testsuite/gas/mips/sdata-gp.d: New expected output
526         * testsuite/gas/mips/mips.exp: Run new test.
527
528 2016-01-25  Renlin Li  <renlin.li@arm.com>
529
530         * testsuite/gas/arm/thumb2_it_search.d: New.
531         * testsuite/gas/arm/thumb2_it_search.s: New.
532
533 2016-01-21  Nick Clifton  <nickc@redhat.com>
534
535         PR gas/19454
536         * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
537         with arm-netbsdelf target.
538         * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
539
540 2016-01-20  Nick Clifton  <nickc@redhat.com>
541
542         PR 19456
543         * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
544         * testsuite/gas/arm/blx-bl-convert.d
545         * testsuite/gas/arm/plt-1.d: Likewise.
546         * testsuite/gas/arm/reloc-bad.d: Likewise.
547         * testsuite/gas/arm/thumb-w-good.d: Likewise.
548         * testsuite/gas/arm/thumb2_pool.d: Likewise.
549         * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
550         * testsuite/gas/arm/tls_vxworks.d: Update expected output.
551
552         PR 19499
553         * doc/as.texinfo (Errors): Correct documentation describing the
554         interaction of .file and .line with warning and error messages.
555
556         PR 19458
557         * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
558         * testsuite/gas/arm/archv8m-main.d: Likewise.
559         * testsuite/gas/arm/archv8m-base.d: Likewise.
560
561 2016-01-20  Matthew Wahab  <matthew.wahab@arm.com>
562
563         * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
564         * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
565         * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
566
567 2016-01-20  Mickael Guene  <mickael.guene@st.com>
568             Terry Guo  <terry.guo@arm.com>
569
570         * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
571         SHF_ARM_NOREAD section flag.
572         * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
573         handle letter 'y'.
574         (arm_elf_section_letter) : Declare it.
575         * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
576         SHF_ARM_NOREAD section flag.
577         * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
578
579         * testsuite/gas/arm/section-execute-only.s: New test case.
580         * testsuite/gas/arm/section-execute-only.d: Expected output.
581
582 2016-01-18  Maciej W. Rozycki  <macro@imgtec.com>
583
584         * config/tc-mips.c (micromips_insn_length): Remove the mention
585         of 48-bit microMIPS instructions.
586
587 2016-01-18  Alan Modra  <amodra@gmail.com>
588
589         * configure: Regenerate.
590
591 2016-01-17  Alan Modra  <amodra@gmail.com>
592
593         * configure: Regenerate.
594
595 2016-01-17  Alan Modra  <amodra@gmail.com>
596
597         * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
598
599 2016-01-14  Nick Clifton  <nickc@redhat.com>
600
601         * testsuite/gas/rl78/sp-relative-movw.s: New test.
602         * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
603         * testsuite/gas/rl78/rl78.exp: Run the new test.
604
605 2016-01-14  Matthew Wahab  <matthew.wahab@arm.com>
606
607         * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
608         * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
609
610 2016-01-13  Maciej W. Rozycki  <macro@imgtec.com>
611
612         * config/tc-nios2.c (output_movia): Preset `code' to 0.
613
614 2016-01-13  Yoshinori Sato  <ysato@users.sourceforge.jp>
615
616         * config/tc-h8300.c (get_operand): Remove spurious condition in
617         test for closing parenthesis.
618
619 2016-01-12  Matthew Wahab  <matthew.wahab@arm.com>
620
621         * config/tc-arm.c (arm_ext_v8_2): New.
622         (insns): Add "esb".
623         * testsuite/gas/arm/armv8_2-a.d: New.
624         * testsuite/gas/arm/armv8_2-a.s: New.
625
626 2016-01-12  Alan Modra  <amodra@gmail.com>
627
628         * testsuite/gas/ppc/vsx3.d: Accept nop padding.
629
630 2016-01-11  Peter Bergner <bergner@vnet.ibm.com>
631
632         * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
633         xvcmpnesp, xvcmpnesp.>: Delete tests.
634         * testsuite/gas/ppc/power9.s: Likewise.
635         * testsuite/gas/ppc/vsx3.d: Likewise.
636         * testsuite/gas/ppc/vsx3.s: Likewise.
637
638 2016-01-08  Andreas Schwab  <schwab@linux-m68k.org>
639
640         PR gas/13050
641         * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
642         * testsuite/gas/m68k/p13050-1.s: New file.
643         * testsuite/gas/m68k/p13050-2.d: New file.
644         * testsuite/gas/m68k/p13050-2.s: New file.
645
646 2016-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
647
648         * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
649         * testsuite/gas/arc/add.d: Likewise.
650         * testsuite/gas/arc/and.d: Likewise.
651         * testsuite/gas/arc/asl.d: Likewise.
652         * testsuite/gas/arc/asr.d: Likewise.
653         * testsuite/gas/arc/bic.d: Likewise.
654         * testsuite/gas/arc/extb.d: Likewise.
655         * testsuite/gas/arc/extw.d: Likewise.
656         * testsuite/gas/arc/j.d: Likewise.
657         * testsuite/gas/arc/jl.d: Likewise.
658         * testsuite/gas/arc/ld2.d: Likewise.
659         * testsuite/gas/arc/lsr.d: Likewise.
660         * testsuite/gas/arc/mov.d: Likewise.
661         * testsuite/gas/arc/or.d: Likewise.
662         * testsuite/gas/arc/pcl-relocs.d: Likewise.
663         * testsuite/gas/arc/pcrel-relocs.d: Likewise.
664         * testsuite/gas/arc/pic-relocs.d: Likewise.
665         * testsuite/gas/arc/plt-relocs.d: Likewise.
666         * testsuite/gas/arc/rlc.d: Likewise.
667         * testsuite/gas/arc/ror.d: Likewise.
668         * testsuite/gas/arc/rrc.d: Likewise.
669         * testsuite/gas/arc/sbc.d: Likewise.
670         * testsuite/gas/arc/sda-relocs.d: Likewise.
671         * testsuite/gas/arc/sda-relocs2.d: Likewise.
672         * testsuite/gas/arc/sexb.d: Likewise.
673         * testsuite/gas/arc/sexw.d: Likewise.
674         * testsuite/gas/arc/st.d: Likewise.
675         * testsuite/gas/arc/sub.d: Likewise.
676         * testsuite/gas/arc/tls-relocs.d: Likewise.
677         * testsuite/gas/arc/xor.d: Likewise.
678
679 2016-01-01  Alan Modra  <amodra@gmail.com>
680
681         Update year range in copyright notice of all files.
682
683 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
684 \f
685 Copyright (C) 2016 Free Software Foundation, Inc.
686
687 Copying and distribution of this file, with or without modification,
688 are permitted in any medium without royalty provided the copyright
689 notice and this notice are preserved.
690
691 Local Variables:
692 mode: change-log
693 left-margin: 8
694 fill-column: 74
695 version-control: never
696 End: