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