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