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