37a0b9b2d0a48bb8528ad3e72fce609781fa3f5e
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2017-05-03 Maciej W. Rozycki <macro@imgtec.com>
2
3 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
4 `nomacro' flags.
5 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
6 New macros.
7 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
8 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
9 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
10 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
11 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
12 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
13 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
14 (RELAX_MIPS16_CLEAR_MACRO): New macros.
15 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
16 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
17 (mips16_macro_frag): New function.
18 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
19 (mips_relax_frag): Likewise.
20 (md_convert_frag): Likewise.
21
22 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
23 add dump patterns.
24 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
25 subarchitecture.
26 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
27 NOP padding.
28 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
29 output, add dump patterns.
30 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
31 output, add dump patterns.
32 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
33 output, add dump patterns.
34 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
35 output, add dump patterns.
36 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
37 output, add dump patterns.
38 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
39 output, add dump patterns.
40 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
41 output, add dump patterns.
42 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
43 output, add dump patterns.
44 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
45 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
46 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
47 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
48 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
49 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
50 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
51 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
52 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
53 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
54
55 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
56 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
57 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
58 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
59 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
60 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
61 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
62 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
63 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
64 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
65 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
66 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
67 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
68 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
69 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
70 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
71 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
72 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
73 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
74 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
75 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
76 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
77 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
78 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
79 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
80 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
81 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
82 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
83 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
84 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
85 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
86 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
87 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
88 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
89 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
90 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
91 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
92 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
93 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
94 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
95 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
96 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
97 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
98 test.
99 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
100 test.
101 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
102 test.
103 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
104 test.
105 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
106 test.
107 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
108 test.
109 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
110 New test.
111 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
112 New test.
113 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
114 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
115 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
116 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
117 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
118 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
119 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
120 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
121 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
122 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
123 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
124 output.
125 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
126 output.
127 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
128 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
129 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
130 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
131 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
132 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
133 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
134 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
135 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
136 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
137 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
138 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
139 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
140 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
141 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
142 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
143 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
144 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
145 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
146 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
147 * testsuite/gas/mips/mips.exp: Run the new tests.
148
149 2017-05-03 Nick Clifton <nickc@redhat.com>
150
151 PR gas/20941
152 * symbols.c (snapshot_symbol): Handle the case where
153 resolve_expression returns a local symbol.
154
155 2017-05-02 Maciej W. Rozycki <macro@imgtec.com>
156
157 * config/tc-mips.c (append_insn): Call `symbol_append' for any
158 expression symbol created for MIPS16 relaxation.
159 (match_mips16_insn): Don't encode a constant value as an
160 immediate with a PC-relative operand.
161
162 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
163 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
164 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
165 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
166 test.
167 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
168 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
169 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
170 test.
171 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
172 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
173 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
174 test.
175 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
176 output.
177 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
178 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
179 source.
180 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
181 source.
182 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
183 source.
184 * testsuite/gas/mips/mips.exp: Run the new tests.
185
186 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
187
188 * config/tc-mips.c (mips16_pcrel_val): New function, factored
189 out from...
190 (mips16_extended_frag): ... here.
191 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
192 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
193
194 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
195
196 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
197 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
198 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
199 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
200 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
201 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
202 (mips16_extended_frag): Adjust accordingly.
203
204 2017-04-27 Alan Modra <amodra@gmail.com>
205
206 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
207
208 2017-04-26 Maciej W. Rozycki <macro@imgtec.com>
209
210 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
211 (RELAX_PIC): New macro.
212 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
213 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
214 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
215 Shift bits.
216 (RELAX_BRANCH_ENCODE): Add `pic' flag.
217 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
218 (RELAX_BRANCH_TOOFAR): Shift bits.
219 (RELAX_BRANCH_PIC): New macro.
220 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
221 (RELAX_MICROMIPS_PIC): New macro.
222 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
223 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
224 (RELAX_MICROMIPS_RELAX32): Shift bits.
225 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
226 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
227 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
228 first fixup created.
229 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
230 fixup processed rather than `mips_pic' in choosing to relax an
231 out of range branch to a jump.
232 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
233 rather than `mips_pic'.
234 (relaxed_micromips_32bit_branch_length): Likewise.
235 (md_estimate_size_before_relax): Likewise.
236 (md_convert_frag): Likewise.
237
238 * testsuite/gas/mips/option-pic-relax-0.d: New test.
239 * testsuite/gas/mips/option-pic-relax-1.d: New test.
240 * testsuite/gas/mips/option-pic-relax-2.d: New test.
241 * testsuite/gas/mips/option-pic-relax-3.d: New test.
242 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
243 * testsuite/gas/mips/option-pic-relax-4.d: New test.
244 * testsuite/gas/mips/option-pic-relax-5.d: New test.
245 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
246 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
247 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
248 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
249 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
250 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
251 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
252 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
253 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
254 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
255 * testsuite/gas/mips/mips.exp: Run the new tests.
256
257 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
258
259 * testsuite/gas/arc/leave_enter.d: Update test.
260 * testsuite/gas/arc/leave_enter.s: Likewise.
261
262 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
263
264 * testsuite/gas/arc/b.d: Update test.
265 * testsuite/gas/arc/noargs_hs.d: Likewise.
266
267 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
268
269 * config/tc-mips.c (md_convert_frag): Correct
270 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
271 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
272 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
273 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
274 output.
275 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
276 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
277 * testsuite/gas/mips/mips.exp: Run the new tests.
278
279 2017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
280
281 PR gas/21407
282 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
283 instructions into branch instructions in fixups generating
284 additional relocations.
285 * testsuite/gas/sparc/call-relax.s: New file.
286 * testsuite/gas/sparc/call-relax.d: Likewise.
287 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
288 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
289
290 2017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
291
292 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
293 Forbid MOV.W and MOVW if destination is SP or PC.
294 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
295 expectation of LDR not generating a MOVS for low registers and small
296 constants. Add tests of MOVW generation.
297 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
298 expected disassembly.
299
300 2017-04-22 Alan Modra <amodra@gmail.com>
301
302 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
303 * testsuite/gas/ppc/vle.d: Update.
304
305 2017-04-21 Nick Clifton <nickc@redhat.com>
306
307 PR binutils/21380
308 * testsuite/gas/aarch64/illegal-3.s: New file.
309 * testsuite/gas/aarch64/illegal-3.d: New file.
310
311 2017-04-11 Alan Modra <amodra@gmail.com>
312
313 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
314 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
315
316 2017-04-10 Max Filippov <jcmvbkbc@gmail.com>
317
318 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
319 Initialize lps->frag_count with auto_litpool_limit.
320 (xg_promote_candidate_litpool): New function.
321 (xtensa_move_literals): Extract candidate litpool promotion code
322 into separate function. Call it for all possible found
323 candidates.
324 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
325 call to xtensa_mark_literal_pool_location that it guards.
326 Replace it with call to xtensa_maybe_create_literal_pool_frag.
327 Initialize pool_location with created literal pool candidate.
328 * testsuite/gas/xtensa/all.exp: Add new tests.
329 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
330 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
331 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
332 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
333 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
334 to additional jump instruction.
335
336 2017-04-07 Alan Modra <amodra@gmail.com>
337
338 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
339 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
340
341 2017-04-07 Alan Modra <amodra@gmail.com>
342
343 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
344 for .mbind.text.
345
346 2017-04-06 Pip Cet <pipcet@gmail.com>
347
348 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
349 changes.
350 * testsuite/gas/wasm32/disass.d: New test.
351 * testsuite/gas/wasm32/disass.s: New test.
352 * testsuite/gas/wasm32/disass-2.d: New test.
353 * testsuite/gas/wasm32/disass-2.s: New test.
354 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
355 names.
356 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
357 syntax.
358 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
359 test to succeed.
360
361 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
362
363 * NEWS: Mention support for ELF SHF_GNU_MBIND.
364 * config/obj-elf.c (section_match): New.
365 (get_section): Match both sh_info and group name.
366 (obj_elf_change_section): Add argument for sh_info. Pass both
367 sh_info and group name to get_section. Issue an error for
368 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
369 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
370 (obj_elf_section): Support SHF_GNU_MBIND section info.
371 * config/obj-elf.h (obj_elf_change_section): Add argument for
372 sh_info.
373 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
374 obj_elf_change_section.
375 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
376 * config/tc-microblaze.c (microblaze_s_data): Likewise.
377 (microblaze_s_sdata): Likewise.
378 (microblaze_s_rdata): Likewise.
379 (microblaze_s_bss): Likewise.
380 * config/tc-mips.c (s_change_section): Likewise.
381 * config/tc-msp430.c (msp430_profiler): Likewise.
382 * config/tc-rx.c (parse_rx_section): Likewise.
383 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
384 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
385 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
386 section13.
387 * testsuite/gas/elf/section10.d: Updated.
388 * testsuite/gas/elf/section10.s: Likewise.
389 * testsuite/gas/elf/section12.s: New file.
390 * testsuite/gas/elf/section12a.d: Likewise.
391 * testsuite/gas/elf/section12b.d: Likewise.
392 * testsuite/gas/elf/section13.l: Likewise.
393 * testsuite/gas/elf/section13.d: Likewise.
394 * testsuite/gas/elf/section13.s: Likewise.
395
396 2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
397
398 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
399 avoid const warnings.
400
401 2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
402
403 * config/tc-riscv.c (riscv_clear_subsets): New function.
404 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
405 clear RVC when it's been previously set.
406
407 2017-03-31 Nick Clifton <nickc@redhat.com>
408
409 PR gas/21333
410 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
411 fixups in mergeable sections to be adjusted.
412
413 2017-03-30 Pip Cet <pipcet@gmail.com>
414
415 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
416 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
417 * Makefile.am: Add WebAssembly assembler target.
418 * configure.tgt: Add WebAssembly assembler target.
419 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
420 assembler.
421 * doc/all.texi: Define WASM32.
422 * doc/as.texinfo: Add WebAssembly entries.
423 * NEWS: Mention the new support.
424 * Makefile.in: Regenerate.
425 * po/gas.pot: Regenerate.
426 * po/POTFILES.in: Regenerate.
427 * testsuite/gas/wasm32: New directory.
428 * testsuite/gas/wasm32/allinsn.d: New file.
429 * testsuite/gas/wasm32/allinsn.s: New file.
430 * testsuite/gas/wasm32/illegal.l: New file.
431 * testsuite/gas/wasm32/illegal.s: New file.
432 * testsuite/gas/wasm32/illegal-2.l: New file.
433 * testsuite/gas/wasm32/illegal-2.s: New file.
434 * testsuite/gas/wasm32/illegal-3.l: New file.
435 * testsuite/gas/wasm32/illegal-3.s: New file.
436 * testsuite/gas/wasm32/illegal-4.l: New file.
437 * testsuite/gas/wasm32/illegal-4.s: New file.
438 * testsuite/gas/wasm32/illegal-5.l: New file.
439 * testsuite/gas/wasm32/illegal-5.s: New file.
440 * testsuite/gas/wasm32/illegal-6.l: New file.
441 * testsuite/gas/wasm32/illegal-6.s: New file.
442 * testsuite/gas/wasm32/illegal-7.l: New file.
443 * testsuite/gas/wasm32/illegal-7.s: New file.
444 * testsuite/gas/wasm32/illegal-8.l: New file.
445 * testsuite/gas/wasm32/illegal-8.s: New file.
446 * testsuite/gas/wasm32/illegal-9.l: New file.
447 * testsuite/gas/wasm32/illegal-9.s: New file.
448 * testsuite/gas/wasm32/illegal-10.l: New file.
449 * testsuite/gas/wasm32/illegal-10.s: New file.
450 * testsuite/gas/wasm32/illegal-11.l: New file.
451 * testsuite/gas/wasm32/illegal-11.s: New file.
452 * testsuite/gas/wasm32/illegal-12.l: New file.
453 * testsuite/gas/wasm32/illegal-12.s: New file.
454 * testsuite/gas/wasm32/illegal-13.l: New file.
455 * testsuite/gas/wasm32/illegal-13.s: New file.
456 * testsuite/gas/wasm32/illegal-14.l: New file.
457 * testsuite/gas/wasm32/illegal-14.s: New file.
458 * testsuite/gas/wasm32/illegal-15.l: New file.
459 * testsuite/gas/wasm32/illegal-15.s: New file.
460 * testsuite/gas/wasm32/illegal-16.l: New file.
461 * testsuite/gas/wasm32/illegal-16.s: New file.
462 * testsuite/gas/wasm32/illegal-17.l: New file.
463 * testsuite/gas/wasm32/illegal-17.s: New file.
464 * testsuite/gas/wasm32/illegal-18.l: New file.
465 * testsuite/gas/wasm32/illegal-18.s: New file.
466 * testsuite/gas/wasm32/illegal-19.l: New file.
467 * testsuite/gas/wasm32/illegal-19.s: New file.
468 * testsuite/gas/wasm32/illegal-20.l: New file.
469 * testsuite/gas/wasm32/illegal-20.s: New file.
470 * testsuite/gas/wasm32/illegal-21.l: New file.
471 * testsuite/gas/wasm32/illegal-21.s: New file.
472 * testsuite/gas/wasm32/illegal-22.l: New file.
473 * testsuite/gas/wasm32/illegal-22.s: New file.
474 * testsuite/gas/wasm32/illegal-24.l: New file.
475 * testsuite/gas/wasm32/illegal-24.s: New file.
476 * testsuite/gas/wasm32/illegal-25.l: New file.
477 * testsuite/gas/wasm32/illegal-25.s: New file.
478 * testsuite/gas/wasm32/reloc.d: New file.
479 * testsuite/gas/wasm32/reloc.s: New file.
480 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
481 architecture.
482
483 2017-03-29 Alan Modra <amodra@gmail.com>
484
485 * config/tc-ppc.c (md_parse_option): Reject -mraw.
486
487 2017-03-27 Alan Modra <amodra@gmail.com>
488
489 PR 21303
490 * testsuite/gas/ppc/pr21303.d,
491 * testsuite/gas/ppc/pr21303.s: New test
492 * testsuite/gas/ppc/ppc.exp: Run it.
493
494 2017-03-27 Rinat Zelig <rinat@mellanox.com>
495
496 * testsuite/gas/arc/nps400-12.s: New file.
497 * testsuite/gas/arc/nps400-12.d: New file.
498
499 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
500
501 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
502 CPU_DEFAULT is defined.
503
504 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
505
506 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
507 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
508 print an invalid default ISA string.
509 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
510
511 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
512
513 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
514 reassigned fixup to size of jump instruction (3) and fx_r_type
515 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
516 (add_jump_to_trampoline): Search
517 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
518 symbol and use that slot instead of slot 0.
519
520 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
521
522 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
523 from cpu_table. Remove vx2, and novx2 from cpu_flags.
524
525 2017-03-21 Rinat Zelig <rinat@mellanox.com>
526
527 * testsuite/gas/arc/nps400-11.s: New file.
528 * testsuite/gas/arc/nps400-11.d: New file.
529
530 2017-03-20 Nick Clifton <nickc@redhat.com>
531
532 * doc/as.texinfo (2byte): Note that if no expressions are present
533 the directive does nothing. Emphasize that the output is
534 unaligned, and that this can have an effect on the relocations
535 generated.
536 (4byte): Simplify description. Refer back to the 2byte
537 description.
538 (8byte): Likewise.
539
540 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
541
542 * config/tc-arm.c (arm_fpus): Note entires that should not be
543 documented.
544 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
545 neon-fp16. Fix spelling error.
546
547 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
548
549 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
550
551 2017-03-16 Rinat Zelig <rinat@mellanox.com>
552
553 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
554 specially for ARCv2.
555
556 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
557
558 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
559 encoding format, which can accept 0-valued immediates.
560 (riscv_ip): Likewise.
561
562 2017-03-15 Nick Clifton <nickc@redhat.com>
563
564 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
565 warning about discarding a const qualifier.
566
567 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
568
569 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
570
571 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
572
573 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
574 fx_next->fx_frag for CFA_advance_loc relocations.
575
576 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
577
578 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
579 for CFA relocations.
580
581 2017-03-13 Nick Clifton <nickc@redhat.com>
582
583 PR binutils/21202
584 * config/tc-aarch64.c (reloc_table): Rename
585 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
586 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
587 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
588 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
589 (md_apply_fix): Likewise.
590 (aarch64_force_relocation): Likewise.
591 * testsuite/gas/aarch64/tls.d: Update regexp.
592
593 2017-03-10 Tobin C. Harding <me@tobin.cc>
594 Nick Clifton <nickc@redhat.com>
595
596 * doc/as.texinfo (2byte): Tidy up wording. Add note that
597 overlarge values will produce a warning message and be trunacted.
598 (4byte): Likewise.
599
600 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
601
602 * config/tc-i386.c (_i386_insn): Add dir_encoding and
603 vec_encoding. Remove swap_operand and need_vrex.
604 (extra_symbol_chars): Add '}'.
605 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
606 mnemonic.
607 (build_vex_prefix): Don't use 2-byte VEX encoding with
608 {vex3}. Check dir_encoding and load.
609 (parse_insn): Check pseudo prefixes. Set dir_encoding.
610 (VEX_check_operands): Likewise.
611 (match_template): Check dir_encoding and load.
612 (parse_real_register): Set vec_encoding instead of need_vrex.
613 (parse_register): Likewise.
614 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
615 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
616 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
617 * testsuite/gas/i386/pseudos.d: New file.
618 * testsuite/gas/i386/pseudos.s: Likewise.
619 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
620 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
621
622 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
623
624 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
625 (objdump): Use the -Mpower8 option.
626
627 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
628
629 * testsuite/gas/ppc/power9.d <lnia> New test.
630 * testsuite/gas/ppc/power9.s: Likewise.
631
632 2017-03-07 Alan Modra <amodra@gmail.com>
633
634 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
635
636 2017-03-07 Tobin C. Harding <me@tobin.cc>
637 Alan Modra <amodra@gmail.com>
638
639 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
640 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
641
642 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
643
644 * config/tc-i386.c (cpu_arch): Add .cet.
645 * doc/c-i386.texi: Document cet.
646 * testsuite/gas/i386/cet-intel.d: New file.
647 * testsuite/gas/i386/cet.d: Likewise.
648 * testsuite/gas/i386/cet.s: Likewise.
649 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
650 * testsuite/gas/i386/x86-64-cet.d: Likewise.
651 * testsuite/gas/i386/x86-64-cet.s: Likewise.
652 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
653
654 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
655
656 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
657 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
658
659 2017-03-06 Alan Modra <amodra@gmail.com>
660
661 * dw2gencfi.c (encoding_size): Return unsigned int.
662 (emit_expr_encoded): Assert size matches reloc bitsize.
663 (output_fde): Use unsigned for offset_size and addr_size. Set
664 addr_size earlier and use in place of constant 4 and uses of
665 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
666
667 2017-03-06 Alan Modra <amodra@gmail.com>
668
669 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
670 auto reformat. Formatting and whitespace fixes.
671
672 2017-03-05 Mark Wielaard <mark@klomp.org>
673
674 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
675 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
676 (out_debug_info): Accept symbols to name, comp_dir and producer in
677 the .debug_str section and emit those offsets not full strings.
678 (out_debug_str): New function that outputs the strings for name,
679 comp_dir and producer in .debug_str and generates symbols to those
680 strings.
681 (out_debug_line): Create a .debug_str section if necessary and call
682 out_debug_str before calling out_debug_info.
683 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
684 output.
685
686 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
687
688 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
689 part of the frag has overrun the location requested.
690
691 * testsuite/gas/all/org-1.d: New test.
692 * testsuite/gas/all/org-2.d: New test.
693 * testsuite/gas/all/org-3.d: New test.
694 * testsuite/gas/all/org-4.d: New test.
695 * testsuite/gas/all/org-5.d: New test.
696 * testsuite/gas/all/org-6.d: New test.
697 * testsuite/gas/all/org-1.l: New stderr output.
698 * testsuite/gas/all/org-2.l: New stderr output.
699 * testsuite/gas/all/org-3.l: New stderr output.
700 * testsuite/gas/all/org-1.s: New test source.
701 * testsuite/gas/all/org-2.s: New test source.
702 * testsuite/gas/all/org-3.s: New test source.
703 * testsuite/gas/all/org-4.s: New test source.
704 * testsuite/gas/all/org-5.s: New test source.
705 * testsuite/gas/all/org-6.s: New test source.
706 * testsuite/gas/all/gas.exp: Run the new tests.
707
708 * testsuite/gas/mips/org-1.d: New test.
709 * testsuite/gas/mips/org-2.d: New test.
710 * testsuite/gas/mips/org-3.d: New test.
711 * testsuite/gas/mips/org-4.d: New test.
712 * testsuite/gas/mips/org-5.d: New test.
713 * testsuite/gas/mips/org-6.d: New test.
714 * testsuite/gas/mips/org-7.d: New test.
715 * testsuite/gas/mips/org-8.d: New test.
716 * testsuite/gas/mips/org-9.d: New test.
717 * testsuite/gas/mips/org-10.d: New test.
718 * testsuite/gas/mips/org-11.d: New test.
719 * testsuite/gas/mips/org-12.d: New test.
720 * testsuite/gas/mips/org-1.l: New stderr output.
721 * testsuite/gas/mips/org-4.l: New stderr output.
722 * testsuite/gas/mips/org-5.l: New stderr output.
723 * testsuite/gas/mips/org-6.l: New stderr output.
724 * testsuite/gas/mips/org-10.l: New stderr output.
725 * testsuite/gas/mips/org-1.s: New test source.
726 * testsuite/gas/mips/org-2.s: New test source.
727 * testsuite/gas/mips/org-3.s: New test source.
728 * testsuite/gas/mips/org-4.s: New test source.
729 * testsuite/gas/mips/org-5.s: New test source.
730 * testsuite/gas/mips/org-6.s: New test source.
731 * testsuite/gas/mips/org-7.s: New test source.
732 * testsuite/gas/mips/org-8.s: New test source.
733 * testsuite/gas/mips/org-9.s: New test source.
734 * testsuite/gas/mips/org-10.s: New test source.
735 * testsuite/gas/mips/org-11.s: New test source.
736 * testsuite/gas/mips/org-12.s: New test source.
737 * testsuite/gas/mips/mips.exp: Run the new tests.
738
739 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
740
741 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
742
743 2017-02-28 Jan Beulich <jbeulich@suse.com>
744
745 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
746 VPCMPESTR{I,M}.
747 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
748 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
749 of PCMPESTR{I,M}.
750 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
751 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
752 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
753 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
754 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
755 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
756 * testsuite/gas/i386/x86-64-avx.d: Likewise.
757 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
758 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
759 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
760
761 2017-02-28 Alan Modra <amodra@gmail.com>
762
763 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
764
765 2017-02-28 Alan Modra <amodra@gmail.com>
766
767 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
768 (md_apply_fix): Remove fx_subsy check. Move code converting to
769 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
770 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
771 that is done now by the generic code via..
772 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
773 (TC_VALIDATE_FIX_SUB): Define.
774
775 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
776
777 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
778 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
779 encoding patterns.
780 * testsuite/gas/mips/jalr4-n64.d: Likewise.
781 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
782 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
783 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
784
785 2017-02-25 Alan Modra <amodra@gmail.com>
786
787 * testsuite/gas/elf/strtab.s: Don't put directives on first
788 column or continuation with labels not in first column.
789
790 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
791
792 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
793 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
794 to be used with SVE registers.
795 (parse_operands): Handle new SVE operands.
796 (aarch64_features): Make "sve" require F16 rather than FP. Also
797 require COMPNUM.
798 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
799 Include compnum tests.
800 * testsuite/gas/aarch64/sve.d: Update accordingly.
801 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
802 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
803 update expected output for new FMOV and MOV alternatives.
804
805 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
806
807 * doc/c-aarch64.texi: Add a "compnum" entry.
808 * config/tc-aarch64.c (aarch64_features): Likewise,
809 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
810 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
811
812 2017-02-24 Jan Beulich <jbeulich@suse.com>
813
814 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
815 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
816 * testsuite/gas/i386/opcode.d: Adjust accordingly.
817 * testsuite/gas/i386/opcode-intel.d: Likewise.
818 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
819 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
820
821 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
822
823 Test cases for the architecture level aware SPARC ASI work.
824 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
825 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
826 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
827 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
828 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
829
830 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
831
832 * testsuite/gas/mips/jalr4.d: New test.
833 * testsuite/gas/mips/jalr4-n32.d: New test.
834 * testsuite/gas/mips/jalr4-n64.d: New test.
835 * testsuite/gas/mips/jalr4.s: New test source.
836 * testsuite/gas/mips/mips.exp: Run the new tests.
837
838 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
839
840 Add support for associating SPARC ASIs with an architecture level.
841 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
842
843 2017-02-23 Jan Beulich <jbeulich@suse.com>
844
845 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
846 of symbols as expression.
847
848 2017-02-23 Jan Beulich <jbeulich@suse.com>
849
850 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
851 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
852 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
853 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
854
855 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
856
857 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
858 `md_flush_pending_output'.
859 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
860 `md_flush_pending_output' unconditionally.
861 * testsuite/gas/mips/debug-label-end-1.d: New test.
862 * testsuite/gas/mips/debug-label-end-2.d: New test.
863 * testsuite/gas/mips/debug-label-end-3.d: New test.
864 * testsuite/gas/mips/debug-label-end.s: New test source.
865 * testsuite/gas/mips/mips.exp: Run the new tests.
866
867 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
868
869 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
870 targets yielding an error message matching "too complex".
871
872 2017-02-22 Nick Clifton <nickc@redhat.com>
873
874 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
875
876 2017-02-21 Jan Beulich <jbeulich@suse.com>
877
878 * expr.c (operand): Handle missing operand to .startof.() and
879 .sizeof.().
880 * testsuite/gas/all/err-sizeof.s: New.
881
882 2017-02-20 Alan Modra <amodra@gmail.com>
883
884 PR 21118
885 * NEWS: Revise powerpc register check.
886 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
887 register expression" a warning.
888
889 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
890
891 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
892 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
893 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
894 * testsuite/gas/mips/aent-2.d: New test.
895 * testsuite/gas/mips/aent-mdebug.d: New test.
896 * testsuite/gas/mips/aent-mdebug-2.d: New test.
897 * testsuite/gas/mips/mips.exp: Run the new tests.
898
899 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
900
901 * testsuite/gas/aarch64/sve-sysreg.s,
902 testsuite/gas/aarch64/sve-sysreg.d,
903 testsuite/gas/aarch64/sve-sysreg-invalid.d,
904 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
905
906 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
907
908 * doc/c-aarch64.texi: Fix sve entry.
909
910 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
911
912 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
913 information from input expression.
914 (assemble_insn): Make sure pcrel is correctly set.
915 (arc_pcrel_adjust): Compensate for PCL rounding.
916 * testsuite/gas/arc/relax-add01.d: New file.
917 * testsuite/gas/arc/relax-add01.s: Likewise.
918 * testsuite/gas/arc/relax-add02.d: Likewise.
919 * testsuite/gas/arc/relax-add02.s: Likewise.
920 * testsuite/gas/arc/relax-add03.d: Likewise.
921 * testsuite/gas/arc/relax-add03.s: Likewise.
922 * testsuite/gas/arc/relax-add04.d: Likewise.
923 * testsuite/gas/arc/relax-add04.s: Likewise.
924 * testsuite/gas/arc/relax-ld01.d: Likewise.
925 * testsuite/gas/arc/relax-ld01.s: Likewise.
926 * testsuite/gas/arc/relax-ld02.d: Likewise.
927 * testsuite/gas/arc/relax-ld02.s: Likewise.
928 * testsuite/gas/arc/relax-mov01.d: Likewise.
929 * testsuite/gas/arc/relax-mov01.s: Likewise.
930 * testsuite/gas/arc/relax-mov02.d: Likewise.
931 * testsuite/gas/arc/relax-mov02.s: Likewise.
932 * testsuite/gas/arc/relax-mpy01.d: Likewise.
933 * testsuite/gas/arc/relax-mpy01.s: Likewise.
934 * testsuite/gas/arc/relax-sub01.d: Likewise.
935 * testsuite/gas/arc/relax-sub01.s: Likewise.
936 * testsuite/gas/arc/relax-sub02.d: Likewise.
937 * testsuite/gas/arc/relax-sub02.s: Likewise.
938 * testsuite/gas/arc/relax-sub03.d: Likewise.
939 * testsuite/gas/arc/relax-sub03.s: Likewise.
940 * testsuite/gas/arc/relax-sub04.d: Likewise.
941 * testsuite/gas/arc/relax-sub04.s: Likewise.
942
943 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
944
945 * testsuite/gas/arc/st.d: Update for 0xe having a name now
946
947 2017-02-14 Alan Modra <amodra@gmail.com>
948
949 PR 21118
950 * NEWS: Mention powerpc register checks.
951 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
952 (pre_defined_registers): Delete fpscr and pmr entries. Set
953 register type in flags.
954 (cr_names): Set type in flags.
955 (reg_name_search): Return pointer to struct pd_reg rather than value.
956 (register_name): Adjust to suit. Set X_md from flags.
957 (ppc_parse_name): Likewise.
958 (ppc_optimize_expr): New function.
959 (md_assemble): Verify expresion reg flags match operand.
960 * config/tc-ppc.h (md_optimize_expr): Define.
961 (ppc_optimize_expr): Declare.
962
963 2017-02-14 Alan Modra <amodra@gmail.com>
964
965 * testsuite/gas/ppc/cell.s: Correct invalid registers.
966 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
967 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
968
969 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
970
971 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
972 syntax.
973 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
974 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
975
976 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
977
978 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
979
980 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
981
982 * doc/as.texinfo (Overview): Select MIPS options for man page
983 inclusion.
984
985 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
986
987 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
988 (options): Add OPTION_IGNORE_BRANCH_ISA and
989 OPTION_NO_IGNORE_BRANCH_ISA enum values.
990 (md_longopts): Add "mignore-branch-isa" and
991 "mno-ignore-branch-isa" options.
992 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
993 OPTION_NO_IGNORE_BRANCH_ISA.
994 (fix_bad_cross_mode_branch_p): Return FALSE if
995 `mips_ignore_branch_isa' has been set.
996 (md_show_usage): Add `-mignore-branch-isa' and
997 `-mno-ignore-branch-isa'.
998
999 * doc/as.texinfo (Target MIPS options): Add
1000 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
1001 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
1002 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
1003 `-mno-ignore-branch-isa' options.
1004
1005 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
1006 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
1007 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
1008 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
1009 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
1010 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
1011 * testsuite/gas/mips/mips.exp: Run the new tests.
1012
1013 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1014
1015 * testsuite/gas/mips/branch-local-2.d: New test.
1016 * testsuite/gas/mips/branch-local-3.d: New test.
1017 * testsuite/gas/mips/branch-local-n32-2.d: New test.
1018 * testsuite/gas/mips/branch-local-n32-3.d: New test.
1019 * testsuite/gas/mips/branch-local-n64-2.d: New test.
1020 * testsuite/gas/mips/branch-local-n64-3.d: New test.
1021 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
1022 into the new tests.
1023
1024 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
1025
1026 PR 21056
1027 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
1028 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
1029
1030 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1031
1032 * configure.tgt (aarch64*-*-rtems*): Remove.
1033 (bfin-*-rtems*): Likewise.
1034 (h8300-*-rtems*): Likewise.
1035 (i386-*-rtems*): Likewise.
1036 (m32c-*-rtems*): Likewise.
1037 (m32r-*-rtems*): Likewise.
1038 (m68k-*-rtems*): Likewise.
1039 (mips-*-rtems*): Likewise.
1040 (nios2-*-rtems*): Likewise.
1041 (ppc-*-rtems*): Likewise.
1042 (sh-*-rtems*): Likewise.
1043 (sparc64-*-rtems*): Likewise.
1044 (sparc-*-rtems*): Likewise.
1045 (*-*-rtems*) Use ELF format.
1046
1047 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1048
1049 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
1050
1051 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1052
1053 * configure.tgt (sh-*-rtemscoff*): Remove.
1054
1055 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
1056
1057 * configure.tgt (riscv*-*-*): Remove em=linux.
1058
1059 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
1060
1061 PR gas/21072
1062 * asintl.h: Fix spelling mistakes and typos.
1063 * atof-generic.c: Likewise.
1064 * bit_fix.h: Likewise.
1065 * config/atof-ieee.c: Likewise.
1066 * config/bfin-defs.h: Likewise.
1067 * config/bfin-parse.y: Likewise.
1068 * config/obj-coff-seh.h: Likewise.
1069 * config/obj-coff.c: Likewise.
1070 * config/obj-evax.c: Likewise.
1071 * config/obj-macho.c: Likewise.
1072 * config/rx-parse.y: Likewise.
1073 * config/tc-aarch64.c: Likewise.
1074 * config/tc-alpha.c: Likewise.
1075 * config/tc-arc.c: Likewise.
1076 * config/tc-arm.c: Likewise.
1077 * config/tc-avr.c: Likewise.
1078 * config/tc-bfin.c: Likewise.
1079 * config/tc-cr16.c: Likewise.
1080 * config/tc-cris.c: Likewise.
1081 * config/tc-crx.c: Likewise.
1082 * config/tc-d10v.c: Likewise.
1083 * config/tc-d30v.c: Likewise.
1084 * config/tc-dlx.c: Likewise.
1085 * config/tc-epiphany.c: Likewise.
1086 * config/tc-frv.c: Likewise.
1087 * config/tc-hppa.c: Likewise.
1088 * config/tc-i370.c: Likewise.
1089 * config/tc-i386-intel.c: Likewise.
1090 * config/tc-i386.c: Likewise.
1091 * config/tc-i960.c: Likewise.
1092 * config/tc-ia64.c: Likewise.
1093 * config/tc-m32r.c: Likewise.
1094 * config/tc-m68hc11.c: Likewise.
1095 * config/tc-m68k.c: Likewise.
1096 * config/tc-mcore.c: Likewise.
1097 * config/tc-mep.c: Likewise.
1098 * config/tc-mep.h: Likewise.
1099 * config/tc-metag.c: Likewise.
1100 * config/tc-microblaze.c: Likewise.
1101 * config/tc-mips.c: Likewise.
1102 * config/tc-mmix.c: Likewise.
1103 * config/tc-mn10200.c: Likewise.
1104 * config/tc-mn10300.c: Likewise.
1105 * config/tc-msp430.c: Likewise.
1106 * config/tc-msp430.h: Likewise.
1107 * config/tc-nds32.c: Likewise.
1108 * config/tc-nds32.h: Likewise.
1109 * config/tc-nios2.c: Likewise.
1110 * config/tc-nios2.h: Likewise.
1111 * config/tc-ns32k.c: Likewise.
1112 * config/tc-pdp11.c: Likewise.
1113 * config/tc-ppc.c: Likewise.
1114 * config/tc-pru.c: Likewise.
1115 * config/tc-rx.c: Likewise.
1116 * config/tc-s390.c: Likewise.
1117 * config/tc-score.c: Likewise.
1118 * config/tc-score7.c: Likewise.
1119 * config/tc-sh.c: Likewise.
1120 * config/tc-sh64.c: Likewise.
1121 * config/tc-sparc.c: Likewise.
1122 * config/tc-tic4x.c: Likewise.
1123 * config/tc-tic54x.c: Likewise.
1124 * config/tc-v850.c: Likewise.
1125 * config/tc-vax.c: Likewise.
1126 * config/tc-visium.c: Likewise.
1127 * config/tc-xgate.c: Likewise.
1128 * config/tc-xtensa.c: Likewise.
1129 * config/tc-z80.c: Likewise.
1130 * config/tc-z8k.c: Likewise.
1131 * config/te-vms.c: Likewise.
1132 * config/xtensa-relax.c: Likewise.
1133 * doc/as.texinfo: Likewise.
1134 * doc/c-arm.texi: Likewise.
1135 * doc/c-hppa.texi: Likewise.
1136 * doc/c-i370.texi: Likewise.
1137 * doc/c-i386.texi: Likewise.
1138 * doc/c-m32r.texi: Likewise.
1139 * doc/c-m68k.texi: Likewise.
1140 * doc/c-mmix.texi: Likewise.
1141 * doc/c-msp430.texi: Likewise.
1142 * doc/c-nds32.texi: Likewise.
1143 * doc/c-ns32k.texi: Likewise.
1144 * doc/c-riscv.texi: Likewise.
1145 * doc/c-rx.texi: Likewise.
1146 * doc/c-s390.texi: Likewise.
1147 * doc/c-tic6x.texi: Likewise.
1148 * doc/c-tilegx.texi: Likewise.
1149 * doc/c-tilepro.texi: Likewise.
1150 * doc/c-v850.texi: Likewise.
1151 * doc/c-xgate.texi: Likewise.
1152 * doc/c-xtensa.texi: Likewise.
1153 * dwarf2dbg.c: Likewise.
1154 * ecoff.c: Likewise.
1155 * itbl-ops.c: Likewise.
1156 * listing.c: Likewise.
1157 * macro.c: Likewise.
1158 * po/gas.pot: Likewise.
1159 * read.c: Likewise.
1160 * struc-symbol.h: Likewise.
1161 * symbols.h: Likewise.
1162 * testsuite/gas/arc/relocs-errors.err: Likewise.
1163 * write.c: Likewise.
1164
1165 2017-01-23 Nick Clifton <nickc@redhat.com>
1166
1167 * po/sv.po: Updated Swedish translation.
1168
1169 2017-01-20 Nick Clifton <nickc@redhat.com>
1170
1171 * config/tc-i386.c (parse_operands): Check for operand overflow
1172 before setting the unspecified bit.
1173
1174 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1175
1176 PR gas/20649
1177 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
1178 symbols, remove the `segtype' parameter.
1179 (mips_frob_file, md_estimate_size_before_relax): Adjust
1180 accordingly.
1181 (s_is_linkonce): Add an explanatory comment.
1182 * testsuite/gas/mips/comdat-reloc.d: New test.
1183 * testsuite/gas/mips/comdat-reloc.s: New test source.
1184 * testsuite/gas/mips/mips.exp: Run the new test.
1185
1186 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1187
1188 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
1189 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
1190
1191 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
1192
1193 PR 21059
1194 * config/bfin-lex.l: Support processing with flex 2.6.3.
1195 * itbl-lex.l: Likewise.
1196
1197 2017-01-18 Nathan Sidwell <nathan@acm.org>
1198
1199 * as.h (gas_assert): Use abort.
1200 (as_assert): Remove.
1201 (signal_init): Declare.
1202 * as.c (main): Call signal_init.
1203 * messages.c: #include <signal.h>
1204 (as_assert): Delete.
1205 (as_abort): Allow NULL FILE.
1206 (signal_crash): New.
1207 (signal_init): Register fatal signal handlers.
1208 * configure.ac: Check for strsignal.
1209 * config.in: Rebuilt.
1210 * configure: Rebuilt.
1211
1212 2017-01-17 Nick Clifton <nickc@redhat.com>
1213
1214 * po/sv.po: Updated Swedish translation.
1215
1216 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1217
1218 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
1219 (cpu_noarch): Add noavx512_vpopcntdq.
1220 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
1221 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
1222 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
1223 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
1224 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
1225 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
1226 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
1227 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
1228
1229 2017-01-12 Nick Clifton <nickc@redhat.com>
1230
1231 * read.c (temp_ilp): New function. Installs a temporary input
1232 line pointer.
1233 (restore_ilp): New function. Restores the original input line
1234 pointer.
1235 * read.h (temp_ilp): Prototype.
1236 (restore_ilp): Prototype.
1237 * stabs.c (dot_func_p): Use bfd_boolean type.
1238 (generate_asm_file): Use temp_ilp and restore_ilp.
1239 (stabs_generate_asm_lineno): Likewise.
1240 (stabs_generate_asm_endfunc): Likewise.
1241
1242 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
1243
1244 * configure.tgt: Add entry for i386-redox.
1245
1246 2017-01-10 Nick Clifton <nickc@redhat.com>
1247
1248 * po/sv.po: Updated Swedish translation.
1249
1250 2017-01-10 Tristan Gingold <gingold@adacore.com>
1251
1252 * testsuite/gas/all/sleb128-8.d: Adjust test.
1253 * testsuite/gas/all/gas.exp (test_cond): Likewise.
1254
1255 2017-01-10 Tristan Gingold <gingold@adacore.com>
1256
1257 * read.c (emit_leb128_expr): Extended unsigned big number for
1258 sleb128.
1259 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
1260 * testsuite/gas/all/sleb128.d: New test.
1261 * testsuite/gas/all/sleb128.s: New test source.
1262
1263 2017-01-09 Andrew Waterman <andrew@sifive.com>
1264
1265 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1266 against constants.
1267 (md_apply_fix): Mark relocations against constants as "done."
1268
1269 2017-01-09 Andrew Waterman <andrew@sifive.com>
1270
1271 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1272 against constants.
1273 (md_apply_fix): Mark relocations against constants as "done."
1274
1275 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
1276 Kito Cheng <kito.cheng@gmail.com>
1277
1278 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
1279 Removed.
1280 (SDATA_START_SYMBOLS): Likewise.
1281
1282 2017-01-09 Nick Clifton <nickc@redhat.com>
1283
1284 * po/sv.po: New Swedish translation.
1285 * configure.ac (ALL_LINGUAS): Add sv.
1286 * configure: Regenerate.
1287
1288 2017-01-09 Andrew Waterman <andrew@sifive.com>
1289
1290 * config/tc-riscv.c (relaxed_branch_length): Use the long
1291 sequence when the target is a weak symbol.
1292
1293 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1294
1295 * config/tc-aarch64.c (aarch64_features): Add rcpc.
1296 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1297 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
1298 * testsuite/gas/aarch64/ldst-rcpc.d: This.
1299 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
1300 * testsuite/gas/aarch64/ldst-rcpc.s: This.
1301 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
1302
1303 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
1304
1305 PR gas/20992
1306 * configure.tgt: Treat sparcv9 as sparc64.
1307
1308 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
1309
1310 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
1311 extension.
1312 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
1313 enabled and no other ABI is specified.
1314
1315 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
1316
1317 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
1318 valueT, as declared in tc.h.
1319 (md_apply_fix): Fix to work on 32-bit hosts.
1320
1321 2017-01-02 Alan Modra <amodra@gmail.com>
1322
1323 Update year range in copyright notice of all files.
1324
1325 For older changes see ChangeLog-2016
1326 \f
1327 Copyright (C) 2017 Free Software Foundation, Inc.
1328
1329 Copying and distribution of this file, with or without modification,
1330 are permitted in any medium without royalty provided the copyright
1331 notice and this notice are preserved.
1332
1333 Local Variables:
1334 mode: change-log
1335 left-margin: 8
1336 fill-column: 74
1337 version-control: never
1338 End:
This page took 0.799442 seconds and 3 git commands to generate.