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