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