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