Downgrade powerpc register error to warning
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2017-02-20 Alan Modra <amodra@gmail.com>
2
3 PR 21118
4 * NEWS: Revise powerpc register check.
5 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
6 register expression" a warning.
7
8 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
9
10 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
11 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
12 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
13 * testsuite/gas/mips/aent-2.d: New test.
14 * testsuite/gas/mips/aent-mdebug.d: New test.
15 * testsuite/gas/mips/aent-mdebug-2.d: New test.
16 * testsuite/gas/mips/mips.exp: Run the new tests.
17
18 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
19
20 * testsuite/gas/aarch64/sve-sysreg.s,
21 testsuite/gas/aarch64/sve-sysreg.d,
22 testsuite/gas/aarch64/sve-sysreg-invalid.d,
23 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
24
25 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
26
27 * doc/c-aarch64.texi: Fix sve entry.
28
29 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
30
31 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
32 information from input expression.
33 (assemble_insn): Make sure pcrel is correctly set.
34 (arc_pcrel_adjust): Compensate for PCL rounding.
35 * testsuite/gas/arc/relax-add01.d: New file.
36 * testsuite/gas/arc/relax-add01.s: Likewise.
37 * testsuite/gas/arc/relax-add02.d: Likewise.
38 * testsuite/gas/arc/relax-add02.s: Likewise.
39 * testsuite/gas/arc/relax-add03.d: Likewise.
40 * testsuite/gas/arc/relax-add03.s: Likewise.
41 * testsuite/gas/arc/relax-add04.d: Likewise.
42 * testsuite/gas/arc/relax-add04.s: Likewise.
43 * testsuite/gas/arc/relax-ld01.d: Likewise.
44 * testsuite/gas/arc/relax-ld01.s: Likewise.
45 * testsuite/gas/arc/relax-ld02.d: Likewise.
46 * testsuite/gas/arc/relax-ld02.s: Likewise.
47 * testsuite/gas/arc/relax-mov01.d: Likewise.
48 * testsuite/gas/arc/relax-mov01.s: Likewise.
49 * testsuite/gas/arc/relax-mov02.d: Likewise.
50 * testsuite/gas/arc/relax-mov02.s: Likewise.
51 * testsuite/gas/arc/relax-mpy01.d: Likewise.
52 * testsuite/gas/arc/relax-mpy01.s: Likewise.
53 * testsuite/gas/arc/relax-sub01.d: Likewise.
54 * testsuite/gas/arc/relax-sub01.s: Likewise.
55 * testsuite/gas/arc/relax-sub02.d: Likewise.
56 * testsuite/gas/arc/relax-sub02.s: Likewise.
57 * testsuite/gas/arc/relax-sub03.d: Likewise.
58 * testsuite/gas/arc/relax-sub03.s: Likewise.
59 * testsuite/gas/arc/relax-sub04.d: Likewise.
60 * testsuite/gas/arc/relax-sub04.s: Likewise.
61
62 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
63
64 * testsuite/gas/arc/st.d: Update for 0xe having a name now
65
66 2017-02-14 Alan Modra <amodra@gmail.com>
67
68 PR 21118
69 * NEWS: Mention powerpc register checks.
70 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
71 (pre_defined_registers): Delete fpscr and pmr entries. Set
72 register type in flags.
73 (cr_names): Set type in flags.
74 (reg_name_search): Return pointer to struct pd_reg rather than value.
75 (register_name): Adjust to suit. Set X_md from flags.
76 (ppc_parse_name): Likewise.
77 (ppc_optimize_expr): New function.
78 (md_assemble): Verify expresion reg flags match operand.
79 * config/tc-ppc.h (md_optimize_expr): Define.
80 (ppc_optimize_expr): Declare.
81
82 2017-02-14 Alan Modra <amodra@gmail.com>
83
84 * testsuite/gas/ppc/cell.s: Correct invalid registers.
85 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
86 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
87
88 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
89
90 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
91 syntax.
92 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
93 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
94
95 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
96
97 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
98
99 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
100
101 * doc/as.texinfo (Overview): Select MIPS options for man page
102 inclusion.
103
104 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
105
106 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
107 (options): Add OPTION_IGNORE_BRANCH_ISA and
108 OPTION_NO_IGNORE_BRANCH_ISA enum values.
109 (md_longopts): Add "mignore-branch-isa" and
110 "mno-ignore-branch-isa" options.
111 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
112 OPTION_NO_IGNORE_BRANCH_ISA.
113 (fix_bad_cross_mode_branch_p): Return FALSE if
114 `mips_ignore_branch_isa' has been set.
115 (md_show_usage): Add `-mignore-branch-isa' and
116 `-mno-ignore-branch-isa'.
117
118 * doc/as.texinfo (Target MIPS options): Add
119 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
120 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
121 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
122 `-mno-ignore-branch-isa' options.
123
124 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
125 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
126 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
127 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
128 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
129 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
130 * testsuite/gas/mips/mips.exp: Run the new tests.
131
132 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
133
134 * testsuite/gas/mips/branch-local-2.d: New test.
135 * testsuite/gas/mips/branch-local-3.d: New test.
136 * testsuite/gas/mips/branch-local-n32-2.d: New test.
137 * testsuite/gas/mips/branch-local-n32-3.d: New test.
138 * testsuite/gas/mips/branch-local-n64-2.d: New test.
139 * testsuite/gas/mips/branch-local-n64-3.d: New test.
140 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
141 into the new tests.
142
143 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
144
145 PR 21056
146 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
147 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
148
149 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
150
151 * configure.tgt (aarch64*-*-rtems*): Remove.
152 (bfin-*-rtems*): Likewise.
153 (h8300-*-rtems*): Likewise.
154 (i386-*-rtems*): Likewise.
155 (m32c-*-rtems*): Likewise.
156 (m32r-*-rtems*): Likewise.
157 (m68k-*-rtems*): Likewise.
158 (mips-*-rtems*): Likewise.
159 (nios2-*-rtems*): Likewise.
160 (ppc-*-rtems*): Likewise.
161 (sh-*-rtems*): Likewise.
162 (sparc64-*-rtems*): Likewise.
163 (sparc-*-rtems*): Likewise.
164 (*-*-rtems*) Use ELF format.
165
166 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
167
168 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
169
170 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
171
172 * configure.tgt (sh-*-rtemscoff*): Remove.
173
174 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
175
176 * configure.tgt (riscv*-*-*): Remove em=linux.
177
178 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
179
180 PR gas/21072
181 * asintl.h: Fix spelling mistakes and typos.
182 * atof-generic.c: Likewise.
183 * bit_fix.h: Likewise.
184 * config/atof-ieee.c: Likewise.
185 * config/bfin-defs.h: Likewise.
186 * config/bfin-parse.y: Likewise.
187 * config/obj-coff-seh.h: Likewise.
188 * config/obj-coff.c: Likewise.
189 * config/obj-evax.c: Likewise.
190 * config/obj-macho.c: Likewise.
191 * config/rx-parse.y: Likewise.
192 * config/tc-aarch64.c: Likewise.
193 * config/tc-alpha.c: Likewise.
194 * config/tc-arc.c: Likewise.
195 * config/tc-arm.c: Likewise.
196 * config/tc-avr.c: Likewise.
197 * config/tc-bfin.c: Likewise.
198 * config/tc-cr16.c: Likewise.
199 * config/tc-cris.c: Likewise.
200 * config/tc-crx.c: Likewise.
201 * config/tc-d10v.c: Likewise.
202 * config/tc-d30v.c: Likewise.
203 * config/tc-dlx.c: Likewise.
204 * config/tc-epiphany.c: Likewise.
205 * config/tc-frv.c: Likewise.
206 * config/tc-hppa.c: Likewise.
207 * config/tc-i370.c: Likewise.
208 * config/tc-i386-intel.c: Likewise.
209 * config/tc-i386.c: Likewise.
210 * config/tc-i960.c: Likewise.
211 * config/tc-ia64.c: Likewise.
212 * config/tc-m32r.c: Likewise.
213 * config/tc-m68hc11.c: Likewise.
214 * config/tc-m68k.c: Likewise.
215 * config/tc-mcore.c: Likewise.
216 * config/tc-mep.c: Likewise.
217 * config/tc-mep.h: Likewise.
218 * config/tc-metag.c: Likewise.
219 * config/tc-microblaze.c: Likewise.
220 * config/tc-mips.c: Likewise.
221 * config/tc-mmix.c: Likewise.
222 * config/tc-mn10200.c: Likewise.
223 * config/tc-mn10300.c: Likewise.
224 * config/tc-msp430.c: Likewise.
225 * config/tc-msp430.h: Likewise.
226 * config/tc-nds32.c: Likewise.
227 * config/tc-nds32.h: Likewise.
228 * config/tc-nios2.c: Likewise.
229 * config/tc-nios2.h: Likewise.
230 * config/tc-ns32k.c: Likewise.
231 * config/tc-pdp11.c: Likewise.
232 * config/tc-ppc.c: Likewise.
233 * config/tc-pru.c: Likewise.
234 * config/tc-rx.c: Likewise.
235 * config/tc-s390.c: Likewise.
236 * config/tc-score.c: Likewise.
237 * config/tc-score7.c: Likewise.
238 * config/tc-sh.c: Likewise.
239 * config/tc-sh64.c: Likewise.
240 * config/tc-sparc.c: Likewise.
241 * config/tc-tic4x.c: Likewise.
242 * config/tc-tic54x.c: Likewise.
243 * config/tc-v850.c: Likewise.
244 * config/tc-vax.c: Likewise.
245 * config/tc-visium.c: Likewise.
246 * config/tc-xgate.c: Likewise.
247 * config/tc-xtensa.c: Likewise.
248 * config/tc-z80.c: Likewise.
249 * config/tc-z8k.c: Likewise.
250 * config/te-vms.c: Likewise.
251 * config/xtensa-relax.c: Likewise.
252 * doc/as.texinfo: Likewise.
253 * doc/c-arm.texi: Likewise.
254 * doc/c-hppa.texi: Likewise.
255 * doc/c-i370.texi: Likewise.
256 * doc/c-i386.texi: Likewise.
257 * doc/c-m32r.texi: Likewise.
258 * doc/c-m68k.texi: Likewise.
259 * doc/c-mmix.texi: Likewise.
260 * doc/c-msp430.texi: Likewise.
261 * doc/c-nds32.texi: Likewise.
262 * doc/c-ns32k.texi: Likewise.
263 * doc/c-riscv.texi: Likewise.
264 * doc/c-rx.texi: Likewise.
265 * doc/c-s390.texi: Likewise.
266 * doc/c-tic6x.texi: Likewise.
267 * doc/c-tilegx.texi: Likewise.
268 * doc/c-tilepro.texi: Likewise.
269 * doc/c-v850.texi: Likewise.
270 * doc/c-xgate.texi: Likewise.
271 * doc/c-xtensa.texi: Likewise.
272 * dwarf2dbg.c: Likewise.
273 * ecoff.c: Likewise.
274 * itbl-ops.c: Likewise.
275 * listing.c: Likewise.
276 * macro.c: Likewise.
277 * po/gas.pot: Likewise.
278 * read.c: Likewise.
279 * struc-symbol.h: Likewise.
280 * symbols.h: Likewise.
281 * testsuite/gas/arc/relocs-errors.err: Likewise.
282 * write.c: Likewise.
283
284 2017-01-23 Nick Clifton <nickc@redhat.com>
285
286 * po/sv.po: Updated Swedish translation.
287
288 2017-01-20 Nick Clifton <nickc@redhat.com>
289
290 * config/tc-i386.c (parse_operands): Check for operand overflow
291 before setting the unspecified bit.
292
293 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
294
295 PR gas/20649
296 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
297 symbols, remove the `segtype' parameter.
298 (mips_frob_file, md_estimate_size_before_relax): Adjust
299 accordingly.
300 (s_is_linkonce): Add an explanatory comment.
301 * testsuite/gas/mips/comdat-reloc.d: New test.
302 * testsuite/gas/mips/comdat-reloc.s: New test source.
303 * testsuite/gas/mips/mips.exp: Run the new test.
304
305 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
306
307 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
308 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
309
310 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
311
312 PR 21059
313 * config/bfin-lex.l: Support processing with flex 2.6.3.
314 * itbl-lex.l: Likewise.
315
316 2017-01-18 Nathan Sidwell <nathan@acm.org>
317
318 * as.h (gas_assert): Use abort.
319 (as_assert): Remove.
320 (signal_init): Declare.
321 * as.c (main): Call signal_init.
322 * messages.c: #include <signal.h>
323 (as_assert): Delete.
324 (as_abort): Allow NULL FILE.
325 (signal_crash): New.
326 (signal_init): Register fatal signal handlers.
327 * configure.ac: Check for strsignal.
328 * config.in: Rebuilt.
329 * configure: Rebuilt.
330
331 2017-01-17 Nick Clifton <nickc@redhat.com>
332
333 * po/sv.po: Updated Swedish translation.
334
335 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
336
337 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
338 (cpu_noarch): Add noavx512_vpopcntdq.
339 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
340 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
341 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
342 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
343 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
344 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
345 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
346 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
347
348 2017-01-12 Nick Clifton <nickc@redhat.com>
349
350 * read.c (temp_ilp): New function. Installs a temporary input
351 line pointer.
352 (restore_ilp): New function. Restores the original input line
353 pointer.
354 * read.h (temp_ilp): Prototype.
355 (restore_ilp): Prototype.
356 * stabs.c (dot_func_p): Use bfd_boolean type.
357 (generate_asm_file): Use temp_ilp and restore_ilp.
358 (stabs_generate_asm_lineno): Likewise.
359 (stabs_generate_asm_endfunc): Likewise.
360
361 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
362
363 * configure.tgt: Add entry for i386-redox.
364
365 2017-01-10 Nick Clifton <nickc@redhat.com>
366
367 * po/sv.po: Updated Swedish translation.
368
369 2017-01-10 Tristan Gingold <gingold@adacore.com>
370
371 * testsuite/gas/all/sleb128-8.d: Adjust test.
372 * testsuite/gas/all/gas.exp (test_cond): Likewise.
373
374 2017-01-10 Tristan Gingold <gingold@adacore.com>
375
376 * read.c (emit_leb128_expr): Extended unsigned big number for
377 sleb128.
378 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
379 * testsuite/gas/all/sleb128.d: New test.
380 * testsuite/gas/all/sleb128.s: New test source.
381
382 2017-01-09 Andrew Waterman <andrew@sifive.com>
383
384 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
385 against constants.
386 (md_apply_fix): Mark relocations against constants as "done."
387
388 2017-01-09 Andrew Waterman <andrew@sifive.com>
389
390 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
391 against constants.
392 (md_apply_fix): Mark relocations against constants as "done."
393
394 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
395 Kito Cheng <kito.cheng@gmail.com>
396
397 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
398 Removed.
399 (SDATA_START_SYMBOLS): Likewise.
400
401 2017-01-09 Nick Clifton <nickc@redhat.com>
402
403 * po/sv.po: New Swedish translation.
404 * configure.ac (ALL_LINGUAS): Add sv.
405 * configure: Regenerate.
406
407 2017-01-09 Andrew Waterman <andrew@sifive.com>
408
409 * config/tc-riscv.c (relaxed_branch_length): Use the long
410 sequence when the target is a weak symbol.
411
412 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
413
414 * config/tc-aarch64.c (aarch64_features): Add rcpc.
415 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
416 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
417 * testsuite/gas/aarch64/ldst-rcpc.d: This.
418 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
419 * testsuite/gas/aarch64/ldst-rcpc.s: This.
420 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
421
422 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
423
424 PR gas/20992
425 * configure.tgt: Treat sparcv9 as sparc64.
426
427 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
428
429 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
430 extension.
431 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
432 enabled and no other ABI is specified.
433
434 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
435
436 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
437 valueT, as declared in tc.h.
438 (md_apply_fix): Fix to work on 32-bit hosts.
439
440 2017-01-02 Alan Modra <amodra@gmail.com>
441
442 Update year range in copyright notice of all files.
443
444 For older changes see ChangeLog-2016
445 \f
446 Copyright (C) 2017 Free Software Foundation, Inc.
447
448 Copying and distribution of this file, with or without modification,
449 are permitted in any medium without royalty provided the copyright
450 notice and this notice are preserved.
451
452 Local Variables:
453 mode: change-log
454 left-margin: 8
455 fill-column: 74
456 version-control: never
457 End:
This page took 0.058211 seconds and 5 git commands to generate.