Rename non_ir_ref to non_ir_ref_regular
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
52a86f84
NC
12017-05-15 Nick Clifton <nickc@redhat.com>
2
3 PR gas/21458
4 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
5 symbol, ensure that the T bit will be set.
6 (do_adrl): Likewise.
7 (do_t_adr): Likewise.
8 * testsuite/gas/arm/pr21458.s: New test.
9 * testsuite/gas/arm/pr21458.d: New test driver.
10
b32465c9
MR
112017-05-15 Maciej W. Rozycki <macro@imgtec.com>
12
13 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
14 flags.
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:
35 Likewise.
36 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
37 Likewise.
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:
50 Likewise.
51 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
52 Likewise.
53 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
54 Likewise.
55 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
56 Likewise.
57 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
58 Likewise.
59 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
60 Likewise.
61 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
62 Likewise.
63 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
64 Likewise.
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
71 test.
72 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
73 test.
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
87 test.
88 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
89 test.
90 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
91 New test.
92 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
93 New test.
94 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
95 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
96 test.
97 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
98 test.
99 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
100 test.
101 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
102 test.
103 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
104 test.
105 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
106 test.
107 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
108 test.
109 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
110 test.
111 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
112 test.
113 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
114 test.
115 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
116 test.
117 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
118 New test.
119 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
120 New test.
121 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
122 New test.
123 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
124 New test.
125 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
126 New test.
127 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
128 New test.
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.
134
3f3467ff
MR
1352017-05-15 Maciej W. Rozycki <macro@imgtec.com>
136
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.
169
70ab592f
MR
1702017-05-15 Maciej W. Rozycki <macro@imgtec.com>
171
172 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
173 `mips16e2@' prefix.
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
189 output.
190 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
191 output.
192 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
193 output.
194 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
195 output.
196 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
197 output.
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
203 source.
204 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
205 source.
206
25499ac7
MR
2072017-05-15 Maciej W. Rozycki <macro@imgtec.com>
208 Matthew Fortune <matthew.fortune@imgtec.com>
209 Andrew Bennett <andrew.bennett@imgtec.com>
210
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
223 values.
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
230 `opcode_is_member'.
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.
246
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'.
254
20c59b84
MR
2552017-05-15 Maciej W. Rozycki <macro@imgtec.com>
256
257 * config/tc-mips.c (match_int_operand): Call
258 `match_out_of_range' before returning failure for 0x8000-0xffff
259 values conditionally allowed.
260
602b88e3
MR
2612017-05-15 Maciej W. Rozycki <macro@imgtec.com>
262
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.
266
c96425c5
MR
2672017-05-15 Maciej W. Rozycki <macro@imgtec.com>
268
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.
288
1a7bf198
MR
2892017-05-15 Maciej W. Rozycki <macro@imgtec.com>
290
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.
301
e295202f
MR
3022017-05-15 Maciej W. Rozycki <macro@imgtec.com>
303
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.
310
c76081bc
MR
3112017-05-15 Maciej W. Rozycki <macro@imgtec.com>
312
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
316 into the new tests.
317
a54d5f8b
MR
3182017-05-15 Maciej W. Rozycki <macro@imgtec.com>
319
320 * config/tc-mips.c (match_const_int): Update description.
321
32035f51
MR
3222017-05-15 Maciej W. Rozycki <macro@imgtec.com>
323
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
328 nomicromips'.
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.
335
be3f1006
MR
3362017-05-12 Maciej W. Rozycki <macro@imgtec.com>
337 Matthew Fortune <matthew.fortune@imgtec.com>
338
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.
345
a4f89915
MR
3462017-05-12 Maciej W. Rozycki <macro@imgtec.com>
347
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.
356
99e2d67a
MR
3572017-05-11 Maciej W. Rozycki <macro@imgtec.com>
358
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.
362
7f401e84
MR
3632017-05-10 Maciej W. Rozycki <macro@imgtec.com>
364
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
382 source.
383 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
384 source.
385 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
386 source.
387 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
388 source.
389 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
390 source.
391 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
392 source.
393 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
394 into the new tests.
395
9fc18134
MR
3962017-05-10 Maciej W. Rozycki <macro@imgtec.com>
397
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.
405
f78c0b91
MR
4062017-05-10 Maciej W. Rozycki <macro@imgtec.com>
407
408 * testsuite/gas/mips/mips16-macro.l: Remove list test.
409
58667758
MR
4102017-05-10 Maciej W. Rozycki <macro@imgtec.com>
411
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.
432
53a346d8
CZ
4332017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
434
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.
509
8507b6e7
MR
5102017-05-03 Maciej W. Rozycki <macro@imgtec.com>
511
512 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
513 `nomacro' flags.
514 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
515 New macros.
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.
530
531 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
532 add dump patterns.
533 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
534 subarchitecture.
535 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
536 NOP padding.
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.
563
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
607 test.
608 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
609 test.
610 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
611 test.
612 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
613 test.
614 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
615 test.
616 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
617 test.
618 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
619 New test.
620 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
621 New test.
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
633 output.
634 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
635 output.
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.
657
e78bb25c
NC
6582017-05-03 Nick Clifton <nickc@redhat.com>
659
660 PR gas/20941
661 * symbols.c (snapshot_symbol): Handle the case where
662 resolve_expression returns a local symbol.
663
82d808ed
MR
6642017-05-02 Maciej W. Rozycki <macro@imgtec.com>
665
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.
670
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
675 test.
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
679 test.
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
683 test.
684 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
685 output.
686 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
687 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
688 source.
689 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
690 source.
691 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
692 source.
693 * testsuite/gas/mips/mips.exp: Run the new tests.
694
14f72d45
MR
6952017-04-27 Maciej W. Rozycki <macro@imgtec.com>
696
697 * config/tc-mips.c (mips16_pcrel_val): New function, factored
698 out from...
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.
702
1425c41d
MR
7032017-04-27 Maciej W. Rozycki <macro@imgtec.com>
704
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.
712
f2d830a5
AM
7132017-04-27 Alan Modra <amodra@gmail.com>
714
715 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
716
ce8ad872
MR
7172017-04-26 Maciej W. Rozycki <macro@imgtec.com>
718
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):
724 Shift bits.
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
737 first fixup created.
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.
746
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.
765
126124cc
CZ
7662017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
767
768 * testsuite/gas/arc/leave_enter.d: Update test.
769 * testsuite/gas/arc/leave_enter.s: Likewise.
770
be6a24d8
CZ
7712017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
772
773 * testsuite/gas/arc/b.d: Update test.
774 * testsuite/gas/arc/noargs_hs.d: Likewise.
775
adc1273c
MR
7762017-04-25 Maciej W. Rozycki <macro@imgtec.com>
777
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
783 output.
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.
787
d28b6364
JM
7882017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
789
790 PR gas/21407
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.
798
53445554
TP
7992017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
800
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.
808
a8cc8a54
AM
8092017-04-22 Alan Modra <amodra@gmail.com>
810
811 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
812 * testsuite/gas/ppc/vle.d: Update.
813
792f174f
NC
8142017-04-21 Nick Clifton <nickc@redhat.com>
815
816 PR binutils/21380
817 * testsuite/gas/aarch64/illegal-3.s: New file.
818 * testsuite/gas/aarch64/illegal-3.d: New file.
819
ef85eab0
AM
8202017-04-11 Alan Modra <amodra@gmail.com>
821
822 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
823 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
824
947fa914
MF
8252017-04-10 Max Filippov <jcmvbkbc@gmail.com>
826
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
832 candidates.
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.
844
ac8f0f72
AM
8452017-04-07 Alan Modra <amodra@gmail.com>
846
847 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
848 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
849
498e3442
AM
8502017-04-07 Alan Modra <amodra@gmail.com>
851
852 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
853 for .mbind.text.
854
62ecb94c
PC
8552017-04-06 Pip Cet <pipcet@gmail.com>
856
857 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
858 changes.
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
864 names.
865 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
866 syntax.
867 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
868 test to succeed.
869
a91e1603
L
8702017-04-04 H.J. Lu <hongjiu.lu@intel.com>
871
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
881 sh_info.
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
895 section13.
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.
904
c41cf6fd
PD
9052017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
906
907 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
908 avoid const warnings.
909
fecb9c46
PD
9102017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
911
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.
915
dc1e4d6d
NC
9162017-03-31 Nick Clifton <nickc@redhat.com>
917
918 PR gas/21333
919 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
920 fixups in mergeable sections to be adjusted.
921
f96bd6c2
PC
9222017-03-30 Pip Cet <pipcet@gmail.com>
923
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
929 assembler.
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
990 architecture.
991
52be03fd
AM
9922017-03-29 Alan Modra <amodra@gmail.com>
993
994 * config/tc-ppc.c (md_parse_option): Reject -mraw.
995
9b753937
AM
9962017-03-27 Alan Modra <amodra@gmail.com>
997
998 PR 21303
999 * testsuite/gas/ppc/pr21303.d,
1000 * testsuite/gas/ppc/pr21303.s: New test
1001 * testsuite/gas/ppc/ppc.exp: Run it.
1002
c0c31e91
RZ
10032017-03-27 Rinat Zelig <rinat@mellanox.com>
1004
1005 * testsuite/gas/arc/nps400-12.s: New file.
1006 * testsuite/gas/arc/nps400-12.d: New file.
1007
62785b09
TP
10082017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
1009
1010 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
1011 CPU_DEFAULT is defined.
1012
19683c04
PD
10132017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
1014
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.
1019
24e5b4e6
MF
10202017-03-22 Max Filippov <jcmvbkbc@gmail.com>
1021
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.
1028
2253c8f0
AK
10292017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1030
1031 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
1032 from cpu_table. Remove vx2, and novx2 from cpu_flags.
1033
645d3342
RZ
10342017-03-21 Rinat Zelig <rinat@mellanox.com>
1035
1036 * testsuite/gas/arc/nps400-11.s: New file.
1037 * testsuite/gas/arc/nps400-11.d: New file.
1038
e406e428
NC
10392017-03-20 Nick Clifton <nickc@redhat.com>
1040
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
1044 generated.
1045 (4byte): Simplify description. Refer back to the 2byte
1046 description.
1047 (8byte): Likewise.
1048
d5e0ba9c
RE
10492017-03-20 Richard Earnshaw <rearnsha@arm.com>
1050
1051 * config/tc-arm.c (arm_fpus): Note entires that should not be
1052 documented.
1053 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
1054 neon-fp16. Fix spelling error.
1055
d3375ddd
RE
10562017-03-20 Richard Earnshaw <rearnsha@arm.com>
1057
1058 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
1059
2c52e2e8
RZ
10602017-03-16 Rinat Zelig <rinat@mellanox.com>
1061
1062 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
1063 specially for ARCv2.
1064
b416fe87
KC
10652017-03-14 Kito Cheng <kito.cheng@gmail.com>
1066
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.
1070
7cb7b948
NC
10712017-03-15 Nick Clifton <nickc@redhat.com>
1072
1073 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
1074 warning about discarding a const qualifier.
1075
d47c3ff7
KLC
10762017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1077
1078 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
1079
2aece2ba
KLC
10802017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1081
1082 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
1083 fx_next->fx_frag for CFA_advance_loc relocations.
1084
c1b465c9
KLC
10852017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1086
1087 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
1088 for CFA relocations.
1089
f955cccf
NC
10902017-03-13 Nick Clifton <nickc@redhat.com>
1091
1092 PR binutils/21202
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.
1101
8b1e5da1
NC
11022017-03-10 Tobin C. Harding <me@tobin.cc>
1103 Nick Clifton <nickc@redhat.com>
1104
1105 * doc/as.texinfo (2byte): Tidy up wording. Add note that
1106 overlarge values will produce a warning message and be trunacted.
1107 (4byte): Likewise.
1108
86fa6981
L
11092017-03-09 H.J. Lu <hongjiu.lu@intel.com>
1110
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
1115 mnemonic.
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.
1130
4b8b687e
PB
11312017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1132
1133 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
1134 (objdump): Use the -Mpower8 option.
1135
1437d063
PB
11362017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1137
1138 * testsuite/gas/ppc/power9.d <lnia> New test.
1139 * testsuite/gas/ppc/power9.s: Likewise.
1140
ea86f534
AM
11412017-03-07 Alan Modra <amodra@gmail.com>
1142
1143 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
1144
2b841ec2
AM
11452017-03-07 Tobin C. Harding <me@tobin.cc>
1146 Alan Modra <amodra@gmail.com>
1147
1148 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
1149 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
1150
603555e5
L
11512017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1152
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.
1162
1cccfb31
L
11632017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1164
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]+.
1167
ea0de82e
AM
11682017-03-06 Alan Modra <amodra@gmail.com>
1169
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.
1175
9e1a8675
AM
11762017-03-06 Alan Modra <amodra@gmail.com>
1177
1178 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
1179 auto reformat. Formatting and whitespace fixes.
1180
49fced12
MW
11812017-03-05 Mark Wielaard <mark@klomp.org>
1182
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
1189 strings.
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
1193 output.
1194
9875b365
MR
11952017-03-02 Maciej W. Rozycki <macro@imgtec.com>
1196
1197 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
1198 part of the frag has overrun the location requested.
1199
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.
1216
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.
1247
01cca2f9
SN
12482017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1249
1250 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1251
15c7c1d8
JB
12522017-02-28 Jan Beulich <jbeulich@suse.com>
1253
1254 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
1255 VPCMPESTR{I,M}.
1256 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
1257 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
1258 of PCMPESTR{I,M}.
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.
1269
4ef97a1b
AM
12702017-02-28 Alan Modra <amodra@gmail.com>
1271
1272 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1273
7ba71655
AM
12742017-02-28 Alan Modra <amodra@gmail.com>
1275
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.
1283
0e392101
MR
12842017-02-28 Maciej W. Rozycki <macro@imgtec.com>
1285
1286 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
1287 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
1288 encoding patterns.
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.
1293
dd803a24
AM
12942017-02-25 Alan Modra <amodra@gmail.com>
1295
1296 * testsuite/gas/elf/strtab.s: Don't put directives on first
1297 column or continuation with labels not in first column.
1298
582e12bf
RS
12992017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1300
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
1306 require COMPNUM.
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.
1313
f482d304
RS
13142017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1315
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.
1320
7db2c588
JB
13212017-02-24 Jan Beulich <jbeulich@suse.com>
1322
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.
1329
1b3cee56
SL
13302017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
1331
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
1338
c1556ecd
MR
13392017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1340
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.
1346
1e9d41d4
SL
13472017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
1348
1349 Add support for associating SPARC ASIs with an architecture level.
1350 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
1351
946416fc
JB
13522017-02-23 Jan Beulich <jbeulich@suse.com>
1353
1354 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
1355 of symbols as expression.
1356
13572017-02-23 Jan Beulich <jbeulich@suse.com>
4c5b8d1e
JB
1358
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.
1363
5ff6a06c
MR
13642017-02-22 Maciej W. Rozycki <macro@imgtec.com>
1365
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.
1375
25890fc2
HPN
13762017-02-22 Hans-Peter Nilsson <hp@axis.com>
1377
1378 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
1379 targets yielding an error message matching "too complex".
1380
5ffbd927
NC
13812017-02-22 Nick Clifton <nickc@redhat.com>
1382
1383 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
1384
b0c53498
JB
13852017-02-21 Jan Beulich <jbeulich@suse.com>
1386
1387 * expr.c (operand): Handle missing operand to .startof.() and
1388 .sizeof.().
1389 * testsuite/gas/all/err-sizeof.s: New.
1390
ece5dcc1
AM
13912017-02-20 Alan Modra <amodra@gmail.com>
1392
1393 PR 21118
1394 * NEWS: Revise powerpc register check.
1395 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
1396 register expression" a warning.
1397
37f9ec62
MR
13982017-02-17 Maciej W. Rozycki <macro@imgtec.com>
1399
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.
1407
773fb663
RS
14082017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1409
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.
1414
7a2114e7
RS
14152017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1416
1417 * doc/c-aarch64.texi: Fix sve entry.
1418
cc07cda6
CZ
14192017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
1420
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.
1451
66a5a740
VG
14522017-02-09 Vineet Gupta <vgupta@synopsys.com>
1453
1454 * testsuite/gas/arc/st.d: Update for 0xe having a name now
1455
7e0de605
AM
14562017-02-14 Alan Modra <amodra@gmail.com>
1457
1458 PR 21118
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.
1471
606a935e
AM
14722017-02-14 Alan Modra <amodra@gmail.com>
1473
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.
1477
3c6452ae
TP
14782017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1479
1480 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
1481 syntax.
1482 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
1483 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
1484
dce75bf9
NP
14852017-02-10 Nicholas Piggin <npiggin@gmail.com>
1486
1487 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
1488
73201331
MR
14892017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1490
1491 * doc/as.texinfo (Overview): Select MIPS options for man page
1492 inclusion.
1493
8b10b0b3
MR
14942017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1495
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'.
1507
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.
1513
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.
1521
7795a8f8
MR
15222017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1523
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
1531 into the new tests.
1532
8ec5cf65
AD
15332017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
1534
1535 PR 21056
1536 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
1537 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
1538
de514cf3
SH
15392017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1540
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.
1555
3e97ba8a
SH
15562017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1557
1558 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
1559
850d84f6
SH
15602017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1561
1562 * configure.tgt (sh-*-rtemscoff*): Remove.
1563
666c6aff
SH
15642017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
1565
1566 * configure.tgt (riscv*-*-*): Remove em=linux.
1567
33eaf5de
NC
15682017-01-23 Sebastian Rasmussen <sebras@gmail.com>
1569
1570 PR gas/21072
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.
1668 * read.c: Likewise.
1669 * struc-symbol.h: Likewise.
1670 * symbols.h: Likewise.
1671 * testsuite/gas/arc/relocs-errors.err: Likewise.
1672 * write.c: Likewise.
1673
8069955e
NC
16742017-01-23 Nick Clifton <nickc@redhat.com>
1675
1676 * po/sv.po: Updated Swedish translation.
1677
9d46ce34
NC
16782017-01-20 Nick Clifton <nickc@redhat.com>
1679
1680 * config/tc-i386.c (parse_operands): Check for operand overflow
1681 before setting the unspecified bit.
1682
9e009953
MR
16832017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1684
1685 PR gas/20649
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
1689 accordingly.
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.
1694
c13a63b0
SN
16952017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1696
1697 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
1698 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
1699
2cedb9eb
BR
17002017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
1701
1702 PR 21059
1703 * config/bfin-lex.l: Support processing with flex 2.6.3.
1704 * itbl-lex.l: Likewise.
1705
1ec4b9f2
NS
17062017-01-18 Nathan Sidwell <nathan@acm.org>
1707
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.
1720
01fabda4 17212017-01-17 Nick Clifton <nickc@redhat.com>
6aa1df2d
NC
1722
1723 * po/sv.po: Updated Swedish translation.
1724
620214f7
IT
17252017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1726
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.
1737
1181551e
NC
17382017-01-12 Nick Clifton <nickc@redhat.com>
1739
1740 * read.c (temp_ilp): New function. Installs a temporary input
1741 line pointer.
1742 (restore_ilp): New function. Restores the original input line
1743 pointer.
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.
1750
f2e2d2f5
JS
17512017-01-11 Jeremy Soller <jackpot51@gmail.com>
1752
1753 * configure.tgt: Add entry for i386-redox.
1754
07e8e623
NC
17552017-01-10 Nick Clifton <nickc@redhat.com>
1756
1757 * po/sv.po: Updated Swedish translation.
1758
1a94eb29
TG
17592017-01-10 Tristan Gingold <gingold@adacore.com>
1760
1761 * testsuite/gas/all/sleb128-8.d: Adjust test.
1762 * testsuite/gas/all/gas.exp (test_cond): Likewise.
1763
74def31d
TG
17642017-01-10 Tristan Gingold <gingold@adacore.com>
1765
1766 * read.c (emit_leb128_expr): Extended unsigned big number for
1767 sleb128.
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.
1771
a5ec5e3f
AW
17722017-01-09 Andrew Waterman <andrew@sifive.com>
1773
1774 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1775 against constants.
1776 (md_apply_fix): Mark relocations against constants as "done."
1777
e294484e
AW
17782017-01-09 Andrew Waterman <andrew@sifive.com>
1779
1780 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1781 against constants.
1782 (md_apply_fix): Mark relocations against constants as "done."
1783
6ec11ab9
PD
17842017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
1785 Kito Cheng <kito.cheng@gmail.com>
1786
1787 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
1788 Removed.
1789 (SDATA_START_SYMBOLS): Likewise.
1790
20b52c88
NC
17912017-01-09 Nick Clifton <nickc@redhat.com>
1792
1793 * po/sv.po: New Swedish translation.
1794 * configure.ac (ALL_LINGUAS): Add sv.
1795 * configure: Regenerate.
1796
01156111
AW
17972017-01-09 Andrew Waterman <andrew@sifive.com>
1798
1799 * config/tc-riscv.c (relaxed_branch_length): Use the long
1800 sequence when the target is a weak symbol.
1801
d74d4880
SN
18022017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1803
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.
1811
10ab38d9
NJ
18122017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
1813
1814 PR gas/20992
1815 * configure.tgt: Treat sparcv9 as sparc64.
1816
cc917fd9
KC
18172017-01-03 Kito Cheng <kito.cheng@gmail.com>
1818
1819 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
1820 extension.
1821 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
1822 enabled and no other ABI is specified.
1823
ddb2c6fd
DD
18242017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
1825
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.
1829
2571583a
AM
18302017-01-02 Alan Modra <amodra@gmail.com>
1831
1832 Update year range in copyright notice of all files.
1833
5c1ad6b5 1834For older changes see ChangeLog-2016
3499769a 1835\f
5c1ad6b5 1836Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
1837
1838Copying and distribution of this file, with or without modification,
1839are permitted in any medium without royalty provided the copyright
1840notice and this notice are preserved.
1841
1842Local Variables:
1843mode: change-log
1844left-margin: 8
1845fill-column: 74
1846version-control: never
1847End:
This page took 0.171914 seconds and 4 git commands to generate.