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