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