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