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