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