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