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