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