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