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