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