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