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