MIPS/LD/testsuite: Resurrect `branch-misc-2' test
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
00437d3b
MR
12016-07-02 Maciej W. Rozycki <macro@imgtec.com>
2
3 * testsuite/gas/mips/branch-misc-2.s: Move non
4 locally-defined-global symbol tests...
5 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
6 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
7 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
8 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
9 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
10 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
11 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
12 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
13 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
14 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
15 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
16 * testsuite/gas/mips/branch-misc-5.d: New test.
17 * testsuite/gas/mips/branch-misc-5pic.d: New test.
18 * testsuite/gas/mips/branch-misc-5-64.d: New test.
19 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
20 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
21 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
22 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
23 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
24 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
25 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
26 * testsuite/gas/mips/mips.exp: Run the new tests.
27
f26c9c2e
MR
282016-07-02 Maciej W. Rozycki <macro@imgtec.com>
29
30 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
31 symbols.
32 * testsuite/gas/mips/beq.d: Update accordingly.
33 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
34 * testsuite/gas/mips/micromips@beq.d: Likewise.
35
d7f20d66
MR
362016-07-02 Maciej W. Rozycki <macro@imgtec.com>
37
38 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
39 tests to NewABI targets.
40
e51af157
MR
412016-07-02 Maciej W. Rozycki <macro@imgtec.com>
42
43 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
44 together.
45
93d8990c
SN
462016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
47
48 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
49 require field.
50 (aarch64_features): Initialize require fields.
51 (aarch64_parse_features): Handle dependencies.
52 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
53 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
54 * testsuite/gas/aarch64/illegal-nofp16.s: New.
55 * testsuite/gas/aarch64/illegal-nofp16.l: New.
56 * testsuite/gas/aarch64/illegal-nofp16.d: New.
57
98a4fc78
NC
582016-07-01 Nick Clifton <nickc@redhat.com>
59
60 * macro.c (macro_expand_body): Use a buffer big enough to hold an
61 extremely large integer.
62
248feb2f
JB
632016-07-01 Jan Beulich <jbeulich@suse.com>
64
65 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
66
96a84ea3
TG
672016-07-01 Tristan Gingold <gingold@adacore.com>
68
69 * NEWS: Add marker for 2.27.
70
8178be5b
JB
712016-07-01 Jan Beulich <jbeulich@suse.com>
72
73 * tc-i386.c (i386_index_check): Add special checks for bndmk,
74 bndldx, and bndstx.
75 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
76 as well as scaling by other than 1 tests.
77 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
78
327e8c42
JB
792016-07-01 Jan Beulich <jbeulich@suse.com>
80
81 * tc-i386.c (md_assemble): Alter address size checking for MPX
82 instructions.
83 * testsuite/gas/i386/mpx-inval-2.s: New.
84 * testsuite/gas/i386/mpx-inval-2.l: New.
85 * testsuite/gas/i386/i386.exp: Run new test.
86
83b16ac6
JB
872016-07-01 Jan Beulich <jbeulich@suse.com>
88
89 PR gas/20318
90 * config/tc-i386.c (match_template): Add char parameter,
91 consumed in Intel mode for an extra suffix check.
92 (md_assemble): New local variable mnem_suffix.
93 * testsuite/gas/i386/suffix-bad.s: New.
94 * testsuite/gas/i386/suffix-bad.l: New.
95 * testsuite/gas/i386/i386.exp: Run new test (twice).
96
c07315e0
JB
972016-07-01 Jan Beulich <jbeulich@suse.com>
98
99 * testsuite/gas/i386/movz.s: New.
100 * testsuite/gas/i386/movz32.d: New.
101 * testsuite/gas/i386/movz64.d: New.
102 * testsuite/gas/i386/i386.exp: Run new tests.
103
8325cc63
JB
1042016-07-01 Jan Beulich <jbeulich@suse.com>
105
106 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
107 (md_assemble): Free first memory operand string.
108 (i386_index_check): Use repprefixok to distingush xlat from
109 other (real) string ops.
110 (maybe_adjust_templates): New.
111 (i386_att_operand). Call it. Store first memory operand string.
112 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
113 * testsuite/gas/i386/intel-movs.s: New.
114 * testsuite/gas/i386/intel-movs32.d: New.
115 * testsuite/gas/i386/intel-movs64.d: New.
116 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
117 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
118
3b821a28
MR
1192016-06-30 Maciej W. Rozycki <macro@imgtec.com>
120
121 * config/tc-mips.c (get_append_method): Fix a comment typo.
122
99e7978b
MF
1232016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
124 Maciej W. Rozycki <macro@imgtec.com>
125
126 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
127 case MIPS16 handling.
128 * testsuite/gas/mips/branch-swap-3.d: New test.
129 * testsuite/gas/mips/branch-swap-4.d: New test.
130 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
131 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
132 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
133 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
134 * testsuite/gas/mips/branch-swap-3.s: New test source.
135 * testsuite/gas/mips/mips.exp: Run the new tests.
136
5e35670b
MR
1372016-06-30 Maciej W. Rozycki <macro@imgtec.com>
138
139 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
140 swapping sequence.
141
93a24ba7
MR
1422016-06-30 Maciej W. Rozycki <macro@imgtec.com>
143
144 PR gas/20312
145 * write.c (subsegs_finish_section): Force no section padding to
146 alignment on failed assembly, always set last frag's alignment
147 from section.
148 * testsuite/gas/all/pr20312.l: New list test.
149 * testsuite/gas/all/pr20312.s: New test source.
150 * testsuite/gas/all/gas.exp: Run the new test
151
8d6f5ac3
AB
1522016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
153
154 * config.in (TARGET_WITH_CPU): Undefine.
155 * configure.ac: Add --with-cpu support, and define in config.h.
156 * configure: Regenerate.
157 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
158 * NEWS: Mention new configure option.
159
534dbe46
MW
1602016-06-30 Matthew Wahab <matthew.wahab@arm.com>
161
162 * testsuite/gas/arm/armv8_2+rdma.d: New.
163
4e3e1fdf
L
1642016-06-29 H.J. Lu <hongjiu.lu@intel.com>
165
166 * NEWS: Mention --enable-compressed-debug-sections=gas is the
167 default for Linux/x86 targets.
168 * configure.tgt (ac_default_compressed_debug_sections): Default
169 to yes for Linux/x86 targets.
170
6d44f09a
MR
1712016-06-29 Maciej W. Rozycki <macro@imgtec.com>
172
173 * write.c: Remove "libbfd.h" inclusion.
174
eb9bb5b4
MR
1752016-06-28 Maciej W. Rozycki <macro@imgtec.com>
176
177 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
178 `type' test.
179
d48796b5
AM
1802016-06-28 Alan Modra <amodra@gmail.com>
181
182 PR gas/20247
183 * testsuite/gas/elf/section11.s: Don't start directives in first column.
184
dab26bf4
RS
1852016-06-28 Richard Sandiford <richard.sandiford@arm.com>
186
187 * testsuite/gas/aarch64/diagnostic.s,
188 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
189
c9775dde
MR
1902016-06-28 Maciej W. Rozycki <macro@imgtec.com>
191
192 * config/tc-mips.c (mips16_reloc_p): Handle
193 BFD_RELOC_MIPS16_16_PCREL_S1.
194 (b_reloc_p): Likewise.
195 (limited_pcrel_reloc_p): Likewise.
196 (md_pcrel_from): Likewise.
197 (md_apply_fix): Likewise.
198 (tc_gen_reloc): Likewise.
199 (md_convert_frag): Likewise.
200 (mips_fix_adjustable): Update comment.
201 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
202 output, add dump patterns.
203 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
204 output, add dump patterns.
205 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
206 output, add dump patterns.
207 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
208 output, add dump patterns.
209 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
210 output, add dump patterns.
211 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
212 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
213 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
214 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
215 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
216 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
217 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
218 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
219 * testsuite/gas/mips/branch-weak-6.d: New test.
220 * testsuite/gas/mips/branch-weak-7.d: New test.
221 * testsuite/gas/mips/mips.exp: Run the new tests.
222
45a54ee5
VG
2232016-06-27 Vineet Gupta <vgupta@synopsys.com>
224
225 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
226 cfi_add_CFA_def_cfa to generate default CFA with offset
227 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
228
95daf210
NC
2292016-06-27 Nick Clifton <nickc@redhat.com>
230
231 PR gas/20247
232 * as.h (do_not_pad_sections_to_alignment): New global variable.
233 * as.c (show_usage): Add --no-pad-sections.
234 (parse_args): Likewise.
235 * write.c (size_seg): Skip padding the end of the section if
236 requested from the command line.
237 (SUB_SEGMENT_ALIGN): Likewise.
238 * doc/as.texinfo: Document the new option.
239 * NEWS: Mention the new feature.
240 * testsuite/gas/elf/section11.s: New test.
241 * testsuite/gas/elf/section11.d: New test driver.
242 * testsuite/gas/elf/elf.exp: Run the new test.
243
3cd72572
TS
2442016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
245
246 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
247 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
248
e066bf5f
TS
2492016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
250
251 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
252 sentinal element.
253 (map_suffix_reloc_to_operator): Likewise.
254 (map_operator_to_reloc): Likewise.
255
0708347f
TS
2562016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
257
258 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
259 element in relax_table.
260
8a0b252a
TS
2612016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
262
263 * config/tc-aarch64.c: Make the type of reg_entry::type
264 aarch_reg_type.
265
5703197e
TS
2662016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
267
268 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
269 (md_parse_option): Adjust.
270 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
271 with iteration from 0 to ARRAY_SIZE.
272 * config/tc-mcore.c (md_begin): Likewise.
273 * config/tc-visium.c (visium_parse_arch): Likewise.
274
4b92e388
TS
2752016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
276
277 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
278 and simplify accordingly.
279 (tic54x_include): Adjust.
280 (tic54x_mlib): Likewise.
281
7c2c4aa1
TS
2822016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
283
284 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
285
88a7ef16
MR
2862016-06-24 Maciej W. Rozycki <macro@imgtec.com>
287
288 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
289 unchanged with relaxed MIPS16 instructions.
290 (mips16_extended_frag): Adjust accordingly. Return 1 right
291 away if a relocation will be required for the symbol requested.
292 Remove dead first relaxation pass code.
293 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
294 (md_convert_frag): Adjust symbol value calculation. Raise an
295 error if a relocation is required for the symbol requested.
296 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
297 add error output.
298 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
299 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
300 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
301 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
302 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
303 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
304 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
305 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
306 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
307 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
308 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
309 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
310 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
311 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
312 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
313 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
314 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
315 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
316 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
317 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
318 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
319 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
320 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
321 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
322 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
323 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
324 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
325 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
326 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
327 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
328 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
329 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
330 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
331 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
332 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
333 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
334 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
335 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
336 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
337 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
338 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
339 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
340 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
341 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
342 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
343 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
344 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
345 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
346 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
347 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
348 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
349 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
350 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
351 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
352 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
353 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
354 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
355 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
356 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
357 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
358 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
359 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
360 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
361 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
362 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
363 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
364 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
365 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
366 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
367 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
368 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
369 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
370 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
371 * testsuite/gas/mips/mips.exp: Run the new tests.
372
5c0ff163
AM
3732016-06-24 Alan Modra <amodra@gmail.com>
374
375 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
376
0e9c5a5c
MR
3772016-06-23 Maciej W. Rozycki <macro@imgtec.com>
378
379 * config/tc-mips.c (b_reloc_p): New function.
380 (mips_fix_adjustable): Also keep the original microMIPS symbol
381 referred from branch relocations.
382 * testsuite/gas/mips/branch-local-1.d: New test.
383 * testsuite/gas/mips/branch-local-n32-1.d: New test.
384 * testsuite/gas/mips/branch-local-n64-1.d: New test.
385 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
386 relocations.
387 * testsuite/gas/mips/branch-local-1.s: New test source.
388 * testsuite/gas/mips/mips.exp: Run the new cases.
389
ce440d63
GM
3902016-06-23 Graham Markall <graham.markall@embecosm.com>
391
392 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
393 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
394 options. Correct erroneous enabling of SPFP instructions when
395 using -mnps400.
396
6fd3a02d
PB
3972016-06-22 Peter Bergner <bergner@vnet.ibm.com>
398
399 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
400 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
401 setbool, xor3>: New tests.
402 * testsuite/gas/ppc/power9.s: Likewise.
403
b0b79343
TS
4042016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
405
406 * config/tc-xtensa.c: Include elf/xtensa.h.
407
8cec2cfe
MR
4082016-06-21 Maciej W. Rozycki <macro@imgtec.com>
409
410 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
411 <BFD_RELOC_LO16_PCREL>: New switch cases.
412 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
413 Move switch cases along `BFD_RELOC_MIPS_JMP'.
414 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
415 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
416 the resolved case.
417 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
418 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
419 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
420 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
421 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
422 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
423 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
424 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
425 * testsuite/gas/mips/mips.exp: Run the new tests.
426
717ba204
MR
4272016-06-21 Maciej W. Rozycki <macro@imgtec.com>
428
429 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
430 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
431 via `fixP->fx_addsy'.
432
51f6035b
MR
4332016-06-21 Maciej W. Rozycki <macro@imgtec.com>
434
435 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
436 Calculate relocation from the containing aligned doubleword.
437 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
438 addend from the containing aligned doubleword.
439
912815f0
MR
4402016-06-21 Maciej W. Rozycki <macro@imgtec.com>
441
442 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
443 rather than `mips_opts' for the R6 ISA check.
444 (mips_fix_adjustable): Likewise.
445 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
446 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
447 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
448 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
449 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
450 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
451 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
452 * testsuite/gas/mips/mips.exp: Run the new tests.
453
bdd582db
GM
4542016-06-21 Graham Markall <graham.markall@embecosm.com>
455
456 * config/tc-arc.c (check_cpu_feature, md_parse_option):
457 Add nps400 option and feature. Add check for nps400
458 feature. Refactor existing checks to check subclass before
459 feature enablement.
460 (md_show_usage): Document flags for NPS-400 and add some other
461 undocumented flags.
462 (cpu_type): Remove nps400 CPU type entry
463 (check_zol): Remove bfd_mach_arc_nps400 case.
464 (md_show_usage): Add help on -mcpu=nps400.
465 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
466 set.
467 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
468 -fpuda flags. Document -mcpu=nps400.
469 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
470 expected flags to match ARC700 instead of NPS400.
471 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
472 * testsuite/gas/arc/nps-400-2.d: Likewise.
473 * testsuite/gas/arc/nps-400-3.d: Likewise.
474 * testsuite/gas/arc/nps-400-4.d: Likewise.
475 * testsuite/gas/arc/nps-400-5.d: Likewise.
476 * testsuite/gas/arc/nps-400-6.d: Likewise.
477 * testsuite/gas/arc/nps-400-7.d: Likewise.
478 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
479 avoid clash with cbba instruction.
480 * testsuite/gas/arc/textinsn2op01.d: Likewise.
481 * testsuite/gas/arc/textinsn3op.d: Likewise.
482 * testsuite/gas/arc/textinsn3op.s: Likewise.
483 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
484 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
485
ff03d62a
MR
4862016-06-20 Maciej W. Rozycki <macro@imgtec.com>
487
488 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
489 * testsuite/gas/mips/r6-64-n64.d: Likewise.
490
507dcb32
MR
4912016-06-20 Maciej W. Rozycki <macro@imgtec.com>
492
493 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
494 reloc conversion.
495
9f99c22e
VP
4962016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
497
498 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
499
96074adc
JM
5002016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
501
502 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
503 %hmcddfr and %hva_mask_nz.
504 (sparc_ip): New handling of asr/privileged/hyperprivileged
505 registers, adapted to the new form of the sparc opcodes table.
506 * testsuite/gas/sparc/rdasr.s: New file.
507 * testsuite/gas/sparc/rdasr.d: Likewise.
508 * testsuite/gas/sparc/wrasr.s: Likewise.
509 * testsuite/gas/sparc/wrasr.d: Likewise.
510 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
511 wrasr tests.
512 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
513 registers require it.
514 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
515 registers and write instruction modalities.
516 * testsuite/gas/sparc/wrpr.d: Likewise.
517 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
518 registers.
519 * testsuite/gas/sparc/rdhpr.d: Likewise.
520 * testsuite/gas/sparc/wrhpr.s: Likewise.
521 * testsuite/gas/sparc/wrhpr.d: Likewise.
522
7a10c22f
JM
5232016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
524
525 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
526 architectures to use the right opcode architecture.
527 (sparc_md_end): Handle v9{c,d,e,v,m}.
528 (sparc_ip): Fix some comments.
529 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
530 instruction, which is v9d.
531 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
532 instruction from the test, as %mwait is not readable.
533 * testsuite/gas/sparc/mwait.d: Likewise.
534 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
535 mismatch architecture errors.
536 * testsuite/gas/sparc/mism-2.s: New file.
537
8b8c7c9f
JM
5382016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
539
540 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
541 empty string to mark the end of the array.
542 (hpriv_reg_table): Likewise.
543 (v9a_asr_table): Likewise.
544 (cmp_reg_entry): Handle entries with NULL names.
545 (F_POP_V9): Define.
546 (F_POP_PCREL): Likewise.
547 (F_POP_TLS_CALL): Likewise.
548 (F_POP_POSTFIX): Likewise.
549 (struct pop_entry): New type.
550 (pop_table): New variable.
551 (enum pop_entry_type): New type.
552 (struct perc_entry): Likewise.
553 (NUM_PERC_ENTRIES): Define.
554 (perc_table): New variable.
555 (cmp_perc_entry): New function.
556 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
557 perc_table.
558 (sparc_ip): Handle entries with NULL names in priv_reg_table,
559 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
560 %-pseudo-ops.
561
3ee6e4fb
NC
5622016-06-15 Nick Clifton <nickc@redhat.com>
563
564 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
565 instruction size.
566 * config/tc-mcore.c (md_assemble): Likewise.
567 * config/tc-mn10200.c (md_assemble): Likewise.
568 * config/tc-moxie.c (md_assemble): Likewise.
569 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
570 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
571 exception targets. Add alpha, hppa, microblaze and rl78 to list
572 of exceptions.
573 (forward): Add microblaze to list of exceptions.
574 (fwdexp): Add alpha to list of exceptions.
575 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
576 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
577 (do_930509a): Alpha sort list of exception targets. Add h8300 and
578 mn10200 to list of exceptions.
579 (align2): Expect to fail for nds32.
580 (cond): Add alpha and rl78 to list of exceptions.
581 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
582 * testsuite/gas/all/string.d: Skip for tic4x.
583 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
584 target does not support ELF.
585 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
586 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
587 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
588 tests for sh-pe and sh-rtemscoff targets.
589 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
590 list of exceptions.
591 (type): Run the noifunc version for alpha-freebsd and visium.
592 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
593 mn10200 or moxie targets.
594 * testsuite/gas/ft32/insn.d: Update expected disassembly.
595 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
596 targets.
597 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
598 mcore and rx targets.
599 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
600 rl78 and vax.
601 (purge): Expect to fail on the ns32k and vax.
602 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
603 * testsuite/gas/nds32/ls.d: Likewise.
604 * testsuite/gas/nds32/sys-reg.d: Likewise.
605 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
606 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
607 * testsuite/gas/pe/section-align-3.d: Likewise.
608 * testsuite/gas/pe/section-exclude.d: Likewise.
609 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
610 data has been seen.
611 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
612 for variations in whitespace.
613 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
614 data has been seen.
615 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
616 Installs a 32-bit value without generating warnings on 64-bit
617 hosts.
618 Use the new macro to replace the .word directives.
619
02f3be19
AB
6202016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
621
622 * testsuite/gas/arc/add_s.d: New file.
623 * testsuite/gas/arc/add_s.s: New file.
624
6f9f37ed 6252016-06-14 Graham Markall <graham.markall@embecosm.com>
28215275
GM
626
627 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
628 * testsuite/gas/arc/nps400-6.d: Likewise.
629
6f9f37ed 6302016-06-14 Graham Markall <graham.markall@embecosm.com>
9ba75c88
GM
631
632 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
633 addf.
634 * testsuite/gas/arc/nps400-6.d: Likewise.
635
6f9f37ed 6362016-06-14 Graham Markall <graham.markall@embecosm.com>
14053c19
GM
637
638 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
639 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
640 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
641 * testsuite/gas/arc/nps400-6.d: Likewise.
642
d2dfe54d
NC
6432016-06-14 Nick Clifton <nickc@redhat.com>
644
645 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
646 signed constant.
647
97f50151
MR
6482016-06-13 Maciej W. Rozycki <macro@imgtec.com>
649
650 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
651 JALR relocations on R6.
652 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
653 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
654 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
655 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
656 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
657 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
658 test.
659 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
660 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
661 test.
662 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
663 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
664 source.
665 * testsuite/gas/mips/mips.exp: Run the new tests.
666
0a8be2fe
VP
6672016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
668
669 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
670 * doc/c-aarch64.texi: Document that vulcan is a valid processor
671 name.
672
69c9e028
NC
6732016-06-13 Nick Clifton <nickc@redhat.com>
674
675 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
676 that are not supported.
677
678 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
679 constant.
680 * config/tc-cr16.c (check_range): Likewise.
681 * config/tc-nios2.c (nios2_check_overflow): Likewise.
682
08d3b0cc
RL
6832016-06-08 Renlin Li <renlin.li@arm.com>
684
685 * config/tc-aarch64.c (print_operands): Substitute size.
686 (output_operand_error_record): Likewise.
687
14b57c7c
AM
6882016-06-07 Alan Modra <amodra@gmail.com>
689
690 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
691 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
692 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
693 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
694 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
695 add vle_opcodes twice.
696 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
697
4d1464f2
MW
6982016-06-07 Matthew Wahab <matthew.wahab@arm.com>
699
700 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
701 (arm_ext_ras): Renamed from arm_ext_v8_2.
702 (insns): Update for arm_ext_v8_2 renaming.
703 (arm_extensions): Add "ras".
704 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
705 * testsuite/gas/arm/armv8-a+ras.d: New.
706 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
707 options.
708
852a1d49
TS
7092016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
710
711 * itbl-parse.y (yyerror): Use modern argument declaration style.
712
c4212e11
TS
7132016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
714
715 * config/tc-sh.c (parse_reg): Change type of mode argument to
716 sh_arg_type.
717 (get_operand): Adjust.
718 (insert): Change type of how to bfd_reloc_code_real_type.
719 (insert4): Likewise.
720 * config/tc-sh64.c (shmedia_get_operand): Adjust.
721 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
722
73a229c7
TS
7232016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
724
725 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
726 const char *.
727
026122a6
PB
7282016-06-03 Peter Bergner <bergner@vnet.ibm.com>
729
730 PR binutils/20196
731 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
732 stbcx., sthcx., stwcx., stdcx.>: Add tests.
733 * gas/testsuite/gas/ppc/e6500.d: Likewise.
734 * gas/testsuite/gas/ppc/power8.s: Likewise.
735 * gas/testsuite/gas/ppc/power8.d: Likewise.
736 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
737 stdcx.>: Add tests.
738 * gas/testsuite/gas/ppc/power4.d: Likewise.
739
07f5af7d
L
7402016-06-03 H.J. Lu <hongjiu.lu@intel.com>
741
742 PR binutis/18386
743 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
744 * testsuite/gas/i386/x86-64-branch.d: Updated.
745 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
746 * testsuite/gas/i386/x86-64-branch-4.l: New file.
747 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
748
1aa70332
KT
7492016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
750
751 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
752 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
753
362a3eba
KT
7542016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
755
756 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
757 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
758
4ad0bb5f
VG
7592016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
760
761 * configure.tgt: Replace -uclibc with *.
762
4eb6f892
AB
7632016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
764
765 * config/tc-arc.c (parse_opcode_flags): New function.
766 (find_opcode_match): Move flag parsing code out to new function.
767 Ignore operands marked IGNORE.
768 (build_fake_opcode_hash_entry): New function.
769 (find_special_case_long_opcode): New function.
770 (find_special_case): Lookup long opcodes.
771 * testsuite/gas/arc/nps400-7.d: New file.
772 * testsuite/gas/arc/nps400-7.s: New file.
773
c273521c
TS
7742016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
775
776 * config/tc-ns32k.c: Remove definition of input_line_pointer.
777
814f1489
TS
7782016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
779
780 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
781 sentinal with iteration to array size.
782
d05584d3
TS
7832016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
784
785 * config/xtensa-relax.h: Move typedefs of enums to the enums
786 definition.
787
5e429f4c
TS
7882016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
789
790 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
791 macro.
792
315f180f
GM
7932016-06-01 Graham Markall <graham.markall@embecosm.com>
794
795 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
796 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
797 * testsuite/gas/arc/nps-400-1.d: Likewise.
798
0cbd0046
L
7992016-05-29 H.J. Lu <hongjiu.lu@intel.com>
800
801 PR gas/20145
802 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
803 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
804 noavx512ifma and noavx512vbmi.
805 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
806 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
807 and noavx512vbmi.
808 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
809 * testsuite/gas/i386/noavx512-1.l: New file.
810 * testsuite/gas/i386/noavx512-1.s: Likewise.
811 * testsuite/gas/i386/noavx512-2.l: Likewise.
812 * testsuite/gas/i386/noavx512-2.s: Likewise.
813
1848e567
L
8142016-05-27 H.J. Lu <hongjiu.lu@intel.com>
815
816 PR gas/20145
817 * config/tc-i386.c (cpu_arch): Add 687.
818 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
819 nosse4.1, nosse4.2, nosse4 and noavx2.
820 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
821 register. Check cpuregxmm instead of cpusse for XMM register.
822 Check cpuregymm instead of cpuavx for YMM register. Check
823 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
824 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
825 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
826 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
827 * testsuite/gas/i386/arch-10.d (as): Likewise.
828 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
829 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
830 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
831 and noavx-4.
832 * testsuite/gas/i386/no87-3.l: New file.
833 * testsuite/gas/i386/no87-3.s: Likewise.
834 * testsuite/gas/i386/noavx-3.l: Likewise.
835 * testsuite/gas/i386/noavx-3.s: Likewise.
836 * testsuite/gas/i386/noavx-4.d: Likewise.
837 * testsuite/gas/i386/noavx-4.s: Likewise.
838 * testsuite/gas/i386/nosse-4.l: Likewise.
839 * testsuite/gas/i386/nosse-4.s: Likewise.
840 * testsuite/gas/i386/nosse-5.d: Likewise.
841 * testsuite/gas/i386/nosse-5.s: Likewise.
842
e92bae62
L
8432016-05-27 H.J. Lu <hongjiu.lu@intel.com>
844
845 PR gas/20154
846 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
847 cpuintel64.
848 (match_template): Check Intel64/AMD64 ISA.
849
e89c5eaa
L
8502016-05-27 H.J. Lu <hongjiu.lu@intel.com>
851
852 PR gas/20154
853 * config/tc-i386.c (intel64): New.
854 (cpu_flags_match): Set cpuamd64 and cpuintel64.
855 (md_parse_option): Set intel64 instead of cpuamd64 and
856 cpuintel64.
857
9d07ebe1
L
8582016-05-27 H.J. Lu <hongjiu.lu@intel.com>
859
860 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
861 cpuno64.
862
19dfcc89
PB
8632016-05-26 Peter Bergner <bergner@vnet.ibm.com>
864
865 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
866 * testsuite/gas/ppc/altivec3.s: Likewise.
867 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
868 * testsuite/gas/ppc/power9.s: Likewise.
869
8d5b9a5a
L
8702016-05-26 H.J. Lu <hongjiu.lu@intel.com>
871
872 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
873 * testsuite/gas/i386/noavx-1.l: Likewise.
874 * testsuite/gas/i386/nommx-1.l: Likewise.
875 * testsuite/gas/i386/nosse-1.l: Likewise.
876 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
877 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
878 * testsuite/gas/i386/noavx-1.s: Likewise.
879 * testsuite/gas/i386/nommx-1.s: Likewise.
880 * testsuite/gas/i386/nosse-1.s: Likewise.
881 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
882
81cead6f
TS
8832016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
884
885 * config/tc-metag.c (metag_handle_align): Make the type of noop
886 unsigned char.
887
79052aae
TS
8882016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
889
890 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
891 bfd_reloc_code_real_type.
892
73b090a9
L
8932016-05-25 H.J. Lu <hongjiu.lu@intel.com>
894
895 PR gas/20140
896 * config/tc-i386.c (cpu_flags_match): Require another match
897 for AVX512VL.
898 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
899 x86-64-avx512vl-1 and x86-64-avx512vl-2.
900 * testsuite/gas/i386/avx512vl-1.l: New file.
901 * testsuite/gas/i386/avx512vl-1.s: Likewise.
902 * testsuite/gas/i386/avx512vl-2.l: Likewise.
903 * testsuite/gas/i386/avx512vl-2.s: Likewise.
904 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
905 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
906 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
907 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
908
f1360d58
L
9092016-05-25 H.J. Lu <hongjiu.lu@intel.com>
910
911 PR gas/20141
912 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
913 * testsuite/gas/i386/x86-64-pr20141.d: New file.
914 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
915
293f5f65
L
9162016-05-25 H.J. Lu <hongjiu.lu@intel.com>
917
918 * config/tc-i386.c (arch_entry): Remove negated.
919 (noarch_entry): New struct.
920 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
921 (cpu_noarch): New.
922 (set_cpu_arch): Check cpu_noarch after cpu_arch.
923 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
924 cpu_arch.
925 (output_message): New function.
926 (show_arch): Use it. Handle cpu_noarch.
927 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
928 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
929 * testsuite/gas/i386/noavx-1.l: New file.
930 * testsuite/gas/i386/noavx-1.s: Likewise.
931 * testsuite/gas/i386/noavx-2.s: Likewise.
932 * testsuite/gas/i386/noavx-2.l: Likewise.
933 * testsuite/gas/i386/nommx-1.s: Likewise.
934 * testsuite/gas/i386/nommx-1.l: Likewise.
935 * testsuite/gas/i386/nommx-2.s: Likewise.
936 * testsuite/gas/i386/nommx-2.l: Likewise.
937 * testsuite/gas/i386/nommx-3.s: Likewise.
938 * testsuite/gas/i386/nommx-3.l: Likewise.
939 * testsuite/gas/i386/nosse-1.s: Likewise.
940 * testsuite/gas/i386/nosse-1.l: Likewise.
941 * testsuite/gas/i386/nosse-2.s: Likewise.
942 * testsuite/gas/i386/nosse-2.l: Likewise.
943 * testsuite/gas/i386/nosse-3.s: Likewise.
944 * testsuite/gas/i386/nosse-3.l: Likewise.
945
934c2632
CZL
9462016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
947
ee4d7613 948 PR target/20067
934c2632
CZL
949 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
950 instruction if supported by the currently selected fpu variant.
951 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
952 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
953
44d3da23 9542016-05-24 Maciej W. Rozycki <macro@imgtec.com>
934c2632 955
44d3da23
MR
956 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
957 jump relocations against MIPS16 or microMIPS symbols on RELA
958 targets.
959 * testsuite/gas/mips/jalx-local.d: New test.
960 * testsuite/gas/mips/jalx-local-n32.d: New test.
961 * testsuite/gas/mips/jalx-local-n64.d: New test.
962 * testsuite/gas/mips/jalx-local.s: New test source.
963 * testsuite/gas/mips/mips.exp: Run the new tests.
964
4512dafa
MR
9652016-05-24 Maciej W. Rozycki <macro@imgtec.com>
966
967 * config/tc-mips.c (md_apply_fix)
968 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
969 code accordingly.
970
cc34adb2
TS
9712016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
972
973 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
974 operator to operatorT.
975 (map_suffix_reloc_to_operator): Change return type to operatorT.
976
c023823f
TS
9772016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
978
979 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
980
049efc64
TS
9812016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
982
983 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
984 handler_charp to const char *.
985
b19e0aeb
TS
9862016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
987
988 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
989 (ft32_target_format): Likewise.
990 (TARGET_FORMAT): Adjust.
991
e5e27b07
TS
9922016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
993
994 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
995 (ia64_frob_label): Likewise.
996
6610dc6d
TS
9972016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
998
999 * config/tc-cr16.c (check_range): Make type of retval op_err.
1000 * config/tc-crx.c: Likewise.
1001
87789e08
CZ
10022016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1003
1004 * config/tc-arc.c (md_begin): Add XY registers.
1005 (cpu_types): Code density is default off for ARC EM.
1006
c810e0b8
CZ
10072016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1008
1009 * config/tc-arc.c (attributes_t): Renamed attribute class to
1010 attr_class.
1011 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1012
d26a14db
NC
10132016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1014
1015 * configuse.tgt: Add entry for arm-phoenix.
1016
f10e0aef
TS
10172016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1018
1019 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1020
2900e701
TS
10212016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1022
1023 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1024
3d207518
TS
10252016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1026
1027 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1028 (md_begin): Likewise.
1029 (encode_condition): Likewise.
1030 (encode_cc3): Likewise.
1031 (encode_cc2): Likewise.
1032 (encode_operand): Likewise.
1033 (tic54x_undefined_symbol): Likewise.
1034
a4968f42
MF
10352016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1036
1037 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1038 p6600 entry.
1039 * doc/c-mips.texi: Document p6600 -march option.
1040
4e21640f
L
10412016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1042
1043 PR gas/19600
1044 * config/tc-i386.c (md_apply_fix): Preserve addend for
1045 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1046 * testsuite/gas/i386/addend.d: New file.
1047 * testsuite/gas/i386/addend.s: Likewise.
1048 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1049 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1050 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1051 * testsuite/gas/i386/reloc32.d: Updated.
1052
17c6c9d9
MR
10532016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1054
1055 * config/tc-mips.c (append_insn): Correct the encoding of a
1056 constant argument for microMIPS JALX.
1057 (tc_gen_reloc): Correct the encoding of an in-place addend for
1058 microMIPS JALX.
1059 * testsuite/gas/mips/jalx-addend.d: New test.
1060 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1061 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1062 * testsuite/gas/mips/jalx-imm.d: New test.
1063 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1064 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1065 * testsuite/gas/mips/jalx-addend.s: New test source.
1066 * testsuite/gas/mips/jalx-imm.s: New test source.
1067 * testsuite/gas/mips/mips.exp: Run the new tests.
1068
134c0c8b
MR
10692016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1070
1071 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1072 throughout.
1073
38cd8a0d
AB
10742016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1075
1076 * config/tc-arc.c (find_opcode_match): Remove casting away of
1077 const.
1078 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1079
9e32d9ae
AB
10802016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1081
1082 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1083 appropriate.
1084 (md_convert_frag): Likewise.
1085
fe779266
AB
10862016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1087
1088 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1089 cached opcode to NULL when we reach a non-matching opcode.
1090 * testsuite/gas/arc/asm-errors-2.d: New file.
1091 * testsuite/gas/arc/asm-errors-2.err: New file.
1092 * testsuite/gas/arc/asm-errors-2.s: New file.
1093
3b889a78
AB
10942016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1095
1096 * config/tc-arc.c (tokenize_arguments): Add checks for array
1097 overflow.
1098 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1099 * testsuite/gas/arc/asm-errors.err: Update expected results.
1100
42e58860
TS
11012016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1102
1103 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1104 int to enum rx_cpu_types.
1105
4bfaa1ca
TS
11062016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1107
1108 * config/tc-dlx.c (struct machine_it): change the type of a field from
1109 int to bfd_reloc_code_real_type.
1110 * config/tc-tic4x.c: Likewise.
1111
eb408eaa
TS
11122016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1113
1114 * config/tc-v850.c (v850_target_arch): change type to enum
1115 bfd_architecture.
1116 * config/tc-v850.h (v850_target_arch): Likewise.
1117
a255f00a
AM
11182016-05-18 Alan Modra <amodra@gmail.com>
1119
1120 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1121 allowed negative range.
1122 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1123 * testsuite/gas/ppc/power9.d: Update.
1124
659f032c
TP
11252016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1126
1127 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1128 disassembling and stop skipping targets.
1129 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1130 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1131 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1132 instruction for targets that have stronger alignment requirement.
1133 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1134 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1135 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1136 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1137 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1138 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1139 * testsuite/gas/arm/archv8m-main.d: Likewise.
1140 * testsuite/gas/arm/archv8m.s: Add label.
1141 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1142 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1143 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1144
7b14583e
TS
11452016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1146
1147 * config/tc-m32r.c (mach_table): Make static and const.
1148
0591130a
TS
11492016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1150
1151 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1152 definition.
1153
9117cd3e
TS
11542016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1155
1156 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1157 defining it.
1158 * config/tc-msp430.c (md_begin): Likewise.
1159
e1838240
TS
11602016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1161
1162 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1163 bfd_reloc_code_real_type where appropriate.
1164 (fixup16): Likewise.
1165 (fixup8_xg): Likewise.
1166
9dfa3e63
MR
11672016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1168
1169 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1170
1178da44
PB
11712016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1172
1173 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1174 * testsuite/gas/ppc/power9.s: Likewise.
1175
d2edc834
AM
11762016-05-13 Alan Modra <amodra@gmail.com>
1177
1178 * config/obj-coff.c (weak_uniquify): Delete unused var.
1179
add39d23
TS
11802016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1181
1182 * app.c (app_push): Use XNEW and related macros.
1183 * as.c (parse_args): Likewise.
1184 * cgen.c (make_right_shifted_expr): Likewise.
1185 (gas_cgen_tc_gen_reloc): Likewise.
1186 * config/bfin-defs.h: Likewise.
1187 * config/bfin-parse.y: Likewise.
1188 * config/obj-coff.c (stack_init): Likewise.
1189 (stack_push): Likewise.
1190 (coff_obj_symbol_new_hook): Likewise.
1191 (coff_obj_symbol_clone_hook): Likewise.
1192 (add_lineno): Likewise.
1193 (coff_frob_symbol): Likewise.
1194 * config/obj-elf.c (obj_elf_section_name): Likewise.
1195 (build_group_lists): Likewise.
1196 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1197 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1198 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1199 (find_or_make_literal_pool): Likewise.
1200 (add_to_lit_pool): Likewise.
1201 (fill_instruction_hash_table): Likewise.
1202 * config/tc-alpha.c (load_expression): Likewise.
1203 (emit_jsrjmp): Likewise.
1204 (s_alpha_ent): Likewise.
1205 (s_alpha_end): Likewise.
1206 (s_alpha_linkage): Likewise.
1207 (md_begin): Likewise.
1208 (tc_gen_reloc): Likewise.
1209 * config/tc-arc.c (arc_insert_opcode): Likewise.
1210 (arc_extcorereg): Likewise.
1211 * config/tc-bfin.c: Likewise.
1212 * config/tc-cr16.c: Likewise.
1213 * config/tc-cris.c: Likewise.
1214 * config/tc-crx.c (preprocess_reglist): Likewise.
1215 * config/tc-d10v.c: Likewise.
1216 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1217 (frv_tomcat_shuffle): Likewise.
1218 * config/tc-h8300.c: Likewise.
1219 * config/tc-i370.c (i370_macro): Likewise.
1220 * config/tc-i386.c (lex_got): Likewise.
1221 (md_parse_option): Likewise.
1222 * config/tc-ia64.c (alloc_record): Likewise.
1223 (set_imask): Likewise.
1224 (save_prologue_count): Likewise.
1225 (dot_proc): Likewise.
1226 (dot_endp): Likewise.
1227 (ia64_frob_label): Likewise.
1228 (add_qp_imply): Likewise.
1229 (add_qp_mutex): Likewise.
1230 (mark_resource): Likewise.
1231 (dot_alias): Likewise.
1232 * config/tc-m68hc11.c: Likewise.
1233 * config/tc-m68k.c (m68k_frob_label): Likewise.
1234 (s_save): Likewise.
1235 (mri_control_label): Likewise.
1236 (push_mri_control): Likewise.
1237 (build_mri_control_operand): Likewise.
1238 (s_mri_else): Likewise.
1239 (s_mri_break): Likewise.
1240 (s_mri_next): Likewise.
1241 (s_mri_for): Likewise.
1242 (s_mri_endw): Likewise.
1243 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1244 * config/tc-microblaze.c: Likewise.
1245 * config/tc-mmix.c (s_loc): Likewise.
1246 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1247 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1248 * config/tc-rl78.c: Likewise.
1249 * config/tc-rx.c (rx_include): Likewise.
1250 * config/tc-sh.c: Likewise.
1251 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1252 * config/tc-sparc.c: Likewise.
1253 * config/tc-spu.c: Likewise.
1254 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1255 (tic6x_start_unwind_section): Likewise.
1256 * config/tc-tilegx.c: Likewise.
1257 * config/tc-tilepro.c: Likewise.
1258 * config/tc-v850.c: Likewise.
1259 * config/tc-visium.c: Likewise.
1260 * config/tc-xgate.c: Likewise.
1261 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1262 (new_resource_table): Likewise.
1263 (resize_resource_table): Likewise.
1264 (xtensa_create_trampoline_frag): Likewise.
1265 (xtensa_maybe_create_literal_pool_frag): Likewise.
1266 (cache_literal_section): Likewise.
1267 * config/xtensa-relax.c (append_transition): Likewise.
1268 (append_condition): Likewise.
1269 (append_value_condition): Likewise.
1270 (append_constant_value_condition): Likewise.
1271 (append_literal_op): Likewise.
1272 (append_label_op): Likewise.
1273 (append_constant_op): Likewise.
1274 (append_field_op): Likewise.
1275 (append_user_fn_field_op): Likewise.
1276 (enter_opname_n): Likewise.
1277 (enter_opname): Likewise.
1278 (split_string): Likewise.
1279 (parse_insn_templ): Likewise.
1280 (clone_req_or_option_list): Likewise.
1281 (clone_req_option_list): Likewise.
1282 (parse_option_cond): Likewise.
1283 (parse_insn_pattern): Likewise.
1284 (parse_insn_repl): Likewise.
1285 (build_transition): Likewise.
1286 (build_transition_table): Likewise.
1287 * dw2gencfi.c (alloc_fde_entry): Likewise.
1288 (alloc_cfi_insn_data): Likewise.
1289 (cfi_add_CFA_remember_state): Likewise.
1290 (dot_cfi_escape): Likewise.
1291 (dot_cfi_fde_data): Likewise.
1292 (select_cie_for_fde): Likewise.
1293 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1294 * ecoff.c (ecoff_add_bytes): Likewise.
1295 (ecoff_build_debug): Likewise.
1296 * input-scrub.c (input_scrub_push): Likewise.
1297 (input_scrub_begin): Likewise.
1298 (input_scrub_next_buffer): Likewise.
1299 * itbl-ops.c (append_insns_as_macros): Likewise.
1300 (alloc_entry): Likewise.
1301 (alloc_field): Likewise.
1302 * listing.c (listing_newline): Likewise.
1303 (listing_listing): Likewise.
1304 * macro.c (get_any_string): Likewise.
1305 (delete_macro): Likewise.
1306 * stabs.c (generate_asm_file): Likewise.
1307 (stabs_generate_asm_lineno): Likewise.
1308 * subsegs.c (subseg_change): Likewise.
1309 (subseg_get): Likewise.
1310 * symbols.c (define_dollar_label): Likewise.
1311 (symbol_relc_make_sym): Likewise.
1312 * write.c (write_relocs): Likewise.
1313
29a2809e
TS
13142016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1315
1316 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1317 (weak_name2altname): Likewise.
1318 (weak_uniquify): Likewise.
1319 (obj_coff_section): Likewise.
1320 (obj_coff_init_stab_section): Likewise.
1321 * config/obj-elf.c (obj_elf_section_name): Likewise.
1322 (obj_elf_init_stab_section): Likewise.
1323 * config/obj-evax.c (evax_shorten_name): Likewise.
1324 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1325 * config/tc-aarch64.c (create_register_alias): Likewise.
1326 * config/tc-alpha.c (load_expression): Likewise.
1327 (s_alpha_file): Likewise.
1328 (s_alpha_section_name): Likewise.
1329 (tc_gen_reloc): Likewise.
1330 * config/tc-arc.c (md_assemble): Likewise.
1331 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1332 (start_unwind_section): Likewise.
1333 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1334 (hppa_elf_mark_end_of_function): Likewise.
1335 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1336 (nios2_negate_arg): Likewise.
1337 * config/tc-rx.c (rx_section): Likewise.
1338 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1339 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1340 * config/tc-tic54x.c (tic54x_include): Likewise.
1341 (tic54x_macro_info): Likewise.
1342 (subsym_get_arg): Likewise.
1343 (subsym_substitute): Likewise.
1344 (tic54x_start_line_hook): Likewise.
1345 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1346 (xg_reverse_shift_count): Likewise.
1347 * config/xtensa-relax.c (enter_opname_n): Likewise.
1348 (split_string): Likewise.
1349 * dwarf2dbg.c (get_filenum): Likewise.
1350 (process_entries): Likewise.
1351 * expr.c (operand): Likewise.
1352 * itbl-ops.c (alloc_entry): Likewise.
1353 * listing.c (listing_message): Likewise.
1354 (listing_title): Likewise.
1355 * macro.c (check_macro): Likewise.
1356 * stabs.c (s_xstab): Likewise.
1357 * symbols.c (symbol_relc_make_expr): Likewise.
1358 * write.c (compress_debug): Likewise.
1359
58c7f094
NC
13602016-05-12 Nick Clifton <nickc@redhat.com>
1361
1362 PR target/20068
1363 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
1364
d5e74e8d
NC
13652016-05-11 Nick Clifton <nickc@redhat.com>
1366
1367 PR target/20068
1368 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
1369 big endian ARM configurations.
1370
8f4f9071
MF
13712016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
1372 Matthew Fortune <matthew.fortune@imgtec.com>
1373
1374 * config/tc-mips.c (options): Add OPTION_DSPR3 and
1375 OPTION_NO_DSPR3.
1376 (md_longopts): Likewise.
1377 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
1378 (mips_ases): Define availability for DSPr3.
1379 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
1380 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
1381 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
1382 formatting.
1383 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
1384 .set nodspr3. Fix -mdspr2 formatting.
1385 * testsuite/gas/mips/mips32-dspr3.d: New file.
1386 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
1387 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
1388
a6684f0d
NC
13892016-05-11 Nick Clifton <nickc@redhat.com>
1390
1391 PR target/20068
1392 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
1393 to the pool uses O_constant.
1394 * testsuite/gas/arm/pr20068.s: New test.
1395 * testsuite/gas/arm/pr20068.d: Test driver.
1396
be5c445b
NC
13972016-05-11 Nick Clifton <nickc@redhat.com>
1398
4179a6a2
NC
1399 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
1400 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1401 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1402 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1403 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1404 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1405 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1406 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1407 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
be5c445b
NC
1408
14092016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1410
1411 * testsuite/gas/i386/i386.exp: Run RDPID tests.
1412 * testsuite/gas/i386/prefix.d: Adjust.
1413 * testsuite/gas/i386/rdpid.s: New test.
1414 * testsuite/gas/i386/rdpid.d: Ditto.
1415 * testsuite/gas/i386/rdpid-intel.d: Ditto.
1416 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
1417 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
1418 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
1419
8bc52696
AF
14202016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1421
1422 * config/tc-i386.c (cpu_arch): Add RDPID.
1423 * doc/c-i386.texi: Document RDPID.
1424
39d911fc
TP
14252016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1426
1427 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
1428 set branch type of a symbol.
1429
15afaa63
TP
14302016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1431
1432 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
1433 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
1434 instructions.
1435 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
1436 (aeabi_set_public_attributes): Memorize the feature bits of the
1437 architecture selected for Tag_CPU_arch. Use it to set
1438 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
1439 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
1440 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
1441 * testsuite/gas/arm/arch7em-bad-1.d: This.
1442 * testsuite/gas/arm/arch7em-bad-2.d: New file.
1443 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
1444 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1445 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1446 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1447 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1448 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
1449 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
1450
d942732e
TP
14512016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1452
1453 * config/tc-arm.c (struct arm_option_extension_value_table): Make
1454 allowed_archs an array with 2 entries.
1455 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
1456 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
1457 (arm_extensions): Use separate entries in allowed_archs when several
1458 archs are allowed to use an extension and change ARCH_ANY in
1459 ARM_ARCH_NONE in allowed_archs.
1460 (arm_parse_extension): Check that, for each allowed_archs entry, all
1461 bits are set in the current architecture, ignoring ARM_ANY entries.
1462 (s_arm_arch_extension): Likewise.
1463
16a1fa25
TP
14642016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1465
1466 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
1467 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
1468 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
1469 shared with a non M profile architecture.
1470 (do_rn): New function.
1471 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
1472 than arm_ext_v8m.
1473 (v7m_psrs): Add ARMv8-M security extensions new special registers.
1474 (insns): Add ARMv8-M Security Extensions instructions.
1475 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
1476 arm_ext_v8m_m to decide the profile and the Thumb ISA.
1477 * testsuite/gas/arm/archv8m-cmse.s: New file.
1478 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
1479 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1480 * testsuite/gas/arm/any-cmse.d: Likewise.
1481 * testsuite/gas/arm/any-cmse-main.d: Likewise.
1482 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1483 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1484 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1485 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1486 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1487
d751b79e
JM
14882016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1489
1490 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
1491 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
1492
f85d59c3
KT
14932016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1494
1495 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
1496 (fpu_arch_vfp_v3): Likewise.
1497 (fpu_arch_neon_v1): Likewise.
1498 (arm_arch_full): Likewise.
1499 (parse_neon_el_struct_list): Initialize fields of firsttype.
1500
945e0f82
CZ
15012016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
1502
1503 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
1504 (arc_extinsn): Handle new introduced syntax.
1505 * testsuite/gas/arc/textinsn1op.d: New file.
1506 * testsuite/gas/arc/textinsn1op.s: Likewise.
1507 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
1508
b782c63d
PS
15092016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1510
1511 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
1512 DW_LNS_fixed_advance_pc.
1513
25771140
AM
15142016-04-27 Alan Modra <amodra@gmail.com>
1515
1516 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
1517 (xmemdup0): New inline function.
1518
22522f88
MR
15192016-04-22 Maciej W. Rozycki <macro@imgtec.com>
1520
1521 * config/tc-mips.c (code_option_type): New enum.
1522 (parse_code_option): Return status indicating option type.
1523 (s_mipsset): Update `parse_code_option' call site accordingly.
1524 Always set register sizes from the ISA with ISA overrides.
1525 (s_module): Update `parse_code_option' call site.
1526 * testsuite/gas/mips/isa-override-1.d: New test.
1527 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1528 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1529 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1530 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1531 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
1532 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
1533 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
1534 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
1535 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
1536 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
1537 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
1538 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
1539 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
1540 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
1541 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
1542 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
1543 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
1544 * testsuite/gas/mips/isa-override-2.l: New list test.
1545 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
1546 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
1547 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
1548 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
1549 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
1550 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
1551 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
1552 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
1553 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
1554 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
1555 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
1556 output.
1557 * testsuite/gas/mips/isa-override-1.s: New test source.
1558 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
1559 * testsuite/gas/mips/isa-override-2.s: New test source.
1560 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
1561 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
1562 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
1563 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
1564 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
1565 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
1566 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
1567 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
1568 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
1569 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
1570 * testsuite/gas/mips/mips.exp: Run the new tests.
1571
e6c7cdec
TS
15722016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1573
1574 * cgen.c: Likewise.
1575 * config/tc-bfin.c: Likewise.
1576 * config/tc-ia64.c: Likewise.
1577 * config/tc-mep.c: Likewise.
1578 * config/tc-metag.c: Likewise.
1579 * config/tc-nios2.c: Likewise.
1580 * config/tc-rl78.c: Likewise.
1581
2533af11
AB
15822016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
1583
1584 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
1585 -mcpu. Add cross reference to .cpu directive from -mcpu option.
1586 (ARC Directives): Add NPS400 to .cpu directive list.
1587
50cc854c
MW
15882016-04-20 Matthew Wahab <matthew.wahab@arm.com>
1589
1590 * config/tc-aarch64.c (aarch64_features): Add "ras".
1591 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
1592 * testsuite/gas/aarch64/armv8-ras-1.d: New.
1593 * testsuite/gas/aarch64/armv8-ras-1.s: New.
1594 * testsuite/gas/aarch64/illegal-ras-1.d: New.
1595 * testsuite/gas/aarch64/illegal-ras-1.s: New.
1596
537aefaf
AB
15972016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1598
1599 * testsuite/gas/arc/nps400-6.d: New file.
1600 * testsuite/gas/arc/nps400-6.s: New file.
1601
c8f785f2
AB
16022016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1603
1604 * testsuite/gas/arc/nps400-4.d: New file.
1605 * testsuite/gas/arc/nps400-4.s: New file.
1606 * testsuite/gas/arc/nps400-5.d: New file.
1607 * testsuite/gas/arc/nps400-5.s: New file.
1608
48eac74c
MG
16092016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
1610
1611 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
1612 documentation.
1613
644aca26
AB
16142016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
1615
1616 Revert prevous change.
1617 * config/tc-arc.c (arc_option): Make .cpu directive
1618 case-sensitive again.
1619
9a452709
AB
16202016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1621
1622 * config/tc-arc.c (arc_option): Make .cpu directive
1623 case-insensitive.
1624
5e001f26
AB
16252016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1626
1627 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
1628
92fce9bd
TS
16292016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1630
1631 * config/tc-mips.c (md_begin): Remove useless assignment.
1632
6fd8e7c2
L
16332016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1634
1635 * Makefile.in: Regenerated with automake 1.11.6.
1636 * aclocal.m4: Likewise.
1637 * doc/Makefile.in: Likewise.
1638
05f7541e
AM
16392016-04-15 Alan Modra <amodra@gmail.com>
1640
1641 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
1642
4f2a7b51
TS
16432016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1644
1645 * config/tc-nios2.c (nios2_as_options): Make file static.
1646 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
1647 * config/tc-sparc.c (native_op_table): Likewise.
1648
85e53f62
TS
16492016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1650
1651 * config/tc-m32c.c (M32C_Macros): Remove.
1652 * config/tc-msp430.c (option_numbers): Likewise.
1653
4b0c052e
AB
16542016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1655
1656 * testsuite/gas/arc/nps400-3.d: New file.
1657 * testsuite/gas/arc/nps400-3.s: New file.
1658
d105775e
AB
16592016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1660
1661 * testsuite/gas/arc/add_s-err.s: Update target pattern.
1662 * testsuite/gas/arc/warn.s: Likewise.
1663 * testsuite/gas/elf/elf.exp: Run test for arc.
1664
84865015
NC
16652016-04-14 Nick Clifton <nickc@redhat.com>
1666
1667 PR target/19938
1668 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1669 sections possibly having the SHF_STRINGS flag bit set.
1670 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1671
1adc8a9a
CZ
16722016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1673
1674 * config/tc-arc.c (mach_type_specified_p): Change type to
1675 bfd_boolean.
1676 (arc_option): Set private flags when parsing cpu pseudo-op.
1677 (md_parse_option): Set mach_type_specified_p to TRUE.
1678
e4449be8
NC
16792016-04-13 Nick Clifton <nickc@redhat.com>
1680
1681 PR target/19937
1682 * testsuite/gas/v850/pr19937.s: New test.
1683 * testsuite/gas/v850/pr19937.d: New test control file.
1684 * testsuite/gas/v850/basic.exp: Run the new test.
1685
991f40a9
MR
16862016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1687 Andrew Bennett <andrew.bennett@imgtec.com>
1688
1689 * config/tc-mips.c (relaxed_branch_length): Use the long
1690 sequence where the target is a weak symbol.
1691 (relaxed_micromips_32bit_branch_length): Likewise.
1692 (relaxed_micromips_16bit_branch_length): Likewise.
1693 * testsuite/gas/mips/branch-weak-1.d: New test.
1694 * testsuite/gas/mips/branch-weak-2.d: New test.
1695 * testsuite/gas/mips/branch-weak-3.d: New test.
1696 * testsuite/gas/mips/branch-weak-4.d: New test.
1697 * testsuite/gas/mips/branch-weak-5.d: New test.
1698 * testsuite/gas/mips/branch-weak.l: New stderr output.
1699 * testsuite/gas/mips/branch-weak.s: New test source.
1700 * testsuite/gas/mips/mips.exp: Run the new tests.
1701
c1f61bd2
MR
17022016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1703
1704 * config/tc-mips.c (relaxed_branch_length): Use the long
1705 sequence where the distance cannot be determined.
1706 (relaxed_micromips_32bit_branch_length): Likewise.
1707 * testsuite/gas/mips/branch-extern-1.d: New test.
1708 * testsuite/gas/mips/branch-extern-2.d: New test.
1709 * testsuite/gas/mips/branch-extern-3.d: New test.
1710 * testsuite/gas/mips/branch-extern-4.d: New test.
1711 * testsuite/gas/mips/branch-extern.l: New stderr output.
1712 * testsuite/gas/mips/branch-extern.s: New test source.
1713 * testsuite/gas/mips/branch-section-1.d: New test.
1714 * testsuite/gas/mips/branch-section-2.d: New test.
1715 * testsuite/gas/mips/branch-section-3.d: New test.
1716 * testsuite/gas/mips/branch-section-4.d: New test.
1717 * testsuite/gas/mips/branch-section.l: New stderr output.
1718 * testsuite/gas/mips/branch-section.s: New test source.
1719 * testsuite/gas/mips/mips.exp: Run the new tests.
1720
f36e33da
CZ
17212016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1722
1723 * testsuite/gas/arc/textauxregister.d: New file.
1724 * testsuite/gas/arc/textauxregister.s: Likewise.
1725 * testsuite/gas/arc/textcondcode.d: Likewise.
1726 * testsuite/gas/arc/textcondcode.s: Likewise.
1727 * testsuite/gas/arc/textcoreregister.d: Likewise.
1728 * testsuite/gas/arc/textcoreregister.s: Likewise.
1729 * testsuite/gas/arc/textpseudoop.d: Likewise.
1730 * testsuite/gas/arc/textpseudoop.s: Likewise.
1731 * testsuite/gas/arc/ld2.d: Update test.
1732 * testsuite/gas/arc/st.d: Likewise.
1733 * testsuite/gas/arc/taux.d: Likewise.
1734 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1735 .extCoreRegister and .extAuxRegister documentation.
1736 * config/tc-arc.c (arc_extcorereg): New function.
1737 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1738 .extAuxRegister pseudo-ops.
1739 (extRegister_t): New type.
1740 (ext_condcode, arc_aux_hash): New global variable.
1741 (find_opcode_match): Check for extensions.
1742 (preprocess_operands): Likewise.
1743 (md_begin): Add aux registers in a hash.
1744 (assemble_insn): Update use arc_flags member.
1745 (tokenize_extregister): New function.
1746 (create_extcore_section): Likewise.
1747 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1748
1c2e355e
CZ
17492016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1750
1751 * testsuite/gas/arc/noargs_a7.d: New file.
1752 * testsuite/gas/arc/noargs_a7.s: Likewise.
1753 * testsuite/gas/arc/noargs_hs.d: Likewise.
1754 * testsuite/gas/arc/noargs_hs.s: Likewise.
1755
b99747ae
CZ
17562016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1757
1758 * testsuite/gas/arc/textinsn-errors.d: New File.
1759 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1760 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1761 * testsuite/gas/arc/textinsn2op.d: Likewise.
1762 * testsuite/gas/arc/textinsn2op.s: Likewise.
1763 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1764 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1765 * testsuite/gas/arc/textinsn3op.d: Likewise.
1766 * testsuite/gas/arc/textinsn3op.s: Likewise.
1767 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1768 documentation.
1769 * config/tc-arc.c (arcext_section): New variable.
1770 (arc_extinsn): New function.
1771 (md_pseudo_table): Add .extInstruction pseudo op.
1772 (attributes_t): New type.
1773 (suffixclass, syntaxclass, syntaxclassmod): New constant
1774 structures.
1775 (find_opcode_match): Remove arc_num_opcodes.
1776 (md_begin): Likewise.
1777 (tokenize_extinsn): New function.
1778 (arc_set_ext_seg): Likewise.
1779 (create_extinst_section): Likewise.
1780
37ab9779
CZ
17812016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1782
1783 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1784 (arc_adjust_symtab): New function.
1785 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1786 (obj_adjust_symtab): Likewise.
1787 * testsuite/gas/arc/taux.d: New file.
1788 * testsuite/gas/arc/taux.s: Likewise.
1789
41a1578e
MR
17902016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1791
1792 * config/tc-mips.c (s_option): Sanitize `.option picX'
1793 pseudo-op.
1794 * testsuite/gas/mips/option-pic-1.d: New test.
1795 * testsuite/gas/mips/option-pic-2.l: New list test.
1796 * testsuite/gas/mips/option-pic-1.s: New test source.
1797 * testsuite/gas/mips/option-pic-2.s: New test source.
1798 * testsuite/gas/mips/mips.exp: Run the new tests.
1799
668c5ebc
MR
18002016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1801
1802 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1803 PIC.
1804 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1805 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1806 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1807 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1808 * testsuite/gas/mips/mips.exp: Run the new tests.
1809
41065f5e
MR
18102016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1811
1812 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1813
08918cc8
MR
18142016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1815
1816 * messages.c (as_bad): Fix a typo in description.
1817
1357373c
MR
18182016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1819
1820 * config/tc-mips.c (mips_check_options): Unify messages.
1821
5f4678bb
MR
18222016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1823
1824 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1825 consistently.
1826
992dc2c4
NC
18272016-04-08 Nick Clifton <nickc@redhat.com>
1828
1829 PR target/19910
1830 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1831 COFF and AOUT sparc targets.
1832
a42a4f84
AB
18332016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1834
1835 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1836 * testsuite/gas/arc/nps400-2.d: New file.
1837 * testsuite/gas/arc/nps400-2.s: New file.
1838
1328504b
AB
18392016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1840
1841 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1842 structure.
1843 (arc_opcode_hash_entry_iterator_init): New function.
1844 (arc_opcode_hash_entry_iterator_next): New function.
1845 (find_opcode_match): Iterate over all arc_opcode entries
1846 referenced by the arc_opcode_hash_entry passed in as a parameter.
1847
b9b47ab7
AB
18482016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1849
1850 * config/tc-arc.c (arc_find_opcode): Now returns
1851 arc_opcode_hash_entry pointer.
1852 (find_opcode_match): Update argument type, extract arc_opcode from
1853 incoming arc_opcode_hash_entry.
1854 (find_special_case_pseudo): Update return type.
1855 (find_special_case_flag): Update return type.
1856 (find_special_case): Update return type.
1857 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1858 instruction mnemonic, then use find_opcode_match to identify
1859 specific arc_opcode.
1860
da5be039
AB
18612016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1862
1863 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1864 (arc_find_opcode): New function.
1865 (find_special_case_pseudo): Use arc_find_opcode.
1866 (find_special_case_flag): Likewise.
1867 (assemble_tokens): Likewise.
1868 (md_begin): Build hash using struct arc_opcode_hash_entry.
1869
e6ba1cba
CZ
18702016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1871
abe051ba
AM
1872 * config/tc-arc.c (arc_option): Prepare string for automatic
1873 translation.
1874 (declare_register): Likewise.
e6ba1cba 1875
b607cde1
JG
18762016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1877
1878 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1879 Correct entry for RDMA. Alpha sort entries.
1880
692166c2
AB
18812016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1882
1883 * config/tc-arc.c (tokenize_flags): Allow greater range of
1884 characters into flag names.
1885
22b92fc4
AB
18862016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1887
1888 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1889 new de_fault label.
1890 (preprocess_operands): Delete.
1891 (assemble_tokens): Remove call to preprocess_operands.
1892
e140100a
NC
18932016-04-07 Nick Clifton <nickc@redhat.com>
1894
1895 PR gas/19910
1896 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1897 inside a %-macro could not be fully parsed.
1898 * expr.c (integer_constant): Accept and ignore U suffixes to
1899 integers.
1900 (operand): When a missing closing parenthesis is encountered,
1901 report the character that was found instead.
1902 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1903 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1904 * testsuite/gas/sparc/pr19910-1.s: New test.
1905 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1906 * testsuite/gas/sparc/pr19910-2.s: New test.
1907 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1908
927f2d25
NC
19092016-04-06 Nick Clifton <nickc@redhat.com>
1910
1911 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1912 an EINT instruction. Warn/fix as necessary.
1913 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1914 * testsuite/gas/msp430/bad.l: Update expected messages.
1915
820f03ff
AB
19162016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1917
1918 * testsuite/gas/arc/nps400-1.d: Update expected results.
1919 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1920
8ddf6b2a
CZ
19212016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1922
abe051ba
AM
1923 * config/tc-arc.c (is_code_density_p): Compare directly the
1924 subclass field.
1925 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1926 (check_cpu_feature): New function.
1927 (find_opcode_match): Use check_cpu_feature function.
1928 (preprocess_operands): Likewise.
1929 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1930 * testsuite/gas/arc/tdpfp.d: New file.
1931 * testsuite/gas/arc/tfpuda.d: Likewise.
1932 * testsuite/gas/arc/tfpx.s: Likewise.
8ddf6b2a 1933
589a7d88
JW
19342016-04-05 Jiong Wang <jiong.wang@arm.com>
1935
1936 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1937 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1938 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1939 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1940 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1941 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1942 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
abe051ba
AM
1943 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1944 for Thumb.
589a7d88
JW
1945 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1946
6ec1f282
CZ
19472016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1948
abe051ba 1949 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
6ec1f282 1950 JUMP instructions type.
abe051ba
AM
1951 * testsuite/gas/arc/relocs-errors.d: New file.
1952 * testsuite/gas/arc/relocs-errors.err: Likewise.
1953 * testsuite/gas/arc/relocs-errors.s: Likewise.
6ec1f282 1954
0796a629
L
19552016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1956
1957 PR gas/19909
1958 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1959 only if i.disp_encoding != disp_encoding_32bit.
1960 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1961 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1962 * gas/testsuite/gas/i386/disp32.d: Updated.
1963 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1964
df41fdf4
L
19652016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1966
1967 PR gas/19498
1968 * testsuite/gas/i386/i386.exp: Run pr19498.
1969 * testsuite/gas/i386/pr19498.d: New file.
1970 * testsuite/gas/i386/pr19498.s: Likewise.
1971
26cdfd92
AB
19722016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1973
1974 * config/tc-arc.h: Include 'opcode/arc.h'.
1975 (MAX_INSN_ARGS): Delete.
1976 (MAX_INSN_FLGS): Delete.
1977
22987cec
AM
19782016-04-04 Alan Modra <amodra@gmail.com>
1979
1980 PR 19498
1981 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1982 from function on all paths that set sy_resolving.
1983
325801bd
TS
19842016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1985
1986 * app.c (app_push): use XNEW macro.
1987 * as.c: Likewise.
1988 * config/obj-elf.c (obj_elf_change_section): Likewise.
1989 (elf_copy_symbol_attributes): Likewise.
1990 (obj_elf_size): Likewise.
1991 (build_group_lists): Likewise.
1992 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1993 (md_assemble): Likewise.
1994 (tc_gen_reloc): Likewise.
1995 (get_upper_str): Likewise.
1996 (aarch64_parse_features): Likewise.
1997 * config/tc-arm.c (insert_reg_alias): Likewise.
1998 (insert_neon_reg_alias): Likewise.
1999 (find_or_make_literal_pool): Likewise.
2000 (s_arm_elf_cons): Likewise.
2001 (add_unwind_opcode): Likewise.
2002 (arm_parse_extension): Likewise.
2003 * config/tc-avr.c (create_record_for_frag): Likewise.
2004 * config/tc-crx.c: Likewise.
2005 * config/tc-d30v.c: Likewise.
2006 * config/tc-dlx.c (s_proc): Likewise.
2007 * config/tc-ft32.c: Likewise.
2008 * config/tc-h8300.c: Likewise.
2009 * config/tc-hppa.c (pa_proc): Likewise.
2010 (create_new_space): Likewise.
2011 (create_new_subspace): Likewise.
2012 * config/tc-i860.c: Likewise.
2013 * config/tc-i960.c: Likewise.
2014 * config/tc-ia64.c: Likewise.
2015 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2016 (iq2000_record_hi16): Likewise.
2017 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2018 * config/tc-m32r.c (debug_sym): Likewise.
2019 (m32r_record_hi16): Likewise.
2020 * config/tc-m68k.c (m68k_ip): Likewise.
2021 (md_begin): Likewise.
2022 * config/tc-mcore.c: Likewise.
2023 * config/tc-microblaze.c (check_got): Likewise.
2024 * config/tc-mips.c (append_insn): Likewise.
2025 (s_mipsset): Likewise.
2026 (mips_record_label): Likewise.
2027 (s_mips_end): Likewise.
2028 * config/tc-mmix.c (mmix_frob_file): Likewise.
2029 * config/tc-mn10200.c: Likewise.
2030 * config/tc-mn10300.c: Likewise.
2031 * config/tc-moxie.c: Likewise.
2032 * config/tc-msp430.c: Likewise.
2033 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2034 * config/tc-ns32k.c: Likewise.
2035 * config/tc-or1k.c: Likewise.
2036 * config/tc-pdp11.c: Likewise.
2037 * config/tc-pj.c (fake_opcode): Likewise.
2038 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2039 (ppc_macro): Likewise.
2040 (ppc_dwsect): Likewise.
2041 (ppc_machine): Likewise.
2042 * config/tc-rl78.c (rl78_frag_init): Likewise.
2043 * config/tc-rx.c (rx_frag_init): Likewise.
2044 * config/tc-s390.c (s390_lit_suffix): Likewise.
2045 (s390_machine): Likewise.
2046 (s390_machinemode): Likewise.
2047 * config/tc-score.c (s3_insert_reg): Likewise.
2048 (s3_gen_reloc): Likewise.
2049 * config/tc-score7.c (s7_insert_reg): Likewise.
2050 (s7_gen_reloc): Likewise.
2051 * config/tc-tic30.c (tic30_operand): Likewise.
2052 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2053 * config/tc-tic54x.c (stag_add_field): Likewise.
2054 (tic54x_struct): Likewise.
2055 (tic54x_space): Likewise.
2056 (tic54x_field): Likewise.
2057 (tic54x_mlib): Likewise.
2058 (subsym_substitute): Likewise.
2059 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2060 * config/tc-vax.c: Likewise.
2061 * config/tc-xc16x.c: Likewise.
2062 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2063 (directive_push): Likewise.
2064 (xtensa_begin_directive): Likewise.
2065 (tokenize_arguments): Likewise.
2066 (xtensa_add_literal_sym): Likewise.
2067 (new_resource_table): Likewise.
2068 (resize_resource_table): Likewise.
2069 (emit_single_op): Likewise.
2070 (xtensa_create_trampoline_frag): Likewise.
2071 (xtensa_maybe_create_literal_pool_frag): Likewise.
2072 (xtensa_add_config_info): Likewise.
2073 (xtensa_realloc_fixup_cache): Likewise.
2074 (add_subseg_info): Likewise.
2075 (cache_literal_section): Likewise.
2076 (add_xt_block_frags): Likewise.
2077 (add_xt_prop_frags): Likewise.
2078 (init_op_placement_info_table): Likewise.
2079 (build_section_rename): Likewise.
2080 * config/tc-z80.c: Likewise.
2081 * config/tc-z8k.c: Likewise.
2082 * depend.c (register_dependency): Likewise.
2083 * dwarf2dbg.c (get_line_subseg): Likewise.
2084 (dwarf2_gen_line_info_1): Likewise.
2085 (get_filenum): Likewise.
2086 * ecoff.c (allocate_scope): Likewise.
2087 (allocate_vlinks): Likewise.
2088 (allocate_shash): Likewise.
2089 (allocate_thash): Likewise.
2090 (allocate_tag): Likewise.
2091 (allocate_forward): Likewise.
2092 (allocate_thead): Likewise.
2093 (allocate_lineno_list): Likewise.
2094 * expr.c (make_expr_symbol): Likewise.
2095 * hash.c (hash_new_sized): Likewise.
2096 * input-file.c (input_file_push): Likewise.
2097 * listing.c (file_info): Likewise.
2098 (listing_newline): Likewise.
2099 * macro.c (new_formal): Likewise.
2100 (define_macro): Likewise.
2101 * remap.c (add_debug_prefix_map): Likewise.
2102 * symbols.c (symbol_find_noref): Likewise.
2103 (define_dollar_label): Likewise.
2104 (fb_label_instance_inc): Likewise.
2105 (symbol_relc_make_value): Likewise.
2106
a44e2901
TS
21072016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2108
2109 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2110 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2111 (ppc_znop): Likewise.
2112 (ppc_pe_section): Likewise.
2113 (ppc_frob_symbol): Likewise.
2114 * config/tc-tic30.c (tic30_operand): Likewise.
2115 * config/tc-tic4x.c (tic4x_sect): Likewise.
2116 (tic4x_usect): Likewise.
2117
ae2689b0
TS
21182016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2119
2120 * config/tc-alpha.c: Const qualify FLT_CHARS.
2121 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2122 * config/tc-cris.h: Likewise.
2123 * expr.c: Likewise.
2124 * config/tc-mmix.c (md_atof): Adjust comment.
2125 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2126 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2127
a51ef392
TS
21282016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2129
2130 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2131 * config/tc-score7.c (s7_gen_reloc): Likewise.
2132
2fe88214
TS
21332016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2134
2135 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2136 bfd_reloc_code_real_type.
2137
e1ec8109
TS
21382016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2139
2140 * config/bfin-parse.y (current_inputline): Remove definition.
2141 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2142
f73e41ef
TS
21432016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2144
2145 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2146 strings.
2147
62bd6b5f
AM
21482016-04-02 Alan Modra <amodra@gmail.com>
2149
2150 PR 19896
2151 * read.c (assign_symbol): Consume rest of line after an error
2152 rather than continuing to process the line.
2153
83cda17b
AB
21542016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2155
2156 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2157 (MAX_FLAG_NAME_LENGTH): ...this.
2158 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2159 * config/tc-arc.c (tokenize_flags): Likewise.
2160
6d4af3c2
AM
21612016-04-01 Alan Modra <amodra@gmail.com>
2162
2163 * cgen.c (weak_operand_overflow_check): Return const char*.
2164 * messages.c (as_internal_value_out_of_range): Formatting.
2165 (as_warn_value_out_of_range): Consify prefix param.
2166 (as_bad_value_out_of_range): Likewise.
2167 * read.c (s_errwarn): Constify msg..
2168 (s_float_space, float_cons): ..and err.
2169 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2170 ieee_md_atof, vax_md_atof): Update prototypes.
2171 * tc.h (md_atof): Update prototype.
2172 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2173 * config/atof-vax.c (vax_md_atof): Likewise.
2174 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2175 * config/tc-aarch64.c (md_atof): Return const char*.
2176 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2177 (s_alpha_comm): Constify sec_name.
2178 (section_name): Constify.
2179 (s_alpha_section): Consify name..
2180 (alpha_elf_section_letter): ..and ptr_msg param..
2181 (md_atof): ..and return.
2182 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2183 * config/tc-arc.c (md_atof): Return const char*.
2184 * config/tc-arm.c (md_atof): Likewise.
2185 * config/tc-avr.c (md_atof): Likewise.
2186 * config/tc-bfin.c (md_atof): Likewise.
2187 * config/tc-cr16.c (md_atof): Likewise.
2188 * config/tc-cris.c (md_atof): Likewise.
2189 * config/tc-crx.c (md_atof): Likewise.
2190 * config/tc-d10v.c (md_atof): Likewise.
2191 * config/tc-d30v.c (md_atof): Likewise.
2192 * config/tc-dlx.c (md_atof): Likewise.
2193 * config/tc-epiphany.c (md_atof): Likewise.
2194 * config/tc-fr30.c (md_atof): Likewise.
2195 * config/tc-frv.c (md_atof): Likewise.
2196 * config/tc-ft32.c (md_atof): Likewise.
2197 * config/tc-h8300.c (md_atof): Likewise.
2198 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2199 (struct default_space_dict): Likewise.
2200 (create_new_space): Constify name param.
2201 (create_new_subspace): Likewise.
2202 (is_defined_space, is_defined_subspace): Likewise.
2203 (pa_parse_space_stmt): Constify space_name param.
2204 (md_atof): Return const char*.
2205 (pa_spaces_begin): Constify name.
2206 * config/tc-i370.c (md_atof): Return const char*.
2207 * config/tc-i386.c (md_atof): Likewise.
2208 (x86_64_section_letter): Constify ptr_msg param.
2209 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2210 * config/tc-i860.c (struct i860_it): Constify error.
2211 (md_atof): Return const char*.
2212 * config/tc-i960.c (md_atof): Likewise.
2213 * config/tc-ia64.c (md_atof): Likewise.
2214 (ia64_elf_section_letter): Constify ptr_msg param.
2215 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2216 * config/tc-ip2k.c (md_atof): Return const char*.
2217 * config/tc-iq2000.c (md_atof): Likewise.
2218 * config/tc-lm32.c (md_atof): Likewise.
2219 * config/tc-m32c.c (md_atof): Likewise.
2220 * config/tc-m32r.c (md_atof): Likewise.
2221 * config/tc-m68hc11.c (md_atof): Likewise.
2222 * config/tc-m68k.c (md_atof): Likewise.
2223 * config/tc-mcore.c (md_atof): Likewise.
2224 * config/tc-mep.c (md_atof): Likewise.
2225 (mep_elf_section_letter): Constify ptr_msg param.
2226 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2227 * config/tc-metag.c (md_atof): Return const char*.
2228 * config/tc-microblaze.c (md_atof): Likewise.
2229 * config/tc-microblaze.h (md_atof): Delete prototype.
2230 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2231 (md_atof): Return const char*.
2232 * config/tc-mmix.c (md_atof): Likewise.
2233 * config/tc-mn10200.c (md_atof): Likewise.
2234 * config/tc-mn10300.c (md_atof): Likewise.
2235 * config/tc-moxie.c (md_atof): Likewise.
2236 * config/tc-msp430.c (md_atof): Likewise.
2237 * config/tc-mt.c (md_atof): Likewise.
2238 * config/tc-nds32.c (md_atof): Likewise.
2239 * config/tc-nios2.c (md_atof): Likewise.
2240 (nios2_elf_section_letter): Constify ptr_msg param.
2241 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2242 * config/tc-ns32k.c (md_atof): Return const char*.
2243 * config/tc-or1k.c (md_atof): Likewise.
2244 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2245 (md_atof): Return const char*.
2246 * config/tc-pj.c (md_atof): Likewise.
2247 * config/tc-ppc.c (md_atof): Likewise.
2248 * config/tc-rl78.c (md_atof): Likewise.
2249 * config/tc-rx.c (md_atof): Likewise.
2250 * config/tc-s390.c (md_atof): Likewise.
2251 * config/tc-score.c (s3_atof, md_atof): Likewise.
2252 * config/tc-sh.c (md_atof): Likewise.
2253 * config/tc-sparc.c (struct sparc_it): Constify error.
2254 (md_atof): Return const char*.
2255 * config/tc-spu.c (md_atof): Likewise.
2256 * config/tc-tic30.c (md_atof): Likewise.
2257 * config/tc-tic4x.c (md_atof): Likewise.
2258 * config/tc-tic54x.c (md_atof): Likewise.
2259 * config/tc-tic6x.c (md_atof): Likewise.
2260 * config/tc-tilegx.c (md_atof): Likewise.
2261 * config/tc-tilepro.c (md_atof): Likewise.
2262 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2263 * config/tc-vax.c (md_atof): Likewise.
2264 * config/tc-visium.c (md_atof): Likewise.
2265 * config/tc-xc16x.c (md_atof): Likewise.
2266 * config/tc-xgate.c (md_atof): Likewise.
2267 * config/tc-xstormy16.c (md_atof): Likewise.
2268 * config/tc-xtensa.c (md_atof): Likewise.
2269 * config/tc-z80.c (md_atof): Likewise.
2270 * config/tc-z8k.c (md_atof): Likewise.
2271
e4a0c708
TS
22722016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2273
2274 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2275 const.
2276 (xtensa_section_rename): Make argument type const char *.
2277 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2278
e2c7dcae
TS
22792016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2280
2281 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2282 args[0].
2283
f854977c
TS
22842016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2285
2286 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2287 char *.
2288 (m32c_indirect_operand): Likewise.
2289 * config/tc-nds32.c (do_pseudo_b): Likewise.
2290 (do_pseudo_bal): Likewise.
2291 (do_pseudo_ls_bhw): Likewise.
2292
97830986
TS
22932016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2294
2295 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2296
e87de513
TS
22972016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2298
2299 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2300 get_symbol_name ().
2301 * config/tc-sparc.c (s_register): Cast a literal to char * in
2302 assignment.
2303
47990a6a
TS
23042016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2305
2306 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2307 input_line_pointer.
2308 * config/tc-m32r.c (expand_debug_syms): Likewise.
2309 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2310 * config/tc-z80.c (md_begin): Likewise.
2311 * stabs.c (stabs_generate_asm_func): Likewise.
2312
e046cf80
TS
23132016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2314
2315 * cgen.c: Modernize the way functions declare arguments.
2316 * config/tc-bfin.c: Likewise.
2317 * config/tc-pdp11.c: Likewise.
2318 * literal.c: Likewise.
2319 * read.c: Likewise.
2320 * stabs.c: Likewise.
2321
d9235011
TS
23222016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2323
2324 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2325 variables unsigned char[].
2326 * config/tc-alpha.c (alpha_handle_align): Likewise.
2327 * config/tc-arm.c (arm_handle_align): Likewise.
2328 * config/tc-z80.c: Likewise.
2329
c6025a80
NC
23302016-03-30 Nick Clifton <nickc@redhat.com>
2331
2332 PR target/19880
2333 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2334 shifting.
2335
f89a23cf
CZ
23362016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2337
abe051ba
AM
2338 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2339 * testsuite/gas/elf/elf.exp: Likewise.
2340 * testsuite/gas/all/redef3.d: Allow execution for ARC.
f89a23cf 2341
f621ad3c
CZ
23422016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2343
abe051ba 2344 * testsuite/gas/arc/warn.exp: Fix matching pattern.
f621ad3c 2345
f2dd8838
CZ
23462016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2347
abe051ba
AM
2348 * testsuite/gas/arc/ext2op.d: New file.
2349 * testsuite/gas/arc/ext2op.s: Likewise.
2350 * testsuite/gas/arc/ext3op.d: Likewise.
2351 * testsuite/gas/arc/ext3op.s: Likewise.
f2dd8838 2352
17b9d67d
TS
23532016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2354
2355 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2356 qualifier.
2357 * config/tc-alpha.c (md_parse_option): Likewise.
2358 * config/tc-arc.c (md_parse_option): Likewise.
2359 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2360 (md_parse_option): Likewise.
2361 * config/tc-avr.c (md_parse_option): Likewise.
2362 * config/tc-bfin.c (md_parse_option): Likewise.
2363 * config/tc-cr16.c (md_parse_option): Likewise.
2364 * config/tc-cris.c (s_cris_arch): Likewise.
2365 (md_parse_option): Likewise.
2366 * config/tc-crx.c (md_parse_option): Likewise.
2367 * config/tc-d10v.c (md_parse_option): Likewise.
2368 * config/tc-d30v.c (md_parse_option): Likewise.
2369 * config/tc-dlx.c (md_parse_option): Likewise.
2370 * config/tc-epiphany.c (md_parse_option): Likewise.
2371 * config/tc-fr30.c (md_parse_option): Likewise.
2372 * config/tc-frv.c (md_parse_option): Likewise.
2373 * config/tc-ft32.c (md_parse_option): Likewise.
2374 * config/tc-h8300.c (md_parse_option): Likewise.
2375 * config/tc-hppa.c (md_parse_option): Likewise.
2376 * config/tc-i370.c (md_parse_option): Likewise.
2377 * config/tc-i386.c (md_parse_option): Likewise.
2378 * config/tc-i860.c (md_parse_option): Likewise.
2379 * config/tc-i960.c (md_parse_option): Likewise.
2380 * config/tc-ia64.c (md_parse_option): Likewise.
2381 * config/tc-ip2k.c (md_parse_option): Likewise.
2382 * config/tc-iq2000.c (md_parse_option): Likewise.
2383 * config/tc-lm32.c (md_parse_option): Likewise.
2384 * config/tc-m32c.c (md_parse_option): Likewise.
2385 * config/tc-m32r.c (md_parse_option): Likewise.
2386 * config/tc-m68hc11.c (md_parse_option): Likewise.
2387 * config/tc-m68k.c (md_parse_option): Likewise.
2388 * config/tc-mcore.c (md_parse_option): Likewise.
2389 * config/tc-mep.c (md_parse_option): Likewise.
2390 * config/tc-metag.c (struct metag_long_option): Likewise.
2391 (md_parse_option): Likewise.
2392 * config/tc-microblaze.c (md_parse_option): Likewise.
2393 * config/tc-microblaze.h (md_parse_option): Remove prototype.
2394 * config/tc-mips.c (md_parse_option): Adjust.
2395 * config/tc-mmix.c (md_parse_option): Likewise.
2396 * config/tc-mn10200.c (md_parse_option): Likewise.
2397 * config/tc-mn10300.c (md_parse_option): Likewise.
2398 * config/tc-moxie.c (md_parse_option): Likewise.
2399 * config/tc-msp430.c (md_parse_option): Likewise.
2400 * config/tc-mt.c (md_parse_option): Likewise.
2401 * config/tc-nds32.c (md_parse_option): Likewise.
2402 * config/tc-nds32.h (nds32_parse_option): Likewise.
2403 * config/tc-nios2.c (md_parse_option): Likewise.
2404 * config/tc-ns32k.c (md_parse_option): Likewise.
2405 * config/tc-or1k.c (md_parse_option): Likewise.
2406 * config/tc-pdp11.c (md_parse_option): Likewise.
2407 * config/tc-pj.c (md_parse_option): Likewise.
2408 * config/tc-ppc.c (md_parse_option): Likewise.
2409 * config/tc-rl78.c (md_parse_option): Likewise.
2410 * config/tc-rx.c (md_parse_option): Likewise.
2411 * config/tc-s390.c (s390_parse_cpu): Likewise.
2412 * config/tc-score.c (md_parse_option): Likewise.
2413 * config/tc-sh.c (md_parse_option): Likewise.
2414 * config/tc-sparc.c (md_parse_option): Likewise.
2415 * config/tc-spu.c (md_parse_option): Likewise.
2416 * config/tc-tic30.c (md_parse_option): Likewise.
2417 * config/tc-tic4x.c (md_parse_option): Likewise.
2418 * config/tc-tic54x.c (md_parse_option): Likewise.
2419 * config/tc-tic6x.c (md_parse_option): Likewise.
2420 * config/tc-tilegx.c (md_parse_option): Likewise.
2421 * config/tc-tilepro.c (md_parse_option): Likewise.
2422 * config/tc-v850.c (md_parse_option): Likewise.
2423 * config/tc-vax.c (md_parse_option): Likewise.
2424 * config/tc-visium.c (struct visium_long_option_table): Likewise.
2425 * config/tc-xc16x.c (md_parse_option): Likewise.
2426 * config/tc-xgate.c (md_parse_option): Likewise.
2427 * config/tc-xstormy16.c (md_parse_option): Likewise.
2428 * config/tc-xtensa.c (md_parse_option): Likewise.
2429 * config/tc-z80.c (md_parse_option): Likewise.
2430 * config/tc-z8k.c (md_parse_option): Likewise.
2431 * tc.h (md_parse_option): Likewise.
2432
30bd735c
TS
24332016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2434
2435 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
2436 * config/tc-hppa.c (fix_new_hppa): Likewise.
2437 (pa_vtable_entry): Likewise.
2438 (pa_vtable_inherit): Likewise.
2439 * config/tc-m68k.c (md_begin): Likewise.
2440
82b8a785
TS
24412016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2442
2443 * config/obj-elf.c (obj_elf_section_name): Return const char *.
2444 * config/obj-elf.h (obj_elf_section_name): Adjust.
2445 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
2446 (aarch64_parse_cpu): Likewise.
2447 (aarch64_parse_arch): Likewise.
2448 * config/tc-arm.c (arm_parse_extension): Likewise.
2449 (arm_parse_cpu): Likewise.
2450 (arm_parse_arch): Likewise.
2451 * config/tc-nds32.c: Likewise.
2452 * config/xtensa-relax.c (parse_special_fn): Likewise.
2453 * stabs.c (generate_asm_file): Likewise.
2454
9202e88a
TS
24552016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2456
2457 * config/tc-cr16.c (cr16_assemble): New function.
2458 (md_assemble): Call cr16_assemble.
2459
a90fb5e3
TS
24602016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2461
2462 * as.c (parse_args): Adjust.
2463 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
2464 * config/obj-elf.c (elf_frob_symbol): Adjust.
2465
f65c3d1b
JM
24662016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2467
2468 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
2469 registers to be in the 16..31 range.
2470
e742e119
TS
24712016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2472
2473 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
2474 frag_var ().
2475
eda6e9a4
TS
24762016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2477
2478 * config/tc-visium.c (md_atof): Localize the string returned on
2479 failure.
2480
b9bb4a93
TS
24812016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2482
2483 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
2484 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2485 * config/tc-m68hc11.c (md_begin): Likewise.
2486 (print_opcode_list): Likewise.
2487 * config/tc-msp430.c (msp430_section): Likewise.
2488 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
2489 (s3_build_dependency_insn_hsh): Likewise.
2490 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
2491 (s7_build_dependency_insn_hsh): Likewise.
2492 * config/tc-tic4x.c: Likewise.
2493 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2494 (subsym_get_arg): Likewise.
2495 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
2496 (get_directive): Likewise.
2497 (cache_literal_section): Likewise.
2498 * config/xtensa-relax.c: Likewise.
2499 * symbols.c (symbol_create): Likewise.
2500 (local_symbol_make): Likewise.
2501 (symbol_relc_make_expr): Likewise.
2502
986d894b
TS
25032016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2504
2505 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
2506 str.
2507
74b4e47a
TS
25082016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2509
2510 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
2511 call with a switch.
2512
0a433ebc
TS
25132016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2514
2515 * config/tc-ia64.c (ia64_do_align): Remove.
2516 (ia64_cons_align): Call do_align () directly.
2517 (dot_proc): Likewise.
2518 (stmt_float_cons): Likewise.
2519
8860a416
TS
25202016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2521
2522 * listing.c (listing_message): Use XNEW style allocation macros.
2523 * read.c (read_a_source_file): Likewise.
2524 (read_symbol_name): Likewise.
2525 (s_mri_common): Likewise.
2526 (assign_symbol): Likewise.
2527 (s_reloc): Likewise.
2528 (emit_expr_with_reloc): Likewise.
2529 (s_incbin): Likewise.
2530 (s_include): Likewise.
2531 * sb.c (sb_build): Likewise.
2532 (sb_check): Likewise.
2533
49636823
AM
25342016-03-22 Alan Modra <amodra@gmail.com>
2535
2536 * write.c (record_alignment): Revert 2016-02-18 change.
2537
39a0d071
AM
25382016-03-22 Alan Modra <amodra@gmail.com>
2539
2540 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
2541 (emit_jsrjmp, tc_gen_reloc): Likewise.
2542 * config/tc-i370.c (i370_macro): Likewise.
2543
9780e045
NC
25442016-03-22 Nick Clifton <nickc@redhat.com>
2545
2546 * configure: Regenerate.
2547
e23e8ebe
AB
25482016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2549
2550 * testsuite/gas/arc/nps400-0.d: New file.
2551 * testsuite/gas/arc/nps400-0.s: New file.
2552 * testsuite/gas/arc/nps400-1.d: New file.
2553 * testsuite/gas/arc/nps400-1.s: New file.
2554
1ae8ab47
AB
25552016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2556
2557 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
2558 declarations to start of block. Reset code on all flags before
2559 attempting to match them. Handle multiple hits on the same flag.
2560 Handle flag class.
2561 * testsuite/gas/arc/asm-errors.d: New file.
2562 * testsuite/gas/arc/asm-errors.err: New file.
2563 * testsuite/gas/arc/asm-errors.s: New file.
2564
8699fc3e
AB
25652016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2566
2567 * config/tc-arc.c (cpu_types): Add nps400 entry.
2568 (check_zol): Handle nps400.
2569
a9522a21
AB
25702016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2571
2572 * config/tc-arc.c (arc_select_cpu): Remove use of
2573 EF_ARC_CPU_GENERIC.
2574
24740d83
AB
25752016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2576
2577 * config/tc-arc.c (arc_target): Delay initialisation until
2578 arc_select_cpu.
2579 (arc_target_name): Likewise.
2580 (arc_features): Likewise.
2581 (arc_mach_type): Likewise.
2582 (cpu_types): Remove "all" entry.
2583 (arc_select_cpu): New function, most of the content is from...
2584 (md_parse_option): ... here. Call new arc_select_cpu.
2585 (md_begin): Call arc_select_cpu if needed, default is now arc700.
2586
62f6f9c2
AB
25872016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2588
2589 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
2590 * testsuite/gas/arc/inline-data-2.d: New file.
2591
e1fa0163
NC
25922016-03-21 Nick Clifton <nickc@redhat.com>
2593
2594 * atof-generic.c: Replace use of alloca with call to xmalloc.
2595 * cgen.c: Likewise.
2596 * dwarf2dbg.c: Likewise.
2597 * macro.c: Likewise.
2598 * remap.c: Likewise.
2599 * stabs.c: Likewise.
2600 * symbols.c: Likewise.
2601 * config/obj-elf.c: Likewise.
2602 * config/tc-aarch64.c: Likewise.
2603 * config/tc-arc.c: Likewise.
2604 * config/tc-arm.c: Likewise.
2605 * config/tc-avr.c: Likewise.
2606 * config/tc-ia64.c: Likewise.
2607 * config/tc-mips.c: Likewise.
2608 * config/tc-msp430.c: Likewise.
2609 * config/tc-nds32.c: Likewise.
2610 * config/tc-ppc.c: Likewise.
2611 * config/tc-sh.c: Likewise.
2612 * config/tc-tic30.c: Likewise.
2613 * config/tc-tic54x.c: Likewise.
2614 * config/tc-xstormy16.c: Likewise.
2615 * config/te-vms.c: Likewise.
2616 * configure: Regenerate.
2617
bad6e36d
TS
26182016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2619
2620 * tc-i386.c (f32_1): Change type to unsigned char[].
2621 (f32_2): Likewise.
2622 (f32_3): Likewise.
2623 (f32_4): Likewise.
2624 (f32_5): Likewise.
2625 (f32_6): Likewise.
2626 (f32_7): Likewise.
2627 (f32_8): Likewise.
2628 (f32_9): Likewise.
2629 (f32_10): Likewise.
2630 (f32_11): Likewise.
2631 (f32_12): Likewise.
2632 (f32_13): Likewise.
2633 (f32_14): Likewise.
2634 (f16_3): Likewise.
2635 (f16_4): Likewise.
2636 (f16_5): Likewise.
2637 (f16_6): Likewise.
2638 (f16_7): Likewise.
2639 (f16_8): Likewise.
2640 (jump_31): Likewise.
2641 (f32_patt): Likewise.
2642 (f16_patt): Likewise.
2643 (alt_3): Likewise.
2644 (alt_4): Likewise.
2645 (alt_5): Likewise.
2646 (alt_6): Likewise.
2647 (alt_7): Likewise.
2648 (alt_8): Likewise.
2649 (alt_9): Likewise.
2650 (alt_10): Likewise.
2651 (alt_patt): Likewise.
2652
6387924a
NC
26532016-03-18 Nick Clifton <nickc@redhat.com>
2654
30fab421
NC
2655 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
2656 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
2657 .tlsdescldr and .xword directives.
2658
8678914f
NC
2659 PR target/19721
2660 * testsuite/gas/aarch64/pr19721.s: New test source file.
2661 * testsuite/gas/aarch64/pr19721.d: New test driver file.
2662
6387924a
NC
2663 * doc/as.texinfo: Place the target specific command line options
2664 into their own man page section.
2665
cc933301
JW
26662016-03-16 Jiong Wang <jiong.wang@arm.com>
2667
2668 * config/tc-arm.c (N_S_32): New.
2669 (N_F_16_32): Likewise.
2670 (N_SUF_32): Support N_F16.
2671 (N_IF_32): Likewise.
2672 (neon_dyadic_misc): Likewise.
2673 (do_neon_cmp): Likewise.
2674 (do_neon_cmp_inv): Likewise.
2675 (do_neon_mul): Likewise.
2676 (do_neon_fcmp_absolute): Likewise.
2677 (do_neon_step): Likewise.
2678 (do_neon_abs_neg): Likewise.
2679 (CVT_FLAVOR_VAR): Likewise.
2680 (do_neon_cvt_1): Likewise.
2681 (do_neon_recip_est): Likewise.
2682 (do_vmaxnm): Likewise.
2683 (do_vrint_1): Likewise.
2684 (neon_check_type): Check architecture support for FP16 extension.
2685 (insns): Update comments.
2686 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2687 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2688 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2689 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2690 arm mode.
2691 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2692 thumb mode.
2693 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2694 error file.
2695
5f2b6bc9
NC
26962016-03-16 Nick Clifton <nickc@redhat.com>
2697
2698 * read.c (emit_expr_with_reloc): Add code check a bignum with
2699 nbytes == 1.
2700 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2701 other than 32-bits.
2702 * testsuite/gas/elf/bignum.s: New test source file.
2703 * testsuite/gas/elf/bignum.d: New test driver file.
2704 * testsuite/gas/elf/elf.exp: Run the new test.
2705
4bde3cdd
UD
27062016-03-15 Ulrich Drepper <drepper@gmail.com>
2707
2708 * doc/c-i386.texi (Register Naming): Update to details of the
abe051ba 2709 latest architecture version.
4bde3cdd 2710
a9f02af8
MG
27112016-03-10 Mickael Guene <mickael.guene@st.com>
2712
2713 PR gas/19744
2714 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2715 (do_mov): Likewise.
2716 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2717 (do_t_mov_cmp): Likewise.
2718 (do_t_add_sub): Protect against bad relocations usage.
2719 (do_t_mov_cmp): Likewise.
5dafb246
AM
2720 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2721 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2722 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2723 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
a9f02af8 2724
aa8a0863
TS
27252016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2726
2727 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2728 do_alignment.
2729 (do_neon_ld_st_lane): Likewise.
2730 (do_neon_ld_dup): Likewise.
2731
72f3b6aa
CZ
27322016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
2733
2734 * testsuite/gas/arc/inline-data-1.d: New file.
2735 * testsuite/gas/arc/inline-data-1.s: New file.
2736
5f474010
TP
27372016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2738
2739 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2740 * doc/c-arm.texi: Add cortex-r8.
2741
f86f5863
TS
27422016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2743
2744 * config/tc-arc.c: Add const qualifiers.
2745 * config/tc-h8300.c (md_begin): Likewise.
2746 * config/tc-ia64.c (print_prmask): Likewise.
2747 * config/tc-msp430.c (msp430_operands): Likewise.
2748 * config/tc-nds32.c (struct suffix_name): Likewise.
2749 (struct nds32_parse_option_table): Likewise.
2750 (struct nds32_set_option_table): Likewise.
2751 (do_pseudo_pushpopm): Likewise.
2752 (do_pseudo_pushpop_stack): Likewise.
2753 (nds32_relax_relocs): Likewise.
2754 (nds32_flag): Likewise.
2755 (struct nds32_hint_map): Likewise.
2756 (nds32_find_reloc_table): Likewise.
2757 (nds32_match_hint_insn): Likewise.
2758 * config/tc-s390.c: Likewise.
2759 * config/tc-sh.c (get_specific): Likewise.
2760 * config/tc-tic30.c: Likewise.
2761 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2762 (tic4x_indirect_parse): Likewise.
2763 * config/tc-vax.c (vax_cons): Likewise.
2764 * config/tc-z80.c (struct reg_entry): Likewise.
2765 * config/tc-epiphany.c (md_assemble): Adjust.
2766 (epiphany_assemble): New function.
2767 (epiphany_elf_section_rtn): Call do_align directly.
2768 (epiphany_elf_section_text): Likewise.
2769 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2770 (ip2k_elf_section_text): Likewise.
2771 * read.c (do_align): Make it not static.
2772 * read.h (do_align): New prototype.
2773
9411fd44
MW
27742016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2775
2776 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2777 for ARMv8.1 AdvSIMD use.
2778 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2779 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2780
643afb90
MW
27812016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2782
2783 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2784 feature.
2785 (record_feature_use): New.
2786 (mark_feature_used): Use record_feature_use.
2787 (do_neon_qrdmlah): New.
2788 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2789 variants.
2790 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2791 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2792 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2793 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2794 Make source file explicit.
2795 * testsuite/gas/arm/armv8-a+rdma.l: New.
2796 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2797 directives. Fix white-space.
2798 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2799
25aa3689
L
28002016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2803
841fdfcd
CZ
28042016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2805 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2806
abe051ba
AM
2807 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2808 (tc_arc_fix_adjustable): Changed default return value to 1.
2809 * testsuite/gas/arc/j.d: Updated expected symbol
2810 * testsuite/gas/arc/jl.d: Likewise
2811 * testsuite/gas/arc/relax-avoid1.d: Likewise
2812 * testsuite/gas/arc/st.d: Likewise
841fdfcd 2813
7e458899
CZ
28142016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2815
2816 * config/tc-arc.c: Enable code density instructions for ARC EM.
2817
11e5f1ec
L
28182016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2819
2820 PR ld/19645
2821 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2822 for ELF assemblers.
2823 * as.c (flag_use_elf_stt_common): New.
2824 (show_usage): Add --elf-stt-common=.
2825 (option_values): Add OPTION_ELF_STT_COMMON.
2826 (std_longopts): Add --elf-stt-common=.
2827 (parse_args): Handle --elf-stt-common=.
2828 * as.h (flag_use_elf_stt_common): New.
2829 * config.in: Regenerated.
2830 * configure: Likewise.
2831 * configure.ac: Add --enable-elf-stt-common and define
2832 DEFAULT_GENERATE_ELF_STT_COMMON.
2833 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2834 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2835 * doc/as.texinfo: Document --elf-stt-common=.
2836 * testsuite/gas/elf/common3.s: New file.
2837 * testsuite/gas/elf/common3a.d: Likewise.
2838 * testsuite/gas/elf/common3b.d: Likewise.
2839 * testsuite/gas/elf/common4.s: Likewise.
2840 * testsuite/gas/elf/common4a.d: Likewise.
2841 * testsuite/gas/elf/common4b.d: Likewise.
2842 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2843 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2844 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2845 and common4b.
2846 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2847 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2848 --elf-stt-common=no to as.
2849 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2850 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2851 --elf-stt-common=no to as.
2852 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2853 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2854 of dw2-compress-3 and dw2-compressed-3.
2855
e0471c16
TS
28562016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2857
2858 * as.c (select_emulation_mode): Add const qualifiers.
2859 * as.h: Likewise.
2860 * config/bfin-defs.h: Likewise.
2861 * config/bfin-parse.y: Likewise.
2862 * config/rx-parse.y: Likewise.
2863 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2864 (struct aarch64_cpu_option_table): Likewise.
2865 (struct aarch64_arch_option_table): Likewise.
2866 (struct aarch64_option_cpu_value_table): Likewise.
2867 (struct aarch64_long_option_table): Likewise.
2868 (struct aarch64_option_abi_value_table): Likewise.
2869 * config/tc-arm.c (struct reloc_entry): Likewise.
2870 (tc_gen_reloc): Likewise.
2871 (struct arm_option_table): Likewise.
2872 (struct arm_legacy_option_table): Likewise.
2873 (struct arm_cpu_option_table): Likewise.
2874 (struct arm_arch_option_table): Likewise.
2875 (struct arm_option_extension_value_table): Likewise.
2876 (struct arm_option_fpu_value_table): Likewise.
2877 (struct arm_option_value_table): Likewise.
2878 (struct arm_long_option_table): Likewise.
2879 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2880 (struct mcu_type_s): Likewise.
2881 (struct exp_mod_s): Likewise.
2882 (avr_operand): Likewise.
2883 (avr_operands): Likewise.
2884 * config/tc-d10v.c (md_begin): Likewise.
2885 * config/tc-dlx.c: Likewise.
2886 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2887 * config/tc-ft32.c (parse_condition): Likewise.
2888 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2889 * config/tc-hppa.c (pa_ip): Likewise.
2890 (hppa_regname_to_dw2regnum): Likewise.
2891 * config/tc-i370.c (i370_elf_suffix): Likewise.
2892 * config/tc-i960.c (struct tabentry): Likewise.
2893 * config/tc-m32r.c: Likewise.
2894 * config/tc-m68k.c: Likewise.
2895 * config/tc-m68k.h: Likewise.
2896 * config/tc-mcore.c (parse_psrmod): Likewise.
2897 * config/tc-metag.c (struct metag_core_option): Likewise.
2898 (struct metag_long_option): Likewise.
2899 * config/tc-microblaze.c: Likewise.
2900 * config/tc-mips.c (macro): Likewise.
2901 * config/tc-mn10200.c: Likewise.
2902 * config/tc-mn10300.c: Likewise.
2903 * config/tc-msp430.c (struct rcodes_s): Likewise.
2904 (struct hcodes_s): Likewise.
2905 (md_parse_option): Likewise.
2906 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2907 (optlist): Likewise.
2908 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2909 (tc_ppc_regname_to_dw2regnum): Likewise.
2910 * config/tc-ppc.h: Likewise.
2911 * config/tc-rl78.c: Likewise.
2912 * config/tc-rx.c (struct cpu_type): Likewise.
2913 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2914 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2915 (sparc_ip): Likewise.
2916 * config/tc-spu.c (insn_fmt_string): Likewise.
2917 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2918 * config/tc-v850.c: Likewise.
2919 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2920 (struct visium_long_option_table): Likewise.
2921 * config/tc-xgate.c: Likewise.
2922 * config/tc-z8k.c: Likewise.
2923 * read.c (add_include_dir): Likewise.
2924 * read.h: Likewise.
2925
e6e7b7c4
AB
29262016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2927
2928 * testsuite/gas/all/gas.exp: Change target pattern to cover
2929 arceb-*.
2930 * testsuite/gas/all/redef3.d: Likewise.
2931 * testsuite/gas/elf/elf.exp: Likewise.
2932
9db2f6b4
RL
29332016-02-24 Renlin Li <renlin.li@arm.com>
2934
2935 * config/tc-arm.c (BAD_FP16): New error message macro.
2936 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2937 fp16 scalar instructions.
2938 (neon_check_type): Allow different size from key.
2939 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2940 (try_vfp_nsyn): Likewise.
2941 (do_vfp_nsyn_mla_mls): Likewise.
2942 (do_vfp_nsyn_fma_fms): Likewise.
2943 (do_vfp_nsyn_ldm_stm): Likewise
2944 (do_vfp_nsyn_sqrt): Likewise
2945 (do_vfp_nsyn_div): Likewise
2946 (do_vfp_nsyn_nmul): Likewise.
2947 (do_vfp_nsyn_cmp): Likewise.
2948 (do_neon_shll): Likewise.
2949 (do_vfp_nsyn_cvt_fpv8): Likewise.
2950 (do_neon_cvttb_2): Likewise.
2951 (do_neon_mov): Likewise.
2952 (do_neon_rshift_round_imm): Likewise.
2953 (do_neon_ldr_str): Likewise.
2954 (do_vfp_nsyn_fpv8): Likewise.
2955 (do_vmaxnm): Likewise.
2956 (do_vrint_1): Likewise.
2957 (insns): New entry for vins, vmovx.
2958 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2959 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2960 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2961 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2962 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2963 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2964 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2965
d54af2d0
RL
29662016-02-24 Renlin Li <renlin.li@arm.com>
2967
2968 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2969 (neon_shape_class): New SC_HALF.
2970 (neon_shape_el): New SE_H.
2971 (neon_shape_el_size): New size for SE_H.
2972 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2973 (neon_select_shape): Add SE_H support code.
2974 (el_type_of_type_chk): Use N_F_ALL.
2975 (do_vfp_nsyn_cvt): Add SE_H shape support.
2976 (do_neon_cvtz): Likewise.
2977 (do_neon_cvt_1): Likewise.
2978 (do_neon_cvttb_1): Likewise.
2979
b0c11777
RL
29802016-02-24 Renlin Li <renlin.li@arm.com>
2981
2982 * testsuite/gas/arm/copro.d: Adjust output.
2983 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2984
3e309328
RL
29852016-02-24 Renlin Li <renlin.li@arm.com>
2986
2987 * testsuite/gas/arm/mask_1.d: New.
2988 * testsuite/gas/arm/mask_1.s: New.
2989
8afc7bea
RL
29902016-02-24 Renlin Li <renlin.li@arm.com>
2991
2992 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2993 * testsuite/gas/arm/copro.d: Update.
2994
6735952f
KT
29952016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2996
2997 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2998 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2999
ed5491b9
KT
30002016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3001
abe051ba 3002 * doc/c-arm.texi (ARM Options): Document cortex-a17.
ed5491b9 3003
742e5034
L
30042016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3005
3006 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3007 hpux.
3008
3b4dbbbf
TS
30092016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3010
3011 * output-file.c (output_file_create): Make file name argument const.
3012 (output_file_close): Likewise.
3013 * output-file.h (output_file_create): Adjust.
3014 (output_file_close): Likewise.
3015 * depend.c (quote_string_for_make): Make src argument const char *.
3016 (register_dependency): Likewise.
3017 (wrap_output): Likewise.
3018 * as.h (register_dependency): Adjust.
3019 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3020 as_where ();
3021 * symbols.c (S_SET_EXTERNAL): Likewise.
3022 * input-scrub.c (as_where): Return the file name.
3023 * as.h (as_where): Adjust prototype.
3024 * app.c (do_scrub_chars): Adjust.
3025 * cond.c (s_elseif): Likewise.
3026 (s_else): Likewise.
3027 (initialize_cframe): Likewise.
3028 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3029 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3030 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3031 * config/tc-aarch64.c (output_info): Likewise.
3032 * config/tc-ia64.c (md_assemble): Likewise.
3033 (dot_alias): Likewise.
3034 * config/tc-m68k.c (m68k_frob_label): Likewise.
3035 * config/tc-mmix.c (s_bspec): Likewise.
3036 (mmix_handle_mmixal): Likewise.
3037 * config/tc-rx.c (rx_include): Likewise.
3038 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3039 (tic54x_adjust_symtab): Likewise.
3040 * config/tc-xtensa.c (directive_push): Likewise.
3041 (xtensa_sanity_check): Likewise.
3042 (xtensa_relax_frag): Likewise.
3043 (md_convert_frag): Likewise.
3044 (tinsn_to_slotbuf): Likewise.
3045 * dwarf2dbg.c (dwarf2_where): Likewise.
3046 * ecoff.c (add_file): Likewise.
3047 (ecoff_generate_asm_lineno): Likewise.
3048 * expr.c (make_expr_symbol): Likewise.
3049 * frags.c (frag_new): Likewise.
3050 (frag_var_init): Likewise.
3051 * listing.c (listing_newline): Likewise.
3052 * messages.c (identify): Likewise.
3053 (as_show_where): Likewise.
3054 (as_warn_internal): Likewise.
3055 (as_bad_internal): Likewise.
3056 * read.c (s_irp): Likewise.
3057 (s_macro): Likewise.
3058 (s_reloc): Likewise.
3059 * stabs.c (stabs_generate_asm_file): Likewise.
3060 (stabs_generate_asm_lineno): Likewise.
3061 (stabs_generate_asm_func): Likewise.
3062 * write.c (fix_new_internal): Likewise.
3063 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3064 (as_warn_value_out_of_range): Adjust prototype.
3065 (as_bad_value_out_of_range): Adjust prototype.
3066 * messages.c (identify): Make file name argument const char *.
3067 (as_warn_internal): Likewise.
3068 (as_warn_where): Likewise.
3069 (as_bad_internal): Likewise.
3070 (as_bad_where): Likewise.
3071 (as_internal_value_out_of_range): Likewise.
3072 (as_warn_value_out_of_range): Likewise.
3073 (as_bad_value_out_of_range): Likewise.
3074 * as.h (found_comment_file): Change type to const char *.
3075 * cond.c (file_line::file): Likewise.
3076 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3077 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3078 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3079 * config/tc-aarch64.c (output_info): Likewise.
3080 * config/tc-alpha.c (insert_operand): Likewise.
3081 * config/tc-arc.c (insert_operand): Likewise.
3082 * config/tc-d30v.c (check_size): Likewise.
3083 * config/tc-ia64.c (struct alias): Likewise.
3084 * config/tc-m68k.c (struct label_line): Likewise.
3085 * config/tc-mcore.c (md_apply_fix): Likewise.
3086 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3087 * config/tc-mips.c (mips16_immed): Likewise.
3088 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3089 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3090 * config/tc-rx.c (rx_include): Likewise.
3091 * config/tc-s390.c (s390_insert_operand): Likewise.
3092 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3093 (tic54x_adjust_symtab): Likewise.
3094 * config/tc-tilegx.c (insert_operand): Likewise.
3095 (apply_special_operator): Likewise.
3096 * config/tc-tilepro.c (insert_operand): Likewise.
3097 * config/tc-xtensa.c (directive_push): Likewise.
3098 * ecoff.c (add_file): Likewise.
3099 (ecoff_generate_asm_lineno): Likewise.
3100 * listing.c (listing_newline): Likewise.
3101 * read.c (s_irp): Likewise.
3102 * write.c (install_reloc): Likewise.
3103 * write.h (struct fix): Likewise.
3104 * input-file.c (file_name): Change type to const char *.
3105 (saved_file::file_name): Likewise.
3106 (input_file_open): Change type of argument to const char *.
3107 * input-file.h (input_file_open): Adjust.
3108 * input-scrub.c (logical_input_file): change type to const char *.
3109 (physical_input_file): Likewise.
abe051ba 3110 (struct input_save): Adjust.
3b4dbbbf
TS
3111 (input_scrub_push): Adjust.
3112 (input_scrub_begin): Adjust.
3113 (as_where): Adjust.
3114 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3115 (input_scrub_include_file): Likewise.
3116 (new_logical_line_flags): Likewise.
3117 (new_logical_line): Likewise.
3118 * as.h: Adjust.
3119 * frags.h (struct frag): Change type of fr_file to const char *.
3120 * expr.c (expr_symbol_where): Change type of file argument to
3121 const char **.
3122 * expr.h (expr_symbol_where): Likewise.
3123 * config/tc-i370.c (md_apply_fix): adjust.
3124 * config/tc-mmix.c (mmix_md_end): Likewise.
3125 * config/tc-ppc.c (md_apply_fix): Likewise.
3126 * config/tc-s390.c (md_apply_fix): Likewise.
3127 * symbols.c (report_op_error): Likewise.
3128 (resolve_symbol_value): Likewise.
3129 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3130 (rsrc::file): Likewise.
3131 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3132 const char *.
3133 (xtensa_relax_frag): Likewise.
3134 (md_convert_frag): Likewise.
3135 (tinsn_to_slotbuf): Likewise.
3136 * expr.c (expr_symbol_line): Likewise.
3137 * macro.c (define_macro): Likewise.
3138 * macro.h (macro_struct): Likewise.
3139 * messages.c (as_show_where): Likewise.
3140 * read.c (s_macro): Likewise.
3141 * stabs.c (stabs_generate_asm_file): Likewise.
3142 (generate_asm_file): Likewise.
3143 (stabs_generate_asm_lineno): Likewise.
3144 * write.h (struct reloc_list): Likewise.
3145 * input-scrub.c (as_where): Change return type to const char *.
3146 * as.h (as_wheree): Adjust.
3147
8ecb73dd
L
31482016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3149
3150 * write.c (compress_debug): Move BFD compression bits setting
3151 to ...
3152 (write_object_file): Here.
3153
200cbe0f
L
31542016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3155
3156 * config/tc-i386.c (register_number): Check RegVRex.
3157 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3158 with %zmm19 and %zmm3.
3159 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3160 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3161
b8ec4e87
JW
31622016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3163 Jiong Wang <jiong.wang@arm.com>
3164
3165 * config/tc-arm.c (arm_ext_fp16): New.
3166 (arm_extensions): New entry for "fp16".
3167
3be64886
NC
31682016-02-19 Nick Clifton <nickc@redhat.com>
3169
3170 PR 19630
3171 * read.c (read_a_source_file): Check for assemble_one returning
3172 with input_line_pointer set to NULL.
3173
3b4dbbbf 31742016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
cd0bbe6e 3175
3d13c647
TS
3176 * listing.c (rebuffer_line): Change return type to void.
3177
cd0bbe6e
TS
3178 * symbols.c (decode_local_label_name): Make type a const char *.
3179 * listing.c (print_source): Make type of p const char *.
3180 (print_line): Make type of string const char *.
3181 (buffer_line): Return const char *.
3182 (title): Make type const char *.
3183 (subtitle): Likewise.
3184 (listing_listing): Make type of p const char *.
3185 * messages.c (as_internal_value_out_of_range): Make type of prefix
3186 const char *.
3187 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3188 and string const char *.
3189 * read.c (_bfd_rel): Make type of name const char *.
3190 * app.c (out_string): Change type to const char *.
abe051ba 3191 (struct app_save::out_string): Likewise.
cd0bbe6e 3192
9136aa49
DG
31932016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3194 Nick Clifton <nickc@redhat.com>
3195
3196 * read.c (finish_bundle): Avoid recording a negative alignment.
3197 (do_align): Use unsigned values for n, len and max. Only create
3198 a frag if the alignment requirement is greater than the minimum
3199 byte alignment. Avoid recording a negative alignment.
3200 (s_align): Use unsigned values where appropriate.
3201 (bss_alloc): Use an unsigned value for the alignment.
3202 (sizeof_sleb128): Add a comment noting that we encode one octet
3203 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3204 (emit_leb129_expr): Abort if the emitted encoding was longer than
3205 expected.
3206 * read.h (output_leb128): Update prototype.
3207 (sizeof_leb128): Update prototype.
3208 (bss_alloc): Update prototype.
3209 * write.c (record_alignment): Use an unsigned value for the
3210 alignment. Do not record alignments less than the minimum
3211 alignment for a byte.
3212 * write.h (record_alignment): Update prototype.
3213
4111950f
MF
32142016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3215
3216 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3217 .init.literal/.fini.literal section name.
3218 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3219 list of xtensa tests.
3220 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3221 init-fini-literals test result patterns.
3222 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3223 init-fini-literals test.
3224
b27c40ec
NC
32252016-02-17 Nick Clifton <nickc@redhat.com>
3226
3227 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3228 devices.csv file as of March 2016.
3229
726c18e1
CZ
32302016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3231
3232 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3233 function.
3234 (tc_arc_regname_to_dw2regnum): Likewise.
3235 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3236 (tc_cfi_frame_initial_instructions): Likewise.
3237 (tc_regname_to_dw2regnum): Likewise.
5dafb246
AM
3238 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3239 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3240 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
726c18e1 3241
9406ee73
TS
32422016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3243
3244 * doc/internals.texi (S_IS_EXTERN): Remove.
3245
eda683bb
NC
32462016-02-16 Nick Clifton <nickc@redhat.com>
3247
3248 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3249 update.
3250
671eeb28
RL
32512016-02-16 Renlin Li <renlin.li@arm.com>
3252
3253 PR gas/19620
3254 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3255 * testsuite/gas/aarch64/movw_label.d: New.
3256 * testsuite/gas/aarch64/movw_label.s: New.
3257
804021fb 32582016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
6439ea1a 3259
58cda018 3260 PR gas/19556
6439ea1a
VK
3261 * config/rx-parse.y (MOV): Opcode generation for index
3262 register addressing mode.
3263 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3264 * testsuite/gas/rx/pr19665.s: New file.
3265 * testsuite/gas/rx/pr19665.s: New file.
3266 * testsuite/gas/rx/mov.d: Update expected output.
3267
804021fb 32682016-02-15 Nick Clifton <nickc@redhat.com>
9fb71ee4
NC
3269
3270 * doc/as.texinfo (.section): Document that numeric values can now
3271 be used for the flags and type fields of the ELF target's .section
3272 directive. Add notes about the restrictions on setting flags and
3273 types.
3274 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3275 to be given processor specific section types. Allow processor and
3276 application specific flags of a section to be set after
3277 definition.
3278 (obj_elf_parse_section_letters): Handle parsing numeric values.
3279 (obj_elf_section_type): Handle parsing numeric values.
3280 (obj_elf_section): Allow numeric type values.
3281 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3282 * testsuite/gas/elf/section10.d: New test.
3283 * testsuite/gas/elf/section10.s: Source file for new test.
3284 * testsuite/gas/elf/elf.exp: Run the new test.
3285 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3286 the description of the flags produced by readelf.
3287 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3288 * NEWS: Mention the new feature.
3289
bd5608dc
NC
32902016-02-11 Nick Clifton <nickc@redhat.com>
3291
3292 PR gas/19614
3293 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3294 until it is actually used.
3295 (cfi_set_sections): Set cfi_sections_set to true.
3296 (dot_cfi_startproc): Likewise.
3297 (dot_cfi_endproc): Likewise.
3298 (dot_cfi_fde_data): Likewise.
3299 (cfi_finish): Likewise.
3300 (dot_cfi_sections): Do not set cfi_sections_set.
3301 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3302 their own cfi section name. Also note that the directive can be
3303 reissued provided that CFI generation has not started.
3304 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3305 .cfi_endproc directives so that the redefinition of .cfi_sections
3306 will trigger the generation of the error message.
3307 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3308 number of error message.
3309
4670103e
CZ
33102016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3311 Janek van Oirschot <jvanoirs@synopsys.com>
3312
3313 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3314 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3315 Define.
3316 (arc_flags, arc_relax_type): New structure.
3317 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3318 (RELAX_TABLE_ENTRY_MAX): New define.
3319 (relaxation_state, md_relax_table, arc_relaxable_insns)
3320 (arc_num_relaxable_ins): New variable.
3321 (rlx_operand_type, arc_rlx_types): New enums.
3322 (arc_relaxable_ins): New structure.
3323 (OPTION_RELAX): New option.
3324 (arc_insn): New relax member.
3325 (arc_flags): Remove.
3326 (relax_insn_p): New function.
3327 (apply_fixups): Likewise.
3328 (relaxable_operand): Likewise.
3329 (may_relax_expr): Likewise.
3330 (relaxable_flag): Likewise.
3331 (arc_pcrel_adjust): Likewise.
3332 (md_estimate_size_before_relax): Implement.
3333 (md_convert_frag): Likewise.
3334 (md_parse_option): Handle new mrelax option.
3335 (md_show_usage): Likewise.
3336 (assemble_insn): Set relax member.
3337 (emit_insn0): New function.
3338 (emit_insn1): Likewise.
3339 (emit_insn): Handle relaxation case.
3340 * NEWS: Mention the new relaxation option.
3341 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3342 * doc/as.texinfo (Target ARC Options): Likewise.
3343 * testsuite/gas/arc/relax-avoid1.d: New file.
3344 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3345 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3346 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3347 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3348 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3349 * testsuite/gas/arc/relax-b.d: Likewise.
3350 * testsuite/gas/arc/relax-b.s: Likewise.
3351
9264d325
NC
33522016-02-08 Nick Clifton <nickc@redhat.com>
3353
3354 * config/tc-ia64.c (dot_prologue): Fix formatting.
3355
39306124
NC
33562016-02-04 Nick Clifton <nickc@redhat.com>
3357
3358 * config/obj-elf.c (obj_elf_change_section): Remove support for
3359 ARM NOREAD sections.
3360 * config/tc-arm.c (arm_elf_section_letter): Delete.
3361 * config/tc-arm.h (md_elf_section_letter): Delete.
3362 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3363 * testsuite/gas/arm/section-execute-only.d: Delete.
3364 * testsuite/gas/arm/section-execute-only.s: Delete.
3365
c1d9289f
NC
33662016-02-04 Nick Clifton <nickc@redhat.com>
3367
3368 PR target/19561
3369 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
3370 to handle encoding of RRUX instruction.
3371 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
3372 shift instructions.
3373 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
3374
ea173078
MF
33752016-02-03 Max Filippov <jcmvbkbc@gmail.com>
3376
3377 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
3378 substitutions for BFD_RELOC_* as unsigned.
c1d9289f
NC
3379 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
3380 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
3381 * testsuite/gas/xtensa/loc.s: New file: loc test.
ea173078 3382
3d8efabf
KB
33832016-02-03 Kevin Buettner <kevinb@redhat.com>
3384
abe051ba 3385 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3d8efabf 3386
0cb4071e
L
33872016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3388
3389 PR gas/19520
3390 * NEWS: Mention new command line option -mrelax-relocations and
3391 new configure option --enable-x86-relax-relocations for x86
3392 target.
3393 * config.in: Regenerated.
3394 * configure.ac: Add --enable-x86-relax-relocations.
3395 (ac_default_x86_relax_relocations): New. Default to 1 except
3396 for x86 Solaris targets older than Solaris 12.
3397 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
3398 * configure: Likewise.
3399 * config/tc-i386.c (generate_relax_relocations): New.
3400 (OPTION_MRELAX_RELOCATIONS): Likewise.
3401 (output_disp): Don't generate relax relocations if
3402 generate_relax_relocations is 0.
3403 (md_longopts): Add -mrelax-relocations.
3404 (md_show_usage): Likewise.
3405 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
3406 * doc/c-i386.texi: Document -mrelax-relocations=.
3407 * testsuite/gas/i386/got-no-relax.d: New file.
3408 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
3409 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
3410 * testsuite/gas/i386/localpic.d: Likewise.
3411 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
3412 * testsuite/gas/i386/reloc32.d: Likewise.
3413 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
3414 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
3415 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
3416 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
3417 * testsuite/gas/i386/i386.exp: Run got-no-relax and
3418 x86-64-gotpcrel-no-relax.
3419
9d3fc4e1
L
34202016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3421
3422 * NEWS: Mention new command line option -mfence-as-lock-add=yes
3423 for x86 target.
3424
ab71ce86
L
34252016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3426
3427 * NEWS: Remove duplicated marker for 2.26.
3428
46d70d04
RL
34292016-02-02 Renlin Li <renlin.li@arm.com>
3430
3431 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
3432
0f99255d
AB
34332016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3434
3435 * testsuite/gas/ip2k/allinsn.d: New file.
3436 * testsuite/gas/ip2k/allinsn.s: New file.
3437 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
3438
5d7a9011
AB
34392016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3440
3441 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
3442 some load instructions.
3443 * testsuite/gas/epiphany/allinsn.d: Likewise.
3444 * testsuite/gas/epiphany/regression.d: Likewise.
3445
a012b298
AB
34462016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3447
3448 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
3449 suffixes from instruction mnemonics in expected output.
3450 * testsuite/gas/epiphany/allinsn.d: Likewise.
3451 * testsuite/gas/epiphany/regression.d: Likewise.
3452 * testsuite/gas/epiphany/sample.d: Likewise.
3453
2f74d480
AB
34542016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3455
3456 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
3457 names.
3458 * testsuite/gas/epiphany/allinsn.d: Likewise.
3459 * testsuite/gas/epiphany/sample.d: Likewise.
3460
b89807c6
AB
34612016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3462
3463 * testsuite/gas/epiphany/sample.d: Update expected output.
3464
b125bd17
CZ
34652016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3466
abe051ba
AM
3467 * config/tc-arc.c (md_apply_fix): Allow addendum.
3468 (arc_reloc_op): Allow complex expressions for tpoff.
3469 (md_apply_fix): Handle resolved TLS local symbol.
b125bd17
CZ
3470 * testsuite/gas/arc/tls-relocs1.d: New file.
3471 * testsuite/gas/arc/tls-relocs1.s: Likewise.
3472
4f1d6205
L
34732016-02-01 Loria <Loria@phantasia.org>
3474
3475 PR target/19311
3476 * config/tc-arm.c (encode_arm_immediate): Recode to improve
3477 efficiency and avoid an LLVM loop optimization bug.
3478
ac0d427f
NC
34792016-02-01 Nick Clifton <nickc@redhat.com>
3480
3481 * config/tc-microblaze.c (parse_imm): Fix compile time warning
3482 message extending a negative 32-bit value into a larger signed
3483 value on a 32-bit host.
3484
348ef89a
L
34852016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3486
3487 PR gas/19532
3488 * configure.ac (compressed_debug_sections): Replace == with =.
3489 * configure: Regenerated.
3490
e4e00185
AS
34912016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
3492 H.J. Lu <hongjiu.lu@intel.com>
3493
3494 * config/tc-i386.c (avoid_fence): New.
3495 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
3496 is true.
3497 (OPTION_FENCE_AS_LOCK_ADD): New.
3498 (md_longopts): Add -mfence-as-lock-add.
3499 (md_parse_option): Handle -mfence-as-lock-add.
3500 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
3501 * doc/c-i386.texi (-mfence-as-lock-add): Document.
ac2789d7
L
3502 * testsuite/gas/i386/i386.exp: Run new tests.
3503 * testsuite/gas/i386/fence-as-lock-add.s: New.
3504 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
3505 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
3506 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
3507 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
e4e00185 3508
27ba7c94
L
35092016-01-27 H.J. Lu <hongjiu.lu@intel.com>
3510
3511 * configure.ac (compressed_debug_sections): Remove trailing `]'.
3512 * configure: Regenerated.
3513
d1982f93
L
35142016-01-25 H.J. Lu <hongjiu.lu@intel.com>
3515
3516 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
3517 (OPTION_MOMIT_LOCK_PREFIX): This.
3518 (md_longopts): Updated.
3519 (md_parse_option): Likewise.
3520
00acd688
CM
35212016-01-25 Catherine Moore <clm@codesourcery.com>
3522
3523 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3524 if abicalls are in effect.
3525 * testsuite/gas/mips/sdata-gp.s: New test.
3526 * testsuite/gas/mips/sdata-gp.d: New expected output
3527 * testsuite/gas/mips/mips.exp: Run new test.
3528
5bc5ae88
RL
35292016-01-25 Renlin Li <renlin.li@arm.com>
3530
3531 * testsuite/gas/arm/thumb2_it_search.d: New.
3532 * testsuite/gas/arm/thumb2_it_search.s: New.
3533
61e137e2
NC
35342016-01-21 Nick Clifton <nickc@redhat.com>
3535
3536 PR gas/19454
3537 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
3538 with arm-netbsdelf target.
3539 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
3540
aed5fc75
NC
35412016-01-20 Nick Clifton <nickc@redhat.com>
3542
74b92a5c
NC
3543 PR 19456
3544 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
3545 * testsuite/gas/arm/blx-bl-convert.d
3546 * testsuite/gas/arm/plt-1.d: Likewise.
3547 * testsuite/gas/arm/reloc-bad.d: Likewise.
3548 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3549 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3550 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
3551 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
3552
72e0b254
NC
3553 PR 19499
3554 * doc/as.texinfo (Errors): Correct documentation describing the
3555 interaction of .file and .line with warning and error messages.
3556
aed5fc75
NC
3557 PR 19458
3558 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
3559 * testsuite/gas/arm/archv8m-main.d: Likewise.
3560 * testsuite/gas/arm/archv8m-base.d: Likewise.
3561
0bff6e2d
MW
35622016-01-20 Matthew Wahab <matthew.wahab@arm.com>
3563
3564 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
3565 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
3566 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
3567
91f68a68
MG
35682016-01-20 Mickael Guene <mickael.guene@st.com>
3569 Terry Guo <terry.guo@arm.com>
3570
3571 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
3572 SHF_ARM_NOREAD section flag.
3573 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
3574 handle letter 'y'.
3575 (arm_elf_section_letter) : Declare it.
3576 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
3577 SHF_ARM_NOREAD section flag.
3578 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
3579
3580 * testsuite/gas/arm/section-execute-only.s: New test case.
3581 * testsuite/gas/arm/section-execute-only.d: Expected output.
3582
100b4f2e
MR
35832016-01-18 Maciej W. Rozycki <macro@imgtec.com>
3584
3585 * config/tc-mips.c (micromips_insn_length): Remove the mention
3586 of 48-bit microMIPS instructions.
3587
3d961d0d
AM
35882016-01-18 Alan Modra <amodra@gmail.com>
3589
3590 * configure: Regenerate.
3591
5c14705f
AM
35922016-01-17 Alan Modra <amodra@gmail.com>
3593
3594 * configure: Regenerate.
3595
b3066ae8
AM
35962016-01-17 Alan Modra <amodra@gmail.com>
3597
3598 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
3599
4d82fe66
NC
36002016-01-14 Nick Clifton <nickc@redhat.com>
3601
3602 * testsuite/gas/rl78/sp-relative-movw.s: New test.
3603 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
3604 * testsuite/gas/rl78/rl78.exp: Run the new test.
3605
651657fa
MW
36062016-01-14 Matthew Wahab <matthew.wahab@arm.com>
3607
3608 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
3609 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
3610
3facb0e9
MR
36112016-01-13 Maciej W. Rozycki <macro@imgtec.com>
3612
3613 * config/tc-nios2.c (output_movia): Preset `code' to 0.
3614
8a4c2869
YS
36152016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
3616
3617 * config/tc-h8300.c (get_operand): Remove spurious condition in
3618 test for closing parenthesis.
3619
105bde57
MW
36202016-01-12 Matthew Wahab <matthew.wahab@arm.com>
3621
3622 * config/tc-arm.c (arm_ext_v8_2): New.
3623 (insns): Add "esb".
3624 * testsuite/gas/arm/armv8_2-a.d: New.
3625 * testsuite/gas/arm/armv8_2-a.s: New.
3626
5230aa4d
AM
36272016-01-12 Alan Modra <amodra@gmail.com>
3628
3629 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
3630
afa8d405
PB
36312016-01-11 Peter Bergner <bergner@vnet.ibm.com>
3632
3633 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
3634 xvcmpnesp, xvcmpnesp.>: Delete tests.
3635 * testsuite/gas/ppc/power9.s: Likewise.
3636 * testsuite/gas/ppc/vsx3.d: Likewise.
3637 * testsuite/gas/ppc/vsx3.s: Likewise.
3638
83c3256e
AS
36392016-01-08 Andreas Schwab <schwab@linux-m68k.org>
3640
3641 PR gas/13050
3642 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
3643 * testsuite/gas/m68k/p13050-1.s: New file.
3644 * testsuite/gas/m68k/p13050-2.d: New file.
3645 * testsuite/gas/m68k/p13050-2.s: New file.
3646
b05a65d0
AB
36472016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3648
3649 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
3650 * testsuite/gas/arc/add.d: Likewise.
3651 * testsuite/gas/arc/and.d: Likewise.
3652 * testsuite/gas/arc/asl.d: Likewise.
3653 * testsuite/gas/arc/asr.d: Likewise.
3654 * testsuite/gas/arc/bic.d: Likewise.
3655 * testsuite/gas/arc/extb.d: Likewise.
3656 * testsuite/gas/arc/extw.d: Likewise.
3657 * testsuite/gas/arc/j.d: Likewise.
3658 * testsuite/gas/arc/jl.d: Likewise.
3659 * testsuite/gas/arc/ld2.d: Likewise.
3660 * testsuite/gas/arc/lsr.d: Likewise.
3661 * testsuite/gas/arc/mov.d: Likewise.
3662 * testsuite/gas/arc/or.d: Likewise.
3663 * testsuite/gas/arc/pcl-relocs.d: Likewise.
3664 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
3665 * testsuite/gas/arc/pic-relocs.d: Likewise.
3666 * testsuite/gas/arc/plt-relocs.d: Likewise.
3667 * testsuite/gas/arc/rlc.d: Likewise.
3668 * testsuite/gas/arc/ror.d: Likewise.
3669 * testsuite/gas/arc/rrc.d: Likewise.
3670 * testsuite/gas/arc/sbc.d: Likewise.
3671 * testsuite/gas/arc/sda-relocs.d: Likewise.
3672 * testsuite/gas/arc/sda-relocs2.d: Likewise.
3673 * testsuite/gas/arc/sexb.d: Likewise.
3674 * testsuite/gas/arc/sexw.d: Likewise.
3675 * testsuite/gas/arc/st.d: Likewise.
3676 * testsuite/gas/arc/sub.d: Likewise.
3677 * testsuite/gas/arc/tls-relocs.d: Likewise.
3678 * testsuite/gas/arc/xor.d: Likewise.
3679
6f2750fe
AM
36802016-01-01 Alan Modra <amodra@gmail.com>
3681
3682 Update year range in copyright notice of all files.
3683
3499769a
AM
3684For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3685\f
3686Copyright (C) 2016 Free Software Foundation, Inc.
3687
3688Copying and distribution of this file, with or without modification,
3689are permitted in any medium without royalty provided the copyright
3690notice and this notice are preserved.
3691
3692Local Variables:
3693mode: change-log
3694left-margin: 8
3695fill-column: 74
3696version-control: never
3697End:
This page took 0.207599 seconds and 4 git commands to generate.