MIPS/BFD: Update outdated comment about o32 R_MIPS_PC32 reloc support
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
0a8be2fe
VP
12016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
2
3 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
4 * doc/c-aarch64.texi: Document that vulcan is a valid processor
5 name.
6
69c9e028
NC
72016-06-13 Nick Clifton <nickc@redhat.com>
8
9 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
10 that are not supported.
11
12 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
13 constant.
14 * config/tc-cr16.c (check_range): Likewise.
15 * config/tc-nios2.c (nios2_check_overflow): Likewise.
16
08d3b0cc
RL
172016-06-08 Renlin Li <renlin.li@arm.com>
18
19 * config/tc-aarch64.c (print_operands): Substitute size.
20 (output_operand_error_record): Likewise.
21
14b57c7c
AM
222016-06-07 Alan Modra <amodra@gmail.com>
23
24 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
25 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
26 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
27 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
28 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
29 add vle_opcodes twice.
30 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
31
4d1464f2
MW
322016-06-07 Matthew Wahab <matthew.wahab@arm.com>
33
34 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
35 (arm_ext_ras): Renamed from arm_ext_v8_2.
36 (insns): Update for arm_ext_v8_2 renaming.
37 (arm_extensions): Add "ras".
38 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
39 * testsuite/gas/arm/armv8-a+ras.d: New.
40 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
41 options.
42
852a1d49
TS
432016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
44
45 * itbl-parse.y (yyerror): Use modern argument declaration style.
46
c4212e11
TS
472016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
48
49 * config/tc-sh.c (parse_reg): Change type of mode argument to
50 sh_arg_type.
51 (get_operand): Adjust.
52 (insert): Change type of how to bfd_reloc_code_real_type.
53 (insert4): Likewise.
54 * config/tc-sh64.c (shmedia_get_operand): Adjust.
55 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
56
73a229c7
TS
572016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
58
59 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
60 const char *.
61
026122a6
PB
622016-06-03 Peter Bergner <bergner@vnet.ibm.com>
63
64 PR binutils/20196
65 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
66 stbcx., sthcx., stwcx., stdcx.>: Add tests.
67 * gas/testsuite/gas/ppc/e6500.d: Likewise.
68 * gas/testsuite/gas/ppc/power8.s: Likewise.
69 * gas/testsuite/gas/ppc/power8.d: Likewise.
70 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
71 stdcx.>: Add tests.
72 * gas/testsuite/gas/ppc/power4.d: Likewise.
73
07f5af7d
L
742016-06-03 H.J. Lu <hongjiu.lu@intel.com>
75
76 PR binutis/18386
77 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
78 * testsuite/gas/i386/x86-64-branch.d: Updated.
79 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
80 * testsuite/gas/i386/x86-64-branch-4.l: New file.
81 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
82
1aa70332
KT
832016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
84
85 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
86 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
87
362a3eba
KT
882016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
89
90 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
91 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
92
4ad0bb5f
VG
932016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
94
95 * configure.tgt: Replace -uclibc with *.
96
4eb6f892
AB
972016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
98
99 * config/tc-arc.c (parse_opcode_flags): New function.
100 (find_opcode_match): Move flag parsing code out to new function.
101 Ignore operands marked IGNORE.
102 (build_fake_opcode_hash_entry): New function.
103 (find_special_case_long_opcode): New function.
104 (find_special_case): Lookup long opcodes.
105 * testsuite/gas/arc/nps400-7.d: New file.
106 * testsuite/gas/arc/nps400-7.s: New file.
107
c273521c
TS
1082016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
109
110 * config/tc-ns32k.c: Remove definition of input_line_pointer.
111
814f1489
TS
1122016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
113
114 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
115 sentinal with iteration to array size.
116
d05584d3
TS
1172016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
118
119 * config/xtensa-relax.h: Move typedefs of enums to the enums
120 definition.
121
5e429f4c
TS
1222016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
123
124 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
125 macro.
126
315f180f
GM
1272016-06-01 Graham Markall <graham.markall@embecosm.com>
128
129 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
130 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
131 * testsuite/gas/arc/nps-400-1.d: Likewise.
132
0cbd0046
L
1332016-05-29 H.J. Lu <hongjiu.lu@intel.com>
134
135 PR gas/20145
136 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
137 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
138 noavx512ifma and noavx512vbmi.
139 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
140 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
141 and noavx512vbmi.
142 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
143 * testsuite/gas/i386/noavx512-1.l: New file.
144 * testsuite/gas/i386/noavx512-1.s: Likewise.
145 * testsuite/gas/i386/noavx512-2.l: Likewise.
146 * testsuite/gas/i386/noavx512-2.s: Likewise.
147
1848e567
L
1482016-05-27 H.J. Lu <hongjiu.lu@intel.com>
149
150 PR gas/20145
151 * config/tc-i386.c (cpu_arch): Add 687.
152 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
153 nosse4.1, nosse4.2, nosse4 and noavx2.
154 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
155 register. Check cpuregxmm instead of cpusse for XMM register.
156 Check cpuregymm instead of cpuavx for YMM register. Check
157 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
158 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
159 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
160 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
161 * testsuite/gas/i386/arch-10.d (as): Likewise.
162 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
163 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
164 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
165 and noavx-4.
166 * testsuite/gas/i386/no87-3.l: New file.
167 * testsuite/gas/i386/no87-3.s: Likewise.
168 * testsuite/gas/i386/noavx-3.l: Likewise.
169 * testsuite/gas/i386/noavx-3.s: Likewise.
170 * testsuite/gas/i386/noavx-4.d: Likewise.
171 * testsuite/gas/i386/noavx-4.s: Likewise.
172 * testsuite/gas/i386/nosse-4.l: Likewise.
173 * testsuite/gas/i386/nosse-4.s: Likewise.
174 * testsuite/gas/i386/nosse-5.d: Likewise.
175 * testsuite/gas/i386/nosse-5.s: Likewise.
176
e92bae62
L
1772016-05-27 H.J. Lu <hongjiu.lu@intel.com>
178
179 PR gas/20154
180 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
181 cpuintel64.
182 (match_template): Check Intel64/AMD64 ISA.
183
e89c5eaa
L
1842016-05-27 H.J. Lu <hongjiu.lu@intel.com>
185
186 PR gas/20154
187 * config/tc-i386.c (intel64): New.
188 (cpu_flags_match): Set cpuamd64 and cpuintel64.
189 (md_parse_option): Set intel64 instead of cpuamd64 and
190 cpuintel64.
191
9d07ebe1
L
1922016-05-27 H.J. Lu <hongjiu.lu@intel.com>
193
194 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
195 cpuno64.
196
19dfcc89
PB
1972016-05-26 Peter Bergner <bergner@vnet.ibm.com>
198
199 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
200 * testsuite/gas/ppc/altivec3.s: Likewise.
201 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
202 * testsuite/gas/ppc/power9.s: Likewise.
203
8d5b9a5a
L
2042016-05-26 H.J. Lu <hongjiu.lu@intel.com>
205
206 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
207 * testsuite/gas/i386/noavx-1.l: Likewise.
208 * testsuite/gas/i386/nommx-1.l: Likewise.
209 * testsuite/gas/i386/nosse-1.l: Likewise.
210 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
211 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
212 * testsuite/gas/i386/noavx-1.s: Likewise.
213 * testsuite/gas/i386/nommx-1.s: Likewise.
214 * testsuite/gas/i386/nosse-1.s: Likewise.
215 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
216
81cead6f
TS
2172016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
218
219 * config/tc-metag.c (metag_handle_align): Make the type of noop
220 unsigned char.
221
79052aae
TS
2222016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
223
224 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
225 bfd_reloc_code_real_type.
226
73b090a9
L
2272016-05-25 H.J. Lu <hongjiu.lu@intel.com>
228
229 PR gas/20140
230 * config/tc-i386.c (cpu_flags_match): Require another match
231 for AVX512VL.
232 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
233 x86-64-avx512vl-1 and x86-64-avx512vl-2.
234 * testsuite/gas/i386/avx512vl-1.l: New file.
235 * testsuite/gas/i386/avx512vl-1.s: Likewise.
236 * testsuite/gas/i386/avx512vl-2.l: Likewise.
237 * testsuite/gas/i386/avx512vl-2.s: Likewise.
238 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
239 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
240 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
241 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
242
f1360d58
L
2432016-05-25 H.J. Lu <hongjiu.lu@intel.com>
244
245 PR gas/20141
246 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
247 * testsuite/gas/i386/x86-64-pr20141.d: New file.
248 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
249
293f5f65
L
2502016-05-25 H.J. Lu <hongjiu.lu@intel.com>
251
252 * config/tc-i386.c (arch_entry): Remove negated.
253 (noarch_entry): New struct.
254 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
255 (cpu_noarch): New.
256 (set_cpu_arch): Check cpu_noarch after cpu_arch.
257 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
258 cpu_arch.
259 (output_message): New function.
260 (show_arch): Use it. Handle cpu_noarch.
261 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
262 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
263 * testsuite/gas/i386/noavx-1.l: New file.
264 * testsuite/gas/i386/noavx-1.s: Likewise.
265 * testsuite/gas/i386/noavx-2.s: Likewise.
266 * testsuite/gas/i386/noavx-2.l: Likewise.
267 * testsuite/gas/i386/nommx-1.s: Likewise.
268 * testsuite/gas/i386/nommx-1.l: Likewise.
269 * testsuite/gas/i386/nommx-2.s: Likewise.
270 * testsuite/gas/i386/nommx-2.l: Likewise.
271 * testsuite/gas/i386/nommx-3.s: Likewise.
272 * testsuite/gas/i386/nommx-3.l: Likewise.
273 * testsuite/gas/i386/nosse-1.s: Likewise.
274 * testsuite/gas/i386/nosse-1.l: Likewise.
275 * testsuite/gas/i386/nosse-2.s: Likewise.
276 * testsuite/gas/i386/nosse-2.l: Likewise.
277 * testsuite/gas/i386/nosse-3.s: Likewise.
278 * testsuite/gas/i386/nosse-3.l: Likewise.
279
934c2632
CZL
2802016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
281
ee4d7613 282 PR target/20067
934c2632
CZL
283 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
284 instruction if supported by the currently selected fpu variant.
285 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
286 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
287
44d3da23 2882016-05-24 Maciej W. Rozycki <macro@imgtec.com>
934c2632 289
44d3da23
MR
290 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
291 jump relocations against MIPS16 or microMIPS symbols on RELA
292 targets.
293 * testsuite/gas/mips/jalx-local.d: New test.
294 * testsuite/gas/mips/jalx-local-n32.d: New test.
295 * testsuite/gas/mips/jalx-local-n64.d: New test.
296 * testsuite/gas/mips/jalx-local.s: New test source.
297 * testsuite/gas/mips/mips.exp: Run the new tests.
298
4512dafa
MR
2992016-05-24 Maciej W. Rozycki <macro@imgtec.com>
300
301 * config/tc-mips.c (md_apply_fix)
302 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
303 code accordingly.
304
cc34adb2
TS
3052016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
306
307 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
308 operator to operatorT.
309 (map_suffix_reloc_to_operator): Change return type to operatorT.
310
c023823f
TS
3112016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
312
313 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
314
049efc64
TS
3152016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
316
317 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
318 handler_charp to const char *.
319
b19e0aeb
TS
3202016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
321
322 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
323 (ft32_target_format): Likewise.
324 (TARGET_FORMAT): Adjust.
325
e5e27b07
TS
3262016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
327
328 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
329 (ia64_frob_label): Likewise.
330
6610dc6d
TS
3312016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
332
333 * config/tc-cr16.c (check_range): Make type of retval op_err.
334 * config/tc-crx.c: Likewise.
335
87789e08
CZ
3362016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
337
338 * config/tc-arc.c (md_begin): Add XY registers.
339 (cpu_types): Code density is default off for ARC EM.
340
c810e0b8
CZ
3412016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
342
343 * config/tc-arc.c (attributes_t): Renamed attribute class to
344 attr_class.
345 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
346
d26a14db
NC
3472016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
348
349 * configuse.tgt: Add entry for arm-phoenix.
350
f10e0aef
TS
3512016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
352
353 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
354
2900e701
TS
3552016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
356
357 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
358
3d207518
TS
3592016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
360
361 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
362 (md_begin): Likewise.
363 (encode_condition): Likewise.
364 (encode_cc3): Likewise.
365 (encode_cc2): Likewise.
366 (encode_operand): Likewise.
367 (tic54x_undefined_symbol): Likewise.
368
a4968f42
MF
3692016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
370
371 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
372 p6600 entry.
373 * doc/c-mips.texi: Document p6600 -march option.
374
4e21640f
L
3752016-05-20 H.J. Lu <hongjiu.lu@intel.com>
376
377 PR gas/19600
378 * config/tc-i386.c (md_apply_fix): Preserve addend for
379 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
380 * testsuite/gas/i386/addend.d: New file.
381 * testsuite/gas/i386/addend.s: Likewise.
382 * testsuite/gas/i386/x86-64-addend.d: Likewise.
383 * testsuite/gas/i386/x86-64-addend.s: Likewise.
384 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
385 * testsuite/gas/i386/reloc32.d: Updated.
386
17c6c9d9
MR
3872016-05-20 Maciej W. Rozycki <macro@imgtec.com>
388
389 * config/tc-mips.c (append_insn): Correct the encoding of a
390 constant argument for microMIPS JALX.
391 (tc_gen_reloc): Correct the encoding of an in-place addend for
392 microMIPS JALX.
393 * testsuite/gas/mips/jalx-addend.d: New test.
394 * testsuite/gas/mips/jalx-addend-n32.d: New test.
395 * testsuite/gas/mips/jalx-addend-n64.d: New test.
396 * testsuite/gas/mips/jalx-imm.d: New test.
397 * testsuite/gas/mips/jalx-imm-n32.d: New test.
398 * testsuite/gas/mips/jalx-imm-n64.d: New test.
399 * testsuite/gas/mips/jalx-addend.s: New test source.
400 * testsuite/gas/mips/jalx-imm.s: New test source.
401 * testsuite/gas/mips/mips.exp: Run the new tests.
402
134c0c8b
MR
4032016-05-20 Maciej W. Rozycki <macro@imgtec.com>
404
405 * config/tc-mips.c: Correct tab-after-space formatting mistakes
406 throughout.
407
38cd8a0d
AB
4082016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
409
410 * config/tc-arc.c (find_opcode_match): Remove casting away of
411 const.
412 * config/tc-arc.h (struct arc_flags): Make flgp field const.
413
9e32d9ae
AB
4142016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
415
416 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
417 appropriate.
418 (md_convert_frag): Likewise.
419
fe779266
AB
4202016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
421
422 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
423 cached opcode to NULL when we reach a non-matching opcode.
424 * testsuite/gas/arc/asm-errors-2.d: New file.
425 * testsuite/gas/arc/asm-errors-2.err: New file.
426 * testsuite/gas/arc/asm-errors-2.s: New file.
427
3b889a78
AB
4282016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
429
430 * config/tc-arc.c (tokenize_arguments): Add checks for array
431 overflow.
432 * testsuite/gas/arc/asm-errors.s: Addition test line added.
433 * testsuite/gas/arc/asm-errors.err: Update expected results.
434
42e58860
TS
4352016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
436
437 * config/tc-rx.c (struct cpu_type): Change the type of a field from
438 int to enum rx_cpu_types.
439
4bfaa1ca
TS
4402016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
441
442 * config/tc-dlx.c (struct machine_it): change the type of a field from
443 int to bfd_reloc_code_real_type.
444 * config/tc-tic4x.c: Likewise.
445
eb408eaa
TS
4462016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
447
448 * config/tc-v850.c (v850_target_arch): change type to enum
449 bfd_architecture.
450 * config/tc-v850.h (v850_target_arch): Likewise.
451
a255f00a
AM
4522016-05-18 Alan Modra <amodra@gmail.com>
453
454 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
455 allowed negative range.
456 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
457 * testsuite/gas/ppc/power9.d: Update.
458
659f032c
TP
4592016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
460
461 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
462 disassembling and stop skipping targets.
463 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
464 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
465 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
466 instruction for targets that have stronger alignment requirement.
467 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
468 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
469 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
470 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
471 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
472 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
473 * testsuite/gas/arm/archv8m-main.d: Likewise.
474 * testsuite/gas/arm/archv8m.s: Add label.
475 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
476 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
477 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
478
7b14583e
TS
4792016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
480
481 * config/tc-m32r.c (mach_table): Make static and const.
482
0591130a
TS
4832016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
484
485 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
486 definition.
487
9117cd3e
TS
4882016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
489
490 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
491 defining it.
492 * config/tc-msp430.c (md_begin): Likewise.
493
e1838240
TS
4942016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
495
496 * config/tc-m68hc11.c (fixup8): Change variables type from int to
497 bfd_reloc_code_real_type where appropriate.
498 (fixup16): Likewise.
499 (fixup8_xg): Likewise.
500
9dfa3e63
MR
5012016-05-15 Maciej W. Rozycki <macro@imgtec.com>
502
503 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
504
1178da44
PB
5052016-05-13 Peter Bergner <bergner@vnet.ibm.com>
506
507 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
508 * testsuite/gas/ppc/power9.s: Likewise.
509
d2edc834
AM
5102016-05-13 Alan Modra <amodra@gmail.com>
511
512 * config/obj-coff.c (weak_uniquify): Delete unused var.
513
add39d23
TS
5142016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
515
516 * app.c (app_push): Use XNEW and related macros.
517 * as.c (parse_args): Likewise.
518 * cgen.c (make_right_shifted_expr): Likewise.
519 (gas_cgen_tc_gen_reloc): Likewise.
520 * config/bfin-defs.h: Likewise.
521 * config/bfin-parse.y: Likewise.
522 * config/obj-coff.c (stack_init): Likewise.
523 (stack_push): Likewise.
524 (coff_obj_symbol_new_hook): Likewise.
525 (coff_obj_symbol_clone_hook): Likewise.
526 (add_lineno): Likewise.
527 (coff_frob_symbol): Likewise.
528 * config/obj-elf.c (obj_elf_section_name): Likewise.
529 (build_group_lists): Likewise.
530 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
531 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
532 * config/tc-aarch64.c (insert_reg_alias): Likewise.
533 (find_or_make_literal_pool): Likewise.
534 (add_to_lit_pool): Likewise.
535 (fill_instruction_hash_table): Likewise.
536 * config/tc-alpha.c (load_expression): Likewise.
537 (emit_jsrjmp): Likewise.
538 (s_alpha_ent): Likewise.
539 (s_alpha_end): Likewise.
540 (s_alpha_linkage): Likewise.
541 (md_begin): Likewise.
542 (tc_gen_reloc): Likewise.
543 * config/tc-arc.c (arc_insert_opcode): Likewise.
544 (arc_extcorereg): Likewise.
545 * config/tc-bfin.c: Likewise.
546 * config/tc-cr16.c: Likewise.
547 * config/tc-cris.c: Likewise.
548 * config/tc-crx.c (preprocess_reglist): Likewise.
549 * config/tc-d10v.c: Likewise.
550 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
551 (frv_tomcat_shuffle): Likewise.
552 * config/tc-h8300.c: Likewise.
553 * config/tc-i370.c (i370_macro): Likewise.
554 * config/tc-i386.c (lex_got): Likewise.
555 (md_parse_option): Likewise.
556 * config/tc-ia64.c (alloc_record): Likewise.
557 (set_imask): Likewise.
558 (save_prologue_count): Likewise.
559 (dot_proc): Likewise.
560 (dot_endp): Likewise.
561 (ia64_frob_label): Likewise.
562 (add_qp_imply): Likewise.
563 (add_qp_mutex): Likewise.
564 (mark_resource): Likewise.
565 (dot_alias): Likewise.
566 * config/tc-m68hc11.c: Likewise.
567 * config/tc-m68k.c (m68k_frob_label): Likewise.
568 (s_save): Likewise.
569 (mri_control_label): Likewise.
570 (push_mri_control): Likewise.
571 (build_mri_control_operand): Likewise.
572 (s_mri_else): Likewise.
573 (s_mri_break): Likewise.
574 (s_mri_next): Likewise.
575 (s_mri_for): Likewise.
576 (s_mri_endw): Likewise.
577 * config/tc-metag.c (create_mnemonic_htab): Likewise.
578 * config/tc-microblaze.c: Likewise.
579 * config/tc-mmix.c (s_loc): Likewise.
580 * config/tc-nds32.c (nds32_relax_hint): Likewise.
581 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
582 * config/tc-rl78.c: Likewise.
583 * config/tc-rx.c (rx_include): Likewise.
584 * config/tc-sh.c: Likewise.
585 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
586 * config/tc-sparc.c: Likewise.
587 * config/tc-spu.c: Likewise.
588 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
589 (tic6x_start_unwind_section): Likewise.
590 * config/tc-tilegx.c: Likewise.
591 * config/tc-tilepro.c: Likewise.
592 * config/tc-v850.c: Likewise.
593 * config/tc-visium.c: Likewise.
594 * config/tc-xgate.c: Likewise.
595 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
596 (new_resource_table): Likewise.
597 (resize_resource_table): Likewise.
598 (xtensa_create_trampoline_frag): Likewise.
599 (xtensa_maybe_create_literal_pool_frag): Likewise.
600 (cache_literal_section): Likewise.
601 * config/xtensa-relax.c (append_transition): Likewise.
602 (append_condition): Likewise.
603 (append_value_condition): Likewise.
604 (append_constant_value_condition): Likewise.
605 (append_literal_op): Likewise.
606 (append_label_op): Likewise.
607 (append_constant_op): Likewise.
608 (append_field_op): Likewise.
609 (append_user_fn_field_op): Likewise.
610 (enter_opname_n): Likewise.
611 (enter_opname): Likewise.
612 (split_string): Likewise.
613 (parse_insn_templ): Likewise.
614 (clone_req_or_option_list): Likewise.
615 (clone_req_option_list): Likewise.
616 (parse_option_cond): Likewise.
617 (parse_insn_pattern): Likewise.
618 (parse_insn_repl): Likewise.
619 (build_transition): Likewise.
620 (build_transition_table): Likewise.
621 * dw2gencfi.c (alloc_fde_entry): Likewise.
622 (alloc_cfi_insn_data): Likewise.
623 (cfi_add_CFA_remember_state): Likewise.
624 (dot_cfi_escape): Likewise.
625 (dot_cfi_fde_data): Likewise.
626 (select_cie_for_fde): Likewise.
627 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
628 * ecoff.c (ecoff_add_bytes): Likewise.
629 (ecoff_build_debug): Likewise.
630 * input-scrub.c (input_scrub_push): Likewise.
631 (input_scrub_begin): Likewise.
632 (input_scrub_next_buffer): Likewise.
633 * itbl-ops.c (append_insns_as_macros): Likewise.
634 (alloc_entry): Likewise.
635 (alloc_field): Likewise.
636 * listing.c (listing_newline): Likewise.
637 (listing_listing): Likewise.
638 * macro.c (get_any_string): Likewise.
639 (delete_macro): Likewise.
640 * stabs.c (generate_asm_file): Likewise.
641 (stabs_generate_asm_lineno): Likewise.
642 * subsegs.c (subseg_change): Likewise.
643 (subseg_get): Likewise.
644 * symbols.c (define_dollar_label): Likewise.
645 (symbol_relc_make_sym): Likewise.
646 * write.c (write_relocs): Likewise.
647
29a2809e
TS
6482016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
649
650 * config/obj-coff.c (obj_coff_def): Simplify string copying.
651 (weak_name2altname): Likewise.
652 (weak_uniquify): Likewise.
653 (obj_coff_section): Likewise.
654 (obj_coff_init_stab_section): Likewise.
655 * config/obj-elf.c (obj_elf_section_name): Likewise.
656 (obj_elf_init_stab_section): Likewise.
657 * config/obj-evax.c (evax_shorten_name): Likewise.
658 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
659 * config/tc-aarch64.c (create_register_alias): Likewise.
660 * config/tc-alpha.c (load_expression): Likewise.
661 (s_alpha_file): Likewise.
662 (s_alpha_section_name): Likewise.
663 (tc_gen_reloc): Likewise.
664 * config/tc-arc.c (md_assemble): Likewise.
665 * config/tc-arm.c (create_neon_reg_alias): Likewise.
666 (start_unwind_section): Likewise.
667 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
668 (hppa_elf_mark_end_of_function): Likewise.
669 * config/tc-nios2.c (nios2_modify_arg): Likewise.
670 (nios2_negate_arg): Likewise.
671 * config/tc-rx.c (rx_section): Likewise.
672 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
673 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
674 * config/tc-tic54x.c (tic54x_include): Likewise.
675 (tic54x_macro_info): Likewise.
676 (subsym_get_arg): Likewise.
677 (subsym_substitute): Likewise.
678 (tic54x_start_line_hook): Likewise.
679 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
680 (xg_reverse_shift_count): Likewise.
681 * config/xtensa-relax.c (enter_opname_n): Likewise.
682 (split_string): Likewise.
683 * dwarf2dbg.c (get_filenum): Likewise.
684 (process_entries): Likewise.
685 * expr.c (operand): Likewise.
686 * itbl-ops.c (alloc_entry): Likewise.
687 * listing.c (listing_message): Likewise.
688 (listing_title): Likewise.
689 * macro.c (check_macro): Likewise.
690 * stabs.c (s_xstab): Likewise.
691 * symbols.c (symbol_relc_make_expr): Likewise.
692 * write.c (compress_debug): Likewise.
693
58c7f094
NC
6942016-05-12 Nick Clifton <nickc@redhat.com>
695
696 PR target/20068
697 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
698
d5e74e8d
NC
6992016-05-11 Nick Clifton <nickc@redhat.com>
700
701 PR target/20068
702 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
703 big endian ARM configurations.
704
8f4f9071
MF
7052016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
706 Matthew Fortune <matthew.fortune@imgtec.com>
707
708 * config/tc-mips.c (options): Add OPTION_DSPR3 and
709 OPTION_NO_DSPR3.
710 (md_longopts): Likewise.
711 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
712 (mips_ases): Define availability for DSPr3.
713 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
714 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
715 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
716 formatting.
717 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
718 .set nodspr3. Fix -mdspr2 formatting.
719 * testsuite/gas/mips/mips32-dspr3.d: New file.
720 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
721 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
722
a6684f0d
NC
7232016-05-11 Nick Clifton <nickc@redhat.com>
724
725 PR target/20068
726 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
727 to the pool uses O_constant.
728 * testsuite/gas/arm/pr20068.s: New test.
729 * testsuite/gas/arm/pr20068.d: Test driver.
730
be5c445b
NC
7312016-05-11 Nick Clifton <nickc@redhat.com>
732
4179a6a2
NC
733 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
734 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
735 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
736 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
737 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
738 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
739 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
740 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
741 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
be5c445b
NC
742
7432016-05-10 Alexander Fomin <alexander.fomin@intel.com>
744
745 * testsuite/gas/i386/i386.exp: Run RDPID tests.
746 * testsuite/gas/i386/prefix.d: Adjust.
747 * testsuite/gas/i386/rdpid.s: New test.
748 * testsuite/gas/i386/rdpid.d: Ditto.
749 * testsuite/gas/i386/rdpid-intel.d: Ditto.
750 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
751 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
752 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
753
8bc52696
AF
7542016-05-10 Alexander Fomin <alexander.fomin@intel.com>
755
756 * config/tc-i386.c (cpu_arch): Add RDPID.
757 * doc/c-i386.texi: Document RDPID.
758
39d911fc
TP
7592016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
760
761 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
762 set branch type of a symbol.
763
15afaa63
TP
7642016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
765
766 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
767 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
768 instructions.
769 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
770 (aeabi_set_public_attributes): Memorize the feature bits of the
771 architecture selected for Tag_CPU_arch. Use it to set
772 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
773 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
774 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
775 * testsuite/gas/arm/arch7em-bad-1.d: This.
776 * testsuite/gas/arm/arch7em-bad-2.d: New file.
777 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
778 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
779 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
780 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
781 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
782 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
783 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
784
d942732e
TP
7852016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
786
787 * config/tc-arm.c (struct arm_option_extension_value_table): Make
788 allowed_archs an array with 2 entries.
789 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
790 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
791 (arm_extensions): Use separate entries in allowed_archs when several
792 archs are allowed to use an extension and change ARCH_ANY in
793 ARM_ARCH_NONE in allowed_archs.
794 (arm_parse_extension): Check that, for each allowed_archs entry, all
795 bits are set in the current architecture, ignoring ARM_ANY entries.
796 (s_arm_arch_extension): Likewise.
797
16a1fa25
TP
7982016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
799
800 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
801 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
802 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
803 shared with a non M profile architecture.
804 (do_rn): New function.
805 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
806 than arm_ext_v8m.
807 (v7m_psrs): Add ARMv8-M security extensions new special registers.
808 (insns): Add ARMv8-M Security Extensions instructions.
809 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
810 arm_ext_v8m_m to decide the profile and the Thumb ISA.
811 * testsuite/gas/arm/archv8m-cmse.s: New file.
812 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
813 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
814 * testsuite/gas/arm/any-cmse.d: Likewise.
815 * testsuite/gas/arm/any-cmse-main.d: Likewise.
816 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
817 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
818 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
819 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
820 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
821
d751b79e
JM
8222016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
823
824 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
825 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
826
f85d59c3
KT
8272016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
828
829 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
830 (fpu_arch_vfp_v3): Likewise.
831 (fpu_arch_neon_v1): Likewise.
832 (arm_arch_full): Likewise.
833 (parse_neon_el_struct_list): Initialize fields of firsttype.
834
945e0f82
CZ
8352016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
836
837 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
838 (arc_extinsn): Handle new introduced syntax.
839 * testsuite/gas/arc/textinsn1op.d: New file.
840 * testsuite/gas/arc/textinsn1op.s: Likewise.
841 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
842
b782c63d
PS
8432016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
844
845 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
846 DW_LNS_fixed_advance_pc.
847
25771140
AM
8482016-04-27 Alan Modra <amodra@gmail.com>
849
850 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
851 (xmemdup0): New inline function.
852
22522f88
MR
8532016-04-22 Maciej W. Rozycki <macro@imgtec.com>
854
855 * config/tc-mips.c (code_option_type): New enum.
856 (parse_code_option): Return status indicating option type.
857 (s_mipsset): Update `parse_code_option' call site accordingly.
858 Always set register sizes from the ISA with ISA overrides.
859 (s_module): Update `parse_code_option' call site.
860 * testsuite/gas/mips/isa-override-1.d: New test.
861 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
862 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
863 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
864 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
865 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
866 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
867 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
868 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
869 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
870 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
871 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
872 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
873 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
874 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
875 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
876 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
877 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
878 * testsuite/gas/mips/isa-override-2.l: New list test.
879 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
880 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
881 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
882 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
883 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
884 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
885 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
886 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
887 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
888 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
889 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
890 output.
891 * testsuite/gas/mips/isa-override-1.s: New test source.
892 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
893 * testsuite/gas/mips/isa-override-2.s: New test source.
894 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
895 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
896 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
897 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
898 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
899 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
900 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
901 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
902 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
903 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
904 * testsuite/gas/mips/mips.exp: Run the new tests.
905
e6c7cdec
TS
9062016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
907
908 * cgen.c: Likewise.
909 * config/tc-bfin.c: Likewise.
910 * config/tc-ia64.c: Likewise.
911 * config/tc-mep.c: Likewise.
912 * config/tc-metag.c: Likewise.
913 * config/tc-nios2.c: Likewise.
914 * config/tc-rl78.c: Likewise.
915
2533af11
AB
9162016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
917
918 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
919 -mcpu. Add cross reference to .cpu directive from -mcpu option.
920 (ARC Directives): Add NPS400 to .cpu directive list.
921
50cc854c
MW
9222016-04-20 Matthew Wahab <matthew.wahab@arm.com>
923
924 * config/tc-aarch64.c (aarch64_features): Add "ras".
925 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
926 * testsuite/gas/aarch64/armv8-ras-1.d: New.
927 * testsuite/gas/aarch64/armv8-ras-1.s: New.
928 * testsuite/gas/aarch64/illegal-ras-1.d: New.
929 * testsuite/gas/aarch64/illegal-ras-1.s: New.
930
537aefaf
AB
9312016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
932
933 * testsuite/gas/arc/nps400-6.d: New file.
934 * testsuite/gas/arc/nps400-6.s: New file.
935
c8f785f2
AB
9362016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
937
938 * testsuite/gas/arc/nps400-4.d: New file.
939 * testsuite/gas/arc/nps400-4.s: New file.
940 * testsuite/gas/arc/nps400-5.d: New file.
941 * testsuite/gas/arc/nps400-5.s: New file.
942
48eac74c
MG
9432016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
944
945 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
946 documentation.
947
644aca26
AB
9482016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
949
950 Revert prevous change.
951 * config/tc-arc.c (arc_option): Make .cpu directive
952 case-sensitive again.
953
9a452709
AB
9542016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
955
956 * config/tc-arc.c (arc_option): Make .cpu directive
957 case-insensitive.
958
5e001f26
AB
9592016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
960
961 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
962
92fce9bd
TS
9632016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
964
965 * config/tc-mips.c (md_begin): Remove useless assignment.
966
6fd8e7c2
L
9672016-04-15 H.J. Lu <hongjiu.lu@intel.com>
968
969 * Makefile.in: Regenerated with automake 1.11.6.
970 * aclocal.m4: Likewise.
971 * doc/Makefile.in: Likewise.
972
05f7541e
AM
9732016-04-15 Alan Modra <amodra@gmail.com>
974
975 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
976
4f2a7b51
TS
9772016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
978
979 * config/tc-nios2.c (nios2_as_options): Make file static.
980 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
981 * config/tc-sparc.c (native_op_table): Likewise.
982
85e53f62
TS
9832016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
984
985 * config/tc-m32c.c (M32C_Macros): Remove.
986 * config/tc-msp430.c (option_numbers): Likewise.
987
4b0c052e
AB
9882016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
989
990 * testsuite/gas/arc/nps400-3.d: New file.
991 * testsuite/gas/arc/nps400-3.s: New file.
992
d105775e
AB
9932016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
994
995 * testsuite/gas/arc/add_s-err.s: Update target pattern.
996 * testsuite/gas/arc/warn.s: Likewise.
997 * testsuite/gas/elf/elf.exp: Run test for arc.
998
84865015
NC
9992016-04-14 Nick Clifton <nickc@redhat.com>
1000
1001 PR target/19938
1002 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1003 sections possibly having the SHF_STRINGS flag bit set.
1004 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1005
1adc8a9a
CZ
10062016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1007
1008 * config/tc-arc.c (mach_type_specified_p): Change type to
1009 bfd_boolean.
1010 (arc_option): Set private flags when parsing cpu pseudo-op.
1011 (md_parse_option): Set mach_type_specified_p to TRUE.
1012
e4449be8
NC
10132016-04-13 Nick Clifton <nickc@redhat.com>
1014
1015 PR target/19937
1016 * testsuite/gas/v850/pr19937.s: New test.
1017 * testsuite/gas/v850/pr19937.d: New test control file.
1018 * testsuite/gas/v850/basic.exp: Run the new test.
1019
991f40a9
MR
10202016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1021 Andrew Bennett <andrew.bennett@imgtec.com>
1022
1023 * config/tc-mips.c (relaxed_branch_length): Use the long
1024 sequence where the target is a weak symbol.
1025 (relaxed_micromips_32bit_branch_length): Likewise.
1026 (relaxed_micromips_16bit_branch_length): Likewise.
1027 * testsuite/gas/mips/branch-weak-1.d: New test.
1028 * testsuite/gas/mips/branch-weak-2.d: New test.
1029 * testsuite/gas/mips/branch-weak-3.d: New test.
1030 * testsuite/gas/mips/branch-weak-4.d: New test.
1031 * testsuite/gas/mips/branch-weak-5.d: New test.
1032 * testsuite/gas/mips/branch-weak.l: New stderr output.
1033 * testsuite/gas/mips/branch-weak.s: New test source.
1034 * testsuite/gas/mips/mips.exp: Run the new tests.
1035
c1f61bd2
MR
10362016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1037
1038 * config/tc-mips.c (relaxed_branch_length): Use the long
1039 sequence where the distance cannot be determined.
1040 (relaxed_micromips_32bit_branch_length): Likewise.
1041 * testsuite/gas/mips/branch-extern-1.d: New test.
1042 * testsuite/gas/mips/branch-extern-2.d: New test.
1043 * testsuite/gas/mips/branch-extern-3.d: New test.
1044 * testsuite/gas/mips/branch-extern-4.d: New test.
1045 * testsuite/gas/mips/branch-extern.l: New stderr output.
1046 * testsuite/gas/mips/branch-extern.s: New test source.
1047 * testsuite/gas/mips/branch-section-1.d: New test.
1048 * testsuite/gas/mips/branch-section-2.d: New test.
1049 * testsuite/gas/mips/branch-section-3.d: New test.
1050 * testsuite/gas/mips/branch-section-4.d: New test.
1051 * testsuite/gas/mips/branch-section.l: New stderr output.
1052 * testsuite/gas/mips/branch-section.s: New test source.
1053 * testsuite/gas/mips/mips.exp: Run the new tests.
1054
f36e33da
CZ
10552016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1056
1057 * testsuite/gas/arc/textauxregister.d: New file.
1058 * testsuite/gas/arc/textauxregister.s: Likewise.
1059 * testsuite/gas/arc/textcondcode.d: Likewise.
1060 * testsuite/gas/arc/textcondcode.s: Likewise.
1061 * testsuite/gas/arc/textcoreregister.d: Likewise.
1062 * testsuite/gas/arc/textcoreregister.s: Likewise.
1063 * testsuite/gas/arc/textpseudoop.d: Likewise.
1064 * testsuite/gas/arc/textpseudoop.s: Likewise.
1065 * testsuite/gas/arc/ld2.d: Update test.
1066 * testsuite/gas/arc/st.d: Likewise.
1067 * testsuite/gas/arc/taux.d: Likewise.
1068 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1069 .extCoreRegister and .extAuxRegister documentation.
1070 * config/tc-arc.c (arc_extcorereg): New function.
1071 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1072 .extAuxRegister pseudo-ops.
1073 (extRegister_t): New type.
1074 (ext_condcode, arc_aux_hash): New global variable.
1075 (find_opcode_match): Check for extensions.
1076 (preprocess_operands): Likewise.
1077 (md_begin): Add aux registers in a hash.
1078 (assemble_insn): Update use arc_flags member.
1079 (tokenize_extregister): New function.
1080 (create_extcore_section): Likewise.
1081 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1082
1c2e355e
CZ
10832016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1084
1085 * testsuite/gas/arc/noargs_a7.d: New file.
1086 * testsuite/gas/arc/noargs_a7.s: Likewise.
1087 * testsuite/gas/arc/noargs_hs.d: Likewise.
1088 * testsuite/gas/arc/noargs_hs.s: Likewise.
1089
b99747ae
CZ
10902016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1091
1092 * testsuite/gas/arc/textinsn-errors.d: New File.
1093 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1094 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1095 * testsuite/gas/arc/textinsn2op.d: Likewise.
1096 * testsuite/gas/arc/textinsn2op.s: Likewise.
1097 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1098 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1099 * testsuite/gas/arc/textinsn3op.d: Likewise.
1100 * testsuite/gas/arc/textinsn3op.s: Likewise.
1101 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1102 documentation.
1103 * config/tc-arc.c (arcext_section): New variable.
1104 (arc_extinsn): New function.
1105 (md_pseudo_table): Add .extInstruction pseudo op.
1106 (attributes_t): New type.
1107 (suffixclass, syntaxclass, syntaxclassmod): New constant
1108 structures.
1109 (find_opcode_match): Remove arc_num_opcodes.
1110 (md_begin): Likewise.
1111 (tokenize_extinsn): New function.
1112 (arc_set_ext_seg): Likewise.
1113 (create_extinst_section): Likewise.
1114
37ab9779
CZ
11152016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1116
1117 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1118 (arc_adjust_symtab): New function.
1119 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1120 (obj_adjust_symtab): Likewise.
1121 * testsuite/gas/arc/taux.d: New file.
1122 * testsuite/gas/arc/taux.s: Likewise.
1123
41a1578e
MR
11242016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1125
1126 * config/tc-mips.c (s_option): Sanitize `.option picX'
1127 pseudo-op.
1128 * testsuite/gas/mips/option-pic-1.d: New test.
1129 * testsuite/gas/mips/option-pic-2.l: New list test.
1130 * testsuite/gas/mips/option-pic-1.s: New test source.
1131 * testsuite/gas/mips/option-pic-2.s: New test source.
1132 * testsuite/gas/mips/mips.exp: Run the new tests.
1133
668c5ebc
MR
11342016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1135
1136 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1137 PIC.
1138 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1139 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1140 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1141 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1142 * testsuite/gas/mips/mips.exp: Run the new tests.
1143
41065f5e
MR
11442016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1145
1146 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1147
08918cc8
MR
11482016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1149
1150 * messages.c (as_bad): Fix a typo in description.
1151
1357373c
MR
11522016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1153
1154 * config/tc-mips.c (mips_check_options): Unify messages.
1155
5f4678bb
MR
11562016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1157
1158 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1159 consistently.
1160
992dc2c4
NC
11612016-04-08 Nick Clifton <nickc@redhat.com>
1162
1163 PR target/19910
1164 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1165 COFF and AOUT sparc targets.
1166
a42a4f84
AB
11672016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1168
1169 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1170 * testsuite/gas/arc/nps400-2.d: New file.
1171 * testsuite/gas/arc/nps400-2.s: New file.
1172
1328504b
AB
11732016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1174
1175 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1176 structure.
1177 (arc_opcode_hash_entry_iterator_init): New function.
1178 (arc_opcode_hash_entry_iterator_next): New function.
1179 (find_opcode_match): Iterate over all arc_opcode entries
1180 referenced by the arc_opcode_hash_entry passed in as a parameter.
1181
b9b47ab7
AB
11822016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1183
1184 * config/tc-arc.c (arc_find_opcode): Now returns
1185 arc_opcode_hash_entry pointer.
1186 (find_opcode_match): Update argument type, extract arc_opcode from
1187 incoming arc_opcode_hash_entry.
1188 (find_special_case_pseudo): Update return type.
1189 (find_special_case_flag): Update return type.
1190 (find_special_case): Update return type.
1191 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1192 instruction mnemonic, then use find_opcode_match to identify
1193 specific arc_opcode.
1194
da5be039
AB
11952016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1196
1197 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1198 (arc_find_opcode): New function.
1199 (find_special_case_pseudo): Use arc_find_opcode.
1200 (find_special_case_flag): Likewise.
1201 (assemble_tokens): Likewise.
1202 (md_begin): Build hash using struct arc_opcode_hash_entry.
1203
e6ba1cba
CZ
12042016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1205
abe051ba
AM
1206 * config/tc-arc.c (arc_option): Prepare string for automatic
1207 translation.
1208 (declare_register): Likewise.
e6ba1cba 1209
b607cde1
JG
12102016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1211
1212 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1213 Correct entry for RDMA. Alpha sort entries.
1214
692166c2
AB
12152016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1216
1217 * config/tc-arc.c (tokenize_flags): Allow greater range of
1218 characters into flag names.
1219
22b92fc4
AB
12202016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1221
1222 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1223 new de_fault label.
1224 (preprocess_operands): Delete.
1225 (assemble_tokens): Remove call to preprocess_operands.
1226
e140100a
NC
12272016-04-07 Nick Clifton <nickc@redhat.com>
1228
1229 PR gas/19910
1230 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1231 inside a %-macro could not be fully parsed.
1232 * expr.c (integer_constant): Accept and ignore U suffixes to
1233 integers.
1234 (operand): When a missing closing parenthesis is encountered,
1235 report the character that was found instead.
1236 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1237 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1238 * testsuite/gas/sparc/pr19910-1.s: New test.
1239 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1240 * testsuite/gas/sparc/pr19910-2.s: New test.
1241 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1242
927f2d25
NC
12432016-04-06 Nick Clifton <nickc@redhat.com>
1244
1245 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1246 an EINT instruction. Warn/fix as necessary.
1247 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1248 * testsuite/gas/msp430/bad.l: Update expected messages.
1249
820f03ff
AB
12502016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1251
1252 * testsuite/gas/arc/nps400-1.d: Update expected results.
1253 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1254
8ddf6b2a
CZ
12552016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1256
abe051ba
AM
1257 * config/tc-arc.c (is_code_density_p): Compare directly the
1258 subclass field.
1259 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1260 (check_cpu_feature): New function.
1261 (find_opcode_match): Use check_cpu_feature function.
1262 (preprocess_operands): Likewise.
1263 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1264 * testsuite/gas/arc/tdpfp.d: New file.
1265 * testsuite/gas/arc/tfpuda.d: Likewise.
1266 * testsuite/gas/arc/tfpx.s: Likewise.
8ddf6b2a 1267
589a7d88
JW
12682016-04-05 Jiong Wang <jiong.wang@arm.com>
1269
1270 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1271 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1272 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1273 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1274 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1275 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1276 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
abe051ba
AM
1277 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1278 for Thumb.
589a7d88
JW
1279 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1280
6ec1f282
CZ
12812016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1282
abe051ba 1283 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
6ec1f282 1284 JUMP instructions type.
abe051ba
AM
1285 * testsuite/gas/arc/relocs-errors.d: New file.
1286 * testsuite/gas/arc/relocs-errors.err: Likewise.
1287 * testsuite/gas/arc/relocs-errors.s: Likewise.
6ec1f282 1288
0796a629
L
12892016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1290
1291 PR gas/19909
1292 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1293 only if i.disp_encoding != disp_encoding_32bit.
1294 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1295 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1296 * gas/testsuite/gas/i386/disp32.d: Updated.
1297 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1298
df41fdf4
L
12992016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1300
1301 PR gas/19498
1302 * testsuite/gas/i386/i386.exp: Run pr19498.
1303 * testsuite/gas/i386/pr19498.d: New file.
1304 * testsuite/gas/i386/pr19498.s: Likewise.
1305
26cdfd92
AB
13062016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1307
1308 * config/tc-arc.h: Include 'opcode/arc.h'.
1309 (MAX_INSN_ARGS): Delete.
1310 (MAX_INSN_FLGS): Delete.
1311
22987cec
AM
13122016-04-04 Alan Modra <amodra@gmail.com>
1313
1314 PR 19498
1315 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1316 from function on all paths that set sy_resolving.
1317
325801bd
TS
13182016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1319
1320 * app.c (app_push): use XNEW macro.
1321 * as.c: Likewise.
1322 * config/obj-elf.c (obj_elf_change_section): Likewise.
1323 (elf_copy_symbol_attributes): Likewise.
1324 (obj_elf_size): Likewise.
1325 (build_group_lists): Likewise.
1326 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1327 (md_assemble): Likewise.
1328 (tc_gen_reloc): Likewise.
1329 (get_upper_str): Likewise.
1330 (aarch64_parse_features): Likewise.
1331 * config/tc-arm.c (insert_reg_alias): Likewise.
1332 (insert_neon_reg_alias): Likewise.
1333 (find_or_make_literal_pool): Likewise.
1334 (s_arm_elf_cons): Likewise.
1335 (add_unwind_opcode): Likewise.
1336 (arm_parse_extension): Likewise.
1337 * config/tc-avr.c (create_record_for_frag): Likewise.
1338 * config/tc-crx.c: Likewise.
1339 * config/tc-d30v.c: Likewise.
1340 * config/tc-dlx.c (s_proc): Likewise.
1341 * config/tc-ft32.c: Likewise.
1342 * config/tc-h8300.c: Likewise.
1343 * config/tc-hppa.c (pa_proc): Likewise.
1344 (create_new_space): Likewise.
1345 (create_new_subspace): Likewise.
1346 * config/tc-i860.c: Likewise.
1347 * config/tc-i960.c: Likewise.
1348 * config/tc-ia64.c: Likewise.
1349 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1350 (iq2000_record_hi16): Likewise.
1351 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1352 * config/tc-m32r.c (debug_sym): Likewise.
1353 (m32r_record_hi16): Likewise.
1354 * config/tc-m68k.c (m68k_ip): Likewise.
1355 (md_begin): Likewise.
1356 * config/tc-mcore.c: Likewise.
1357 * config/tc-microblaze.c (check_got): Likewise.
1358 * config/tc-mips.c (append_insn): Likewise.
1359 (s_mipsset): Likewise.
1360 (mips_record_label): Likewise.
1361 (s_mips_end): Likewise.
1362 * config/tc-mmix.c (mmix_frob_file): Likewise.
1363 * config/tc-mn10200.c: Likewise.
1364 * config/tc-mn10300.c: Likewise.
1365 * config/tc-moxie.c: Likewise.
1366 * config/tc-msp430.c: Likewise.
1367 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1368 * config/tc-ns32k.c: Likewise.
1369 * config/tc-or1k.c: Likewise.
1370 * config/tc-pdp11.c: Likewise.
1371 * config/tc-pj.c (fake_opcode): Likewise.
1372 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1373 (ppc_macro): Likewise.
1374 (ppc_dwsect): Likewise.
1375 (ppc_machine): Likewise.
1376 * config/tc-rl78.c (rl78_frag_init): Likewise.
1377 * config/tc-rx.c (rx_frag_init): Likewise.
1378 * config/tc-s390.c (s390_lit_suffix): Likewise.
1379 (s390_machine): Likewise.
1380 (s390_machinemode): Likewise.
1381 * config/tc-score.c (s3_insert_reg): Likewise.
1382 (s3_gen_reloc): Likewise.
1383 * config/tc-score7.c (s7_insert_reg): Likewise.
1384 (s7_gen_reloc): Likewise.
1385 * config/tc-tic30.c (tic30_operand): Likewise.
1386 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1387 * config/tc-tic54x.c (stag_add_field): Likewise.
1388 (tic54x_struct): Likewise.
1389 (tic54x_space): Likewise.
1390 (tic54x_field): Likewise.
1391 (tic54x_mlib): Likewise.
1392 (subsym_substitute): Likewise.
1393 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1394 * config/tc-vax.c: Likewise.
1395 * config/tc-xc16x.c: Likewise.
1396 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1397 (directive_push): Likewise.
1398 (xtensa_begin_directive): Likewise.
1399 (tokenize_arguments): Likewise.
1400 (xtensa_add_literal_sym): Likewise.
1401 (new_resource_table): Likewise.
1402 (resize_resource_table): Likewise.
1403 (emit_single_op): Likewise.
1404 (xtensa_create_trampoline_frag): Likewise.
1405 (xtensa_maybe_create_literal_pool_frag): Likewise.
1406 (xtensa_add_config_info): Likewise.
1407 (xtensa_realloc_fixup_cache): Likewise.
1408 (add_subseg_info): Likewise.
1409 (cache_literal_section): Likewise.
1410 (add_xt_block_frags): Likewise.
1411 (add_xt_prop_frags): Likewise.
1412 (init_op_placement_info_table): Likewise.
1413 (build_section_rename): Likewise.
1414 * config/tc-z80.c: Likewise.
1415 * config/tc-z8k.c: Likewise.
1416 * depend.c (register_dependency): Likewise.
1417 * dwarf2dbg.c (get_line_subseg): Likewise.
1418 (dwarf2_gen_line_info_1): Likewise.
1419 (get_filenum): Likewise.
1420 * ecoff.c (allocate_scope): Likewise.
1421 (allocate_vlinks): Likewise.
1422 (allocate_shash): Likewise.
1423 (allocate_thash): Likewise.
1424 (allocate_tag): Likewise.
1425 (allocate_forward): Likewise.
1426 (allocate_thead): Likewise.
1427 (allocate_lineno_list): Likewise.
1428 * expr.c (make_expr_symbol): Likewise.
1429 * hash.c (hash_new_sized): Likewise.
1430 * input-file.c (input_file_push): Likewise.
1431 * listing.c (file_info): Likewise.
1432 (listing_newline): Likewise.
1433 * macro.c (new_formal): Likewise.
1434 (define_macro): Likewise.
1435 * remap.c (add_debug_prefix_map): Likewise.
1436 * symbols.c (symbol_find_noref): Likewise.
1437 (define_dollar_label): Likewise.
1438 (fb_label_instance_inc): Likewise.
1439 (symbol_relc_make_value): Likewise.
1440
a44e2901
TS
14412016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1442
1443 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1444 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1445 (ppc_znop): Likewise.
1446 (ppc_pe_section): Likewise.
1447 (ppc_frob_symbol): Likewise.
1448 * config/tc-tic30.c (tic30_operand): Likewise.
1449 * config/tc-tic4x.c (tic4x_sect): Likewise.
1450 (tic4x_usect): Likewise.
1451
ae2689b0
TS
14522016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1453
1454 * config/tc-alpha.c: Const qualify FLT_CHARS.
1455 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1456 * config/tc-cris.h: Likewise.
1457 * expr.c: Likewise.
1458 * config/tc-mmix.c (md_atof): Adjust comment.
1459 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1460 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1461
a51ef392
TS
14622016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1463
1464 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1465 * config/tc-score7.c (s7_gen_reloc): Likewise.
1466
2fe88214
TS
14672016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1468
1469 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1470 bfd_reloc_code_real_type.
1471
e1ec8109
TS
14722016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1473
1474 * config/bfin-parse.y (current_inputline): Remove definition.
1475 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1476
f73e41ef
TS
14772016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1478
1479 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1480 strings.
1481
62bd6b5f
AM
14822016-04-02 Alan Modra <amodra@gmail.com>
1483
1484 PR 19896
1485 * read.c (assign_symbol): Consume rest of line after an error
1486 rather than continuing to process the line.
1487
83cda17b
AB
14882016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1489
1490 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1491 (MAX_FLAG_NAME_LENGTH): ...this.
1492 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1493 * config/tc-arc.c (tokenize_flags): Likewise.
1494
6d4af3c2
AM
14952016-04-01 Alan Modra <amodra@gmail.com>
1496
1497 * cgen.c (weak_operand_overflow_check): Return const char*.
1498 * messages.c (as_internal_value_out_of_range): Formatting.
1499 (as_warn_value_out_of_range): Consify prefix param.
1500 (as_bad_value_out_of_range): Likewise.
1501 * read.c (s_errwarn): Constify msg..
1502 (s_float_space, float_cons): ..and err.
1503 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1504 ieee_md_atof, vax_md_atof): Update prototypes.
1505 * tc.h (md_atof): Update prototype.
1506 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1507 * config/atof-vax.c (vax_md_atof): Likewise.
1508 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1509 * config/tc-aarch64.c (md_atof): Return const char*.
1510 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1511 (s_alpha_comm): Constify sec_name.
1512 (section_name): Constify.
1513 (s_alpha_section): Consify name..
1514 (alpha_elf_section_letter): ..and ptr_msg param..
1515 (md_atof): ..and return.
1516 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1517 * config/tc-arc.c (md_atof): Return const char*.
1518 * config/tc-arm.c (md_atof): Likewise.
1519 * config/tc-avr.c (md_atof): Likewise.
1520 * config/tc-bfin.c (md_atof): Likewise.
1521 * config/tc-cr16.c (md_atof): Likewise.
1522 * config/tc-cris.c (md_atof): Likewise.
1523 * config/tc-crx.c (md_atof): Likewise.
1524 * config/tc-d10v.c (md_atof): Likewise.
1525 * config/tc-d30v.c (md_atof): Likewise.
1526 * config/tc-dlx.c (md_atof): Likewise.
1527 * config/tc-epiphany.c (md_atof): Likewise.
1528 * config/tc-fr30.c (md_atof): Likewise.
1529 * config/tc-frv.c (md_atof): Likewise.
1530 * config/tc-ft32.c (md_atof): Likewise.
1531 * config/tc-h8300.c (md_atof): Likewise.
1532 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1533 (struct default_space_dict): Likewise.
1534 (create_new_space): Constify name param.
1535 (create_new_subspace): Likewise.
1536 (is_defined_space, is_defined_subspace): Likewise.
1537 (pa_parse_space_stmt): Constify space_name param.
1538 (md_atof): Return const char*.
1539 (pa_spaces_begin): Constify name.
1540 * config/tc-i370.c (md_atof): Return const char*.
1541 * config/tc-i386.c (md_atof): Likewise.
1542 (x86_64_section_letter): Constify ptr_msg param.
1543 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1544 * config/tc-i860.c (struct i860_it): Constify error.
1545 (md_atof): Return const char*.
1546 * config/tc-i960.c (md_atof): Likewise.
1547 * config/tc-ia64.c (md_atof): Likewise.
1548 (ia64_elf_section_letter): Constify ptr_msg param.
1549 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1550 * config/tc-ip2k.c (md_atof): Return const char*.
1551 * config/tc-iq2000.c (md_atof): Likewise.
1552 * config/tc-lm32.c (md_atof): Likewise.
1553 * config/tc-m32c.c (md_atof): Likewise.
1554 * config/tc-m32r.c (md_atof): Likewise.
1555 * config/tc-m68hc11.c (md_atof): Likewise.
1556 * config/tc-m68k.c (md_atof): Likewise.
1557 * config/tc-mcore.c (md_atof): Likewise.
1558 * config/tc-mep.c (md_atof): Likewise.
1559 (mep_elf_section_letter): Constify ptr_msg param.
1560 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1561 * config/tc-metag.c (md_atof): Return const char*.
1562 * config/tc-microblaze.c (md_atof): Likewise.
1563 * config/tc-microblaze.h (md_atof): Delete prototype.
1564 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1565 (md_atof): Return const char*.
1566 * config/tc-mmix.c (md_atof): Likewise.
1567 * config/tc-mn10200.c (md_atof): Likewise.
1568 * config/tc-mn10300.c (md_atof): Likewise.
1569 * config/tc-moxie.c (md_atof): Likewise.
1570 * config/tc-msp430.c (md_atof): Likewise.
1571 * config/tc-mt.c (md_atof): Likewise.
1572 * config/tc-nds32.c (md_atof): Likewise.
1573 * config/tc-nios2.c (md_atof): Likewise.
1574 (nios2_elf_section_letter): Constify ptr_msg param.
1575 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1576 * config/tc-ns32k.c (md_atof): Return const char*.
1577 * config/tc-or1k.c (md_atof): Likewise.
1578 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1579 (md_atof): Return const char*.
1580 * config/tc-pj.c (md_atof): Likewise.
1581 * config/tc-ppc.c (md_atof): Likewise.
1582 * config/tc-rl78.c (md_atof): Likewise.
1583 * config/tc-rx.c (md_atof): Likewise.
1584 * config/tc-s390.c (md_atof): Likewise.
1585 * config/tc-score.c (s3_atof, md_atof): Likewise.
1586 * config/tc-sh.c (md_atof): Likewise.
1587 * config/tc-sparc.c (struct sparc_it): Constify error.
1588 (md_atof): Return const char*.
1589 * config/tc-spu.c (md_atof): Likewise.
1590 * config/tc-tic30.c (md_atof): Likewise.
1591 * config/tc-tic4x.c (md_atof): Likewise.
1592 * config/tc-tic54x.c (md_atof): Likewise.
1593 * config/tc-tic6x.c (md_atof): Likewise.
1594 * config/tc-tilegx.c (md_atof): Likewise.
1595 * config/tc-tilepro.c (md_atof): Likewise.
1596 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1597 * config/tc-vax.c (md_atof): Likewise.
1598 * config/tc-visium.c (md_atof): Likewise.
1599 * config/tc-xc16x.c (md_atof): Likewise.
1600 * config/tc-xgate.c (md_atof): Likewise.
1601 * config/tc-xstormy16.c (md_atof): Likewise.
1602 * config/tc-xtensa.c (md_atof): Likewise.
1603 * config/tc-z80.c (md_atof): Likewise.
1604 * config/tc-z8k.c (md_atof): Likewise.
1605
e4a0c708
TS
16062016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1607
1608 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1609 const.
1610 (xtensa_section_rename): Make argument type const char *.
1611 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1612
e2c7dcae
TS
16132016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1614
1615 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1616 args[0].
1617
f854977c
TS
16182016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1619
1620 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1621 char *.
1622 (m32c_indirect_operand): Likewise.
1623 * config/tc-nds32.c (do_pseudo_b): Likewise.
1624 (do_pseudo_bal): Likewise.
1625 (do_pseudo_ls_bhw): Likewise.
1626
97830986
TS
16272016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1628
1629 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1630
e87de513
TS
16312016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1632
1633 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1634 get_symbol_name ().
1635 * config/tc-sparc.c (s_register): Cast a literal to char * in
1636 assignment.
1637
47990a6a
TS
16382016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1639
1640 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1641 input_line_pointer.
1642 * config/tc-m32r.c (expand_debug_syms): Likewise.
1643 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1644 * config/tc-z80.c (md_begin): Likewise.
1645 * stabs.c (stabs_generate_asm_func): Likewise.
1646
e046cf80
TS
16472016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1648
1649 * cgen.c: Modernize the way functions declare arguments.
1650 * config/tc-bfin.c: Likewise.
1651 * config/tc-pdp11.c: Likewise.
1652 * literal.c: Likewise.
1653 * read.c: Likewise.
1654 * stabs.c: Likewise.
1655
d9235011
TS
16562016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1657
1658 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1659 variables unsigned char[].
1660 * config/tc-alpha.c (alpha_handle_align): Likewise.
1661 * config/tc-arm.c (arm_handle_align): Likewise.
1662 * config/tc-z80.c: Likewise.
1663
c6025a80
NC
16642016-03-30 Nick Clifton <nickc@redhat.com>
1665
1666 PR target/19880
1667 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1668 shifting.
1669
f89a23cf
CZ
16702016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1671
abe051ba
AM
1672 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1673 * testsuite/gas/elf/elf.exp: Likewise.
1674 * testsuite/gas/all/redef3.d: Allow execution for ARC.
f89a23cf 1675
f621ad3c
CZ
16762016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1677
abe051ba 1678 * testsuite/gas/arc/warn.exp: Fix matching pattern.
f621ad3c 1679
f2dd8838
CZ
16802016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1681
abe051ba
AM
1682 * testsuite/gas/arc/ext2op.d: New file.
1683 * testsuite/gas/arc/ext2op.s: Likewise.
1684 * testsuite/gas/arc/ext3op.d: Likewise.
1685 * testsuite/gas/arc/ext3op.s: Likewise.
f2dd8838 1686
17b9d67d
TS
16872016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1688
1689 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1690 qualifier.
1691 * config/tc-alpha.c (md_parse_option): Likewise.
1692 * config/tc-arc.c (md_parse_option): Likewise.
1693 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1694 (md_parse_option): Likewise.
1695 * config/tc-avr.c (md_parse_option): Likewise.
1696 * config/tc-bfin.c (md_parse_option): Likewise.
1697 * config/tc-cr16.c (md_parse_option): Likewise.
1698 * config/tc-cris.c (s_cris_arch): Likewise.
1699 (md_parse_option): Likewise.
1700 * config/tc-crx.c (md_parse_option): Likewise.
1701 * config/tc-d10v.c (md_parse_option): Likewise.
1702 * config/tc-d30v.c (md_parse_option): Likewise.
1703 * config/tc-dlx.c (md_parse_option): Likewise.
1704 * config/tc-epiphany.c (md_parse_option): Likewise.
1705 * config/tc-fr30.c (md_parse_option): Likewise.
1706 * config/tc-frv.c (md_parse_option): Likewise.
1707 * config/tc-ft32.c (md_parse_option): Likewise.
1708 * config/tc-h8300.c (md_parse_option): Likewise.
1709 * config/tc-hppa.c (md_parse_option): Likewise.
1710 * config/tc-i370.c (md_parse_option): Likewise.
1711 * config/tc-i386.c (md_parse_option): Likewise.
1712 * config/tc-i860.c (md_parse_option): Likewise.
1713 * config/tc-i960.c (md_parse_option): Likewise.
1714 * config/tc-ia64.c (md_parse_option): Likewise.
1715 * config/tc-ip2k.c (md_parse_option): Likewise.
1716 * config/tc-iq2000.c (md_parse_option): Likewise.
1717 * config/tc-lm32.c (md_parse_option): Likewise.
1718 * config/tc-m32c.c (md_parse_option): Likewise.
1719 * config/tc-m32r.c (md_parse_option): Likewise.
1720 * config/tc-m68hc11.c (md_parse_option): Likewise.
1721 * config/tc-m68k.c (md_parse_option): Likewise.
1722 * config/tc-mcore.c (md_parse_option): Likewise.
1723 * config/tc-mep.c (md_parse_option): Likewise.
1724 * config/tc-metag.c (struct metag_long_option): Likewise.
1725 (md_parse_option): Likewise.
1726 * config/tc-microblaze.c (md_parse_option): Likewise.
1727 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1728 * config/tc-mips.c (md_parse_option): Adjust.
1729 * config/tc-mmix.c (md_parse_option): Likewise.
1730 * config/tc-mn10200.c (md_parse_option): Likewise.
1731 * config/tc-mn10300.c (md_parse_option): Likewise.
1732 * config/tc-moxie.c (md_parse_option): Likewise.
1733 * config/tc-msp430.c (md_parse_option): Likewise.
1734 * config/tc-mt.c (md_parse_option): Likewise.
1735 * config/tc-nds32.c (md_parse_option): Likewise.
1736 * config/tc-nds32.h (nds32_parse_option): Likewise.
1737 * config/tc-nios2.c (md_parse_option): Likewise.
1738 * config/tc-ns32k.c (md_parse_option): Likewise.
1739 * config/tc-or1k.c (md_parse_option): Likewise.
1740 * config/tc-pdp11.c (md_parse_option): Likewise.
1741 * config/tc-pj.c (md_parse_option): Likewise.
1742 * config/tc-ppc.c (md_parse_option): Likewise.
1743 * config/tc-rl78.c (md_parse_option): Likewise.
1744 * config/tc-rx.c (md_parse_option): Likewise.
1745 * config/tc-s390.c (s390_parse_cpu): Likewise.
1746 * config/tc-score.c (md_parse_option): Likewise.
1747 * config/tc-sh.c (md_parse_option): Likewise.
1748 * config/tc-sparc.c (md_parse_option): Likewise.
1749 * config/tc-spu.c (md_parse_option): Likewise.
1750 * config/tc-tic30.c (md_parse_option): Likewise.
1751 * config/tc-tic4x.c (md_parse_option): Likewise.
1752 * config/tc-tic54x.c (md_parse_option): Likewise.
1753 * config/tc-tic6x.c (md_parse_option): Likewise.
1754 * config/tc-tilegx.c (md_parse_option): Likewise.
1755 * config/tc-tilepro.c (md_parse_option): Likewise.
1756 * config/tc-v850.c (md_parse_option): Likewise.
1757 * config/tc-vax.c (md_parse_option): Likewise.
1758 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1759 * config/tc-xc16x.c (md_parse_option): Likewise.
1760 * config/tc-xgate.c (md_parse_option): Likewise.
1761 * config/tc-xstormy16.c (md_parse_option): Likewise.
1762 * config/tc-xtensa.c (md_parse_option): Likewise.
1763 * config/tc-z80.c (md_parse_option): Likewise.
1764 * config/tc-z8k.c (md_parse_option): Likewise.
1765 * tc.h (md_parse_option): Likewise.
1766
30bd735c
TS
17672016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1768
1769 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1770 * config/tc-hppa.c (fix_new_hppa): Likewise.
1771 (pa_vtable_entry): Likewise.
1772 (pa_vtable_inherit): Likewise.
1773 * config/tc-m68k.c (md_begin): Likewise.
1774
82b8a785
TS
17752016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1776
1777 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1778 * config/obj-elf.h (obj_elf_section_name): Adjust.
1779 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1780 (aarch64_parse_cpu): Likewise.
1781 (aarch64_parse_arch): Likewise.
1782 * config/tc-arm.c (arm_parse_extension): Likewise.
1783 (arm_parse_cpu): Likewise.
1784 (arm_parse_arch): Likewise.
1785 * config/tc-nds32.c: Likewise.
1786 * config/xtensa-relax.c (parse_special_fn): Likewise.
1787 * stabs.c (generate_asm_file): Likewise.
1788
9202e88a
TS
17892016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1790
1791 * config/tc-cr16.c (cr16_assemble): New function.
1792 (md_assemble): Call cr16_assemble.
1793
a90fb5e3
TS
17942016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1795
1796 * as.c (parse_args): Adjust.
1797 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1798 * config/obj-elf.c (elf_frob_symbol): Adjust.
1799
f65c3d1b
JM
18002016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1801
1802 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1803 registers to be in the 16..31 range.
1804
e742e119
TS
18052016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1806
1807 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1808 frag_var ().
1809
eda6e9a4
TS
18102016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1811
1812 * config/tc-visium.c (md_atof): Localize the string returned on
1813 failure.
1814
b9bb4a93
TS
18152016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1816
1817 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1818 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1819 * config/tc-m68hc11.c (md_begin): Likewise.
1820 (print_opcode_list): Likewise.
1821 * config/tc-msp430.c (msp430_section): Likewise.
1822 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1823 (s3_build_dependency_insn_hsh): Likewise.
1824 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1825 (s7_build_dependency_insn_hsh): Likewise.
1826 * config/tc-tic4x.c: Likewise.
1827 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1828 (subsym_get_arg): Likewise.
1829 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1830 (get_directive): Likewise.
1831 (cache_literal_section): Likewise.
1832 * config/xtensa-relax.c: Likewise.
1833 * symbols.c (symbol_create): Likewise.
1834 (local_symbol_make): Likewise.
1835 (symbol_relc_make_expr): Likewise.
1836
986d894b
TS
18372016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1838
1839 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1840 str.
1841
74b4e47a
TS
18422016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1843
1844 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1845 call with a switch.
1846
0a433ebc
TS
18472016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1848
1849 * config/tc-ia64.c (ia64_do_align): Remove.
1850 (ia64_cons_align): Call do_align () directly.
1851 (dot_proc): Likewise.
1852 (stmt_float_cons): Likewise.
1853
8860a416
TS
18542016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1855
1856 * listing.c (listing_message): Use XNEW style allocation macros.
1857 * read.c (read_a_source_file): Likewise.
1858 (read_symbol_name): Likewise.
1859 (s_mri_common): Likewise.
1860 (assign_symbol): Likewise.
1861 (s_reloc): Likewise.
1862 (emit_expr_with_reloc): Likewise.
1863 (s_incbin): Likewise.
1864 (s_include): Likewise.
1865 * sb.c (sb_build): Likewise.
1866 (sb_check): Likewise.
1867
49636823
AM
18682016-03-22 Alan Modra <amodra@gmail.com>
1869
1870 * write.c (record_alignment): Revert 2016-02-18 change.
1871
39a0d071
AM
18722016-03-22 Alan Modra <amodra@gmail.com>
1873
1874 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1875 (emit_jsrjmp, tc_gen_reloc): Likewise.
1876 * config/tc-i370.c (i370_macro): Likewise.
1877
9780e045
NC
18782016-03-22 Nick Clifton <nickc@redhat.com>
1879
1880 * configure: Regenerate.
1881
e23e8ebe
AB
18822016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1883
1884 * testsuite/gas/arc/nps400-0.d: New file.
1885 * testsuite/gas/arc/nps400-0.s: New file.
1886 * testsuite/gas/arc/nps400-1.d: New file.
1887 * testsuite/gas/arc/nps400-1.s: New file.
1888
1ae8ab47
AB
18892016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1890
1891 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1892 declarations to start of block. Reset code on all flags before
1893 attempting to match them. Handle multiple hits on the same flag.
1894 Handle flag class.
1895 * testsuite/gas/arc/asm-errors.d: New file.
1896 * testsuite/gas/arc/asm-errors.err: New file.
1897 * testsuite/gas/arc/asm-errors.s: New file.
1898
8699fc3e
AB
18992016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1900
1901 * config/tc-arc.c (cpu_types): Add nps400 entry.
1902 (check_zol): Handle nps400.
1903
a9522a21
AB
19042016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1905
1906 * config/tc-arc.c (arc_select_cpu): Remove use of
1907 EF_ARC_CPU_GENERIC.
1908
24740d83
AB
19092016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1910
1911 * config/tc-arc.c (arc_target): Delay initialisation until
1912 arc_select_cpu.
1913 (arc_target_name): Likewise.
1914 (arc_features): Likewise.
1915 (arc_mach_type): Likewise.
1916 (cpu_types): Remove "all" entry.
1917 (arc_select_cpu): New function, most of the content is from...
1918 (md_parse_option): ... here. Call new arc_select_cpu.
1919 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1920
62f6f9c2
AB
19212016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1922
1923 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1924 * testsuite/gas/arc/inline-data-2.d: New file.
1925
e1fa0163
NC
19262016-03-21 Nick Clifton <nickc@redhat.com>
1927
1928 * atof-generic.c: Replace use of alloca with call to xmalloc.
1929 * cgen.c: Likewise.
1930 * dwarf2dbg.c: Likewise.
1931 * macro.c: Likewise.
1932 * remap.c: Likewise.
1933 * stabs.c: Likewise.
1934 * symbols.c: Likewise.
1935 * config/obj-elf.c: Likewise.
1936 * config/tc-aarch64.c: Likewise.
1937 * config/tc-arc.c: Likewise.
1938 * config/tc-arm.c: Likewise.
1939 * config/tc-avr.c: Likewise.
1940 * config/tc-ia64.c: Likewise.
1941 * config/tc-mips.c: Likewise.
1942 * config/tc-msp430.c: Likewise.
1943 * config/tc-nds32.c: Likewise.
1944 * config/tc-ppc.c: Likewise.
1945 * config/tc-sh.c: Likewise.
1946 * config/tc-tic30.c: Likewise.
1947 * config/tc-tic54x.c: Likewise.
1948 * config/tc-xstormy16.c: Likewise.
1949 * config/te-vms.c: Likewise.
1950 * configure: Regenerate.
1951
bad6e36d
TS
19522016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1953
1954 * tc-i386.c (f32_1): Change type to unsigned char[].
1955 (f32_2): Likewise.
1956 (f32_3): Likewise.
1957 (f32_4): Likewise.
1958 (f32_5): Likewise.
1959 (f32_6): Likewise.
1960 (f32_7): Likewise.
1961 (f32_8): Likewise.
1962 (f32_9): Likewise.
1963 (f32_10): Likewise.
1964 (f32_11): Likewise.
1965 (f32_12): Likewise.
1966 (f32_13): Likewise.
1967 (f32_14): Likewise.
1968 (f16_3): Likewise.
1969 (f16_4): Likewise.
1970 (f16_5): Likewise.
1971 (f16_6): Likewise.
1972 (f16_7): Likewise.
1973 (f16_8): Likewise.
1974 (jump_31): Likewise.
1975 (f32_patt): Likewise.
1976 (f16_patt): Likewise.
1977 (alt_3): Likewise.
1978 (alt_4): Likewise.
1979 (alt_5): Likewise.
1980 (alt_6): Likewise.
1981 (alt_7): Likewise.
1982 (alt_8): Likewise.
1983 (alt_9): Likewise.
1984 (alt_10): Likewise.
1985 (alt_patt): Likewise.
1986
6387924a
NC
19872016-03-18 Nick Clifton <nickc@redhat.com>
1988
30fab421
NC
1989 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1990 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1991 .tlsdescldr and .xword directives.
1992
8678914f
NC
1993 PR target/19721
1994 * testsuite/gas/aarch64/pr19721.s: New test source file.
1995 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1996
6387924a
NC
1997 * doc/as.texinfo: Place the target specific command line options
1998 into their own man page section.
1999
cc933301
JW
20002016-03-16 Jiong Wang <jiong.wang@arm.com>
2001
2002 * config/tc-arm.c (N_S_32): New.
2003 (N_F_16_32): Likewise.
2004 (N_SUF_32): Support N_F16.
2005 (N_IF_32): Likewise.
2006 (neon_dyadic_misc): Likewise.
2007 (do_neon_cmp): Likewise.
2008 (do_neon_cmp_inv): Likewise.
2009 (do_neon_mul): Likewise.
2010 (do_neon_fcmp_absolute): Likewise.
2011 (do_neon_step): Likewise.
2012 (do_neon_abs_neg): Likewise.
2013 (CVT_FLAVOR_VAR): Likewise.
2014 (do_neon_cvt_1): Likewise.
2015 (do_neon_recip_est): Likewise.
2016 (do_vmaxnm): Likewise.
2017 (do_vrint_1): Likewise.
2018 (neon_check_type): Check architecture support for FP16 extension.
2019 (insns): Update comments.
2020 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2021 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2022 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2023 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2024 arm mode.
2025 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2026 thumb mode.
2027 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2028 error file.
2029
5f2b6bc9
NC
20302016-03-16 Nick Clifton <nickc@redhat.com>
2031
2032 * read.c (emit_expr_with_reloc): Add code check a bignum with
2033 nbytes == 1.
2034 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2035 other than 32-bits.
2036 * testsuite/gas/elf/bignum.s: New test source file.
2037 * testsuite/gas/elf/bignum.d: New test driver file.
2038 * testsuite/gas/elf/elf.exp: Run the new test.
2039
4bde3cdd
UD
20402016-03-15 Ulrich Drepper <drepper@gmail.com>
2041
2042 * doc/c-i386.texi (Register Naming): Update to details of the
abe051ba 2043 latest architecture version.
4bde3cdd 2044
a9f02af8
MG
20452016-03-10 Mickael Guene <mickael.guene@st.com>
2046
2047 PR gas/19744
2048 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2049 (do_mov): Likewise.
2050 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2051 (do_t_mov_cmp): Likewise.
2052 (do_t_add_sub): Protect against bad relocations usage.
2053 (do_t_mov_cmp): Likewise.
5dafb246
AM
2054 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2055 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2056 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2057 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
a9f02af8 2058
aa8a0863
TS
20592016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2060
2061 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2062 do_alignment.
2063 (do_neon_ld_st_lane): Likewise.
2064 (do_neon_ld_dup): Likewise.
2065
72f3b6aa
CZ
20662016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
2067
2068 * testsuite/gas/arc/inline-data-1.d: New file.
2069 * testsuite/gas/arc/inline-data-1.s: New file.
2070
5f474010
TP
20712016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2072
2073 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2074 * doc/c-arm.texi: Add cortex-r8.
2075
f86f5863
TS
20762016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2077
2078 * config/tc-arc.c: Add const qualifiers.
2079 * config/tc-h8300.c (md_begin): Likewise.
2080 * config/tc-ia64.c (print_prmask): Likewise.
2081 * config/tc-msp430.c (msp430_operands): Likewise.
2082 * config/tc-nds32.c (struct suffix_name): Likewise.
2083 (struct nds32_parse_option_table): Likewise.
2084 (struct nds32_set_option_table): Likewise.
2085 (do_pseudo_pushpopm): Likewise.
2086 (do_pseudo_pushpop_stack): Likewise.
2087 (nds32_relax_relocs): Likewise.
2088 (nds32_flag): Likewise.
2089 (struct nds32_hint_map): Likewise.
2090 (nds32_find_reloc_table): Likewise.
2091 (nds32_match_hint_insn): Likewise.
2092 * config/tc-s390.c: Likewise.
2093 * config/tc-sh.c (get_specific): Likewise.
2094 * config/tc-tic30.c: Likewise.
2095 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2096 (tic4x_indirect_parse): Likewise.
2097 * config/tc-vax.c (vax_cons): Likewise.
2098 * config/tc-z80.c (struct reg_entry): Likewise.
2099 * config/tc-epiphany.c (md_assemble): Adjust.
2100 (epiphany_assemble): New function.
2101 (epiphany_elf_section_rtn): Call do_align directly.
2102 (epiphany_elf_section_text): Likewise.
2103 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2104 (ip2k_elf_section_text): Likewise.
2105 * read.c (do_align): Make it not static.
2106 * read.h (do_align): New prototype.
2107
9411fd44
MW
21082016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2109
2110 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2111 for ARMv8.1 AdvSIMD use.
2112 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2113 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2114
643afb90
MW
21152016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2116
2117 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2118 feature.
2119 (record_feature_use): New.
2120 (mark_feature_used): Use record_feature_use.
2121 (do_neon_qrdmlah): New.
2122 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2123 variants.
2124 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2125 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2126 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2127 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2128 Make source file explicit.
2129 * testsuite/gas/arm/armv8-a+rdma.l: New.
2130 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2131 directives. Fix white-space.
2132 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2133
25aa3689
L
21342016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2135
2136 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2137
841fdfcd
CZ
21382016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2139 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2140
abe051ba
AM
2141 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2142 (tc_arc_fix_adjustable): Changed default return value to 1.
2143 * testsuite/gas/arc/j.d: Updated expected symbol
2144 * testsuite/gas/arc/jl.d: Likewise
2145 * testsuite/gas/arc/relax-avoid1.d: Likewise
2146 * testsuite/gas/arc/st.d: Likewise
841fdfcd 2147
7e458899
CZ
21482016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2149
2150 * config/tc-arc.c: Enable code density instructions for ARC EM.
2151
11e5f1ec
L
21522016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2153
2154 PR ld/19645
2155 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2156 for ELF assemblers.
2157 * as.c (flag_use_elf_stt_common): New.
2158 (show_usage): Add --elf-stt-common=.
2159 (option_values): Add OPTION_ELF_STT_COMMON.
2160 (std_longopts): Add --elf-stt-common=.
2161 (parse_args): Handle --elf-stt-common=.
2162 * as.h (flag_use_elf_stt_common): New.
2163 * config.in: Regenerated.
2164 * configure: Likewise.
2165 * configure.ac: Add --enable-elf-stt-common and define
2166 DEFAULT_GENERATE_ELF_STT_COMMON.
2167 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2168 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2169 * doc/as.texinfo: Document --elf-stt-common=.
2170 * testsuite/gas/elf/common3.s: New file.
2171 * testsuite/gas/elf/common3a.d: Likewise.
2172 * testsuite/gas/elf/common3b.d: Likewise.
2173 * testsuite/gas/elf/common4.s: Likewise.
2174 * testsuite/gas/elf/common4a.d: Likewise.
2175 * testsuite/gas/elf/common4b.d: Likewise.
2176 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2177 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2178 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2179 and common4b.
2180 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2181 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2182 --elf-stt-common=no to as.
2183 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2184 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2185 --elf-stt-common=no to as.
2186 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2187 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2188 of dw2-compress-3 and dw2-compressed-3.
2189
e0471c16
TS
21902016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2191
2192 * as.c (select_emulation_mode): Add const qualifiers.
2193 * as.h: Likewise.
2194 * config/bfin-defs.h: Likewise.
2195 * config/bfin-parse.y: Likewise.
2196 * config/rx-parse.y: Likewise.
2197 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2198 (struct aarch64_cpu_option_table): Likewise.
2199 (struct aarch64_arch_option_table): Likewise.
2200 (struct aarch64_option_cpu_value_table): Likewise.
2201 (struct aarch64_long_option_table): Likewise.
2202 (struct aarch64_option_abi_value_table): Likewise.
2203 * config/tc-arm.c (struct reloc_entry): Likewise.
2204 (tc_gen_reloc): Likewise.
2205 (struct arm_option_table): Likewise.
2206 (struct arm_legacy_option_table): Likewise.
2207 (struct arm_cpu_option_table): Likewise.
2208 (struct arm_arch_option_table): Likewise.
2209 (struct arm_option_extension_value_table): Likewise.
2210 (struct arm_option_fpu_value_table): Likewise.
2211 (struct arm_option_value_table): Likewise.
2212 (struct arm_long_option_table): Likewise.
2213 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2214 (struct mcu_type_s): Likewise.
2215 (struct exp_mod_s): Likewise.
2216 (avr_operand): Likewise.
2217 (avr_operands): Likewise.
2218 * config/tc-d10v.c (md_begin): Likewise.
2219 * config/tc-dlx.c: Likewise.
2220 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2221 * config/tc-ft32.c (parse_condition): Likewise.
2222 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2223 * config/tc-hppa.c (pa_ip): Likewise.
2224 (hppa_regname_to_dw2regnum): Likewise.
2225 * config/tc-i370.c (i370_elf_suffix): Likewise.
2226 * config/tc-i960.c (struct tabentry): Likewise.
2227 * config/tc-m32r.c: Likewise.
2228 * config/tc-m68k.c: Likewise.
2229 * config/tc-m68k.h: Likewise.
2230 * config/tc-mcore.c (parse_psrmod): Likewise.
2231 * config/tc-metag.c (struct metag_core_option): Likewise.
2232 (struct metag_long_option): Likewise.
2233 * config/tc-microblaze.c: Likewise.
2234 * config/tc-mips.c (macro): Likewise.
2235 * config/tc-mn10200.c: Likewise.
2236 * config/tc-mn10300.c: Likewise.
2237 * config/tc-msp430.c (struct rcodes_s): Likewise.
2238 (struct hcodes_s): Likewise.
2239 (md_parse_option): Likewise.
2240 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2241 (optlist): Likewise.
2242 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2243 (tc_ppc_regname_to_dw2regnum): Likewise.
2244 * config/tc-ppc.h: Likewise.
2245 * config/tc-rl78.c: Likewise.
2246 * config/tc-rx.c (struct cpu_type): Likewise.
2247 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2248 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2249 (sparc_ip): Likewise.
2250 * config/tc-spu.c (insn_fmt_string): Likewise.
2251 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2252 * config/tc-v850.c: Likewise.
2253 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2254 (struct visium_long_option_table): Likewise.
2255 * config/tc-xgate.c: Likewise.
2256 * config/tc-z8k.c: Likewise.
2257 * read.c (add_include_dir): Likewise.
2258 * read.h: Likewise.
2259
e6e7b7c4
AB
22602016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2261
2262 * testsuite/gas/all/gas.exp: Change target pattern to cover
2263 arceb-*.
2264 * testsuite/gas/all/redef3.d: Likewise.
2265 * testsuite/gas/elf/elf.exp: Likewise.
2266
9db2f6b4
RL
22672016-02-24 Renlin Li <renlin.li@arm.com>
2268
2269 * config/tc-arm.c (BAD_FP16): New error message macro.
2270 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2271 fp16 scalar instructions.
2272 (neon_check_type): Allow different size from key.
2273 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2274 (try_vfp_nsyn): Likewise.
2275 (do_vfp_nsyn_mla_mls): Likewise.
2276 (do_vfp_nsyn_fma_fms): Likewise.
2277 (do_vfp_nsyn_ldm_stm): Likewise
2278 (do_vfp_nsyn_sqrt): Likewise
2279 (do_vfp_nsyn_div): Likewise
2280 (do_vfp_nsyn_nmul): Likewise.
2281 (do_vfp_nsyn_cmp): Likewise.
2282 (do_neon_shll): Likewise.
2283 (do_vfp_nsyn_cvt_fpv8): Likewise.
2284 (do_neon_cvttb_2): Likewise.
2285 (do_neon_mov): Likewise.
2286 (do_neon_rshift_round_imm): Likewise.
2287 (do_neon_ldr_str): Likewise.
2288 (do_vfp_nsyn_fpv8): Likewise.
2289 (do_vmaxnm): Likewise.
2290 (do_vrint_1): Likewise.
2291 (insns): New entry for vins, vmovx.
2292 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2293 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2294 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2295 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2296 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2297 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2298 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2299
d54af2d0
RL
23002016-02-24 Renlin Li <renlin.li@arm.com>
2301
2302 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2303 (neon_shape_class): New SC_HALF.
2304 (neon_shape_el): New SE_H.
2305 (neon_shape_el_size): New size for SE_H.
2306 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2307 (neon_select_shape): Add SE_H support code.
2308 (el_type_of_type_chk): Use N_F_ALL.
2309 (do_vfp_nsyn_cvt): Add SE_H shape support.
2310 (do_neon_cvtz): Likewise.
2311 (do_neon_cvt_1): Likewise.
2312 (do_neon_cvttb_1): Likewise.
2313
b0c11777
RL
23142016-02-24 Renlin Li <renlin.li@arm.com>
2315
2316 * testsuite/gas/arm/copro.d: Adjust output.
2317 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2318
3e309328
RL
23192016-02-24 Renlin Li <renlin.li@arm.com>
2320
2321 * testsuite/gas/arm/mask_1.d: New.
2322 * testsuite/gas/arm/mask_1.s: New.
2323
8afc7bea
RL
23242016-02-24 Renlin Li <renlin.li@arm.com>
2325
2326 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2327 * testsuite/gas/arm/copro.d: Update.
2328
6735952f
KT
23292016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2330
2331 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2332 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2333
ed5491b9
KT
23342016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2335
abe051ba 2336 * doc/c-arm.texi (ARM Options): Document cortex-a17.
ed5491b9 2337
742e5034
L
23382016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2339
2340 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2341 hpux.
2342
3b4dbbbf
TS
23432016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2344
2345 * output-file.c (output_file_create): Make file name argument const.
2346 (output_file_close): Likewise.
2347 * output-file.h (output_file_create): Adjust.
2348 (output_file_close): Likewise.
2349 * depend.c (quote_string_for_make): Make src argument const char *.
2350 (register_dependency): Likewise.
2351 (wrap_output): Likewise.
2352 * as.h (register_dependency): Adjust.
2353 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2354 as_where ();
2355 * symbols.c (S_SET_EXTERNAL): Likewise.
2356 * input-scrub.c (as_where): Return the file name.
2357 * as.h (as_where): Adjust prototype.
2358 * app.c (do_scrub_chars): Adjust.
2359 * cond.c (s_elseif): Likewise.
2360 (s_else): Likewise.
2361 (initialize_cframe): Likewise.
2362 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2363 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2364 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2365 * config/tc-aarch64.c (output_info): Likewise.
2366 * config/tc-ia64.c (md_assemble): Likewise.
2367 (dot_alias): Likewise.
2368 * config/tc-m68k.c (m68k_frob_label): Likewise.
2369 * config/tc-mmix.c (s_bspec): Likewise.
2370 (mmix_handle_mmixal): Likewise.
2371 * config/tc-rx.c (rx_include): Likewise.
2372 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2373 (tic54x_adjust_symtab): Likewise.
2374 * config/tc-xtensa.c (directive_push): Likewise.
2375 (xtensa_sanity_check): Likewise.
2376 (xtensa_relax_frag): Likewise.
2377 (md_convert_frag): Likewise.
2378 (tinsn_to_slotbuf): Likewise.
2379 * dwarf2dbg.c (dwarf2_where): Likewise.
2380 * ecoff.c (add_file): Likewise.
2381 (ecoff_generate_asm_lineno): Likewise.
2382 * expr.c (make_expr_symbol): Likewise.
2383 * frags.c (frag_new): Likewise.
2384 (frag_var_init): Likewise.
2385 * listing.c (listing_newline): Likewise.
2386 * messages.c (identify): Likewise.
2387 (as_show_where): Likewise.
2388 (as_warn_internal): Likewise.
2389 (as_bad_internal): Likewise.
2390 * read.c (s_irp): Likewise.
2391 (s_macro): Likewise.
2392 (s_reloc): Likewise.
2393 * stabs.c (stabs_generate_asm_file): Likewise.
2394 (stabs_generate_asm_lineno): Likewise.
2395 (stabs_generate_asm_func): Likewise.
2396 * write.c (fix_new_internal): Likewise.
2397 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2398 (as_warn_value_out_of_range): Adjust prototype.
2399 (as_bad_value_out_of_range): Adjust prototype.
2400 * messages.c (identify): Make file name argument const char *.
2401 (as_warn_internal): Likewise.
2402 (as_warn_where): Likewise.
2403 (as_bad_internal): Likewise.
2404 (as_bad_where): Likewise.
2405 (as_internal_value_out_of_range): Likewise.
2406 (as_warn_value_out_of_range): Likewise.
2407 (as_bad_value_out_of_range): Likewise.
2408 * as.h (found_comment_file): Change type to const char *.
2409 * cond.c (file_line::file): Likewise.
2410 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2411 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2412 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2413 * config/tc-aarch64.c (output_info): Likewise.
2414 * config/tc-alpha.c (insert_operand): Likewise.
2415 * config/tc-arc.c (insert_operand): Likewise.
2416 * config/tc-d30v.c (check_size): Likewise.
2417 * config/tc-ia64.c (struct alias): Likewise.
2418 * config/tc-m68k.c (struct label_line): Likewise.
2419 * config/tc-mcore.c (md_apply_fix): Likewise.
2420 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2421 * config/tc-mips.c (mips16_immed): Likewise.
2422 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2423 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2424 * config/tc-rx.c (rx_include): Likewise.
2425 * config/tc-s390.c (s390_insert_operand): Likewise.
2426 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2427 (tic54x_adjust_symtab): Likewise.
2428 * config/tc-tilegx.c (insert_operand): Likewise.
2429 (apply_special_operator): Likewise.
2430 * config/tc-tilepro.c (insert_operand): Likewise.
2431 * config/tc-xtensa.c (directive_push): Likewise.
2432 * ecoff.c (add_file): Likewise.
2433 (ecoff_generate_asm_lineno): Likewise.
2434 * listing.c (listing_newline): Likewise.
2435 * read.c (s_irp): Likewise.
2436 * write.c (install_reloc): Likewise.
2437 * write.h (struct fix): Likewise.
2438 * input-file.c (file_name): Change type to const char *.
2439 (saved_file::file_name): Likewise.
2440 (input_file_open): Change type of argument to const char *.
2441 * input-file.h (input_file_open): Adjust.
2442 * input-scrub.c (logical_input_file): change type to const char *.
2443 (physical_input_file): Likewise.
abe051ba 2444 (struct input_save): Adjust.
3b4dbbbf
TS
2445 (input_scrub_push): Adjust.
2446 (input_scrub_begin): Adjust.
2447 (as_where): Adjust.
2448 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2449 (input_scrub_include_file): Likewise.
2450 (new_logical_line_flags): Likewise.
2451 (new_logical_line): Likewise.
2452 * as.h: Adjust.
2453 * frags.h (struct frag): Change type of fr_file to const char *.
2454 * expr.c (expr_symbol_where): Change type of file argument to
2455 const char **.
2456 * expr.h (expr_symbol_where): Likewise.
2457 * config/tc-i370.c (md_apply_fix): adjust.
2458 * config/tc-mmix.c (mmix_md_end): Likewise.
2459 * config/tc-ppc.c (md_apply_fix): Likewise.
2460 * config/tc-s390.c (md_apply_fix): Likewise.
2461 * symbols.c (report_op_error): Likewise.
2462 (resolve_symbol_value): Likewise.
2463 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2464 (rsrc::file): Likewise.
2465 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2466 const char *.
2467 (xtensa_relax_frag): Likewise.
2468 (md_convert_frag): Likewise.
2469 (tinsn_to_slotbuf): Likewise.
2470 * expr.c (expr_symbol_line): Likewise.
2471 * macro.c (define_macro): Likewise.
2472 * macro.h (macro_struct): Likewise.
2473 * messages.c (as_show_where): Likewise.
2474 * read.c (s_macro): Likewise.
2475 * stabs.c (stabs_generate_asm_file): Likewise.
2476 (generate_asm_file): Likewise.
2477 (stabs_generate_asm_lineno): Likewise.
2478 * write.h (struct reloc_list): Likewise.
2479 * input-scrub.c (as_where): Change return type to const char *.
2480 * as.h (as_wheree): Adjust.
2481
8ecb73dd
L
24822016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2483
2484 * write.c (compress_debug): Move BFD compression bits setting
2485 to ...
2486 (write_object_file): Here.
2487
200cbe0f
L
24882016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2489
2490 * config/tc-i386.c (register_number): Check RegVRex.
2491 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2492 with %zmm19 and %zmm3.
2493 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2494 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2495
b8ec4e87
JW
24962016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2497 Jiong Wang <jiong.wang@arm.com>
2498
2499 * config/tc-arm.c (arm_ext_fp16): New.
2500 (arm_extensions): New entry for "fp16".
2501
3be64886
NC
25022016-02-19 Nick Clifton <nickc@redhat.com>
2503
2504 PR 19630
2505 * read.c (read_a_source_file): Check for assemble_one returning
2506 with input_line_pointer set to NULL.
2507
3b4dbbbf 25082016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
cd0bbe6e 2509
3d13c647
TS
2510 * listing.c (rebuffer_line): Change return type to void.
2511
cd0bbe6e
TS
2512 * symbols.c (decode_local_label_name): Make type a const char *.
2513 * listing.c (print_source): Make type of p const char *.
2514 (print_line): Make type of string const char *.
2515 (buffer_line): Return const char *.
2516 (title): Make type const char *.
2517 (subtitle): Likewise.
2518 (listing_listing): Make type of p const char *.
2519 * messages.c (as_internal_value_out_of_range): Make type of prefix
2520 const char *.
2521 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2522 and string const char *.
2523 * read.c (_bfd_rel): Make type of name const char *.
2524 * app.c (out_string): Change type to const char *.
abe051ba 2525 (struct app_save::out_string): Likewise.
cd0bbe6e 2526
9136aa49
DG
25272016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2528 Nick Clifton <nickc@redhat.com>
2529
2530 * read.c (finish_bundle): Avoid recording a negative alignment.
2531 (do_align): Use unsigned values for n, len and max. Only create
2532 a frag if the alignment requirement is greater than the minimum
2533 byte alignment. Avoid recording a negative alignment.
2534 (s_align): Use unsigned values where appropriate.
2535 (bss_alloc): Use an unsigned value for the alignment.
2536 (sizeof_sleb128): Add a comment noting that we encode one octet
2537 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2538 (emit_leb129_expr): Abort if the emitted encoding was longer than
2539 expected.
2540 * read.h (output_leb128): Update prototype.
2541 (sizeof_leb128): Update prototype.
2542 (bss_alloc): Update prototype.
2543 * write.c (record_alignment): Use an unsigned value for the
2544 alignment. Do not record alignments less than the minimum
2545 alignment for a byte.
2546 * write.h (record_alignment): Update prototype.
2547
4111950f
MF
25482016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2549
2550 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2551 .init.literal/.fini.literal section name.
2552 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2553 list of xtensa tests.
2554 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2555 init-fini-literals test result patterns.
2556 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2557 init-fini-literals test.
2558
b27c40ec
NC
25592016-02-17 Nick Clifton <nickc@redhat.com>
2560
2561 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2562 devices.csv file as of March 2016.
2563
726c18e1
CZ
25642016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2565
2566 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2567 function.
2568 (tc_arc_regname_to_dw2regnum): Likewise.
2569 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2570 (tc_cfi_frame_initial_instructions): Likewise.
2571 (tc_regname_to_dw2regnum): Likewise.
5dafb246
AM
2572 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2573 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2574 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
726c18e1 2575
9406ee73
TS
25762016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2577
2578 * doc/internals.texi (S_IS_EXTERN): Remove.
2579
eda683bb
NC
25802016-02-16 Nick Clifton <nickc@redhat.com>
2581
2582 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2583 update.
2584
671eeb28
RL
25852016-02-16 Renlin Li <renlin.li@arm.com>
2586
2587 PR gas/19620
2588 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2589 * testsuite/gas/aarch64/movw_label.d: New.
2590 * testsuite/gas/aarch64/movw_label.s: New.
2591
804021fb 25922016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
6439ea1a 2593
58cda018 2594 PR gas/19556
6439ea1a
VK
2595 * config/rx-parse.y (MOV): Opcode generation for index
2596 register addressing mode.
2597 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2598 * testsuite/gas/rx/pr19665.s: New file.
2599 * testsuite/gas/rx/pr19665.s: New file.
2600 * testsuite/gas/rx/mov.d: Update expected output.
2601
804021fb 26022016-02-15 Nick Clifton <nickc@redhat.com>
9fb71ee4
NC
2603
2604 * doc/as.texinfo (.section): Document that numeric values can now
2605 be used for the flags and type fields of the ELF target's .section
2606 directive. Add notes about the restrictions on setting flags and
2607 types.
2608 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2609 to be given processor specific section types. Allow processor and
2610 application specific flags of a section to be set after
2611 definition.
2612 (obj_elf_parse_section_letters): Handle parsing numeric values.
2613 (obj_elf_section_type): Handle parsing numeric values.
2614 (obj_elf_section): Allow numeric type values.
2615 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2616 * testsuite/gas/elf/section10.d: New test.
2617 * testsuite/gas/elf/section10.s: Source file for new test.
2618 * testsuite/gas/elf/elf.exp: Run the new test.
2619 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2620 the description of the flags produced by readelf.
2621 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2622 * NEWS: Mention the new feature.
2623
bd5608dc
NC
26242016-02-11 Nick Clifton <nickc@redhat.com>
2625
2626 PR gas/19614
2627 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2628 until it is actually used.
2629 (cfi_set_sections): Set cfi_sections_set to true.
2630 (dot_cfi_startproc): Likewise.
2631 (dot_cfi_endproc): Likewise.
2632 (dot_cfi_fde_data): Likewise.
2633 (cfi_finish): Likewise.
2634 (dot_cfi_sections): Do not set cfi_sections_set.
2635 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2636 their own cfi section name. Also note that the directive can be
2637 reissued provided that CFI generation has not started.
2638 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2639 .cfi_endproc directives so that the redefinition of .cfi_sections
2640 will trigger the generation of the error message.
2641 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2642 number of error message.
2643
4670103e
CZ
26442016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2645 Janek van Oirschot <jvanoirs@synopsys.com>
2646
2647 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2648 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2649 Define.
2650 (arc_flags, arc_relax_type): New structure.
2651 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2652 (RELAX_TABLE_ENTRY_MAX): New define.
2653 (relaxation_state, md_relax_table, arc_relaxable_insns)
2654 (arc_num_relaxable_ins): New variable.
2655 (rlx_operand_type, arc_rlx_types): New enums.
2656 (arc_relaxable_ins): New structure.
2657 (OPTION_RELAX): New option.
2658 (arc_insn): New relax member.
2659 (arc_flags): Remove.
2660 (relax_insn_p): New function.
2661 (apply_fixups): Likewise.
2662 (relaxable_operand): Likewise.
2663 (may_relax_expr): Likewise.
2664 (relaxable_flag): Likewise.
2665 (arc_pcrel_adjust): Likewise.
2666 (md_estimate_size_before_relax): Implement.
2667 (md_convert_frag): Likewise.
2668 (md_parse_option): Handle new mrelax option.
2669 (md_show_usage): Likewise.
2670 (assemble_insn): Set relax member.
2671 (emit_insn0): New function.
2672 (emit_insn1): Likewise.
2673 (emit_insn): Handle relaxation case.
2674 * NEWS: Mention the new relaxation option.
2675 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2676 * doc/as.texinfo (Target ARC Options): Likewise.
2677 * testsuite/gas/arc/relax-avoid1.d: New file.
2678 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2679 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2680 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2681 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2682 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2683 * testsuite/gas/arc/relax-b.d: Likewise.
2684 * testsuite/gas/arc/relax-b.s: Likewise.
2685
9264d325
NC
26862016-02-08 Nick Clifton <nickc@redhat.com>
2687
2688 * config/tc-ia64.c (dot_prologue): Fix formatting.
2689
39306124
NC
26902016-02-04 Nick Clifton <nickc@redhat.com>
2691
2692 * config/obj-elf.c (obj_elf_change_section): Remove support for
2693 ARM NOREAD sections.
2694 * config/tc-arm.c (arm_elf_section_letter): Delete.
2695 * config/tc-arm.h (md_elf_section_letter): Delete.
2696 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2697 * testsuite/gas/arm/section-execute-only.d: Delete.
2698 * testsuite/gas/arm/section-execute-only.s: Delete.
2699
c1d9289f
NC
27002016-02-04 Nick Clifton <nickc@redhat.com>
2701
2702 PR target/19561
2703 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2704 to handle encoding of RRUX instruction.
2705 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2706 shift instructions.
2707 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2708
ea173078
MF
27092016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2710
2711 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2712 substitutions for BFD_RELOC_* as unsigned.
c1d9289f
NC
2713 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2714 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2715 * testsuite/gas/xtensa/loc.s: New file: loc test.
ea173078 2716
3d8efabf
KB
27172016-02-03 Kevin Buettner <kevinb@redhat.com>
2718
abe051ba 2719 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3d8efabf 2720
0cb4071e
L
27212016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2722
2723 PR gas/19520
2724 * NEWS: Mention new command line option -mrelax-relocations and
2725 new configure option --enable-x86-relax-relocations for x86
2726 target.
2727 * config.in: Regenerated.
2728 * configure.ac: Add --enable-x86-relax-relocations.
2729 (ac_default_x86_relax_relocations): New. Default to 1 except
2730 for x86 Solaris targets older than Solaris 12.
2731 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2732 * configure: Likewise.
2733 * config/tc-i386.c (generate_relax_relocations): New.
2734 (OPTION_MRELAX_RELOCATIONS): Likewise.
2735 (output_disp): Don't generate relax relocations if
2736 generate_relax_relocations is 0.
2737 (md_longopts): Add -mrelax-relocations.
2738 (md_show_usage): Likewise.
2739 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2740 * doc/c-i386.texi: Document -mrelax-relocations=.
2741 * testsuite/gas/i386/got-no-relax.d: New file.
2742 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2743 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2744 * testsuite/gas/i386/localpic.d: Likewise.
2745 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2746 * testsuite/gas/i386/reloc32.d: Likewise.
2747 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2748 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2749 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2750 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2751 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2752 x86-64-gotpcrel-no-relax.
2753
9d3fc4e1
L
27542016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2755
2756 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2757 for x86 target.
2758
ab71ce86
L
27592016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2760
2761 * NEWS: Remove duplicated marker for 2.26.
2762
46d70d04
RL
27632016-02-02 Renlin Li <renlin.li@arm.com>
2764
2765 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2766
0f99255d
AB
27672016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2768
2769 * testsuite/gas/ip2k/allinsn.d: New file.
2770 * testsuite/gas/ip2k/allinsn.s: New file.
2771 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2772
5d7a9011
AB
27732016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2774
2775 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2776 some load instructions.
2777 * testsuite/gas/epiphany/allinsn.d: Likewise.
2778 * testsuite/gas/epiphany/regression.d: Likewise.
2779
a012b298
AB
27802016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2781
2782 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2783 suffixes from instruction mnemonics in expected output.
2784 * testsuite/gas/epiphany/allinsn.d: Likewise.
2785 * testsuite/gas/epiphany/regression.d: Likewise.
2786 * testsuite/gas/epiphany/sample.d: Likewise.
2787
2f74d480
AB
27882016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2789
2790 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2791 names.
2792 * testsuite/gas/epiphany/allinsn.d: Likewise.
2793 * testsuite/gas/epiphany/sample.d: Likewise.
2794
b89807c6
AB
27952016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2796
2797 * testsuite/gas/epiphany/sample.d: Update expected output.
2798
b125bd17
CZ
27992016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2800
abe051ba
AM
2801 * config/tc-arc.c (md_apply_fix): Allow addendum.
2802 (arc_reloc_op): Allow complex expressions for tpoff.
2803 (md_apply_fix): Handle resolved TLS local symbol.
b125bd17
CZ
2804 * testsuite/gas/arc/tls-relocs1.d: New file.
2805 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2806
4f1d6205
L
28072016-02-01 Loria <Loria@phantasia.org>
2808
2809 PR target/19311
2810 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2811 efficiency and avoid an LLVM loop optimization bug.
2812
ac0d427f
NC
28132016-02-01 Nick Clifton <nickc@redhat.com>
2814
2815 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2816 message extending a negative 32-bit value into a larger signed
2817 value on a 32-bit host.
2818
348ef89a
L
28192016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2820
2821 PR gas/19532
2822 * configure.ac (compressed_debug_sections): Replace == with =.
2823 * configure: Regenerated.
2824
e4e00185
AS
28252016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2826 H.J. Lu <hongjiu.lu@intel.com>
2827
2828 * config/tc-i386.c (avoid_fence): New.
2829 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2830 is true.
2831 (OPTION_FENCE_AS_LOCK_ADD): New.
2832 (md_longopts): Add -mfence-as-lock-add.
2833 (md_parse_option): Handle -mfence-as-lock-add.
2834 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2835 * doc/c-i386.texi (-mfence-as-lock-add): Document.
ac2789d7
L
2836 * testsuite/gas/i386/i386.exp: Run new tests.
2837 * testsuite/gas/i386/fence-as-lock-add.s: New.
2838 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2839 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2840 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2841 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
e4e00185 2842
27ba7c94
L
28432016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2844
2845 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2846 * configure: Regenerated.
2847
d1982f93
L
28482016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2849
2850 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2851 (OPTION_MOMIT_LOCK_PREFIX): This.
2852 (md_longopts): Updated.
2853 (md_parse_option): Likewise.
2854
00acd688
CM
28552016-01-25 Catherine Moore <clm@codesourcery.com>
2856
2857 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2858 if abicalls are in effect.
2859 * testsuite/gas/mips/sdata-gp.s: New test.
2860 * testsuite/gas/mips/sdata-gp.d: New expected output
2861 * testsuite/gas/mips/mips.exp: Run new test.
2862
5bc5ae88
RL
28632016-01-25 Renlin Li <renlin.li@arm.com>
2864
2865 * testsuite/gas/arm/thumb2_it_search.d: New.
2866 * testsuite/gas/arm/thumb2_it_search.s: New.
2867
61e137e2
NC
28682016-01-21 Nick Clifton <nickc@redhat.com>
2869
2870 PR gas/19454
2871 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2872 with arm-netbsdelf target.
2873 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2874
aed5fc75
NC
28752016-01-20 Nick Clifton <nickc@redhat.com>
2876
74b92a5c
NC
2877 PR 19456
2878 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2879 * testsuite/gas/arm/blx-bl-convert.d
2880 * testsuite/gas/arm/plt-1.d: Likewise.
2881 * testsuite/gas/arm/reloc-bad.d: Likewise.
2882 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2883 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2884 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2885 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2886
72e0b254
NC
2887 PR 19499
2888 * doc/as.texinfo (Errors): Correct documentation describing the
2889 interaction of .file and .line with warning and error messages.
2890
aed5fc75
NC
2891 PR 19458
2892 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2893 * testsuite/gas/arm/archv8m-main.d: Likewise.
2894 * testsuite/gas/arm/archv8m-base.d: Likewise.
2895
0bff6e2d
MW
28962016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2897
2898 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2899 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2900 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2901
91f68a68
MG
29022016-01-20 Mickael Guene <mickael.guene@st.com>
2903 Terry Guo <terry.guo@arm.com>
2904
2905 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2906 SHF_ARM_NOREAD section flag.
2907 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2908 handle letter 'y'.
2909 (arm_elf_section_letter) : Declare it.
2910 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2911 SHF_ARM_NOREAD section flag.
2912 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2913
2914 * testsuite/gas/arm/section-execute-only.s: New test case.
2915 * testsuite/gas/arm/section-execute-only.d: Expected output.
2916
100b4f2e
MR
29172016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2918
2919 * config/tc-mips.c (micromips_insn_length): Remove the mention
2920 of 48-bit microMIPS instructions.
2921
3d961d0d
AM
29222016-01-18 Alan Modra <amodra@gmail.com>
2923
2924 * configure: Regenerate.
2925
5c14705f
AM
29262016-01-17 Alan Modra <amodra@gmail.com>
2927
2928 * configure: Regenerate.
2929
b3066ae8
AM
29302016-01-17 Alan Modra <amodra@gmail.com>
2931
2932 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2933
4d82fe66
NC
29342016-01-14 Nick Clifton <nickc@redhat.com>
2935
2936 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2937 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2938 * testsuite/gas/rl78/rl78.exp: Run the new test.
2939
651657fa
MW
29402016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2941
2942 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2943 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2944
3facb0e9
MR
29452016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2946
2947 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2948
8a4c2869
YS
29492016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2950
2951 * config/tc-h8300.c (get_operand): Remove spurious condition in
2952 test for closing parenthesis.
2953
105bde57
MW
29542016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2955
2956 * config/tc-arm.c (arm_ext_v8_2): New.
2957 (insns): Add "esb".
2958 * testsuite/gas/arm/armv8_2-a.d: New.
2959 * testsuite/gas/arm/armv8_2-a.s: New.
2960
5230aa4d
AM
29612016-01-12 Alan Modra <amodra@gmail.com>
2962
2963 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2964
afa8d405
PB
29652016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2966
2967 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2968 xvcmpnesp, xvcmpnesp.>: Delete tests.
2969 * testsuite/gas/ppc/power9.s: Likewise.
2970 * testsuite/gas/ppc/vsx3.d: Likewise.
2971 * testsuite/gas/ppc/vsx3.s: Likewise.
2972
83c3256e
AS
29732016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2974
2975 PR gas/13050
2976 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2977 * testsuite/gas/m68k/p13050-1.s: New file.
2978 * testsuite/gas/m68k/p13050-2.d: New file.
2979 * testsuite/gas/m68k/p13050-2.s: New file.
2980
b05a65d0
AB
29812016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2982
2983 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2984 * testsuite/gas/arc/add.d: Likewise.
2985 * testsuite/gas/arc/and.d: Likewise.
2986 * testsuite/gas/arc/asl.d: Likewise.
2987 * testsuite/gas/arc/asr.d: Likewise.
2988 * testsuite/gas/arc/bic.d: Likewise.
2989 * testsuite/gas/arc/extb.d: Likewise.
2990 * testsuite/gas/arc/extw.d: Likewise.
2991 * testsuite/gas/arc/j.d: Likewise.
2992 * testsuite/gas/arc/jl.d: Likewise.
2993 * testsuite/gas/arc/ld2.d: Likewise.
2994 * testsuite/gas/arc/lsr.d: Likewise.
2995 * testsuite/gas/arc/mov.d: Likewise.
2996 * testsuite/gas/arc/or.d: Likewise.
2997 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2998 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2999 * testsuite/gas/arc/pic-relocs.d: Likewise.
3000 * testsuite/gas/arc/plt-relocs.d: Likewise.
3001 * testsuite/gas/arc/rlc.d: Likewise.
3002 * testsuite/gas/arc/ror.d: Likewise.
3003 * testsuite/gas/arc/rrc.d: Likewise.
3004 * testsuite/gas/arc/sbc.d: Likewise.
3005 * testsuite/gas/arc/sda-relocs.d: Likewise.
3006 * testsuite/gas/arc/sda-relocs2.d: Likewise.
3007 * testsuite/gas/arc/sexb.d: Likewise.
3008 * testsuite/gas/arc/sexw.d: Likewise.
3009 * testsuite/gas/arc/st.d: Likewise.
3010 * testsuite/gas/arc/sub.d: Likewise.
3011 * testsuite/gas/arc/tls-relocs.d: Likewise.
3012 * testsuite/gas/arc/xor.d: Likewise.
3013
6f2750fe
AM
30142016-01-01 Alan Modra <amodra@gmail.com>
3015
3016 Update year range in copyright notice of all files.
3017
3499769a
AM
3018For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3019\f
3020Copyright (C) 2016 Free Software Foundation, Inc.
3021
3022Copying and distribution of this file, with or without modification,
3023are permitted in any medium without royalty provided the copyright
3024notice and this notice are preserved.
3025
3026Local Variables:
3027mode: change-log
3028left-margin: 8
3029fill-column: 74
3030version-control: never
3031End:
This page took 0.192419 seconds and 4 git commands to generate.