make microblaze build with -Wwrite-strings
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2
3 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
4 frag_var ().
5
6 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
7
8 * config/tc-visium.c (md_atof): Localize the string returned on
9 failure.
10
11 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
12
13 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
14 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
15 * config/tc-m68hc11.c (md_begin): Likewise.
16 (print_opcode_list): Likewise.
17 * config/tc-msp430.c (msp430_section): Likewise.
18 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
19 (s3_build_dependency_insn_hsh): Likewise.
20 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
21 (s7_build_dependency_insn_hsh): Likewise.
22 * config/tc-tic4x.c: Likewise.
23 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
24 (subsym_get_arg): Likewise.
25 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
26 (get_directive): Likewise.
27 (cache_literal_section): Likewise.
28 * config/xtensa-relax.c: Likewise.
29 * symbols.c (symbol_create): Likewise.
30 (local_symbol_make): Likewise.
31 (symbol_relc_make_expr): Likewise.
32
33 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
34
35 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
36 str.
37
38 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
39
40 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
41 call with a switch.
42
43 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
44
45 * config/tc-ia64.c (ia64_do_align): Remove.
46 (ia64_cons_align): Call do_align () directly.
47 (dot_proc): Likewise.
48 (stmt_float_cons): Likewise.
49
50 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
51
52 * listing.c (listing_message): Use XNEW style allocation macros.
53 * read.c (read_a_source_file): Likewise.
54 (read_symbol_name): Likewise.
55 (s_mri_common): Likewise.
56 (assign_symbol): Likewise.
57 (s_reloc): Likewise.
58 (emit_expr_with_reloc): Likewise.
59 (s_incbin): Likewise.
60 (s_include): Likewise.
61 * sb.c (sb_build): Likewise.
62 (sb_check): Likewise.
63
64 2016-03-22 Alan Modra <amodra@gmail.com>
65
66 * write.c (record_alignment): Revert 2016-02-18 change.
67
68 2016-03-22 Alan Modra <amodra@gmail.com>
69
70 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
71 (emit_jsrjmp, tc_gen_reloc): Likewise.
72 * config/tc-i370.c (i370_macro): Likewise.
73
74 2016-03-22 Nick Clifton <nickc@redhat.com>
75
76 * configure: Regenerate.
77
78 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
79
80 * testsuite/gas/arc/nps400-0.d: New file.
81 * testsuite/gas/arc/nps400-0.s: New file.
82 * testsuite/gas/arc/nps400-1.d: New file.
83 * testsuite/gas/arc/nps400-1.s: New file.
84
85 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
86
87 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
88 declarations to start of block. Reset code on all flags before
89 attempting to match them. Handle multiple hits on the same flag.
90 Handle flag class.
91 * testsuite/gas/arc/asm-errors.d: New file.
92 * testsuite/gas/arc/asm-errors.err: New file.
93 * testsuite/gas/arc/asm-errors.s: New file.
94
95 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
96
97 * config/tc-arc.c (cpu_types): Add nps400 entry.
98 (check_zol): Handle nps400.
99
100 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
101
102 * config/tc-arc.c (arc_select_cpu): Remove use of
103 EF_ARC_CPU_GENERIC.
104
105 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
106
107 * config/tc-arc.c (arc_target): Delay initialisation until
108 arc_select_cpu.
109 (arc_target_name): Likewise.
110 (arc_features): Likewise.
111 (arc_mach_type): Likewise.
112 (cpu_types): Remove "all" entry.
113 (arc_select_cpu): New function, most of the content is from...
114 (md_parse_option): ... here. Call new arc_select_cpu.
115 (md_begin): Call arc_select_cpu if needed, default is now arc700.
116
117 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
118
119 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
120 * testsuite/gas/arc/inline-data-2.d: New file.
121
122 2016-03-21 Nick Clifton <nickc@redhat.com>
123
124 * atof-generic.c: Replace use of alloca with call to xmalloc.
125 * cgen.c: Likewise.
126 * dwarf2dbg.c: Likewise.
127 * macro.c: Likewise.
128 * remap.c: Likewise.
129 * stabs.c: Likewise.
130 * symbols.c: Likewise.
131 * config/obj-elf.c: Likewise.
132 * config/tc-aarch64.c: Likewise.
133 * config/tc-arc.c: Likewise.
134 * config/tc-arm.c: Likewise.
135 * config/tc-avr.c: Likewise.
136 * config/tc-ia64.c: Likewise.
137 * config/tc-mips.c: Likewise.
138 * config/tc-msp430.c: Likewise.
139 * config/tc-nds32.c: Likewise.
140 * config/tc-ppc.c: Likewise.
141 * config/tc-sh.c: Likewise.
142 * config/tc-tic30.c: Likewise.
143 * config/tc-tic54x.c: Likewise.
144 * config/tc-xstormy16.c: Likewise.
145 * config/te-vms.c: Likewise.
146 * configure: Regenerate.
147
148 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
149
150 * tc-i386.c (f32_1): Change type to unsigned char[].
151 (f32_2): Likewise.
152 (f32_3): Likewise.
153 (f32_4): Likewise.
154 (f32_5): Likewise.
155 (f32_6): Likewise.
156 (f32_7): Likewise.
157 (f32_8): Likewise.
158 (f32_9): Likewise.
159 (f32_10): Likewise.
160 (f32_11): Likewise.
161 (f32_12): Likewise.
162 (f32_13): Likewise.
163 (f32_14): Likewise.
164 (f16_3): Likewise.
165 (f16_4): Likewise.
166 (f16_5): Likewise.
167 (f16_6): Likewise.
168 (f16_7): Likewise.
169 (f16_8): Likewise.
170 (jump_31): Likewise.
171 (f32_patt): Likewise.
172 (f16_patt): Likewise.
173 (alt_3): Likewise.
174 (alt_4): Likewise.
175 (alt_5): Likewise.
176 (alt_6): Likewise.
177 (alt_7): Likewise.
178 (alt_8): Likewise.
179 (alt_9): Likewise.
180 (alt_10): Likewise.
181 (alt_patt): Likewise.
182
183 2016-03-18 Nick Clifton <nickc@redhat.com>
184
185 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
186 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
187 .tlsdescldr and .xword directives.
188
189 PR target/19721
190 * testsuite/gas/aarch64/pr19721.s: New test source file.
191 * testsuite/gas/aarch64/pr19721.d: New test driver file.
192
193 * doc/as.texinfo: Place the target specific command line options
194 into their own man page section.
195
196 2016-03-16 Jiong Wang <jiong.wang@arm.com>
197
198 * config/tc-arm.c (N_S_32): New.
199 (N_F_16_32): Likewise.
200 (N_SUF_32): Support N_F16.
201 (N_IF_32): Likewise.
202 (neon_dyadic_misc): Likewise.
203 (do_neon_cmp): Likewise.
204 (do_neon_cmp_inv): Likewise.
205 (do_neon_mul): Likewise.
206 (do_neon_fcmp_absolute): Likewise.
207 (do_neon_step): Likewise.
208 (do_neon_abs_neg): Likewise.
209 (CVT_FLAVOR_VAR): Likewise.
210 (do_neon_cvt_1): Likewise.
211 (do_neon_recip_est): Likewise.
212 (do_vmaxnm): Likewise.
213 (do_vrint_1): Likewise.
214 (neon_check_type): Check architecture support for FP16 extension.
215 (insns): Update comments.
216 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
217 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
218 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
219 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
220 arm mode.
221 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
222 thumb mode.
223 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
224 error file.
225
226 2016-03-16 Nick Clifton <nickc@redhat.com>
227
228 * read.c (emit_expr_with_reloc): Add code check a bignum with
229 nbytes == 1.
230 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
231 other than 32-bits.
232 * testsuite/gas/elf/bignum.s: New test source file.
233 * testsuite/gas/elf/bignum.d: New test driver file.
234 * testsuite/gas/elf/elf.exp: Run the new test.
235
236 2016-03-15 Ulrich Drepper <drepper@gmail.com>
237
238 * doc/c-i386.texi (Register Naming): Update to details of the
239 latest architecture version.
240
241 2016-03-10 Mickael Guene <mickael.guene@st.com>
242
243 PR gas/19744
244 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
245 (do_mov): Likewise.
246 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
247 (do_t_mov_cmp): Likewise.
248 (do_t_add_sub): Protect against bad relocations usage.
249 (do_t_mov_cmp): Likewise.
250 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
251 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
252 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
253 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
254
255 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
256
257 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
258 do_alignment.
259 (do_neon_ld_st_lane): Likewise.
260 (do_neon_ld_dup): Likewise.
261
262 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
263
264 * testsuite/gas/arc/inline-data-1.d: New file.
265 * testsuite/gas/arc/inline-data-1.s: New file.
266
267 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
268
269 * config/tc-arm.c (arm_cpus): Add cortex-r8.
270 * doc/c-arm.texi: Add cortex-r8.
271
272 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
273
274 * config/tc-arc.c: Add const qualifiers.
275 * config/tc-h8300.c (md_begin): Likewise.
276 * config/tc-ia64.c (print_prmask): Likewise.
277 * config/tc-msp430.c (msp430_operands): Likewise.
278 * config/tc-nds32.c (struct suffix_name): Likewise.
279 (struct nds32_parse_option_table): Likewise.
280 (struct nds32_set_option_table): Likewise.
281 (do_pseudo_pushpopm): Likewise.
282 (do_pseudo_pushpop_stack): Likewise.
283 (nds32_relax_relocs): Likewise.
284 (nds32_flag): Likewise.
285 (struct nds32_hint_map): Likewise.
286 (nds32_find_reloc_table): Likewise.
287 (nds32_match_hint_insn): Likewise.
288 * config/tc-s390.c: Likewise.
289 * config/tc-sh.c (get_specific): Likewise.
290 * config/tc-tic30.c: Likewise.
291 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
292 (tic4x_indirect_parse): Likewise.
293 * config/tc-vax.c (vax_cons): Likewise.
294 * config/tc-z80.c (struct reg_entry): Likewise.
295 * config/tc-epiphany.c (md_assemble): Adjust.
296 (epiphany_assemble): New function.
297 (epiphany_elf_section_rtn): Call do_align directly.
298 (epiphany_elf_section_text): Likewise.
299 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
300 (ip2k_elf_section_text): Likewise.
301 * read.c (do_align): Make it not static.
302 * read.h (do_align): New prototype.
303
304 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
305
306 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
307 for ARMv8.1 AdvSIMD use.
308 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
309 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
310
311 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
312
313 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
314 feature.
315 (record_feature_use): New.
316 (mark_feature_used): Use record_feature_use.
317 (do_neon_qrdmlah): New.
318 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
319 variants.
320 (arm_extensions): Put into alphabetical order. Re-indent "simd"
321 and "rdma" entries. Fix the incorrect merge value for "+rdma".
322 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
323 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
324 Make source file explicit.
325 * testsuite/gas/arm/armv8-a+rdma.l: New.
326 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
327 directives. Fix white-space.
328 * testsuite/gas/arm/armv8_1-a+simd.d: New.
329
330 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
331
332 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
333
334 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
335 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
336
337 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
338 (tc_arc_fix_adjustable): Changed default return value to 1.
339 * testsuite/gas/arc/j.d: Updated expected symbol
340 * testsuite/gas/arc/jl.d: Likewise
341 * testsuite/gas/arc/relax-avoid1.d: Likewise
342 * testsuite/gas/arc/st.d: Likewise
343
344 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
345
346 * config/tc-arc.c: Enable code density instructions for ARC EM.
347
348 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
349
350 PR ld/19645
351 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
352 for ELF assemblers.
353 * as.c (flag_use_elf_stt_common): New.
354 (show_usage): Add --elf-stt-common=.
355 (option_values): Add OPTION_ELF_STT_COMMON.
356 (std_longopts): Add --elf-stt-common=.
357 (parse_args): Handle --elf-stt-common=.
358 * as.h (flag_use_elf_stt_common): New.
359 * config.in: Regenerated.
360 * configure: Likewise.
361 * configure.ac: Add --enable-elf-stt-common and define
362 DEFAULT_GENERATE_ELF_STT_COMMON.
363 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
364 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
365 * doc/as.texinfo: Document --elf-stt-common=.
366 * testsuite/gas/elf/common3.s: New file.
367 * testsuite/gas/elf/common3a.d: Likewise.
368 * testsuite/gas/elf/common3b.d: Likewise.
369 * testsuite/gas/elf/common4.s: Likewise.
370 * testsuite/gas/elf/common4a.d: Likewise.
371 * testsuite/gas/elf/common4b.d: Likewise.
372 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
373 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
374 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
375 and common4b.
376 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
377 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
378 --elf-stt-common=no to as.
379 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
380 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
381 --elf-stt-common=no to as.
382 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
383 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
384 of dw2-compress-3 and dw2-compressed-3.
385
386 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
387
388 * as.c (select_emulation_mode): Add const qualifiers.
389 * as.h: Likewise.
390 * config/bfin-defs.h: Likewise.
391 * config/bfin-parse.y: Likewise.
392 * config/rx-parse.y: Likewise.
393 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
394 (struct aarch64_cpu_option_table): Likewise.
395 (struct aarch64_arch_option_table): Likewise.
396 (struct aarch64_option_cpu_value_table): Likewise.
397 (struct aarch64_long_option_table): Likewise.
398 (struct aarch64_option_abi_value_table): Likewise.
399 * config/tc-arm.c (struct reloc_entry): Likewise.
400 (tc_gen_reloc): Likewise.
401 (struct arm_option_table): Likewise.
402 (struct arm_legacy_option_table): Likewise.
403 (struct arm_cpu_option_table): Likewise.
404 (struct arm_arch_option_table): Likewise.
405 (struct arm_option_extension_value_table): Likewise.
406 (struct arm_option_fpu_value_table): Likewise.
407 (struct arm_option_value_table): Likewise.
408 (struct arm_long_option_table): Likewise.
409 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
410 (struct mcu_type_s): Likewise.
411 (struct exp_mod_s): Likewise.
412 (avr_operand): Likewise.
413 (avr_operands): Likewise.
414 * config/tc-d10v.c (md_begin): Likewise.
415 * config/tc-dlx.c: Likewise.
416 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
417 * config/tc-ft32.c (parse_condition): Likewise.
418 * config/tc-h8300.c (do_a_fix_imm): Likewise.
419 * config/tc-hppa.c (pa_ip): Likewise.
420 (hppa_regname_to_dw2regnum): Likewise.
421 * config/tc-i370.c (i370_elf_suffix): Likewise.
422 * config/tc-i960.c (struct tabentry): Likewise.
423 * config/tc-m32r.c: Likewise.
424 * config/tc-m68k.c: Likewise.
425 * config/tc-m68k.h: Likewise.
426 * config/tc-mcore.c (parse_psrmod): Likewise.
427 * config/tc-metag.c (struct metag_core_option): Likewise.
428 (struct metag_long_option): Likewise.
429 * config/tc-microblaze.c: Likewise.
430 * config/tc-mips.c (macro): Likewise.
431 * config/tc-mn10200.c: Likewise.
432 * config/tc-mn10300.c: Likewise.
433 * config/tc-msp430.c (struct rcodes_s): Likewise.
434 (struct hcodes_s): Likewise.
435 (md_parse_option): Likewise.
436 * config/tc-ns32k.c (struct ns32k_option): Likewise.
437 (optlist): Likewise.
438 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
439 (tc_ppc_regname_to_dw2regnum): Likewise.
440 * config/tc-ppc.h: Likewise.
441 * config/tc-rl78.c: Likewise.
442 * config/tc-rx.c (struct cpu_type): Likewise.
443 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
444 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
445 (sparc_ip): Likewise.
446 * config/tc-spu.c (insn_fmt_string): Likewise.
447 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
448 * config/tc-v850.c: Likewise.
449 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
450 (struct visium_long_option_table): Likewise.
451 * config/tc-xgate.c: Likewise.
452 * config/tc-z8k.c: Likewise.
453 * read.c (add_include_dir): Likewise.
454 * read.h: Likewise.
455
456 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
457
458 * testsuite/gas/all/gas.exp: Change target pattern to cover
459 arceb-*.
460 * testsuite/gas/all/redef3.d: Likewise.
461 * testsuite/gas/elf/elf.exp: Likewise.
462
463 2016-02-24 Renlin Li <renlin.li@arm.com>
464
465 * config/tc-arm.c (BAD_FP16): New error message macro.
466 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
467 fp16 scalar instructions.
468 (neon_check_type): Allow different size from key.
469 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
470 (try_vfp_nsyn): Likewise.
471 (do_vfp_nsyn_mla_mls): Likewise.
472 (do_vfp_nsyn_fma_fms): Likewise.
473 (do_vfp_nsyn_ldm_stm): Likewise
474 (do_vfp_nsyn_sqrt): Likewise
475 (do_vfp_nsyn_div): Likewise
476 (do_vfp_nsyn_nmul): Likewise.
477 (do_vfp_nsyn_cmp): Likewise.
478 (do_neon_shll): Likewise.
479 (do_vfp_nsyn_cvt_fpv8): Likewise.
480 (do_neon_cvttb_2): Likewise.
481 (do_neon_mov): Likewise.
482 (do_neon_rshift_round_imm): Likewise.
483 (do_neon_ldr_str): Likewise.
484 (do_vfp_nsyn_fpv8): Likewise.
485 (do_vmaxnm): Likewise.
486 (do_vrint_1): Likewise.
487 (insns): New entry for vins, vmovx.
488 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
489 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
490 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
491 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
492 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
493 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
494 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
495
496 2016-02-24 Renlin Li <renlin.li@arm.com>
497
498 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
499 (neon_shape_class): New SC_HALF.
500 (neon_shape_el): New SE_H.
501 (neon_shape_el_size): New size for SE_H.
502 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
503 (neon_select_shape): Add SE_H support code.
504 (el_type_of_type_chk): Use N_F_ALL.
505 (do_vfp_nsyn_cvt): Add SE_H shape support.
506 (do_neon_cvtz): Likewise.
507 (do_neon_cvt_1): Likewise.
508 (do_neon_cvttb_1): Likewise.
509
510 2016-02-24 Renlin Li <renlin.li@arm.com>
511
512 * testsuite/gas/arm/copro.d: Adjust output.
513 * testsuite/gas/arm/copro.s: Adjust co-processor num.
514
515 2016-02-24 Renlin Li <renlin.li@arm.com>
516
517 * testsuite/gas/arm/mask_1.d: New.
518 * testsuite/gas/arm/mask_1.s: New.
519
520 2016-02-24 Renlin Li <renlin.li@arm.com>
521
522 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
523 * testsuite/gas/arm/copro.d: Update.
524
525 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
526
527 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
528 * doc/c-arm.texi (ARM Options): Document cortex-a32.
529
530 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
531
532 * doc/c-arm.texi (ARM Options): Document cortex-a17.
533
534 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
535
536 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
537 hpux.
538
539 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
540
541 * output-file.c (output_file_create): Make file name argument const.
542 (output_file_close): Likewise.
543 * output-file.h (output_file_create): Adjust.
544 (output_file_close): Likewise.
545 * depend.c (quote_string_for_make): Make src argument const char *.
546 (register_dependency): Likewise.
547 (wrap_output): Likewise.
548 * as.h (register_dependency): Adjust.
549 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
550 as_where ();
551 * symbols.c (S_SET_EXTERNAL): Likewise.
552 * input-scrub.c (as_where): Return the file name.
553 * as.h (as_where): Adjust prototype.
554 * app.c (do_scrub_chars): Adjust.
555 * cond.c (s_elseif): Likewise.
556 (s_else): Likewise.
557 (initialize_cframe): Likewise.
558 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
559 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
560 * config/obj-som.c (obj_som_init_stab_section): Likewise.
561 * config/tc-aarch64.c (output_info): Likewise.
562 * config/tc-ia64.c (md_assemble): Likewise.
563 (dot_alias): Likewise.
564 * config/tc-m68k.c (m68k_frob_label): Likewise.
565 * config/tc-mmix.c (s_bspec): Likewise.
566 (mmix_handle_mmixal): Likewise.
567 * config/tc-rx.c (rx_include): Likewise.
568 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
569 (tic54x_adjust_symtab): Likewise.
570 * config/tc-xtensa.c (directive_push): Likewise.
571 (xtensa_sanity_check): Likewise.
572 (xtensa_relax_frag): Likewise.
573 (md_convert_frag): Likewise.
574 (tinsn_to_slotbuf): Likewise.
575 * dwarf2dbg.c (dwarf2_where): Likewise.
576 * ecoff.c (add_file): Likewise.
577 (ecoff_generate_asm_lineno): Likewise.
578 * expr.c (make_expr_symbol): Likewise.
579 * frags.c (frag_new): Likewise.
580 (frag_var_init): Likewise.
581 * listing.c (listing_newline): Likewise.
582 * messages.c (identify): Likewise.
583 (as_show_where): Likewise.
584 (as_warn_internal): Likewise.
585 (as_bad_internal): Likewise.
586 * read.c (s_irp): Likewise.
587 (s_macro): Likewise.
588 (s_reloc): Likewise.
589 * stabs.c (stabs_generate_asm_file): Likewise.
590 (stabs_generate_asm_lineno): Likewise.
591 (stabs_generate_asm_func): Likewise.
592 * write.c (fix_new_internal): Likewise.
593 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
594 (as_warn_value_out_of_range): Adjust prototype.
595 (as_bad_value_out_of_range): Adjust prototype.
596 * messages.c (identify): Make file name argument const char *.
597 (as_warn_internal): Likewise.
598 (as_warn_where): Likewise.
599 (as_bad_internal): Likewise.
600 (as_bad_where): Likewise.
601 (as_internal_value_out_of_range): Likewise.
602 (as_warn_value_out_of_range): Likewise.
603 (as_bad_value_out_of_range): Likewise.
604 * as.h (found_comment_file): Change type to const char *.
605 * cond.c (file_line::file): Likewise.
606 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
607 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
608 * config/obj-som.c (obj_som_init_stab_section): Likewise.
609 * config/tc-aarch64.c (output_info): Likewise.
610 * config/tc-alpha.c (insert_operand): Likewise.
611 * config/tc-arc.c (insert_operand): Likewise.
612 * config/tc-d30v.c (check_size): Likewise.
613 * config/tc-ia64.c (struct alias): Likewise.
614 * config/tc-m68k.c (struct label_line): Likewise.
615 * config/tc-mcore.c (md_apply_fix): Likewise.
616 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
617 * config/tc-mips.c (mips16_immed): Likewise.
618 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
619 * config/tc-ppc.c (ppc_insert_operand): Likewise.
620 * config/tc-rx.c (rx_include): Likewise.
621 * config/tc-s390.c (s390_insert_operand): Likewise.
622 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
623 (tic54x_adjust_symtab): Likewise.
624 * config/tc-tilegx.c (insert_operand): Likewise.
625 (apply_special_operator): Likewise.
626 * config/tc-tilepro.c (insert_operand): Likewise.
627 * config/tc-xtensa.c (directive_push): Likewise.
628 * ecoff.c (add_file): Likewise.
629 (ecoff_generate_asm_lineno): Likewise.
630 * listing.c (listing_newline): Likewise.
631 * read.c (s_irp): Likewise.
632 * write.c (install_reloc): Likewise.
633 * write.h (struct fix): Likewise.
634 * input-file.c (file_name): Change type to const char *.
635 (saved_file::file_name): Likewise.
636 (input_file_open): Change type of argument to const char *.
637 * input-file.h (input_file_open): Adjust.
638 * input-scrub.c (logical_input_file): change type to const char *.
639 (physical_input_file): Likewise.
640 (struct input_save): Adjust.
641 (input_scrub_push): Adjust.
642 (input_scrub_begin): Adjust.
643 (as_where): Adjust.
644 * input-scrub.c (input_scrub_new_file): Make file name argument const.
645 (input_scrub_include_file): Likewise.
646 (new_logical_line_flags): Likewise.
647 (new_logical_line): Likewise.
648 * as.h: Adjust.
649 * frags.h (struct frag): Change type of fr_file to const char *.
650 * expr.c (expr_symbol_where): Change type of file argument to
651 const char **.
652 * expr.h (expr_symbol_where): Likewise.
653 * config/tc-i370.c (md_apply_fix): adjust.
654 * config/tc-mmix.c (mmix_md_end): Likewise.
655 * config/tc-ppc.c (md_apply_fix): Likewise.
656 * config/tc-s390.c (md_apply_fix): Likewise.
657 * symbols.c (report_op_error): Likewise.
658 (resolve_symbol_value): Likewise.
659 * config/tc-ia64.c (slot::src_file): Change type to const char *.
660 (rsrc::file): Likewise.
661 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
662 const char *.
663 (xtensa_relax_frag): Likewise.
664 (md_convert_frag): Likewise.
665 (tinsn_to_slotbuf): Likewise.
666 * expr.c (expr_symbol_line): Likewise.
667 * macro.c (define_macro): Likewise.
668 * macro.h (macro_struct): Likewise.
669 * messages.c (as_show_where): Likewise.
670 * read.c (s_macro): Likewise.
671 * stabs.c (stabs_generate_asm_file): Likewise.
672 (generate_asm_file): Likewise.
673 (stabs_generate_asm_lineno): Likewise.
674 * write.h (struct reloc_list): Likewise.
675 * input-scrub.c (as_where): Change return type to const char *.
676 * as.h (as_wheree): Adjust.
677
678 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
679
680 * write.c (compress_debug): Move BFD compression bits setting
681 to ...
682 (write_object_file): Here.
683
684 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
685
686 * config/tc-i386.c (register_number): Check RegVRex.
687 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
688 with %zmm19 and %zmm3.
689 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
690 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
691
692 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
693 Jiong Wang <jiong.wang@arm.com>
694
695 * config/tc-arm.c (arm_ext_fp16): New.
696 (arm_extensions): New entry for "fp16".
697
698 2016-02-19 Nick Clifton <nickc@redhat.com>
699
700 PR 19630
701 * read.c (read_a_source_file): Check for assemble_one returning
702 with input_line_pointer set to NULL.
703
704 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
705
706 * listing.c (rebuffer_line): Change return type to void.
707
708 * symbols.c (decode_local_label_name): Make type a const char *.
709 * listing.c (print_source): Make type of p const char *.
710 (print_line): Make type of string const char *.
711 (buffer_line): Return const char *.
712 (title): Make type const char *.
713 (subtitle): Likewise.
714 (listing_listing): Make type of p const char *.
715 * messages.c (as_internal_value_out_of_range): Make type of prefix
716 const char *.
717 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
718 and string const char *.
719 * read.c (_bfd_rel): Make type of name const char *.
720 * app.c (out_string): Change type to const char *.
721 (struct app_save::out_string): Likewise.
722
723 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
724 Nick Clifton <nickc@redhat.com>
725
726 * read.c (finish_bundle): Avoid recording a negative alignment.
727 (do_align): Use unsigned values for n, len and max. Only create
728 a frag if the alignment requirement is greater than the minimum
729 byte alignment. Avoid recording a negative alignment.
730 (s_align): Use unsigned values where appropriate.
731 (bss_alloc): Use an unsigned value for the alignment.
732 (sizeof_sleb128): Add a comment noting that we encode one octet
733 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
734 (emit_leb129_expr): Abort if the emitted encoding was longer than
735 expected.
736 * read.h (output_leb128): Update prototype.
737 (sizeof_leb128): Update prototype.
738 (bss_alloc): Update prototype.
739 * write.c (record_alignment): Use an unsigned value for the
740 alignment. Do not record alignments less than the minimum
741 alignment for a byte.
742 * write.h (record_alignment): Update prototype.
743
744 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
745
746 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
747 .init.literal/.fini.literal section name.
748 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
749 list of xtensa tests.
750 * testsuite/gas/xtensa/init-fini-literals.d: New file:
751 init-fini-literals test result patterns.
752 * testsuite/gas/xtensa/init-fini-literals.s: New file:
753 init-fini-literals test.
754
755 2016-02-17 Nick Clifton <nickc@redhat.com>
756
757 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
758 devices.csv file as of March 2016.
759
760 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
761
762 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
763 function.
764 (tc_arc_regname_to_dw2regnum): Likewise.
765 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
766 (tc_cfi_frame_initial_instructions): Likewise.
767 (tc_regname_to_dw2regnum): Likewise.
768 * testsuite/gas/cfi/cfi-arc-1.d: New file.
769 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
770 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
771
772 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
773
774 * doc/internals.texi (S_IS_EXTERN): Remove.
775
776 2016-02-16 Nick Clifton <nickc@redhat.com>
777
778 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
779 update.
780
781 2016-02-16 Renlin Li <renlin.li@arm.com>
782
783 PR gas/19620
784 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
785 * testsuite/gas/aarch64/movw_label.d: New.
786 * testsuite/gas/aarch64/movw_label.s: New.
787
788 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
789
790 PR gas/19556
791 * config/rx-parse.y (MOV): Opcode generation for index
792 register addressing mode.
793 * testsuite/gas/rx/rx.exp: Updated for new testcase.
794 * testsuite/gas/rx/pr19665.s: New file.
795 * testsuite/gas/rx/pr19665.s: New file.
796 * testsuite/gas/rx/mov.d: Update expected output.
797
798 2016-02-15 Nick Clifton <nickc@redhat.com>
799
800 * doc/as.texinfo (.section): Document that numeric values can now
801 be used for the flags and type fields of the ELF target's .section
802 directive. Add notes about the restrictions on setting flags and
803 types.
804 * config/obj-elf.c (obj_elf_change_section): Allow known sections
805 to be given processor specific section types. Allow processor and
806 application specific flags of a section to be set after
807 definition.
808 (obj_elf_parse_section_letters): Handle parsing numeric values.
809 (obj_elf_section_type): Handle parsing numeric values.
810 (obj_elf_section): Allow numeric type values.
811 * config/obj-elf.h (obj_elf_change_section): Update prototype.
812 * testsuite/gas/elf/section10.d: New test.
813 * testsuite/gas/elf/section10.s: Source file for new test.
814 * testsuite/gas/elf/elf.exp: Run the new test.
815 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
816 the description of the flags produced by readelf.
817 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
818 * NEWS: Mention the new feature.
819
820 2016-02-11 Nick Clifton <nickc@redhat.com>
821
822 PR gas/19614
823 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
824 until it is actually used.
825 (cfi_set_sections): Set cfi_sections_set to true.
826 (dot_cfi_startproc): Likewise.
827 (dot_cfi_endproc): Likewise.
828 (dot_cfi_fde_data): Likewise.
829 (cfi_finish): Likewise.
830 (dot_cfi_sections): Do not set cfi_sections_set.
831 * doc/as.texinfo (.cfi_sections): Note that targets can provide
832 their own cfi section name. Also note that the directive can be
833 reissued provided that CFI generation has not started.
834 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
835 .cfi_endproc directives so that the redefinition of .cfi_sections
836 will trigger the generation of the error message.
837 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
838 number of error message.
839
840 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
841 Janek van Oirschot <jvanoirs@synopsys.com>
842
843 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
844 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
845 Define.
846 (arc_flags, arc_relax_type): New structure.
847 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
848 (RELAX_TABLE_ENTRY_MAX): New define.
849 (relaxation_state, md_relax_table, arc_relaxable_insns)
850 (arc_num_relaxable_ins): New variable.
851 (rlx_operand_type, arc_rlx_types): New enums.
852 (arc_relaxable_ins): New structure.
853 (OPTION_RELAX): New option.
854 (arc_insn): New relax member.
855 (arc_flags): Remove.
856 (relax_insn_p): New function.
857 (apply_fixups): Likewise.
858 (relaxable_operand): Likewise.
859 (may_relax_expr): Likewise.
860 (relaxable_flag): Likewise.
861 (arc_pcrel_adjust): Likewise.
862 (md_estimate_size_before_relax): Implement.
863 (md_convert_frag): Likewise.
864 (md_parse_option): Handle new mrelax option.
865 (md_show_usage): Likewise.
866 (assemble_insn): Set relax member.
867 (emit_insn0): New function.
868 (emit_insn1): Likewise.
869 (emit_insn): Handle relaxation case.
870 * NEWS: Mention the new relaxation option.
871 * doc/c-arc.texi (ARC Options): Document new mrelax option.
872 * doc/as.texinfo (Target ARC Options): Likewise.
873 * testsuite/gas/arc/relax-avoid1.d: New file.
874 * testsuite/gas/arc/relax-avoid1.s: Likewise.
875 * testsuite/gas/arc/relax-avoid2.d: Likewise.
876 * testsuite/gas/arc/relax-avoid2.s: Likewise.
877 * testsuite/gas/arc/relax-avoid3.d: Likewise.
878 * testsuite/gas/arc/relax-avoid3.s: Likewise.
879 * testsuite/gas/arc/relax-b.d: Likewise.
880 * testsuite/gas/arc/relax-b.s: Likewise.
881
882 2016-02-08 Nick Clifton <nickc@redhat.com>
883
884 * config/tc-ia64.c (dot_prologue): Fix formatting.
885
886 2016-02-04 Nick Clifton <nickc@redhat.com>
887
888 * config/obj-elf.c (obj_elf_change_section): Remove support for
889 ARM NOREAD sections.
890 * config/tc-arm.c (arm_elf_section_letter): Delete.
891 * config/tc-arm.h (md_elf_section_letter): Delete.
892 * doc/c-arm.texi (ARM Section Attribute): Delete section.
893 * testsuite/gas/arm/section-execute-only.d: Delete.
894 * testsuite/gas/arm/section-execute-only.s: Delete.
895
896 2016-02-04 Nick Clifton <nickc@redhat.com>
897
898 PR target/19561
899 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
900 to handle encoding of RRUX instruction.
901 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
902 shift instructions.
903 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
904
905 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
906
907 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
908 substitutions for BFD_RELOC_* as unsigned.
909 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
910 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
911 * testsuite/gas/xtensa/loc.s: New file: loc test.
912
913 2016-02-03 Kevin Buettner <kevinb@redhat.com>
914
915 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
916
917 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
918
919 PR gas/19520
920 * NEWS: Mention new command line option -mrelax-relocations and
921 new configure option --enable-x86-relax-relocations for x86
922 target.
923 * config.in: Regenerated.
924 * configure.ac: Add --enable-x86-relax-relocations.
925 (ac_default_x86_relax_relocations): New. Default to 1 except
926 for x86 Solaris targets older than Solaris 12.
927 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
928 * configure: Likewise.
929 * config/tc-i386.c (generate_relax_relocations): New.
930 (OPTION_MRELAX_RELOCATIONS): Likewise.
931 (output_disp): Don't generate relax relocations if
932 generate_relax_relocations is 0.
933 (md_longopts): Add -mrelax-relocations.
934 (md_show_usage): Likewise.
935 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
936 * doc/c-i386.texi: Document -mrelax-relocations=.
937 * testsuite/gas/i386/got-no-relax.d: New file.
938 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
939 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
940 * testsuite/gas/i386/localpic.d: Likewise.
941 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
942 * testsuite/gas/i386/reloc32.d: Likewise.
943 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
944 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
945 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
946 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
947 * testsuite/gas/i386/i386.exp: Run got-no-relax and
948 x86-64-gotpcrel-no-relax.
949
950 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
951
952 * NEWS: Mention new command line option -mfence-as-lock-add=yes
953 for x86 target.
954
955 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
956
957 * NEWS: Remove duplicated marker for 2.26.
958
959 2016-02-02 Renlin Li <renlin.li@arm.com>
960
961 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
962
963 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
964
965 * testsuite/gas/ip2k/allinsn.d: New file.
966 * testsuite/gas/ip2k/allinsn.s: New file.
967 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
968
969 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
970
971 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
972 some load instructions.
973 * testsuite/gas/epiphany/allinsn.d: Likewise.
974 * testsuite/gas/epiphany/regression.d: Likewise.
975
976 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
977
978 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
979 suffixes from instruction mnemonics in expected output.
980 * testsuite/gas/epiphany/allinsn.d: Likewise.
981 * testsuite/gas/epiphany/regression.d: Likewise.
982 * testsuite/gas/epiphany/sample.d: Likewise.
983
984 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
985
986 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
987 names.
988 * testsuite/gas/epiphany/allinsn.d: Likewise.
989 * testsuite/gas/epiphany/sample.d: Likewise.
990
991 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
992
993 * testsuite/gas/epiphany/sample.d: Update expected output.
994
995 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
996
997 * config/tc-arc.c (md_apply_fix): Allow addendum.
998 (arc_reloc_op): Allow complex expressions for tpoff.
999 (md_apply_fix): Handle resolved TLS local symbol.
1000
1001 * testsuite/gas/arc/tls-relocs1.d: New file.
1002 * testsuite/gas/arc/tls-relocs1.s: Likewise.
1003
1004 2016-02-01 Loria <Loria@phantasia.org>
1005
1006 PR target/19311
1007 * config/tc-arm.c (encode_arm_immediate): Recode to improve
1008 efficiency and avoid an LLVM loop optimization bug.
1009
1010 2016-02-01 Nick Clifton <nickc@redhat.com>
1011
1012 * config/tc-microblaze.c (parse_imm): Fix compile time warning
1013 message extending a negative 32-bit value into a larger signed
1014 value on a 32-bit host.
1015
1016 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1017
1018 PR gas/19532
1019 * configure.ac (compressed_debug_sections): Replace == with =.
1020 * configure: Regenerated.
1021
1022 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
1023 H.J. Lu <hongjiu.lu@intel.com>
1024
1025 * config/tc-i386.c (avoid_fence): New.
1026 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
1027 is true.
1028 (OPTION_FENCE_AS_LOCK_ADD): New.
1029 (md_longopts): Add -mfence-as-lock-add.
1030 (md_parse_option): Handle -mfence-as-lock-add.
1031 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
1032 * doc/c-i386.texi (-mfence-as-lock-add): Document.
1033 * testsuite/gas/i386/i386.exp: Run new tests.
1034 * testsuite/gas/i386/fence-as-lock-add.s: New.
1035 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
1036 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
1037 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
1038 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
1039
1040 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 * configure.ac (compressed_debug_sections): Remove trailing `]'.
1043 * configure: Regenerated.
1044
1045 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
1048 (OPTION_MOMIT_LOCK_PREFIX): This.
1049 (md_longopts): Updated.
1050 (md_parse_option): Likewise.
1051
1052 2016-01-25 Catherine Moore <clm@codesourcery.com>
1053
1054 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
1055 if abicalls are in effect.
1056 * testsuite/gas/mips/sdata-gp.s: New test.
1057 * testsuite/gas/mips/sdata-gp.d: New expected output
1058 * testsuite/gas/mips/mips.exp: Run new test.
1059
1060 2016-01-25 Renlin Li <renlin.li@arm.com>
1061
1062 * testsuite/gas/arm/thumb2_it_search.d: New.
1063 * testsuite/gas/arm/thumb2_it_search.s: New.
1064
1065 2016-01-21 Nick Clifton <nickc@redhat.com>
1066
1067 PR gas/19454
1068 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
1069 with arm-netbsdelf target.
1070 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
1071
1072 2016-01-20 Nick Clifton <nickc@redhat.com>
1073
1074 PR 19456
1075 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
1076 * testsuite/gas/arm/blx-bl-convert.d
1077 * testsuite/gas/arm/plt-1.d: Likewise.
1078 * testsuite/gas/arm/reloc-bad.d: Likewise.
1079 * testsuite/gas/arm/thumb-w-good.d: Likewise.
1080 * testsuite/gas/arm/thumb2_pool.d: Likewise.
1081 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
1082 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
1083
1084 PR 19499
1085 * doc/as.texinfo (Errors): Correct documentation describing the
1086 interaction of .file and .line with warning and error messages.
1087
1088 PR 19458
1089 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
1090 * testsuite/gas/arm/archv8m-main.d: Likewise.
1091 * testsuite/gas/arm/archv8m-base.d: Likewise.
1092
1093 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
1094
1095 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
1096 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
1097 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
1098
1099 2016-01-20 Mickael Guene <mickael.guene@st.com>
1100 Terry Guo <terry.guo@arm.com>
1101
1102 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
1103 SHF_ARM_NOREAD section flag.
1104 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
1105 handle letter 'y'.
1106 (arm_elf_section_letter) : Declare it.
1107 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
1108 SHF_ARM_NOREAD section flag.
1109 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
1110
1111 * testsuite/gas/arm/section-execute-only.s: New test case.
1112 * testsuite/gas/arm/section-execute-only.d: Expected output.
1113
1114 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
1115
1116 * config/tc-mips.c (micromips_insn_length): Remove the mention
1117 of 48-bit microMIPS instructions.
1118
1119 2016-01-18 Alan Modra <amodra@gmail.com>
1120
1121 * configure: Regenerate.
1122
1123 2016-01-17 Alan Modra <amodra@gmail.com>
1124
1125 * configure: Regenerate.
1126
1127 2016-01-17 Alan Modra <amodra@gmail.com>
1128
1129 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
1130
1131 2016-01-14 Nick Clifton <nickc@redhat.com>
1132
1133 * testsuite/gas/rl78/sp-relative-movw.s: New test.
1134 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
1135 * testsuite/gas/rl78/rl78.exp: Run the new test.
1136
1137 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
1138
1139 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
1140 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
1141
1142 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
1143
1144 * config/tc-nios2.c (output_movia): Preset `code' to 0.
1145
1146 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
1147
1148 * config/tc-h8300.c (get_operand): Remove spurious condition in
1149 test for closing parenthesis.
1150
1151 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
1152
1153 * config/tc-arm.c (arm_ext_v8_2): New.
1154 (insns): Add "esb".
1155 * testsuite/gas/arm/armv8_2-a.d: New.
1156 * testsuite/gas/arm/armv8_2-a.s: New.
1157
1158 2016-01-12 Alan Modra <amodra@gmail.com>
1159
1160 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
1161
1162 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
1163
1164 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
1165 xvcmpnesp, xvcmpnesp.>: Delete tests.
1166 * testsuite/gas/ppc/power9.s: Likewise.
1167 * testsuite/gas/ppc/vsx3.d: Likewise.
1168 * testsuite/gas/ppc/vsx3.s: Likewise.
1169
1170 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
1171
1172 PR gas/13050
1173 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
1174 * testsuite/gas/m68k/p13050-1.s: New file.
1175 * testsuite/gas/m68k/p13050-2.d: New file.
1176 * testsuite/gas/m68k/p13050-2.s: New file.
1177
1178 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1179
1180 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
1181 * testsuite/gas/arc/add.d: Likewise.
1182 * testsuite/gas/arc/and.d: Likewise.
1183 * testsuite/gas/arc/asl.d: Likewise.
1184 * testsuite/gas/arc/asr.d: Likewise.
1185 * testsuite/gas/arc/bic.d: Likewise.
1186 * testsuite/gas/arc/extb.d: Likewise.
1187 * testsuite/gas/arc/extw.d: Likewise.
1188 * testsuite/gas/arc/j.d: Likewise.
1189 * testsuite/gas/arc/jl.d: Likewise.
1190 * testsuite/gas/arc/ld2.d: Likewise.
1191 * testsuite/gas/arc/lsr.d: Likewise.
1192 * testsuite/gas/arc/mov.d: Likewise.
1193 * testsuite/gas/arc/or.d: Likewise.
1194 * testsuite/gas/arc/pcl-relocs.d: Likewise.
1195 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
1196 * testsuite/gas/arc/pic-relocs.d: Likewise.
1197 * testsuite/gas/arc/plt-relocs.d: Likewise.
1198 * testsuite/gas/arc/rlc.d: Likewise.
1199 * testsuite/gas/arc/ror.d: Likewise.
1200 * testsuite/gas/arc/rrc.d: Likewise.
1201 * testsuite/gas/arc/sbc.d: Likewise.
1202 * testsuite/gas/arc/sda-relocs.d: Likewise.
1203 * testsuite/gas/arc/sda-relocs2.d: Likewise.
1204 * testsuite/gas/arc/sexb.d: Likewise.
1205 * testsuite/gas/arc/sexw.d: Likewise.
1206 * testsuite/gas/arc/st.d: Likewise.
1207 * testsuite/gas/arc/sub.d: Likewise.
1208 * testsuite/gas/arc/tls-relocs.d: Likewise.
1209 * testsuite/gas/arc/xor.d: Likewise.
1210
1211 2016-01-01 Alan Modra <amodra@gmail.com>
1212
1213 Update year range in copyright notice of all files.
1214
1215 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1216 \f
1217 Copyright (C) 2016 Free Software Foundation, Inc.
1218
1219 Copying and distribution of this file, with or without modification,
1220 are permitted in any medium without royalty provided the copyright
1221 notice and this notice are preserved.
1222
1223 Local Variables:
1224 mode: change-log
1225 left-margin: 8
1226 fill-column: 74
1227 version-control: never
1228 End:
This page took 0.058318 seconds and 5 git commands to generate.