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