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