S/390: Add missing operand to tb instruction
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
6e92fed5
L
12017-05-23 H.J. Lu <hongjiu.lu@intel.com>
2
3 * gas/testsuite/gas/i386/notrackbad.l: Updated for non-ELF
4 targets.
5 * gas/testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
6
6e3f3473 72017-05-23 Claudiu Zissulescu <claziss@synopsys.com>
8
9 * config/tc-arc.c (md_apply_fix): Use as_bad_where.
10 (assemble_insn): Use as_bad.
11
04ef582a
L
122017-05-22 H.J. Lu <hongjiu.lu@intel.com>
13
14 * config/tc-i386.c (REX_PREFIX): Changed to 7.
15 (NOTRACK_PREFIX): New.
16 (MAX_PREFIXES): Changed to 8.
17 (_i386_insn): Add notrack_prefix.
18 (PREFIX_GROUP): Add PREFIX_DS.
19 (add_prefix): Return PREFIX_DS for DS_PREFIX_OPCODE.
20 (md_assemble): Check if NOTRACK prefix is supported.
21 (parse_insn): Set notrack_prefix and issue an error for
22 other prefixes after NOTRACK prefix.
23 * testsuite/gas/i386/i386.exp: Run tests for NOTRACK prefix.
24 * testsuite/gas/i386/notrack-intel.d: New file.
25 * testsuite/gas/i386/notrack.d: Likewise.
26 * testsuite/gas/i386/notrack.s: Likewise.
27 * testsuite/gas/i386/notrackbad.l: Likewise.
28 * testsuite/gas/i386/notrackbad.s: Likewise.
29 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
30 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
31 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
32 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
33 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
34
3c0367d0
JW
352017-05-22 Jiong Wang <jiong.wang@arm.com>
36
37 * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
38 Recognize the new triplet name aarch64*-linux-gnu_ilp32.
39 * configure.ac: Output DEFAULT_ARCH macro for AArch64.
40 * configure: Regenerate.
41 * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
42 (md_after_parse_args): New define.
43 * config/tc-aarch64.c (aarch64_abi_type): New enumeration
44 AARCH64_ABI_NONE.
45 (DEFAULT_ARCH): New define.
46 (aarch64_abi): Set default value to AARCH64_ABI_NONE.
47 (aarch64_after_parse_args): New function.
48
64517994
JM
492017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
50
51 * config/tc-sparc.c (sparc_arch_table): Entries for `sparc6',
52 `v9m8' and `v8plusm8'.
53 (sparc_md_end): Handle SPARC_OPCODE_ARCH_M8.
54 (get_hwcap_name): Support the M8 hardware capabilities.
55 (sparc_ip): Handle new operand types.
56 * doc/c-sparc.texi (Sparc-Opts): Document -Av9m8, -Av8plusm8 and
57 -Asparc6, and the corresponding -xarch aliases.
58 * testsuite/gas/sparc/sparc6.s: New file.
59 * testsuite/gas/sparc/sparc6.d: Likewise.
60 * testsuite/gas/sparc/sparc6-diag.s: Likewise.
61 * testsuite/gas/sparc/sparc6-diag.l: Likewise.
62 * testsuite/gas/sparc/fpcmpshl.s: Likewise.
63 * testsuite/gas/sparc/fpcmpshl.d: Likewise.
64 * testsuite/gas/sparc/fpcmpshl-diag.s: Likewise.
65 * testsuite/gas/sparc/fpcmpshl-diag.l: Likewise.
66 * testsuite/gas/sparc/ldm-stm.s: Likewise.
67 * testsuite/gas/sparc/ldm-stm.d: Likewise.
68 * testsuite/gas/sparc/ldm-stm-diag.s: Likewise.
69 * testsuite/gas/sparc/ldm-stm-diag.l: Likewise.
70 * testsuite/gas/sparc/ldmf-stmf.s: Likewise.
71 * testsuite/gas/sparc/ldmf-stmf.d: Likewise.
72 * testsuite/gas/sparc/ldmf-stmf-diag.s: Likewise.
73 * testsuite/gas/sparc/ldmf-stmf-diag.l: Likewise.
74 * testsuite/gas/sparc/on.s: Likewise.
75 * testsuite/gas/sparc/on.d: Likewise.
76 * testsuite/gas/sparc/on-diag.s: Likewise.
77 * testsuite/gas/sparc/on-diag.l: Likewise.
78 * testsuite/gas/sparc/rle.s: Likewise.
79 * testsuite/gas/sparc/rle.d: Likewise.
80 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run new tests.
81 * testsuite/gas/sparc/rdasr.s: Add test for RDENTROPY.
82 * testsuite/gas/sparc/rdasr.d: Likewise.
83
ae0264a6
JM
842017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
85
86 * testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
87 * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
88 run asi-bump-warn.
89
f4203b2b
JL
902017-05-19 Georg-Johann Lay <avr@gjlay.de>
91
92 PR ld/21472
93 * config/tc-avr.c (mcu_types): Add entries for: attiny416,
94 attiny417, attiny816, attiny817.
95
535b785f
AM
962017-05-18 Alan Modra <amodra@gmail.com>
97
98 * config/tc-aarch64.c: Don't compare booleans against TRUE or FALSE.
99 * config/tc-hppa.c: Likewise.
100 * config/tc-mips.c: Likewise.
101 * config/tc-score7.c: Likewise.
102
91cb9803
AM
1032017-05-16 Alan Modra <amodra@gmail.com>
104
105 * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
106 (TC_FORCE_RELOCATION_LOCAL): Use it.
107 (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
108 (TC_FORCE_RELOCATION_SUB_SAME): Use it.
109 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
110 TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
111 * config/tc-aarch64.h: Similarly.
112 * config/tc-avr.h: Similarly.
113 * config/tc-cris.h: Similarly.
114 * config/tc-i386.h: Similarly.
115 * config/tc-i960.h: Similarly.
116 * config/tc-ia64.h: Similarly.
117 * config/tc-microblaze.h: Similarly.
118 * config/tc-mips.h: Similarly.
119 * config/tc-msp430.h: Similarly.
120 * config/tc-nds32.h: Similarly.
121 * config/tc-pru.h: Similarly.
122 * config/tc-riscv.h: Similarly.
123 * config/tc-rl78.h: Similarly.
124 * config/tc-s390.h: Similarly.
125 * config/tc-sh.h: Similarly.
126 * config/tc-sh64.h: Similarly.
127 * config/tc-sparc.h: Similarly.
128 * config/tc-xtensa.h: Similarly.
129 * config/tc-mn10300.h: Similarly.
130 (GENERIC_FORCE_RELOCATION_LOCAL): Define.
131 * config/tc-msp430.c (msp430_force_relocation_local): Modify to
132 be addition to rather than replacement of standard
133 TC_FORCE_RELOCATION_LOCAL.
134
52a86f84
NC
1352017-05-15 Nick Clifton <nickc@redhat.com>
136
137 PR gas/21458
138 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
139 symbol, ensure that the T bit will be set.
140 (do_adrl): Likewise.
141 (do_t_adr): Likewise.
142 * testsuite/gas/arm/pr21458.s: New test.
143 * testsuite/gas/arm/pr21458.d: New test driver.
144
b32465c9
MR
1452017-05-15 Maciej W. Rozycki <macro@imgtec.com>
146
147 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
148 flags.
149 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
150 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
151 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
152 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
153 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
154 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
155 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
156 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
157 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
158 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
159 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
160 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
161 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
162 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
163 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
164 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
165 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
166 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
167 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
168 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
169 Likewise.
170 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
171 Likewise.
172 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
173 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
174 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
175 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
176 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
177 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
178 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
179 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
180 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
181 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
182 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
183 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
184 Likewise.
185 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
186 Likewise.
187 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
188 Likewise.
189 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
190 Likewise.
191 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
192 Likewise.
193 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
194 Likewise.
195 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
196 Likewise.
197 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
198 Likewise.
199 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
200 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
201 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
202 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
203 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
204 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
205 test.
206 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
207 test.
208 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
209 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
210 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
211 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
212 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
213 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
214 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
215 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
216 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
217 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
218 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
219 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
220 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
221 test.
222 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
223 test.
224 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
225 New test.
226 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
227 New test.
228 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
229 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
230 test.
231 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
232 test.
233 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
234 test.
235 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
236 test.
237 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
238 test.
239 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
240 test.
241 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
242 test.
243 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
244 test.
245 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
246 test.
247 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
248 test.
249 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
250 test.
251 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
252 New test.
253 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
254 New test.
255 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
256 New test.
257 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
258 New test.
259 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
260 New test.
261 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
262 New test.
263 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
264 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
265 preservation between MIPS16 and MIPS16e2 code.
266 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
267 all MIPS16 architectures.
268
3f3467ff
MR
2692017-05-15 Maciej W. Rozycki <macro@imgtec.com>
270
271 * testsuite/gas/mips/mips16e2.d: New test.
272 * testsuite/gas/mips/mips16e2-mt.d: New test.
273 * testsuite/gas/mips/mips16e2-sub.d: New test.
274 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
275 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
276 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
277 * testsuite/gas/mips/mips16e2-hilo.d: New test.
278 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
279 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
280 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
281 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
282 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
283 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
284 * testsuite/gas/mips/mips16e2-lui.d: New test.
285 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
286 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
287 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
288 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
289 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
290 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
291 * testsuite/gas/mips/mips16e2.s: New test source.
292 * testsuite/gas/mips/mips16e2-mt.s: New test source.
293 * testsuite/gas/mips/mips16e2-sub.s: New test source.
294 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
295 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
296 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
297 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
298 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
299 * testsuite/gas/mips/mips16e2-lui.s: New test source.
300 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
301 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
302 architectures. Run the new tests.
303
70ab592f
MR
3042017-05-15 Maciej W. Rozycki <macro@imgtec.com>
305
306 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
307 `mips16e2@' prefix.
308 (run_list_test_arch): Likewise.
309 (mips16e2-32, mips16e2-64): New architectures.
310 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
311 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
312 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
313 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
314 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
315 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
316 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
317 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
318 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
319 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
320 tag. Add `-I$srcdir/$subdir' to `as' flags.
321 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
322 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
323 output.
324 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
325 output.
326 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
327 output.
328 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
329 output.
330 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
331 output.
332 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
333 * testsuite/gas/mips/mips16e-sub.s: Likewise.
334 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
335 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
336 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
337 source.
338 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
339 source.
340
25499ac7
MR
3412017-05-15 Maciej W. Rozycki <macro@imgtec.com>
342 Matthew Fortune <matthew.fortune@imgtec.com>
343 Andrew Bennett <andrew.bennett@imgtec.com>
344
345 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
346 (RELAX_MIPS16_E2): New macro.
347 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
348 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
349 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
350 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
351 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
352 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
353 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
354 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
355 (mips16_immed_extend): New prototype.
356 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
357 values.
358 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
359 (mips_ases): Add "mips16e2" entry.
360 (mips_set_ase): Handle MIPS16e2 ASE.
361 (insn_insert_operand): Explicitly handle immediates with MIPS16
362 instructions that require 32-bit encoding.
363 (is_opcode_valid_16): Pass enabled ASE bitmask on to
364 `opcode_is_member'.
365 (validate_mips_insn): Explicitly handle immediates with MIPS16
366 instructions that require 32-bit encoding.
367 (operand_reg_mask) <OP_REG28>: Add handler.
368 (match_reg28_operand): New function.
369 (match_operand) <OP_REG28>: Add handler.
370 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
371 (match_mips16_insn): Handle MIPS16 instructions that require
372 32-bit encoding and `V' and `u' operand codes.
373 (mips16_ip): Allow any characters except from `.' in opcodes.
374 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
375 immediates whose width is not one of these listed.
376 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
377 (mips_relax_frag): Likewise.
378 (md_convert_frag): Likewise.
379 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
380
381 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
382 `-mno-mips16e2' options.
383 (-mmips16e2, -mno-mips16e2): New options.
384 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
385 `-mno-mips16e2' options.
386 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
387 and `.set nomips16e2'.
388
20c59b84
MR
3892017-05-15 Maciej W. Rozycki <macro@imgtec.com>
390
391 * config/tc-mips.c (match_int_operand): Call
392 `match_out_of_range' before returning failure for 0x8000-0xffff
393 values conditionally allowed.
394
602b88e3
MR
3952017-05-15 Maciej W. Rozycki <macro@imgtec.com>
396
397 * config/tc-mips.c (match_int_operand): Call
398 `match_not_constant' before returning failure for a non-constant
399 16-bit immediate conditionally allowed.
400
c96425c5
MR
4012017-05-15 Maciej W. Rozycki <macro@imgtec.com>
402
403 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
404 rather than `match_not_constant' for unrelocated operands
405 retrieved as an `O_big' expression.
406 (match_int_operand): Call `match_out_of_range' for relocatable
407 operands retrieved as an `O_big' expression.
408 (match_mips16_insn): Call `match_out_of_range' for relaxable
409 operands retrieved as an `O_big' expression.
410 * testsuite/gas/mips/addiu-error.d: New test.
411 * testsuite/gas/mips/mips16@addiu-error.d: New test.
412 * testsuite/gas/mips/micromips@addiu-error.d: New test.
413 * testsuite/gas/mips/break-error.d: New test.
414 * testsuite/gas/mips/lui-1.l: Adjust error message.
415 * testsuite/gas/mips/addiu-error.l: New stderr output.
416 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
417 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
418 * testsuite/gas/mips/break-error.l: New stderr output.
419 * testsuite/gas/mips/addiu-error.s: New test source.
420 * testsuite/gas/mips/break-error.s: New test source.
421 * testsuite/gas/mips/mips.exp: Run the new tests.
422
1a7bf198
MR
4232017-05-15 Maciej W. Rozycki <macro@imgtec.com>
424
425 * config/tc-mips.c (match_mips16_insn): Remove the explicit
426 OT_INTEGER check before the `match_expression' call.
427 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
428 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
429 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
430 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
431 * testsuite/gas/mips/mips16-reg-error.d: New test.
432 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
433 * testsuite/gas/mips/mips16-reg-error.s: New test source.
434 * testsuite/gas/mips/mips.exp: Run the new test.
435
e295202f
MR
4362017-05-15 Maciej W. Rozycki <macro@imgtec.com>
437
438 * config/tc-mips.c (match_mips16_insn): Call
439 `match_not_constant' for a disallowed relocation operation.
440 * testsuite/gas/mips/mips16-reloc-error.d: New test.
441 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
442 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
443 * testsuite/gas/mips/mips.exp: Run the new test.
444
c76081bc
MR
4452017-05-15 Maciej W. Rozycki <macro@imgtec.com>
446
447 * testsuite/gas/mips/lui-1.d: New test.
448 * testsuite/gas/mips/lui-2.d: New test.
449 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
450 into the new tests.
451
a54d5f8b
MR
4522017-05-15 Maciej W. Rozycki <macro@imgtec.com>
453
454 * config/tc-mips.c (match_const_int): Update description.
455
32035f51
MR
4562017-05-15 Maciej W. Rozycki <macro@imgtec.com>
457
458 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
459 mips16' rather than `.set mips16'.
460 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
461 `.module nomicromips' rather than `.set micromips' and `.set
462 nomicromips'.
463 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
464 rather than `.set smartmips'.
465 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
466 `.module micromips', `.module nomicromips' and `.module
467 smartmips' rather than `.set mips16', `.set micromips', `.set
468 nomicromips' and `.set smartmips' respectively.
469
be3f1006
MR
4702017-05-12 Maciej W. Rozycki <macro@imgtec.com>
471 Matthew Fortune <matthew.fortune@imgtec.com>
472
473 * config/tc-mips.c (mips_percent_op): Add "%gprel".
474 (mips16_percent_op): Add "%gp_rel".
475 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
476 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
477 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
478 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
479
a4f89915
MR
4802017-05-12 Maciej W. Rozycki <macro@imgtec.com>
481
482 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
483 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
484 * testsuite/gas/mips/mips16-64.d: Likewise.
485 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
486 * testsuite/gas/mips/mips16-macro.d: Likewise.
487 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
488 * testsuite/gas/mips/mips16-sub.d: Likewise.
489 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
490
99e2d67a
MR
4912017-05-11 Maciej W. Rozycki <macro@imgtec.com>
492
493 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
494 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
495 * testsuite/gas/mips/mips.exp: Run the new tests.
496
7f401e84
MR
4972017-05-10 Maciej W. Rozycki <macro@imgtec.com>
498
499 * testsuite/gas/mips/isa-override-2.d: New test.
500 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
501 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
502 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
503 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
504 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
505 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
506 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
507 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
508 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
509 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
510 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
511 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
512 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
513 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
514 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
515 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
516 source.
517 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
518 source.
519 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
520 source.
521 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
522 source.
523 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
524 source.
525 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
526 source.
527 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
528 into the new tests.
529
9fc18134
MR
5302017-05-10 Maciej W. Rozycki <macro@imgtec.com>
531
532 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
533 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
534 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
535 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
536 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
537 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
538 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
539
f78c0b91
MR
5402017-05-10 Maciej W. Rozycki <macro@imgtec.com>
541
542 * testsuite/gas/mips/mips16-macro.l: Remove list test.
543
58667758
MR
5442017-05-10 Maciej W. Rozycki <macro@imgtec.com>
545
546 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
547 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
548 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
549 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
550 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
551 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
552 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
553 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
554 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
555 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
556 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
557 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
558 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
559 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
560 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
561 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
562 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
563 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
564 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
565 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
566
53a346d8
CZ
5672017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
568
569 * testsuite/gas/arc/attr-arc600.d: New file.
570 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
571 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
572 * testsuite/gas/arc/attr-arc601.d: Likewise.
573 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
574 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
575 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
576 * testsuite/gas/arc/attr-arc700.d: Likewise.
577 * testsuite/gas/arc/attr-arcem.d: Likewise.
578 * testsuite/gas/arc/attr-archs.d: Likewise.
579 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
580 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
581 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
582 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
583 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
584 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
585 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
586 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
587 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
588 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
589 * testsuite/gas/arc/attr-em.d: Likewise.
590 * testsuite/gas/arc/attr-em4.d: Likewise.
591 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
592 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
593 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
594 * testsuite/gas/arc/attr-hs.d: Likewise.
595 * testsuite/gas/arc/attr-hs34.d: Likewise.
596 * testsuite/gas/arc/attr-hs38.d: Likewise.
597 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
598 * testsuite/gas/arc/attr-mul64.d: Likewise.
599 * testsuite/gas/arc/attr-name.d: Likewise.
600 * testsuite/gas/arc/attr-name.s: Likewise.
601 * testsuite/gas/arc/attr-nps400.d: Likewise.
602 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
603 * testsuite/gas/arc/attr-override-mcpu.s
604 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
605 * testsuite/gas/arc/blank.s: Likewise.
606 * testsuite/gas/elf/section2.e-arc: Likewise.
607 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
608 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
609 * testsuite/gas/arc/nps400-0.d: Likewise.
610 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
611 * config/tc-arc.c (opcode/arc-attrs.h): Include.
612 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
613 (arc_attribute): Declare new function.
614 (md_pseudo_table): Add arc_attribute.
615 (cpu_types): Rename default cpu features.
616 (selected_cpu): Set the default OSABI flag.
617 (mpy_option): New variable.
618 (pic_option): Likewise.
619 (sda_option): Likewise.
620 (tls_option): Likewise.
621 (feature_type, feature_list): Remove.
622 (arc_initial_eflag): Likewise.
623 (attributes_set_explicitly): New variable.
624 (arc_check_feature): Check also for the conflicting features.
625 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
626 (arc_option): Remove setting of private flags and architecture.
627 (check_cpu_feature): Refactor feature names.
628 (autodetect_attributes): New function.
629 (assemble_tokens): Use above function.
630 (md_parse_option): Refactor feature names.
631 (arc_attribute): New function.
632 (arc_set_attribute_int): Likewise.
633 (arc_set_attribute_string): Likewise.
634 (arc_stralloc): Likewise.
635 (arc_set_public_attributes): Likewise.
636 (arc_md_end): Likewise.
637 (arc_copy_symbol_attributes): Likewise.
638 (rc_convert_symbolic_attribute): Likewise.
639 * config/tc-arc.h (md_end): Define.
640 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
641 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
642 * doc/c-arc.texi: Document ARC object attributes.
643
8507b6e7
MR
6442017-05-03 Maciej W. Rozycki <macro@imgtec.com>
645
646 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
647 `nomacro' flags.
648 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
649 New macros.
650 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
651 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
652 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
653 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
654 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
655 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
656 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
657 (RELAX_MIPS16_CLEAR_MACRO): New macros.
658 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
659 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
660 (mips16_macro_frag): New function.
661 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
662 (mips_relax_frag): Likewise.
663 (md_convert_frag): Likewise.
664
665 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
666 add dump patterns.
667 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
668 subarchitecture.
669 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
670 NOP padding.
671 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
672 output, add dump patterns.
673 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
674 output, add dump patterns.
675 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
676 output, add dump patterns.
677 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
678 output, add dump patterns.
679 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
680 output, add dump patterns.
681 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
682 output, add dump patterns.
683 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
684 output, add dump patterns.
685 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
686 output, add dump patterns.
687 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
688 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
689 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
690 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
691 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
692 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
693 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
694 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
695 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
696 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
697
698 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
699 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
700 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
701 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
702 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
703 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
704 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
705 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
706 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
707 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
708 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
709 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
710 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
711 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
712 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
713 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
714 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
715 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
716 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
717 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
718 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
719 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
720 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
721 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
722 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
723 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
724 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
725 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
726 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
727 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
728 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
729 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
730 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
731 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
732 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
733 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
734 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
735 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
736 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
737 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
738 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
739 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
740 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
741 test.
742 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
743 test.
744 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
745 test.
746 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
747 test.
748 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
749 test.
750 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
751 test.
752 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
753 New test.
754 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
755 New test.
756 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
757 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
758 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
759 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
760 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
761 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
762 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
763 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
764 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
765 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
766 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
767 output.
768 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
769 output.
770 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
771 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
772 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
773 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
774 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
775 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
776 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
777 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
778 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
779 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
780 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
781 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
782 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
783 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
784 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
785 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
786 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
787 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
788 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
789 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
790 * testsuite/gas/mips/mips.exp: Run the new tests.
791
e78bb25c
NC
7922017-05-03 Nick Clifton <nickc@redhat.com>
793
794 PR gas/20941
795 * symbols.c (snapshot_symbol): Handle the case where
796 resolve_expression returns a local symbol.
797
82d808ed
MR
7982017-05-02 Maciej W. Rozycki <macro@imgtec.com>
799
800 * config/tc-mips.c (append_insn): Call `symbol_append' for any
801 expression symbol created for MIPS16 relaxation.
802 (match_mips16_insn): Don't encode a constant value as an
803 immediate with a PC-relative operand.
804
805 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
806 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
807 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
808 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
809 test.
810 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
811 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
812 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
813 test.
814 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
815 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
816 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
817 test.
818 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
819 output.
820 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
821 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
822 source.
823 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
824 source.
825 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
826 source.
827 * testsuite/gas/mips/mips.exp: Run the new tests.
828
14f72d45
MR
8292017-04-27 Maciej W. Rozycki <macro@imgtec.com>
830
831 * config/tc-mips.c (mips16_pcrel_val): New function, factored
832 out from...
833 (mips16_extended_frag): ... here.
834 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
835 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
836
1425c41d
MR
8372017-04-27 Maciej W. Rozycki <macro@imgtec.com>
838
839 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
840 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
841 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
842 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
843 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
844 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
845 (mips16_extended_frag): Adjust accordingly.
846
f2d830a5
AM
8472017-04-27 Alan Modra <amodra@gmail.com>
848
849 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
850
ce8ad872
MR
8512017-04-26 Maciej W. Rozycki <macro@imgtec.com>
852
853 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
854 (RELAX_PIC): New macro.
855 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
856 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
857 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
858 Shift bits.
859 (RELAX_BRANCH_ENCODE): Add `pic' flag.
860 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
861 (RELAX_BRANCH_TOOFAR): Shift bits.
862 (RELAX_BRANCH_PIC): New macro.
863 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
864 (RELAX_MICROMIPS_PIC): New macro.
865 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
866 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
867 (RELAX_MICROMIPS_RELAX32): Shift bits.
868 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
869 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
870 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
871 first fixup created.
872 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
873 fixup processed rather than `mips_pic' in choosing to relax an
874 out of range branch to a jump.
875 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
876 rather than `mips_pic'.
877 (relaxed_micromips_32bit_branch_length): Likewise.
878 (md_estimate_size_before_relax): Likewise.
879 (md_convert_frag): Likewise.
880
881 * testsuite/gas/mips/option-pic-relax-0.d: New test.
882 * testsuite/gas/mips/option-pic-relax-1.d: New test.
883 * testsuite/gas/mips/option-pic-relax-2.d: New test.
884 * testsuite/gas/mips/option-pic-relax-3.d: New test.
885 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
886 * testsuite/gas/mips/option-pic-relax-4.d: New test.
887 * testsuite/gas/mips/option-pic-relax-5.d: New test.
888 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
889 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
890 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
891 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
892 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
893 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
894 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
895 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
896 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
897 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
898 * testsuite/gas/mips/mips.exp: Run the new tests.
899
126124cc
CZ
9002017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
901
902 * testsuite/gas/arc/leave_enter.d: Update test.
903 * testsuite/gas/arc/leave_enter.s: Likewise.
904
be6a24d8
CZ
9052017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
906
907 * testsuite/gas/arc/b.d: Update test.
908 * testsuite/gas/arc/noargs_hs.d: Likewise.
909
adc1273c
MR
9102017-04-25 Maciej W. Rozycki <macro@imgtec.com>
911
912 * config/tc-mips.c (md_convert_frag): Correct
913 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
914 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
915 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
916 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
917 output.
918 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
919 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
920 * testsuite/gas/mips/mips.exp: Run the new tests.
921
d28b6364
JM
9222017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
923
924 PR gas/21407
925 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
926 instructions into branch instructions in fixups generating
927 additional relocations.
928 * testsuite/gas/sparc/call-relax.s: New file.
929 * testsuite/gas/sparc/call-relax.d: Likewise.
930 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
931 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
932
53445554
TP
9332017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
934
935 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
936 Forbid MOV.W and MOVW if destination is SP or PC.
937 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
938 expectation of LDR not generating a MOVS for low registers and small
939 constants. Add tests of MOVW generation.
940 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
941 expected disassembly.
942
a8cc8a54
AM
9432017-04-22 Alan Modra <amodra@gmail.com>
944
945 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
946 * testsuite/gas/ppc/vle.d: Update.
947
792f174f
NC
9482017-04-21 Nick Clifton <nickc@redhat.com>
949
950 PR binutils/21380
951 * testsuite/gas/aarch64/illegal-3.s: New file.
952 * testsuite/gas/aarch64/illegal-3.d: New file.
953
ef85eab0
AM
9542017-04-11 Alan Modra <amodra@gmail.com>
955
956 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
957 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
958
947fa914
MF
9592017-04-10 Max Filippov <jcmvbkbc@gmail.com>
960
961 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
962 Initialize lps->frag_count with auto_litpool_limit.
963 (xg_promote_candidate_litpool): New function.
964 (xtensa_move_literals): Extract candidate litpool promotion code
965 into separate function. Call it for all possible found
966 candidates.
967 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
968 call to xtensa_mark_literal_pool_location that it guards.
969 Replace it with call to xtensa_maybe_create_literal_pool_frag.
970 Initialize pool_location with created literal pool candidate.
971 * testsuite/gas/xtensa/all.exp: Add new tests.
972 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
973 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
974 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
975 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
976 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
977 to additional jump instruction.
978
ac8f0f72
AM
9792017-04-07 Alan Modra <amodra@gmail.com>
980
981 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
982 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
983
498e3442
AM
9842017-04-07 Alan Modra <amodra@gmail.com>
985
986 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
987 for .mbind.text.
988
62ecb94c
PC
9892017-04-06 Pip Cet <pipcet@gmail.com>
990
991 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
992 changes.
993 * testsuite/gas/wasm32/disass.d: New test.
994 * testsuite/gas/wasm32/disass.s: New test.
995 * testsuite/gas/wasm32/disass-2.d: New test.
996 * testsuite/gas/wasm32/disass-2.s: New test.
997 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
998 names.
999 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
1000 syntax.
1001 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
1002 test to succeed.
1003
a91e1603
L
10042017-04-04 H.J. Lu <hongjiu.lu@intel.com>
1005
1006 * NEWS: Mention support for ELF SHF_GNU_MBIND.
1007 * config/obj-elf.c (section_match): New.
1008 (get_section): Match both sh_info and group name.
1009 (obj_elf_change_section): Add argument for sh_info. Pass both
1010 sh_info and group name to get_section. Issue an error for
1011 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
1012 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
1013 (obj_elf_section): Support SHF_GNU_MBIND section info.
1014 * config/obj-elf.h (obj_elf_change_section): Add argument for
1015 sh_info.
1016 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
1017 obj_elf_change_section.
1018 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1019 * config/tc-microblaze.c (microblaze_s_data): Likewise.
1020 (microblaze_s_sdata): Likewise.
1021 (microblaze_s_rdata): Likewise.
1022 (microblaze_s_bss): Likewise.
1023 * config/tc-mips.c (s_change_section): Likewise.
1024 * config/tc-msp430.c (msp430_profiler): Likewise.
1025 * config/tc-rx.c (parse_rx_section): Likewise.
1026 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
1027 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
1028 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
1029 section13.
1030 * testsuite/gas/elf/section10.d: Updated.
1031 * testsuite/gas/elf/section10.s: Likewise.
1032 * testsuite/gas/elf/section12.s: New file.
1033 * testsuite/gas/elf/section12a.d: Likewise.
1034 * testsuite/gas/elf/section12b.d: Likewise.
1035 * testsuite/gas/elf/section13.l: Likewise.
1036 * testsuite/gas/elf/section13.d: Likewise.
1037 * testsuite/gas/elf/section13.s: Likewise.
1038
c41cf6fd
PD
10392017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
1040
1041 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
1042 avoid const warnings.
1043
fecb9c46
PD
10442017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
1045
1046 * config/tc-riscv.c (riscv_clear_subsets): New function.
1047 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
1048 clear RVC when it's been previously set.
1049
dc1e4d6d
NC
10502017-03-31 Nick Clifton <nickc@redhat.com>
1051
1052 PR gas/21333
1053 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
1054 fixups in mergeable sections to be adjusted.
1055
f96bd6c2
PC
10562017-03-30 Pip Cet <pipcet@gmail.com>
1057
1058 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
1059 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
1060 * Makefile.am: Add WebAssembly assembler target.
1061 * configure.tgt: Add WebAssembly assembler target.
1062 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
1063 assembler.
1064 * doc/all.texi: Define WASM32.
1065 * doc/as.texinfo: Add WebAssembly entries.
1066 * NEWS: Mention the new support.
1067 * Makefile.in: Regenerate.
1068 * po/gas.pot: Regenerate.
1069 * po/POTFILES.in: Regenerate.
1070 * testsuite/gas/wasm32: New directory.
1071 * testsuite/gas/wasm32/allinsn.d: New file.
1072 * testsuite/gas/wasm32/allinsn.s: New file.
1073 * testsuite/gas/wasm32/illegal.l: New file.
1074 * testsuite/gas/wasm32/illegal.s: New file.
1075 * testsuite/gas/wasm32/illegal-2.l: New file.
1076 * testsuite/gas/wasm32/illegal-2.s: New file.
1077 * testsuite/gas/wasm32/illegal-3.l: New file.
1078 * testsuite/gas/wasm32/illegal-3.s: New file.
1079 * testsuite/gas/wasm32/illegal-4.l: New file.
1080 * testsuite/gas/wasm32/illegal-4.s: New file.
1081 * testsuite/gas/wasm32/illegal-5.l: New file.
1082 * testsuite/gas/wasm32/illegal-5.s: New file.
1083 * testsuite/gas/wasm32/illegal-6.l: New file.
1084 * testsuite/gas/wasm32/illegal-6.s: New file.
1085 * testsuite/gas/wasm32/illegal-7.l: New file.
1086 * testsuite/gas/wasm32/illegal-7.s: New file.
1087 * testsuite/gas/wasm32/illegal-8.l: New file.
1088 * testsuite/gas/wasm32/illegal-8.s: New file.
1089 * testsuite/gas/wasm32/illegal-9.l: New file.
1090 * testsuite/gas/wasm32/illegal-9.s: New file.
1091 * testsuite/gas/wasm32/illegal-10.l: New file.
1092 * testsuite/gas/wasm32/illegal-10.s: New file.
1093 * testsuite/gas/wasm32/illegal-11.l: New file.
1094 * testsuite/gas/wasm32/illegal-11.s: New file.
1095 * testsuite/gas/wasm32/illegal-12.l: New file.
1096 * testsuite/gas/wasm32/illegal-12.s: New file.
1097 * testsuite/gas/wasm32/illegal-13.l: New file.
1098 * testsuite/gas/wasm32/illegal-13.s: New file.
1099 * testsuite/gas/wasm32/illegal-14.l: New file.
1100 * testsuite/gas/wasm32/illegal-14.s: New file.
1101 * testsuite/gas/wasm32/illegal-15.l: New file.
1102 * testsuite/gas/wasm32/illegal-15.s: New file.
1103 * testsuite/gas/wasm32/illegal-16.l: New file.
1104 * testsuite/gas/wasm32/illegal-16.s: New file.
1105 * testsuite/gas/wasm32/illegal-17.l: New file.
1106 * testsuite/gas/wasm32/illegal-17.s: New file.
1107 * testsuite/gas/wasm32/illegal-18.l: New file.
1108 * testsuite/gas/wasm32/illegal-18.s: New file.
1109 * testsuite/gas/wasm32/illegal-19.l: New file.
1110 * testsuite/gas/wasm32/illegal-19.s: New file.
1111 * testsuite/gas/wasm32/illegal-20.l: New file.
1112 * testsuite/gas/wasm32/illegal-20.s: New file.
1113 * testsuite/gas/wasm32/illegal-21.l: New file.
1114 * testsuite/gas/wasm32/illegal-21.s: New file.
1115 * testsuite/gas/wasm32/illegal-22.l: New file.
1116 * testsuite/gas/wasm32/illegal-22.s: New file.
1117 * testsuite/gas/wasm32/illegal-24.l: New file.
1118 * testsuite/gas/wasm32/illegal-24.s: New file.
1119 * testsuite/gas/wasm32/illegal-25.l: New file.
1120 * testsuite/gas/wasm32/illegal-25.s: New file.
1121 * testsuite/gas/wasm32/reloc.d: New file.
1122 * testsuite/gas/wasm32/reloc.s: New file.
1123 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
1124 architecture.
1125
52be03fd
AM
11262017-03-29 Alan Modra <amodra@gmail.com>
1127
1128 * config/tc-ppc.c (md_parse_option): Reject -mraw.
1129
9b753937
AM
11302017-03-27 Alan Modra <amodra@gmail.com>
1131
1132 PR 21303
1133 * testsuite/gas/ppc/pr21303.d,
1134 * testsuite/gas/ppc/pr21303.s: New test
1135 * testsuite/gas/ppc/ppc.exp: Run it.
1136
c0c31e91
RZ
11372017-03-27 Rinat Zelig <rinat@mellanox.com>
1138
1139 * testsuite/gas/arc/nps400-12.s: New file.
1140 * testsuite/gas/arc/nps400-12.d: New file.
1141
62785b09
TP
11422017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
1143
1144 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
1145 CPU_DEFAULT is defined.
1146
19683c04
PD
11472017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
1148
1149 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
1150 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
1151 print an invalid default ISA string.
1152 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
1153
24e5b4e6
MF
11542017-03-22 Max Filippov <jcmvbkbc@gmail.com>
1155
1156 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
1157 reassigned fixup to size of jump instruction (3) and fx_r_type
1158 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
1159 (add_jump_to_trampoline): Search
1160 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
1161 symbol and use that slot instead of slot 0.
1162
2253c8f0
AK
11632017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1164
1165 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
1166 from cpu_table. Remove vx2, and novx2 from cpu_flags.
1167
645d3342
RZ
11682017-03-21 Rinat Zelig <rinat@mellanox.com>
1169
1170 * testsuite/gas/arc/nps400-11.s: New file.
1171 * testsuite/gas/arc/nps400-11.d: New file.
1172
e406e428
NC
11732017-03-20 Nick Clifton <nickc@redhat.com>
1174
1175 * doc/as.texinfo (2byte): Note that if no expressions are present
1176 the directive does nothing. Emphasize that the output is
1177 unaligned, and that this can have an effect on the relocations
1178 generated.
1179 (4byte): Simplify description. Refer back to the 2byte
1180 description.
1181 (8byte): Likewise.
1182
d5e0ba9c
RE
11832017-03-20 Richard Earnshaw <rearnsha@arm.com>
1184
1185 * config/tc-arm.c (arm_fpus): Note entires that should not be
1186 documented.
1187 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
1188 neon-fp16. Fix spelling error.
1189
d3375ddd
RE
11902017-03-20 Richard Earnshaw <rearnsha@arm.com>
1191
1192 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
1193
2c52e2e8
RZ
11942017-03-16 Rinat Zelig <rinat@mellanox.com>
1195
1196 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
1197 specially for ARCv2.
1198
b416fe87
KC
11992017-03-14 Kito Cheng <kito.cheng@gmail.com>
1200
1201 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
1202 encoding format, which can accept 0-valued immediates.
1203 (riscv_ip): Likewise.
1204
7cb7b948
NC
12052017-03-15 Nick Clifton <nickc@redhat.com>
1206
1207 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
1208 warning about discarding a const qualifier.
1209
d47c3ff7
KLC
12102017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1211
1212 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
1213
2aece2ba
KLC
12142017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1215
1216 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
1217 fx_next->fx_frag for CFA_advance_loc relocations.
1218
c1b465c9
KLC
12192017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1220
1221 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
1222 for CFA relocations.
1223
f955cccf
NC
12242017-03-13 Nick Clifton <nickc@redhat.com>
1225
1226 PR binutils/21202
1227 * config/tc-aarch64.c (reloc_table): Rename
1228 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
1229 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
1230 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
1231 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
1232 (md_apply_fix): Likewise.
1233 (aarch64_force_relocation): Likewise.
1234 * testsuite/gas/aarch64/tls.d: Update regexp.
1235
8b1e5da1
NC
12362017-03-10 Tobin C. Harding <me@tobin.cc>
1237 Nick Clifton <nickc@redhat.com>
1238
1239 * doc/as.texinfo (2byte): Tidy up wording. Add note that
1240 overlarge values will produce a warning message and be trunacted.
1241 (4byte): Likewise.
1242
86fa6981
L
12432017-03-09 H.J. Lu <hongjiu.lu@intel.com>
1244
1245 * config/tc-i386.c (_i386_insn): Add dir_encoding and
1246 vec_encoding. Remove swap_operand and need_vrex.
1247 (extra_symbol_chars): Add '}'.
1248 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
1249 mnemonic.
1250 (build_vex_prefix): Don't use 2-byte VEX encoding with
1251 {vex3}. Check dir_encoding and load.
1252 (parse_insn): Check pseudo prefixes. Set dir_encoding.
1253 (VEX_check_operands): Likewise.
1254 (match_template): Check dir_encoding and load.
1255 (parse_real_register): Set vec_encoding instead of need_vrex.
1256 (parse_register): Likewise.
1257 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
1258 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
1259 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
1260 * testsuite/gas/i386/pseudos.d: New file.
1261 * testsuite/gas/i386/pseudos.s: Likewise.
1262 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1263 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
1264
4b8b687e
PB
12652017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1266
1267 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
1268 (objdump): Use the -Mpower8 option.
1269
1437d063
PB
12702017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1271
1272 * testsuite/gas/ppc/power9.d <lnia> New test.
1273 * testsuite/gas/ppc/power9.s: Likewise.
1274
ea86f534
AM
12752017-03-07 Alan Modra <amodra@gmail.com>
1276
1277 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
1278
2b841ec2
AM
12792017-03-07 Tobin C. Harding <me@tobin.cc>
1280 Alan Modra <amodra@gmail.com>
1281
1282 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
1283 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
1284
603555e5
L
12852017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1286
1287 * config/tc-i386.c (cpu_arch): Add .cet.
1288 * doc/c-i386.texi: Document cet.
1289 * testsuite/gas/i386/cet-intel.d: New file.
1290 * testsuite/gas/i386/cet.d: Likewise.
1291 * testsuite/gas/i386/cet.s: Likewise.
1292 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1293 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1294 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1295 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
1296
1cccfb31
L
12972017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1298
1299 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
1300 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
1301
ea0de82e
AM
13022017-03-06 Alan Modra <amodra@gmail.com>
1303
1304 * dw2gencfi.c (encoding_size): Return unsigned int.
1305 (emit_expr_encoded): Assert size matches reloc bitsize.
1306 (output_fde): Use unsigned for offset_size and addr_size. Set
1307 addr_size earlier and use in place of constant 4 and uses of
1308 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
1309
9e1a8675
AM
13102017-03-06 Alan Modra <amodra@gmail.com>
1311
1312 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
1313 auto reformat. Formatting and whitespace fixes.
1314
49fced12
MW
13152017-03-05 Mark Wielaard <mark@klomp.org>
1316
1317 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
1318 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
1319 (out_debug_info): Accept symbols to name, comp_dir and producer in
1320 the .debug_str section and emit those offsets not full strings.
1321 (out_debug_str): New function that outputs the strings for name,
1322 comp_dir and producer in .debug_str and generates symbols to those
1323 strings.
1324 (out_debug_line): Create a .debug_str section if necessary and call
1325 out_debug_str before calling out_debug_info.
1326 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
1327 output.
1328
9875b365
MR
13292017-03-02 Maciej W. Rozycki <macro@imgtec.com>
1330
1331 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
1332 part of the frag has overrun the location requested.
1333
1334 * testsuite/gas/all/org-1.d: New test.
1335 * testsuite/gas/all/org-2.d: New test.
1336 * testsuite/gas/all/org-3.d: New test.
1337 * testsuite/gas/all/org-4.d: New test.
1338 * testsuite/gas/all/org-5.d: New test.
1339 * testsuite/gas/all/org-6.d: New test.
1340 * testsuite/gas/all/org-1.l: New stderr output.
1341 * testsuite/gas/all/org-2.l: New stderr output.
1342 * testsuite/gas/all/org-3.l: New stderr output.
1343 * testsuite/gas/all/org-1.s: New test source.
1344 * testsuite/gas/all/org-2.s: New test source.
1345 * testsuite/gas/all/org-3.s: New test source.
1346 * testsuite/gas/all/org-4.s: New test source.
1347 * testsuite/gas/all/org-5.s: New test source.
1348 * testsuite/gas/all/org-6.s: New test source.
1349 * testsuite/gas/all/gas.exp: Run the new tests.
1350
1351 * testsuite/gas/mips/org-1.d: New test.
1352 * testsuite/gas/mips/org-2.d: New test.
1353 * testsuite/gas/mips/org-3.d: New test.
1354 * testsuite/gas/mips/org-4.d: New test.
1355 * testsuite/gas/mips/org-5.d: New test.
1356 * testsuite/gas/mips/org-6.d: New test.
1357 * testsuite/gas/mips/org-7.d: New test.
1358 * testsuite/gas/mips/org-8.d: New test.
1359 * testsuite/gas/mips/org-9.d: New test.
1360 * testsuite/gas/mips/org-10.d: New test.
1361 * testsuite/gas/mips/org-11.d: New test.
1362 * testsuite/gas/mips/org-12.d: New test.
1363 * testsuite/gas/mips/org-1.l: New stderr output.
1364 * testsuite/gas/mips/org-4.l: New stderr output.
1365 * testsuite/gas/mips/org-5.l: New stderr output.
1366 * testsuite/gas/mips/org-6.l: New stderr output.
1367 * testsuite/gas/mips/org-10.l: New stderr output.
1368 * testsuite/gas/mips/org-1.s: New test source.
1369 * testsuite/gas/mips/org-2.s: New test source.
1370 * testsuite/gas/mips/org-3.s: New test source.
1371 * testsuite/gas/mips/org-4.s: New test source.
1372 * testsuite/gas/mips/org-5.s: New test source.
1373 * testsuite/gas/mips/org-6.s: New test source.
1374 * testsuite/gas/mips/org-7.s: New test source.
1375 * testsuite/gas/mips/org-8.s: New test source.
1376 * testsuite/gas/mips/org-9.s: New test source.
1377 * testsuite/gas/mips/org-10.s: New test source.
1378 * testsuite/gas/mips/org-11.s: New test source.
1379 * testsuite/gas/mips/org-12.s: New test source.
1380 * testsuite/gas/mips/mips.exp: Run the new tests.
1381
01cca2f9
SN
13822017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1383
1384 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1385
15c7c1d8
JB
13862017-02-28 Jan Beulich <jbeulich@suse.com>
1387
1388 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
1389 VPCMPESTR{I,M}.
1390 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
1391 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
1392 of PCMPESTR{I,M}.
1393 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
1394 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
1395 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
1396 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
1397 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
1398 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
1399 * testsuite/gas/i386/x86-64-avx.d: Likewise.
1400 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
1401 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
1402 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
1403
4ef97a1b
AM
14042017-02-28 Alan Modra <amodra@gmail.com>
1405
1406 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1407
7ba71655
AM
14082017-02-28 Alan Modra <amodra@gmail.com>
1409
1410 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
1411 (md_apply_fix): Remove fx_subsy check. Move code converting to
1412 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
1413 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
1414 that is done now by the generic code via..
1415 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
1416 (TC_VALIDATE_FIX_SUB): Define.
1417
0e392101
MR
14182017-02-28 Maciej W. Rozycki <macro@imgtec.com>
1419
1420 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
1421 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
1422 encoding patterns.
1423 * testsuite/gas/mips/jalr4-n64.d: Likewise.
1424 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
1425 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
1426 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
1427
dd803a24
AM
14282017-02-25 Alan Modra <amodra@gmail.com>
1429
1430 * testsuite/gas/elf/strtab.s: Don't put directives on first
1431 column or continuation with labels not in first column.
1432
582e12bf
RS
14332017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1434
1435 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
1436 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
1437 to be used with SVE registers.
1438 (parse_operands): Handle new SVE operands.
1439 (aarch64_features): Make "sve" require F16 rather than FP. Also
1440 require COMPNUM.
1441 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
1442 Include compnum tests.
1443 * testsuite/gas/aarch64/sve.d: Update accordingly.
1444 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
1445 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
1446 update expected output for new FMOV and MOV alternatives.
1447
f482d304
RS
14482017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1449
1450 * doc/c-aarch64.texi: Add a "compnum" entry.
1451 * config/tc-aarch64.c (aarch64_features): Likewise,
1452 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
1453 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
1454
7db2c588
JB
14552017-02-24 Jan Beulich <jbeulich@suse.com>
1456
1457 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
1458 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
1459 * testsuite/gas/i386/opcode.d: Adjust accordingly.
1460 * testsuite/gas/i386/opcode-intel.d: Likewise.
1461 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
1462 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
1463
1b3cee56
SL
14642017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
1465
1466 Test cases for the architecture level aware SPARC ASI work.
1467 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
1468 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
1469 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
1470 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
1471 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
1472
c1556ecd
MR
14732017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1474
1475 * testsuite/gas/mips/jalr4.d: New test.
1476 * testsuite/gas/mips/jalr4-n32.d: New test.
1477 * testsuite/gas/mips/jalr4-n64.d: New test.
1478 * testsuite/gas/mips/jalr4.s: New test source.
1479 * testsuite/gas/mips/mips.exp: Run the new tests.
1480
1e9d41d4
SL
14812017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
1482
1483 Add support for associating SPARC ASIs with an architecture level.
1484 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
1485
946416fc
JB
14862017-02-23 Jan Beulich <jbeulich@suse.com>
1487
1488 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
1489 of symbols as expression.
1490
14912017-02-23 Jan Beulich <jbeulich@suse.com>
4c5b8d1e
JB
1492
1493 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
1494 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
1495 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
1496 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
1497
5ff6a06c
MR
14982017-02-22 Maciej W. Rozycki <macro@imgtec.com>
1499
1500 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
1501 `md_flush_pending_output'.
1502 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
1503 `md_flush_pending_output' unconditionally.
1504 * testsuite/gas/mips/debug-label-end-1.d: New test.
1505 * testsuite/gas/mips/debug-label-end-2.d: New test.
1506 * testsuite/gas/mips/debug-label-end-3.d: New test.
1507 * testsuite/gas/mips/debug-label-end.s: New test source.
1508 * testsuite/gas/mips/mips.exp: Run the new tests.
1509
25890fc2
HPN
15102017-02-22 Hans-Peter Nilsson <hp@axis.com>
1511
1512 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
1513 targets yielding an error message matching "too complex".
1514
5ffbd927
NC
15152017-02-22 Nick Clifton <nickc@redhat.com>
1516
1517 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
1518
b0c53498
JB
15192017-02-21 Jan Beulich <jbeulich@suse.com>
1520
1521 * expr.c (operand): Handle missing operand to .startof.() and
1522 .sizeof.().
1523 * testsuite/gas/all/err-sizeof.s: New.
1524
ece5dcc1
AM
15252017-02-20 Alan Modra <amodra@gmail.com>
1526
1527 PR 21118
1528 * NEWS: Revise powerpc register check.
1529 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
1530 register expression" a warning.
1531
37f9ec62
MR
15322017-02-17 Maciej W. Rozycki <macro@imgtec.com>
1533
1534 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
1535 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
1536 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
1537 * testsuite/gas/mips/aent-2.d: New test.
1538 * testsuite/gas/mips/aent-mdebug.d: New test.
1539 * testsuite/gas/mips/aent-mdebug-2.d: New test.
1540 * testsuite/gas/mips/mips.exp: Run the new tests.
1541
773fb663
RS
15422017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1543
1544 * testsuite/gas/aarch64/sve-sysreg.s,
1545 testsuite/gas/aarch64/sve-sysreg.d,
1546 testsuite/gas/aarch64/sve-sysreg-invalid.d,
1547 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
1548
7a2114e7
RS
15492017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1550
1551 * doc/c-aarch64.texi: Fix sve entry.
1552
cc07cda6
CZ
15532017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
1554
1555 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
1556 information from input expression.
1557 (assemble_insn): Make sure pcrel is correctly set.
1558 (arc_pcrel_adjust): Compensate for PCL rounding.
1559 * testsuite/gas/arc/relax-add01.d: New file.
1560 * testsuite/gas/arc/relax-add01.s: Likewise.
1561 * testsuite/gas/arc/relax-add02.d: Likewise.
1562 * testsuite/gas/arc/relax-add02.s: Likewise.
1563 * testsuite/gas/arc/relax-add03.d: Likewise.
1564 * testsuite/gas/arc/relax-add03.s: Likewise.
1565 * testsuite/gas/arc/relax-add04.d: Likewise.
1566 * testsuite/gas/arc/relax-add04.s: Likewise.
1567 * testsuite/gas/arc/relax-ld01.d: Likewise.
1568 * testsuite/gas/arc/relax-ld01.s: Likewise.
1569 * testsuite/gas/arc/relax-ld02.d: Likewise.
1570 * testsuite/gas/arc/relax-ld02.s: Likewise.
1571 * testsuite/gas/arc/relax-mov01.d: Likewise.
1572 * testsuite/gas/arc/relax-mov01.s: Likewise.
1573 * testsuite/gas/arc/relax-mov02.d: Likewise.
1574 * testsuite/gas/arc/relax-mov02.s: Likewise.
1575 * testsuite/gas/arc/relax-mpy01.d: Likewise.
1576 * testsuite/gas/arc/relax-mpy01.s: Likewise.
1577 * testsuite/gas/arc/relax-sub01.d: Likewise.
1578 * testsuite/gas/arc/relax-sub01.s: Likewise.
1579 * testsuite/gas/arc/relax-sub02.d: Likewise.
1580 * testsuite/gas/arc/relax-sub02.s: Likewise.
1581 * testsuite/gas/arc/relax-sub03.d: Likewise.
1582 * testsuite/gas/arc/relax-sub03.s: Likewise.
1583 * testsuite/gas/arc/relax-sub04.d: Likewise.
1584 * testsuite/gas/arc/relax-sub04.s: Likewise.
1585
66a5a740
VG
15862017-02-09 Vineet Gupta <vgupta@synopsys.com>
1587
1588 * testsuite/gas/arc/st.d: Update for 0xe having a name now
1589
7e0de605
AM
15902017-02-14 Alan Modra <amodra@gmail.com>
1591
1592 PR 21118
1593 * NEWS: Mention powerpc register checks.
1594 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
1595 (pre_defined_registers): Delete fpscr and pmr entries. Set
1596 register type in flags.
1597 (cr_names): Set type in flags.
1598 (reg_name_search): Return pointer to struct pd_reg rather than value.
1599 (register_name): Adjust to suit. Set X_md from flags.
1600 (ppc_parse_name): Likewise.
1601 (ppc_optimize_expr): New function.
1602 (md_assemble): Verify expresion reg flags match operand.
1603 * config/tc-ppc.h (md_optimize_expr): Define.
1604 (ppc_optimize_expr): Declare.
1605
606a935e
AM
16062017-02-14 Alan Modra <amodra@gmail.com>
1607
1608 * testsuite/gas/ppc/cell.s: Correct invalid registers.
1609 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
1610 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
1611
3c6452ae
TP
16122017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1613
1614 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
1615 syntax.
1616 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
1617 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
1618
dce75bf9
NP
16192017-02-10 Nicholas Piggin <npiggin@gmail.com>
1620
1621 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
1622
73201331
MR
16232017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1624
1625 * doc/as.texinfo (Overview): Select MIPS options for man page
1626 inclusion.
1627
8b10b0b3
MR
16282017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1629
1630 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
1631 (options): Add OPTION_IGNORE_BRANCH_ISA and
1632 OPTION_NO_IGNORE_BRANCH_ISA enum values.
1633 (md_longopts): Add "mignore-branch-isa" and
1634 "mno-ignore-branch-isa" options.
1635 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
1636 OPTION_NO_IGNORE_BRANCH_ISA.
1637 (fix_bad_cross_mode_branch_p): Return FALSE if
1638 `mips_ignore_branch_isa' has been set.
1639 (md_show_usage): Add `-mignore-branch-isa' and
1640 `-mno-ignore-branch-isa'.
1641
1642 * doc/as.texinfo (Target MIPS options): Add
1643 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
1644 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
1645 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
1646 `-mno-ignore-branch-isa' options.
1647
1648 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
1649 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
1650 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
1651 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
1652 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
1653 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
1654 * testsuite/gas/mips/mips.exp: Run the new tests.
1655
7795a8f8
MR
16562017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1657
1658 * testsuite/gas/mips/branch-local-2.d: New test.
1659 * testsuite/gas/mips/branch-local-3.d: New test.
1660 * testsuite/gas/mips/branch-local-n32-2.d: New test.
1661 * testsuite/gas/mips/branch-local-n32-3.d: New test.
1662 * testsuite/gas/mips/branch-local-n64-2.d: New test.
1663 * testsuite/gas/mips/branch-local-n64-3.d: New test.
1664 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
1665 into the new tests.
1666
8ec5cf65
AD
16672017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
1668
1669 PR 21056
1670 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
1671 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
1672
de514cf3
SH
16732017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1674
1675 * configure.tgt (aarch64*-*-rtems*): Remove.
1676 (bfin-*-rtems*): Likewise.
1677 (h8300-*-rtems*): Likewise.
1678 (i386-*-rtems*): Likewise.
1679 (m32c-*-rtems*): Likewise.
1680 (m32r-*-rtems*): Likewise.
1681 (m68k-*-rtems*): Likewise.
1682 (mips-*-rtems*): Likewise.
1683 (nios2-*-rtems*): Likewise.
1684 (ppc-*-rtems*): Likewise.
1685 (sh-*-rtems*): Likewise.
1686 (sparc64-*-rtems*): Likewise.
1687 (sparc-*-rtems*): Likewise.
1688 (*-*-rtems*) Use ELF format.
1689
3e97ba8a
SH
16902017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1691
1692 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
1693
850d84f6
SH
16942017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1695
1696 * configure.tgt (sh-*-rtemscoff*): Remove.
1697
666c6aff
SH
16982017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
1699
1700 * configure.tgt (riscv*-*-*): Remove em=linux.
1701
33eaf5de
NC
17022017-01-23 Sebastian Rasmussen <sebras@gmail.com>
1703
1704 PR gas/21072
1705 * asintl.h: Fix spelling mistakes and typos.
1706 * atof-generic.c: Likewise.
1707 * bit_fix.h: Likewise.
1708 * config/atof-ieee.c: Likewise.
1709 * config/bfin-defs.h: Likewise.
1710 * config/bfin-parse.y: Likewise.
1711 * config/obj-coff-seh.h: Likewise.
1712 * config/obj-coff.c: Likewise.
1713 * config/obj-evax.c: Likewise.
1714 * config/obj-macho.c: Likewise.
1715 * config/rx-parse.y: Likewise.
1716 * config/tc-aarch64.c: Likewise.
1717 * config/tc-alpha.c: Likewise.
1718 * config/tc-arc.c: Likewise.
1719 * config/tc-arm.c: Likewise.
1720 * config/tc-avr.c: Likewise.
1721 * config/tc-bfin.c: Likewise.
1722 * config/tc-cr16.c: Likewise.
1723 * config/tc-cris.c: Likewise.
1724 * config/tc-crx.c: Likewise.
1725 * config/tc-d10v.c: Likewise.
1726 * config/tc-d30v.c: Likewise.
1727 * config/tc-dlx.c: Likewise.
1728 * config/tc-epiphany.c: Likewise.
1729 * config/tc-frv.c: Likewise.
1730 * config/tc-hppa.c: Likewise.
1731 * config/tc-i370.c: Likewise.
1732 * config/tc-i386-intel.c: Likewise.
1733 * config/tc-i386.c: Likewise.
1734 * config/tc-i960.c: Likewise.
1735 * config/tc-ia64.c: Likewise.
1736 * config/tc-m32r.c: Likewise.
1737 * config/tc-m68hc11.c: Likewise.
1738 * config/tc-m68k.c: Likewise.
1739 * config/tc-mcore.c: Likewise.
1740 * config/tc-mep.c: Likewise.
1741 * config/tc-mep.h: Likewise.
1742 * config/tc-metag.c: Likewise.
1743 * config/tc-microblaze.c: Likewise.
1744 * config/tc-mips.c: Likewise.
1745 * config/tc-mmix.c: Likewise.
1746 * config/tc-mn10200.c: Likewise.
1747 * config/tc-mn10300.c: Likewise.
1748 * config/tc-msp430.c: Likewise.
1749 * config/tc-msp430.h: Likewise.
1750 * config/tc-nds32.c: Likewise.
1751 * config/tc-nds32.h: Likewise.
1752 * config/tc-nios2.c: Likewise.
1753 * config/tc-nios2.h: Likewise.
1754 * config/tc-ns32k.c: Likewise.
1755 * config/tc-pdp11.c: Likewise.
1756 * config/tc-ppc.c: Likewise.
1757 * config/tc-pru.c: Likewise.
1758 * config/tc-rx.c: Likewise.
1759 * config/tc-s390.c: Likewise.
1760 * config/tc-score.c: Likewise.
1761 * config/tc-score7.c: Likewise.
1762 * config/tc-sh.c: Likewise.
1763 * config/tc-sh64.c: Likewise.
1764 * config/tc-sparc.c: Likewise.
1765 * config/tc-tic4x.c: Likewise.
1766 * config/tc-tic54x.c: Likewise.
1767 * config/tc-v850.c: Likewise.
1768 * config/tc-vax.c: Likewise.
1769 * config/tc-visium.c: Likewise.
1770 * config/tc-xgate.c: Likewise.
1771 * config/tc-xtensa.c: Likewise.
1772 * config/tc-z80.c: Likewise.
1773 * config/tc-z8k.c: Likewise.
1774 * config/te-vms.c: Likewise.
1775 * config/xtensa-relax.c: Likewise.
1776 * doc/as.texinfo: Likewise.
1777 * doc/c-arm.texi: Likewise.
1778 * doc/c-hppa.texi: Likewise.
1779 * doc/c-i370.texi: Likewise.
1780 * doc/c-i386.texi: Likewise.
1781 * doc/c-m32r.texi: Likewise.
1782 * doc/c-m68k.texi: Likewise.
1783 * doc/c-mmix.texi: Likewise.
1784 * doc/c-msp430.texi: Likewise.
1785 * doc/c-nds32.texi: Likewise.
1786 * doc/c-ns32k.texi: Likewise.
1787 * doc/c-riscv.texi: Likewise.
1788 * doc/c-rx.texi: Likewise.
1789 * doc/c-s390.texi: Likewise.
1790 * doc/c-tic6x.texi: Likewise.
1791 * doc/c-tilegx.texi: Likewise.
1792 * doc/c-tilepro.texi: Likewise.
1793 * doc/c-v850.texi: Likewise.
1794 * doc/c-xgate.texi: Likewise.
1795 * doc/c-xtensa.texi: Likewise.
1796 * dwarf2dbg.c: Likewise.
1797 * ecoff.c: Likewise.
1798 * itbl-ops.c: Likewise.
1799 * listing.c: Likewise.
1800 * macro.c: Likewise.
1801 * po/gas.pot: Likewise.
1802 * read.c: Likewise.
1803 * struc-symbol.h: Likewise.
1804 * symbols.h: Likewise.
1805 * testsuite/gas/arc/relocs-errors.err: Likewise.
1806 * write.c: Likewise.
1807
8069955e
NC
18082017-01-23 Nick Clifton <nickc@redhat.com>
1809
1810 * po/sv.po: Updated Swedish translation.
1811
9d46ce34
NC
18122017-01-20 Nick Clifton <nickc@redhat.com>
1813
1814 * config/tc-i386.c (parse_operands): Check for operand overflow
1815 before setting the unspecified bit.
1816
9e009953
MR
18172017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1818
1819 PR gas/20649
1820 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
1821 symbols, remove the `segtype' parameter.
1822 (mips_frob_file, md_estimate_size_before_relax): Adjust
1823 accordingly.
1824 (s_is_linkonce): Add an explanatory comment.
1825 * testsuite/gas/mips/comdat-reloc.d: New test.
1826 * testsuite/gas/mips/comdat-reloc.s: New test source.
1827 * testsuite/gas/mips/mips.exp: Run the new test.
1828
c13a63b0
SN
18292017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1830
1831 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
1832 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
1833
2cedb9eb
BR
18342017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
1835
1836 PR 21059
1837 * config/bfin-lex.l: Support processing with flex 2.6.3.
1838 * itbl-lex.l: Likewise.
1839
1ec4b9f2
NS
18402017-01-18 Nathan Sidwell <nathan@acm.org>
1841
1842 * as.h (gas_assert): Use abort.
1843 (as_assert): Remove.
1844 (signal_init): Declare.
1845 * as.c (main): Call signal_init.
1846 * messages.c: #include <signal.h>
1847 (as_assert): Delete.
1848 (as_abort): Allow NULL FILE.
1849 (signal_crash): New.
1850 (signal_init): Register fatal signal handlers.
1851 * configure.ac: Check for strsignal.
1852 * config.in: Rebuilt.
1853 * configure: Rebuilt.
1854
01fabda4 18552017-01-17 Nick Clifton <nickc@redhat.com>
6aa1df2d
NC
1856
1857 * po/sv.po: Updated Swedish translation.
1858
620214f7
IT
18592017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1860
1861 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
1862 (cpu_noarch): Add noavx512_vpopcntdq.
1863 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
1864 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
1865 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
1866 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
1867 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
1868 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
1869 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
1870 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
1871
1181551e
NC
18722017-01-12 Nick Clifton <nickc@redhat.com>
1873
1874 * read.c (temp_ilp): New function. Installs a temporary input
1875 line pointer.
1876 (restore_ilp): New function. Restores the original input line
1877 pointer.
1878 * read.h (temp_ilp): Prototype.
1879 (restore_ilp): Prototype.
1880 * stabs.c (dot_func_p): Use bfd_boolean type.
1881 (generate_asm_file): Use temp_ilp and restore_ilp.
1882 (stabs_generate_asm_lineno): Likewise.
1883 (stabs_generate_asm_endfunc): Likewise.
1884
f2e2d2f5
JS
18852017-01-11 Jeremy Soller <jackpot51@gmail.com>
1886
1887 * configure.tgt: Add entry for i386-redox.
1888
07e8e623
NC
18892017-01-10 Nick Clifton <nickc@redhat.com>
1890
1891 * po/sv.po: Updated Swedish translation.
1892
1a94eb29
TG
18932017-01-10 Tristan Gingold <gingold@adacore.com>
1894
1895 * testsuite/gas/all/sleb128-8.d: Adjust test.
1896 * testsuite/gas/all/gas.exp (test_cond): Likewise.
1897
74def31d
TG
18982017-01-10 Tristan Gingold <gingold@adacore.com>
1899
1900 * read.c (emit_leb128_expr): Extended unsigned big number for
1901 sleb128.
1902 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
1903 * testsuite/gas/all/sleb128.d: New test.
1904 * testsuite/gas/all/sleb128.s: New test source.
1905
a5ec5e3f
AW
19062017-01-09 Andrew Waterman <andrew@sifive.com>
1907
1908 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1909 against constants.
1910 (md_apply_fix): Mark relocations against constants as "done."
1911
e294484e
AW
19122017-01-09 Andrew Waterman <andrew@sifive.com>
1913
1914 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1915 against constants.
1916 (md_apply_fix): Mark relocations against constants as "done."
1917
6ec11ab9
PD
19182017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
1919 Kito Cheng <kito.cheng@gmail.com>
1920
1921 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
1922 Removed.
1923 (SDATA_START_SYMBOLS): Likewise.
1924
20b52c88
NC
19252017-01-09 Nick Clifton <nickc@redhat.com>
1926
1927 * po/sv.po: New Swedish translation.
1928 * configure.ac (ALL_LINGUAS): Add sv.
1929 * configure: Regenerate.
1930
01156111
AW
19312017-01-09 Andrew Waterman <andrew@sifive.com>
1932
1933 * config/tc-riscv.c (relaxed_branch_length): Use the long
1934 sequence when the target is a weak symbol.
1935
d74d4880
SN
19362017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1937
1938 * config/tc-aarch64.c (aarch64_features): Add rcpc.
1939 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1940 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
1941 * testsuite/gas/aarch64/ldst-rcpc.d: This.
1942 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
1943 * testsuite/gas/aarch64/ldst-rcpc.s: This.
1944 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
1945
10ab38d9
NJ
19462017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
1947
1948 PR gas/20992
1949 * configure.tgt: Treat sparcv9 as sparc64.
1950
cc917fd9
KC
19512017-01-03 Kito Cheng <kito.cheng@gmail.com>
1952
1953 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
1954 extension.
1955 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
1956 enabled and no other ABI is specified.
1957
ddb2c6fd
DD
19582017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
1959
1960 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
1961 valueT, as declared in tc.h.
1962 (md_apply_fix): Fix to work on 32-bit hosts.
1963
2571583a
AM
19642017-01-02 Alan Modra <amodra@gmail.com>
1965
1966 Update year range in copyright notice of all files.
1967
5c1ad6b5 1968For older changes see ChangeLog-2016
3499769a 1969\f
5c1ad6b5 1970Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
1971
1972Copying and distribution of this file, with or without modification,
1973are permitted in any medium without royalty provided the copyright
1974notice and this notice are preserved.
1975
1976Local Variables:
1977mode: change-log
1978left-margin: 8
1979fill-column: 74
1980version-control: never
1981End:
This page took 0.238678 seconds and 4 git commands to generate.