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