gas: xtensa: make trampolines relaxation work with jumps in slots other than 0
[binutils-gdb.git] / gas / ChangeLog
1 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
2
3 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
4 reassigned fixup to size of jump instruction (3) and fx_r_type
5 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
6 (add_jump_to_trampoline): Search
7 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
8 symbol and use that slot instead of slot 0.
9
10 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
11
12 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
13 from cpu_table. Remove vx2, and novx2 from cpu_flags.
14
15 2017-03-21 Rinat Zelig <rinat@mellanox.com>
16
17 * testsuite/gas/arc/nps400-11.s: New file.
18 * testsuite/gas/arc/nps400-11.d: New file.
19
20 2017-03-20 Nick Clifton <nickc@redhat.com>
21
22 * doc/as.texinfo (2byte): Note that if no expressions are present
23 the directive does nothing. Emphasize that the output is
24 unaligned, and that this can have an effect on the relocations
25 generated.
26 (4byte): Simplify description. Refer back to the 2byte
27 description.
28 (8byte): Likewise.
29
30 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
31
32 * config/tc-arm.c (arm_fpus): Note entires that should not be
33 documented.
34 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
35 neon-fp16. Fix spelling error.
36
37 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
38
39 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
40
41 2017-03-16 Rinat Zelig <rinat@mellanox.com>
42
43 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
44 specially for ARCv2.
45
46 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
47
48 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
49 encoding format, which can accept 0-valued immediates.
50 (riscv_ip): Likewise.
51
52 2017-03-15 Nick Clifton <nickc@redhat.com>
53
54 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
55 warning about discarding a const qualifier.
56
57 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
58
59 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
60
61 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
62
63 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
64 fx_next->fx_frag for CFA_advance_loc relocations.
65
66 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
67
68 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
69 for CFA relocations.
70
71 2017-03-13 Nick Clifton <nickc@redhat.com>
72
73 PR binutils/21202
74 * config/tc-aarch64.c (reloc_table): Rename
75 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
76 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
77 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
78 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
79 (md_apply_fix): Likewise.
80 (aarch64_force_relocation): Likewise.
81 * testsuite/gas/aarch64/tls.d: Update regexp.
82
83 2017-03-10 Tobin C. Harding <me@tobin.cc>
84 Nick Clifton <nickc@redhat.com>
85
86 * doc/as.texinfo (2byte): Tidy up wording. Add note that
87 overlarge values will produce a warning message and be trunacted.
88 (4byte): Likewise.
89
90 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
91
92 * config/tc-i386.c (_i386_insn): Add dir_encoding and
93 vec_encoding. Remove swap_operand and need_vrex.
94 (extra_symbol_chars): Add '}'.
95 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
96 mnemonic.
97 (build_vex_prefix): Don't use 2-byte VEX encoding with
98 {vex3}. Check dir_encoding and load.
99 (parse_insn): Check pseudo prefixes. Set dir_encoding.
100 (VEX_check_operands): Likewise.
101 (match_template): Check dir_encoding and load.
102 (parse_real_register): Set vec_encoding instead of need_vrex.
103 (parse_register): Likewise.
104 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
105 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
106 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
107 * testsuite/gas/i386/pseudos.d: New file.
108 * testsuite/gas/i386/pseudos.s: Likewise.
109 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
110 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
111
112 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
113
114 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
115 (objdump): Use the -Mpower8 option.
116
117 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
118
119 * testsuite/gas/ppc/power9.d <lnia> New test.
120 * testsuite/gas/ppc/power9.s: Likewise.
121
122 2017-03-07 Alan Modra <amodra@gmail.com>
123
124 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
125
126 2017-03-07 Tobin C. Harding <me@tobin.cc>
127 Alan Modra <amodra@gmail.com>
128
129 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
130 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
131
132 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
133
134 * config/tc-i386.c (cpu_arch): Add .cet.
135 * doc/c-i386.texi: Document cet.
136 * testsuite/gas/i386/cet-intel.d: New file.
137 * testsuite/gas/i386/cet.d: Likewise.
138 * testsuite/gas/i386/cet.s: Likewise.
139 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
140 * testsuite/gas/i386/x86-64-cet.d: Likewise.
141 * testsuite/gas/i386/x86-64-cet.s: Likewise.
142 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
143
144 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
145
146 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
147 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
148
149 2017-03-06 Alan Modra <amodra@gmail.com>
150
151 * dw2gencfi.c (encoding_size): Return unsigned int.
152 (emit_expr_encoded): Assert size matches reloc bitsize.
153 (output_fde): Use unsigned for offset_size and addr_size. Set
154 addr_size earlier and use in place of constant 4 and uses of
155 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
156
157 2017-03-06 Alan Modra <amodra@gmail.com>
158
159 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
160 auto reformat. Formatting and whitespace fixes.
161
162 2017-03-05 Mark Wielaard <mark@klomp.org>
163
164 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
165 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
166 (out_debug_info): Accept symbols to name, comp_dir and producer in
167 the .debug_str section and emit those offsets not full strings.
168 (out_debug_str): New function that outputs the strings for name,
169 comp_dir and producer in .debug_str and generates symbols to those
170 strings.
171 (out_debug_line): Create a .debug_str section if necessary and call
172 out_debug_str before calling out_debug_info.
173 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
174 output.
175
176 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
177
178 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
179 part of the frag has overrun the location requested.
180
181 * testsuite/gas/all/org-1.d: New test.
182 * testsuite/gas/all/org-2.d: New test.
183 * testsuite/gas/all/org-3.d: New test.
184 * testsuite/gas/all/org-4.d: New test.
185 * testsuite/gas/all/org-5.d: New test.
186 * testsuite/gas/all/org-6.d: New test.
187 * testsuite/gas/all/org-1.l: New stderr output.
188 * testsuite/gas/all/org-2.l: New stderr output.
189 * testsuite/gas/all/org-3.l: New stderr output.
190 * testsuite/gas/all/org-1.s: New test source.
191 * testsuite/gas/all/org-2.s: New test source.
192 * testsuite/gas/all/org-3.s: New test source.
193 * testsuite/gas/all/org-4.s: New test source.
194 * testsuite/gas/all/org-5.s: New test source.
195 * testsuite/gas/all/org-6.s: New test source.
196 * testsuite/gas/all/gas.exp: Run the new tests.
197
198 * testsuite/gas/mips/org-1.d: New test.
199 * testsuite/gas/mips/org-2.d: New test.
200 * testsuite/gas/mips/org-3.d: New test.
201 * testsuite/gas/mips/org-4.d: New test.
202 * testsuite/gas/mips/org-5.d: New test.
203 * testsuite/gas/mips/org-6.d: New test.
204 * testsuite/gas/mips/org-7.d: New test.
205 * testsuite/gas/mips/org-8.d: New test.
206 * testsuite/gas/mips/org-9.d: New test.
207 * testsuite/gas/mips/org-10.d: New test.
208 * testsuite/gas/mips/org-11.d: New test.
209 * testsuite/gas/mips/org-12.d: New test.
210 * testsuite/gas/mips/org-1.l: New stderr output.
211 * testsuite/gas/mips/org-4.l: New stderr output.
212 * testsuite/gas/mips/org-5.l: New stderr output.
213 * testsuite/gas/mips/org-6.l: New stderr output.
214 * testsuite/gas/mips/org-10.l: New stderr output.
215 * testsuite/gas/mips/org-1.s: New test source.
216 * testsuite/gas/mips/org-2.s: New test source.
217 * testsuite/gas/mips/org-3.s: New test source.
218 * testsuite/gas/mips/org-4.s: New test source.
219 * testsuite/gas/mips/org-5.s: New test source.
220 * testsuite/gas/mips/org-6.s: New test source.
221 * testsuite/gas/mips/org-7.s: New test source.
222 * testsuite/gas/mips/org-8.s: New test source.
223 * testsuite/gas/mips/org-9.s: New test source.
224 * testsuite/gas/mips/org-10.s: New test source.
225 * testsuite/gas/mips/org-11.s: New test source.
226 * testsuite/gas/mips/org-12.s: New test source.
227 * testsuite/gas/mips/mips.exp: Run the new tests.
228
229 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
230
231 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
232
233 2017-02-28 Jan Beulich <jbeulich@suse.com>
234
235 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
236 VPCMPESTR{I,M}.
237 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
238 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
239 of PCMPESTR{I,M}.
240 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
241 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
242 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
243 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
244 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
245 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
246 * testsuite/gas/i386/x86-64-avx.d: Likewise.
247 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
248 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
249 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
250
251 2017-02-28 Alan Modra <amodra@gmail.com>
252
253 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
254
255 2017-02-28 Alan Modra <amodra@gmail.com>
256
257 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
258 (md_apply_fix): Remove fx_subsy check. Move code converting to
259 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
260 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
261 that is done now by the generic code via..
262 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
263 (TC_VALIDATE_FIX_SUB): Define.
264
265 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
266
267 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
268 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
269 encoding patterns.
270 * testsuite/gas/mips/jalr4-n64.d: Likewise.
271 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
272 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
273 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
274
275 2017-02-25 Alan Modra <amodra@gmail.com>
276
277 * testsuite/gas/elf/strtab.s: Don't put directives on first
278 column or continuation with labels not in first column.
279
280 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
281
282 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
283 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
284 to be used with SVE registers.
285 (parse_operands): Handle new SVE operands.
286 (aarch64_features): Make "sve" require F16 rather than FP. Also
287 require COMPNUM.
288 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
289 Include compnum tests.
290 * testsuite/gas/aarch64/sve.d: Update accordingly.
291 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
292 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
293 update expected output for new FMOV and MOV alternatives.
294
295 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
296
297 * doc/c-aarch64.texi: Add a "compnum" entry.
298 * config/tc-aarch64.c (aarch64_features): Likewise,
299 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
300 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
301
302 2017-02-24 Jan Beulich <jbeulich@suse.com>
303
304 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
305 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
306 * testsuite/gas/i386/opcode.d: Adjust accordingly.
307 * testsuite/gas/i386/opcode-intel.d: Likewise.
308 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
309 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
310
311 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
312
313 Test cases for the architecture level aware SPARC ASI work.
314 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
315 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
316 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
317 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
318 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
319
320 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
321
322 * testsuite/gas/mips/jalr4.d: New test.
323 * testsuite/gas/mips/jalr4-n32.d: New test.
324 * testsuite/gas/mips/jalr4-n64.d: New test.
325 * testsuite/gas/mips/jalr4.s: New test source.
326 * testsuite/gas/mips/mips.exp: Run the new tests.
327
328 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
329
330 Add support for associating SPARC ASIs with an architecture level.
331 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
332
333 2017-02-23 Jan Beulich <jbeulich@suse.com>
334
335 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
336 of symbols as expression.
337
338 2017-02-23 Jan Beulich <jbeulich@suse.com>
339
340 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
341 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
342 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
343 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
344
345 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
346
347 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
348 `md_flush_pending_output'.
349 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
350 `md_flush_pending_output' unconditionally.
351 * testsuite/gas/mips/debug-label-end-1.d: New test.
352 * testsuite/gas/mips/debug-label-end-2.d: New test.
353 * testsuite/gas/mips/debug-label-end-3.d: New test.
354 * testsuite/gas/mips/debug-label-end.s: New test source.
355 * testsuite/gas/mips/mips.exp: Run the new tests.
356
357 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
358
359 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
360 targets yielding an error message matching "too complex".
361
362 2017-02-22 Nick Clifton <nickc@redhat.com>
363
364 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
365
366 2017-02-21 Jan Beulich <jbeulich@suse.com>
367
368 * expr.c (operand): Handle missing operand to .startof.() and
369 .sizeof.().
370 * testsuite/gas/all/err-sizeof.s: New.
371
372 2017-02-20 Alan Modra <amodra@gmail.com>
373
374 PR 21118
375 * NEWS: Revise powerpc register check.
376 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
377 register expression" a warning.
378
379 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
380
381 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
382 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
383 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
384 * testsuite/gas/mips/aent-2.d: New test.
385 * testsuite/gas/mips/aent-mdebug.d: New test.
386 * testsuite/gas/mips/aent-mdebug-2.d: New test.
387 * testsuite/gas/mips/mips.exp: Run the new tests.
388
389 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
390
391 * testsuite/gas/aarch64/sve-sysreg.s,
392 testsuite/gas/aarch64/sve-sysreg.d,
393 testsuite/gas/aarch64/sve-sysreg-invalid.d,
394 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
395
396 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
397
398 * doc/c-aarch64.texi: Fix sve entry.
399
400 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
401
402 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
403 information from input expression.
404 (assemble_insn): Make sure pcrel is correctly set.
405 (arc_pcrel_adjust): Compensate for PCL rounding.
406 * testsuite/gas/arc/relax-add01.d: New file.
407 * testsuite/gas/arc/relax-add01.s: Likewise.
408 * testsuite/gas/arc/relax-add02.d: Likewise.
409 * testsuite/gas/arc/relax-add02.s: Likewise.
410 * testsuite/gas/arc/relax-add03.d: Likewise.
411 * testsuite/gas/arc/relax-add03.s: Likewise.
412 * testsuite/gas/arc/relax-add04.d: Likewise.
413 * testsuite/gas/arc/relax-add04.s: Likewise.
414 * testsuite/gas/arc/relax-ld01.d: Likewise.
415 * testsuite/gas/arc/relax-ld01.s: Likewise.
416 * testsuite/gas/arc/relax-ld02.d: Likewise.
417 * testsuite/gas/arc/relax-ld02.s: Likewise.
418 * testsuite/gas/arc/relax-mov01.d: Likewise.
419 * testsuite/gas/arc/relax-mov01.s: Likewise.
420 * testsuite/gas/arc/relax-mov02.d: Likewise.
421 * testsuite/gas/arc/relax-mov02.s: Likewise.
422 * testsuite/gas/arc/relax-mpy01.d: Likewise.
423 * testsuite/gas/arc/relax-mpy01.s: Likewise.
424 * testsuite/gas/arc/relax-sub01.d: Likewise.
425 * testsuite/gas/arc/relax-sub01.s: Likewise.
426 * testsuite/gas/arc/relax-sub02.d: Likewise.
427 * testsuite/gas/arc/relax-sub02.s: Likewise.
428 * testsuite/gas/arc/relax-sub03.d: Likewise.
429 * testsuite/gas/arc/relax-sub03.s: Likewise.
430 * testsuite/gas/arc/relax-sub04.d: Likewise.
431 * testsuite/gas/arc/relax-sub04.s: Likewise.
432
433 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
434
435 * testsuite/gas/arc/st.d: Update for 0xe having a name now
436
437 2017-02-14 Alan Modra <amodra@gmail.com>
438
439 PR 21118
440 * NEWS: Mention powerpc register checks.
441 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
442 (pre_defined_registers): Delete fpscr and pmr entries. Set
443 register type in flags.
444 (cr_names): Set type in flags.
445 (reg_name_search): Return pointer to struct pd_reg rather than value.
446 (register_name): Adjust to suit. Set X_md from flags.
447 (ppc_parse_name): Likewise.
448 (ppc_optimize_expr): New function.
449 (md_assemble): Verify expresion reg flags match operand.
450 * config/tc-ppc.h (md_optimize_expr): Define.
451 (ppc_optimize_expr): Declare.
452
453 2017-02-14 Alan Modra <amodra@gmail.com>
454
455 * testsuite/gas/ppc/cell.s: Correct invalid registers.
456 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
457 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
458
459 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
460
461 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
462 syntax.
463 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
464 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
465
466 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
467
468 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
469
470 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
471
472 * doc/as.texinfo (Overview): Select MIPS options for man page
473 inclusion.
474
475 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
476
477 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
478 (options): Add OPTION_IGNORE_BRANCH_ISA and
479 OPTION_NO_IGNORE_BRANCH_ISA enum values.
480 (md_longopts): Add "mignore-branch-isa" and
481 "mno-ignore-branch-isa" options.
482 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
483 OPTION_NO_IGNORE_BRANCH_ISA.
484 (fix_bad_cross_mode_branch_p): Return FALSE if
485 `mips_ignore_branch_isa' has been set.
486 (md_show_usage): Add `-mignore-branch-isa' and
487 `-mno-ignore-branch-isa'.
488
489 * doc/as.texinfo (Target MIPS options): Add
490 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
491 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
492 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
493 `-mno-ignore-branch-isa' options.
494
495 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
496 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
497 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
498 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
499 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
500 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
501 * testsuite/gas/mips/mips.exp: Run the new tests.
502
503 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
504
505 * testsuite/gas/mips/branch-local-2.d: New test.
506 * testsuite/gas/mips/branch-local-3.d: New test.
507 * testsuite/gas/mips/branch-local-n32-2.d: New test.
508 * testsuite/gas/mips/branch-local-n32-3.d: New test.
509 * testsuite/gas/mips/branch-local-n64-2.d: New test.
510 * testsuite/gas/mips/branch-local-n64-3.d: New test.
511 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
512 into the new tests.
513
514 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
515
516 PR 21056
517 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
518 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
519
520 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
521
522 * configure.tgt (aarch64*-*-rtems*): Remove.
523 (bfin-*-rtems*): Likewise.
524 (h8300-*-rtems*): Likewise.
525 (i386-*-rtems*): Likewise.
526 (m32c-*-rtems*): Likewise.
527 (m32r-*-rtems*): Likewise.
528 (m68k-*-rtems*): Likewise.
529 (mips-*-rtems*): Likewise.
530 (nios2-*-rtems*): Likewise.
531 (ppc-*-rtems*): Likewise.
532 (sh-*-rtems*): Likewise.
533 (sparc64-*-rtems*): Likewise.
534 (sparc-*-rtems*): Likewise.
535 (*-*-rtems*) Use ELF format.
536
537 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
538
539 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
540
541 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
542
543 * configure.tgt (sh-*-rtemscoff*): Remove.
544
545 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
546
547 * configure.tgt (riscv*-*-*): Remove em=linux.
548
549 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
550
551 PR gas/21072
552 * asintl.h: Fix spelling mistakes and typos.
553 * atof-generic.c: Likewise.
554 * bit_fix.h: Likewise.
555 * config/atof-ieee.c: Likewise.
556 * config/bfin-defs.h: Likewise.
557 * config/bfin-parse.y: Likewise.
558 * config/obj-coff-seh.h: Likewise.
559 * config/obj-coff.c: Likewise.
560 * config/obj-evax.c: Likewise.
561 * config/obj-macho.c: Likewise.
562 * config/rx-parse.y: Likewise.
563 * config/tc-aarch64.c: Likewise.
564 * config/tc-alpha.c: Likewise.
565 * config/tc-arc.c: Likewise.
566 * config/tc-arm.c: Likewise.
567 * config/tc-avr.c: Likewise.
568 * config/tc-bfin.c: Likewise.
569 * config/tc-cr16.c: Likewise.
570 * config/tc-cris.c: Likewise.
571 * config/tc-crx.c: Likewise.
572 * config/tc-d10v.c: Likewise.
573 * config/tc-d30v.c: Likewise.
574 * config/tc-dlx.c: Likewise.
575 * config/tc-epiphany.c: Likewise.
576 * config/tc-frv.c: Likewise.
577 * config/tc-hppa.c: Likewise.
578 * config/tc-i370.c: Likewise.
579 * config/tc-i386-intel.c: Likewise.
580 * config/tc-i386.c: Likewise.
581 * config/tc-i960.c: Likewise.
582 * config/tc-ia64.c: Likewise.
583 * config/tc-m32r.c: Likewise.
584 * config/tc-m68hc11.c: Likewise.
585 * config/tc-m68k.c: Likewise.
586 * config/tc-mcore.c: Likewise.
587 * config/tc-mep.c: Likewise.
588 * config/tc-mep.h: Likewise.
589 * config/tc-metag.c: Likewise.
590 * config/tc-microblaze.c: Likewise.
591 * config/tc-mips.c: Likewise.
592 * config/tc-mmix.c: Likewise.
593 * config/tc-mn10200.c: Likewise.
594 * config/tc-mn10300.c: Likewise.
595 * config/tc-msp430.c: Likewise.
596 * config/tc-msp430.h: Likewise.
597 * config/tc-nds32.c: Likewise.
598 * config/tc-nds32.h: Likewise.
599 * config/tc-nios2.c: Likewise.
600 * config/tc-nios2.h: Likewise.
601 * config/tc-ns32k.c: Likewise.
602 * config/tc-pdp11.c: Likewise.
603 * config/tc-ppc.c: Likewise.
604 * config/tc-pru.c: Likewise.
605 * config/tc-rx.c: Likewise.
606 * config/tc-s390.c: Likewise.
607 * config/tc-score.c: Likewise.
608 * config/tc-score7.c: Likewise.
609 * config/tc-sh.c: Likewise.
610 * config/tc-sh64.c: Likewise.
611 * config/tc-sparc.c: Likewise.
612 * config/tc-tic4x.c: Likewise.
613 * config/tc-tic54x.c: Likewise.
614 * config/tc-v850.c: Likewise.
615 * config/tc-vax.c: Likewise.
616 * config/tc-visium.c: Likewise.
617 * config/tc-xgate.c: Likewise.
618 * config/tc-xtensa.c: Likewise.
619 * config/tc-z80.c: Likewise.
620 * config/tc-z8k.c: Likewise.
621 * config/te-vms.c: Likewise.
622 * config/xtensa-relax.c: Likewise.
623 * doc/as.texinfo: Likewise.
624 * doc/c-arm.texi: Likewise.
625 * doc/c-hppa.texi: Likewise.
626 * doc/c-i370.texi: Likewise.
627 * doc/c-i386.texi: Likewise.
628 * doc/c-m32r.texi: Likewise.
629 * doc/c-m68k.texi: Likewise.
630 * doc/c-mmix.texi: Likewise.
631 * doc/c-msp430.texi: Likewise.
632 * doc/c-nds32.texi: Likewise.
633 * doc/c-ns32k.texi: Likewise.
634 * doc/c-riscv.texi: Likewise.
635 * doc/c-rx.texi: Likewise.
636 * doc/c-s390.texi: Likewise.
637 * doc/c-tic6x.texi: Likewise.
638 * doc/c-tilegx.texi: Likewise.
639 * doc/c-tilepro.texi: Likewise.
640 * doc/c-v850.texi: Likewise.
641 * doc/c-xgate.texi: Likewise.
642 * doc/c-xtensa.texi: Likewise.
643 * dwarf2dbg.c: Likewise.
644 * ecoff.c: Likewise.
645 * itbl-ops.c: Likewise.
646 * listing.c: Likewise.
647 * macro.c: Likewise.
648 * po/gas.pot: Likewise.
649 * read.c: Likewise.
650 * struc-symbol.h: Likewise.
651 * symbols.h: Likewise.
652 * testsuite/gas/arc/relocs-errors.err: Likewise.
653 * write.c: Likewise.
654
655 2017-01-23 Nick Clifton <nickc@redhat.com>
656
657 * po/sv.po: Updated Swedish translation.
658
659 2017-01-20 Nick Clifton <nickc@redhat.com>
660
661 * config/tc-i386.c (parse_operands): Check for operand overflow
662 before setting the unspecified bit.
663
664 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
665
666 PR gas/20649
667 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
668 symbols, remove the `segtype' parameter.
669 (mips_frob_file, md_estimate_size_before_relax): Adjust
670 accordingly.
671 (s_is_linkonce): Add an explanatory comment.
672 * testsuite/gas/mips/comdat-reloc.d: New test.
673 * testsuite/gas/mips/comdat-reloc.s: New test source.
674 * testsuite/gas/mips/mips.exp: Run the new test.
675
676 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
677
678 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
679 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
680
681 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
682
683 PR 21059
684 * config/bfin-lex.l: Support processing with flex 2.6.3.
685 * itbl-lex.l: Likewise.
686
687 2017-01-18 Nathan Sidwell <nathan@acm.org>
688
689 * as.h (gas_assert): Use abort.
690 (as_assert): Remove.
691 (signal_init): Declare.
692 * as.c (main): Call signal_init.
693 * messages.c: #include <signal.h>
694 (as_assert): Delete.
695 (as_abort): Allow NULL FILE.
696 (signal_crash): New.
697 (signal_init): Register fatal signal handlers.
698 * configure.ac: Check for strsignal.
699 * config.in: Rebuilt.
700 * configure: Rebuilt.
701
702 2017-01-17 Nick Clifton <nickc@redhat.com>
703
704 * po/sv.po: Updated Swedish translation.
705
706 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
707
708 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
709 (cpu_noarch): Add noavx512_vpopcntdq.
710 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
711 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
712 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
713 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
714 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
715 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
716 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
717 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
718
719 2017-01-12 Nick Clifton <nickc@redhat.com>
720
721 * read.c (temp_ilp): New function. Installs a temporary input
722 line pointer.
723 (restore_ilp): New function. Restores the original input line
724 pointer.
725 * read.h (temp_ilp): Prototype.
726 (restore_ilp): Prototype.
727 * stabs.c (dot_func_p): Use bfd_boolean type.
728 (generate_asm_file): Use temp_ilp and restore_ilp.
729 (stabs_generate_asm_lineno): Likewise.
730 (stabs_generate_asm_endfunc): Likewise.
731
732 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
733
734 * configure.tgt: Add entry for i386-redox.
735
736 2017-01-10 Nick Clifton <nickc@redhat.com>
737
738 * po/sv.po: Updated Swedish translation.
739
740 2017-01-10 Tristan Gingold <gingold@adacore.com>
741
742 * testsuite/gas/all/sleb128-8.d: Adjust test.
743 * testsuite/gas/all/gas.exp (test_cond): Likewise.
744
745 2017-01-10 Tristan Gingold <gingold@adacore.com>
746
747 * read.c (emit_leb128_expr): Extended unsigned big number for
748 sleb128.
749 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
750 * testsuite/gas/all/sleb128.d: New test.
751 * testsuite/gas/all/sleb128.s: New test source.
752
753 2017-01-09 Andrew Waterman <andrew@sifive.com>
754
755 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
756 against constants.
757 (md_apply_fix): Mark relocations against constants as "done."
758
759 2017-01-09 Andrew Waterman <andrew@sifive.com>
760
761 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
762 against constants.
763 (md_apply_fix): Mark relocations against constants as "done."
764
765 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
766 Kito Cheng <kito.cheng@gmail.com>
767
768 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
769 Removed.
770 (SDATA_START_SYMBOLS): Likewise.
771
772 2017-01-09 Nick Clifton <nickc@redhat.com>
773
774 * po/sv.po: New Swedish translation.
775 * configure.ac (ALL_LINGUAS): Add sv.
776 * configure: Regenerate.
777
778 2017-01-09 Andrew Waterman <andrew@sifive.com>
779
780 * config/tc-riscv.c (relaxed_branch_length): Use the long
781 sequence when the target is a weak symbol.
782
783 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
784
785 * config/tc-aarch64.c (aarch64_features): Add rcpc.
786 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
787 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
788 * testsuite/gas/aarch64/ldst-rcpc.d: This.
789 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
790 * testsuite/gas/aarch64/ldst-rcpc.s: This.
791 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
792
793 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
794
795 PR gas/20992
796 * configure.tgt: Treat sparcv9 as sparc64.
797
798 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
799
800 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
801 extension.
802 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
803 enabled and no other ABI is specified.
804
805 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
806
807 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
808 valueT, as declared in tc.h.
809 (md_apply_fix): Fix to work on 32-bit hosts.
810
811 2017-01-02 Alan Modra <amodra@gmail.com>
812
813 Update year range in copyright notice of all files.
814
815 For older changes see ChangeLog-2016
816 \f
817 Copyright (C) 2017 Free Software Foundation, Inc.
818
819 Copying and distribution of this file, with or without modification,
820 are permitted in any medium without royalty provided the copyright
821 notice and this notice are preserved.
822
823 Local Variables:
824 mode: change-log
825 left-margin: 8
826 fill-column: 74
827 version-control: never
828 End: