x86-64: Use dynobj instead of htab->elf.dynobj
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
3c0367d0
JW
12017-05-22 Jiong Wang <jiong.wang@arm.com>
2
3 * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
4 Recognize the new triplet name aarch64*-linux-gnu_ilp32.
5 * configure.ac: Output DEFAULT_ARCH macro for AArch64.
6 * configure: Regenerate.
7 * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
8 (md_after_parse_args): New define.
9 * config/tc-aarch64.c (aarch64_abi_type): New enumeration
10 AARCH64_ABI_NONE.
11 (DEFAULT_ARCH): New define.
12 (aarch64_abi): Set default value to AARCH64_ABI_NONE.
13 (aarch64_after_parse_args): New function.
14
64517994
JM
152017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
16
17 * config/tc-sparc.c (sparc_arch_table): Entries for `sparc6',
18 `v9m8' and `v8plusm8'.
19 (sparc_md_end): Handle SPARC_OPCODE_ARCH_M8.
20 (get_hwcap_name): Support the M8 hardware capabilities.
21 (sparc_ip): Handle new operand types.
22 * doc/c-sparc.texi (Sparc-Opts): Document -Av9m8, -Av8plusm8 and
23 -Asparc6, and the corresponding -xarch aliases.
24 * testsuite/gas/sparc/sparc6.s: New file.
25 * testsuite/gas/sparc/sparc6.d: Likewise.
26 * testsuite/gas/sparc/sparc6-diag.s: Likewise.
27 * testsuite/gas/sparc/sparc6-diag.l: Likewise.
28 * testsuite/gas/sparc/fpcmpshl.s: Likewise.
29 * testsuite/gas/sparc/fpcmpshl.d: Likewise.
30 * testsuite/gas/sparc/fpcmpshl-diag.s: Likewise.
31 * testsuite/gas/sparc/fpcmpshl-diag.l: Likewise.
32 * testsuite/gas/sparc/ldm-stm.s: Likewise.
33 * testsuite/gas/sparc/ldm-stm.d: Likewise.
34 * testsuite/gas/sparc/ldm-stm-diag.s: Likewise.
35 * testsuite/gas/sparc/ldm-stm-diag.l: Likewise.
36 * testsuite/gas/sparc/ldmf-stmf.s: Likewise.
37 * testsuite/gas/sparc/ldmf-stmf.d: Likewise.
38 * testsuite/gas/sparc/ldmf-stmf-diag.s: Likewise.
39 * testsuite/gas/sparc/ldmf-stmf-diag.l: Likewise.
40 * testsuite/gas/sparc/on.s: Likewise.
41 * testsuite/gas/sparc/on.d: Likewise.
42 * testsuite/gas/sparc/on-diag.s: Likewise.
43 * testsuite/gas/sparc/on-diag.l: Likewise.
44 * testsuite/gas/sparc/rle.s: Likewise.
45 * testsuite/gas/sparc/rle.d: Likewise.
46 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run new tests.
47 * testsuite/gas/sparc/rdasr.s: Add test for RDENTROPY.
48 * testsuite/gas/sparc/rdasr.d: Likewise.
49
ae0264a6
JM
502017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
51
52 * testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
53 * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
54 run asi-bump-warn.
55
f4203b2b
JL
562017-05-19 Georg-Johann Lay <avr@gjlay.de>
57
58 PR ld/21472
59 * config/tc-avr.c (mcu_types): Add entries for: attiny416,
60 attiny417, attiny816, attiny817.
61
535b785f
AM
622017-05-18 Alan Modra <amodra@gmail.com>
63
64 * config/tc-aarch64.c: Don't compare booleans against TRUE or FALSE.
65 * config/tc-hppa.c: Likewise.
66 * config/tc-mips.c: Likewise.
67 * config/tc-score7.c: Likewise.
68
91cb9803
AM
692017-05-16 Alan Modra <amodra@gmail.com>
70
71 * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
72 (TC_FORCE_RELOCATION_LOCAL): Use it.
73 (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
74 (TC_FORCE_RELOCATION_SUB_SAME): Use it.
75 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
76 TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
77 * config/tc-aarch64.h: Similarly.
78 * config/tc-avr.h: Similarly.
79 * config/tc-cris.h: Similarly.
80 * config/tc-i386.h: Similarly.
81 * config/tc-i960.h: Similarly.
82 * config/tc-ia64.h: Similarly.
83 * config/tc-microblaze.h: Similarly.
84 * config/tc-mips.h: Similarly.
85 * config/tc-msp430.h: Similarly.
86 * config/tc-nds32.h: Similarly.
87 * config/tc-pru.h: Similarly.
88 * config/tc-riscv.h: Similarly.
89 * config/tc-rl78.h: Similarly.
90 * config/tc-s390.h: Similarly.
91 * config/tc-sh.h: Similarly.
92 * config/tc-sh64.h: Similarly.
93 * config/tc-sparc.h: Similarly.
94 * config/tc-xtensa.h: Similarly.
95 * config/tc-mn10300.h: Similarly.
96 (GENERIC_FORCE_RELOCATION_LOCAL): Define.
97 * config/tc-msp430.c (msp430_force_relocation_local): Modify to
98 be addition to rather than replacement of standard
99 TC_FORCE_RELOCATION_LOCAL.
100
52a86f84
NC
1012017-05-15 Nick Clifton <nickc@redhat.com>
102
103 PR gas/21458
104 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
105 symbol, ensure that the T bit will be set.
106 (do_adrl): Likewise.
107 (do_t_adr): Likewise.
108 * testsuite/gas/arm/pr21458.s: New test.
109 * testsuite/gas/arm/pr21458.d: New test driver.
110
b32465c9
MR
1112017-05-15 Maciej W. Rozycki <macro@imgtec.com>
112
113 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
114 flags.
115 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
116 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
117 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
118 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
119 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
120 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
121 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
122 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
123 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
124 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
125 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
126 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
127 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
128 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
129 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
130 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
131 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
132 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
133 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
134 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
135 Likewise.
136 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
137 Likewise.
138 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
139 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
140 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
141 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
142 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
143 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
144 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
145 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
146 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
147 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
148 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
149 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
150 Likewise.
151 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
152 Likewise.
153 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
154 Likewise.
155 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
156 Likewise.
157 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
158 Likewise.
159 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
160 Likewise.
161 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
162 Likewise.
163 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
164 Likewise.
165 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
166 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
167 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
168 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
169 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
170 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
171 test.
172 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
173 test.
174 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
175 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
176 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
177 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
178 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
179 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
180 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
181 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
182 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
183 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
184 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
185 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
186 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
187 test.
188 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
189 test.
190 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
191 New test.
192 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
193 New test.
194 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
195 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
196 test.
197 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
198 test.
199 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
200 test.
201 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
202 test.
203 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
204 test.
205 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
206 test.
207 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
208 test.
209 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
210 test.
211 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
212 test.
213 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
214 test.
215 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
216 test.
217 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
218 New test.
219 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
220 New test.
221 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
222 New test.
223 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
224 New test.
225 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
226 New test.
227 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
228 New test.
229 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
230 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
231 preservation between MIPS16 and MIPS16e2 code.
232 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
233 all MIPS16 architectures.
234
3f3467ff
MR
2352017-05-15 Maciej W. Rozycki <macro@imgtec.com>
236
237 * testsuite/gas/mips/mips16e2.d: New test.
238 * testsuite/gas/mips/mips16e2-mt.d: New test.
239 * testsuite/gas/mips/mips16e2-sub.d: New test.
240 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
241 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
242 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
243 * testsuite/gas/mips/mips16e2-hilo.d: New test.
244 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
245 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
246 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
247 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
248 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
249 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
250 * testsuite/gas/mips/mips16e2-lui.d: New test.
251 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
252 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
253 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
254 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
255 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
256 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
257 * testsuite/gas/mips/mips16e2.s: New test source.
258 * testsuite/gas/mips/mips16e2-mt.s: New test source.
259 * testsuite/gas/mips/mips16e2-sub.s: New test source.
260 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
261 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
262 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
263 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
264 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
265 * testsuite/gas/mips/mips16e2-lui.s: New test source.
266 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
267 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
268 architectures. Run the new tests.
269
70ab592f
MR
2702017-05-15 Maciej W. Rozycki <macro@imgtec.com>
271
272 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
273 `mips16e2@' prefix.
274 (run_list_test_arch): Likewise.
275 (mips16e2-32, mips16e2-64): New architectures.
276 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
277 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
278 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
279 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
280 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
281 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
282 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
283 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
284 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
285 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
286 tag. Add `-I$srcdir/$subdir' to `as' flags.
287 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
288 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
289 output.
290 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
291 output.
292 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
293 output.
294 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
295 output.
296 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
297 output.
298 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
299 * testsuite/gas/mips/mips16e-sub.s: Likewise.
300 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
301 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
302 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
303 source.
304 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
305 source.
306
25499ac7
MR
3072017-05-15 Maciej W. Rozycki <macro@imgtec.com>
308 Matthew Fortune <matthew.fortune@imgtec.com>
309 Andrew Bennett <andrew.bennett@imgtec.com>
310
311 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
312 (RELAX_MIPS16_E2): New macro.
313 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
314 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
315 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
316 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
317 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
318 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
319 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
320 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
321 (mips16_immed_extend): New prototype.
322 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
323 values.
324 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
325 (mips_ases): Add "mips16e2" entry.
326 (mips_set_ase): Handle MIPS16e2 ASE.
327 (insn_insert_operand): Explicitly handle immediates with MIPS16
328 instructions that require 32-bit encoding.
329 (is_opcode_valid_16): Pass enabled ASE bitmask on to
330 `opcode_is_member'.
331 (validate_mips_insn): Explicitly handle immediates with MIPS16
332 instructions that require 32-bit encoding.
333 (operand_reg_mask) <OP_REG28>: Add handler.
334 (match_reg28_operand): New function.
335 (match_operand) <OP_REG28>: Add handler.
336 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
337 (match_mips16_insn): Handle MIPS16 instructions that require
338 32-bit encoding and `V' and `u' operand codes.
339 (mips16_ip): Allow any characters except from `.' in opcodes.
340 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
341 immediates whose width is not one of these listed.
342 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
343 (mips_relax_frag): Likewise.
344 (md_convert_frag): Likewise.
345 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
346
347 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
348 `-mno-mips16e2' options.
349 (-mmips16e2, -mno-mips16e2): New options.
350 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
351 `-mno-mips16e2' options.
352 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
353 and `.set nomips16e2'.
354
20c59b84
MR
3552017-05-15 Maciej W. Rozycki <macro@imgtec.com>
356
357 * config/tc-mips.c (match_int_operand): Call
358 `match_out_of_range' before returning failure for 0x8000-0xffff
359 values conditionally allowed.
360
602b88e3
MR
3612017-05-15 Maciej W. Rozycki <macro@imgtec.com>
362
363 * config/tc-mips.c (match_int_operand): Call
364 `match_not_constant' before returning failure for a non-constant
365 16-bit immediate conditionally allowed.
366
c96425c5
MR
3672017-05-15 Maciej W. Rozycki <macro@imgtec.com>
368
369 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
370 rather than `match_not_constant' for unrelocated operands
371 retrieved as an `O_big' expression.
372 (match_int_operand): Call `match_out_of_range' for relocatable
373 operands retrieved as an `O_big' expression.
374 (match_mips16_insn): Call `match_out_of_range' for relaxable
375 operands retrieved as an `O_big' expression.
376 * testsuite/gas/mips/addiu-error.d: New test.
377 * testsuite/gas/mips/mips16@addiu-error.d: New test.
378 * testsuite/gas/mips/micromips@addiu-error.d: New test.
379 * testsuite/gas/mips/break-error.d: New test.
380 * testsuite/gas/mips/lui-1.l: Adjust error message.
381 * testsuite/gas/mips/addiu-error.l: New stderr output.
382 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
383 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
384 * testsuite/gas/mips/break-error.l: New stderr output.
385 * testsuite/gas/mips/addiu-error.s: New test source.
386 * testsuite/gas/mips/break-error.s: New test source.
387 * testsuite/gas/mips/mips.exp: Run the new tests.
388
1a7bf198
MR
3892017-05-15 Maciej W. Rozycki <macro@imgtec.com>
390
391 * config/tc-mips.c (match_mips16_insn): Remove the explicit
392 OT_INTEGER check before the `match_expression' call.
393 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
394 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
395 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
396 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
397 * testsuite/gas/mips/mips16-reg-error.d: New test.
398 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
399 * testsuite/gas/mips/mips16-reg-error.s: New test source.
400 * testsuite/gas/mips/mips.exp: Run the new test.
401
e295202f
MR
4022017-05-15 Maciej W. Rozycki <macro@imgtec.com>
403
404 * config/tc-mips.c (match_mips16_insn): Call
405 `match_not_constant' for a disallowed relocation operation.
406 * testsuite/gas/mips/mips16-reloc-error.d: New test.
407 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
408 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
409 * testsuite/gas/mips/mips.exp: Run the new test.
410
c76081bc
MR
4112017-05-15 Maciej W. Rozycki <macro@imgtec.com>
412
413 * testsuite/gas/mips/lui-1.d: New test.
414 * testsuite/gas/mips/lui-2.d: New test.
415 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
416 into the new tests.
417
a54d5f8b
MR
4182017-05-15 Maciej W. Rozycki <macro@imgtec.com>
419
420 * config/tc-mips.c (match_const_int): Update description.
421
32035f51
MR
4222017-05-15 Maciej W. Rozycki <macro@imgtec.com>
423
424 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
425 mips16' rather than `.set mips16'.
426 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
427 `.module nomicromips' rather than `.set micromips' and `.set
428 nomicromips'.
429 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
430 rather than `.set smartmips'.
431 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
432 `.module micromips', `.module nomicromips' and `.module
433 smartmips' rather than `.set mips16', `.set micromips', `.set
434 nomicromips' and `.set smartmips' respectively.
435
be3f1006
MR
4362017-05-12 Maciej W. Rozycki <macro@imgtec.com>
437 Matthew Fortune <matthew.fortune@imgtec.com>
438
439 * config/tc-mips.c (mips_percent_op): Add "%gprel".
440 (mips16_percent_op): Add "%gp_rel".
441 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
442 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
443 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
444 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
445
a4f89915
MR
4462017-05-12 Maciej W. Rozycki <macro@imgtec.com>
447
448 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
449 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
450 * testsuite/gas/mips/mips16-64.d: Likewise.
451 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
452 * testsuite/gas/mips/mips16-macro.d: Likewise.
453 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
454 * testsuite/gas/mips/mips16-sub.d: Likewise.
455 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
456
99e2d67a
MR
4572017-05-11 Maciej W. Rozycki <macro@imgtec.com>
458
459 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
460 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
461 * testsuite/gas/mips/mips.exp: Run the new tests.
462
7f401e84
MR
4632017-05-10 Maciej W. Rozycki <macro@imgtec.com>
464
465 * testsuite/gas/mips/isa-override-2.d: New test.
466 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
467 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
468 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
469 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
470 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
471 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
472 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
473 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
474 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
475 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
476 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
477 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
478 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
479 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
480 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
481 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
482 source.
483 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
484 source.
485 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
486 source.
487 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
488 source.
489 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
490 source.
491 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
492 source.
493 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
494 into the new tests.
495
9fc18134
MR
4962017-05-10 Maciej W. Rozycki <macro@imgtec.com>
497
498 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
499 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
500 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
501 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
502 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
503 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
504 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
505
f78c0b91
MR
5062017-05-10 Maciej W. Rozycki <macro@imgtec.com>
507
508 * testsuite/gas/mips/mips16-macro.l: Remove list test.
509
58667758
MR
5102017-05-10 Maciej W. Rozycki <macro@imgtec.com>
511
512 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
513 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
514 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
515 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
516 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
517 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
518 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
519 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
520 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
521 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
522 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
523 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
524 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
525 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
526 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
527 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
528 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
529 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
530 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
531 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
532
53a346d8
CZ
5332017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
534
535 * testsuite/gas/arc/attr-arc600.d: New file.
536 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
537 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
538 * testsuite/gas/arc/attr-arc601.d: Likewise.
539 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
540 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
541 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
542 * testsuite/gas/arc/attr-arc700.d: Likewise.
543 * testsuite/gas/arc/attr-arcem.d: Likewise.
544 * testsuite/gas/arc/attr-archs.d: Likewise.
545 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
546 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
547 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
548 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
549 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
550 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
551 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
552 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
553 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
554 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
555 * testsuite/gas/arc/attr-em.d: Likewise.
556 * testsuite/gas/arc/attr-em4.d: Likewise.
557 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
558 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
559 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
560 * testsuite/gas/arc/attr-hs.d: Likewise.
561 * testsuite/gas/arc/attr-hs34.d: Likewise.
562 * testsuite/gas/arc/attr-hs38.d: Likewise.
563 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
564 * testsuite/gas/arc/attr-mul64.d: Likewise.
565 * testsuite/gas/arc/attr-name.d: Likewise.
566 * testsuite/gas/arc/attr-name.s: Likewise.
567 * testsuite/gas/arc/attr-nps400.d: Likewise.
568 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
569 * testsuite/gas/arc/attr-override-mcpu.s
570 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
571 * testsuite/gas/arc/blank.s: Likewise.
572 * testsuite/gas/elf/section2.e-arc: Likewise.
573 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
574 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
575 * testsuite/gas/arc/nps400-0.d: Likewise.
576 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
577 * config/tc-arc.c (opcode/arc-attrs.h): Include.
578 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
579 (arc_attribute): Declare new function.
580 (md_pseudo_table): Add arc_attribute.
581 (cpu_types): Rename default cpu features.
582 (selected_cpu): Set the default OSABI flag.
583 (mpy_option): New variable.
584 (pic_option): Likewise.
585 (sda_option): Likewise.
586 (tls_option): Likewise.
587 (feature_type, feature_list): Remove.
588 (arc_initial_eflag): Likewise.
589 (attributes_set_explicitly): New variable.
590 (arc_check_feature): Check also for the conflicting features.
591 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
592 (arc_option): Remove setting of private flags and architecture.
593 (check_cpu_feature): Refactor feature names.
594 (autodetect_attributes): New function.
595 (assemble_tokens): Use above function.
596 (md_parse_option): Refactor feature names.
597 (arc_attribute): New function.
598 (arc_set_attribute_int): Likewise.
599 (arc_set_attribute_string): Likewise.
600 (arc_stralloc): Likewise.
601 (arc_set_public_attributes): Likewise.
602 (arc_md_end): Likewise.
603 (arc_copy_symbol_attributes): Likewise.
604 (rc_convert_symbolic_attribute): Likewise.
605 * config/tc-arc.h (md_end): Define.
606 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
607 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
608 * doc/c-arc.texi: Document ARC object attributes.
609
8507b6e7
MR
6102017-05-03 Maciej W. Rozycki <macro@imgtec.com>
611
612 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
613 `nomacro' flags.
614 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
615 New macros.
616 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
617 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
618 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
619 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
620 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
621 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
622 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
623 (RELAX_MIPS16_CLEAR_MACRO): New macros.
624 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
625 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
626 (mips16_macro_frag): New function.
627 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
628 (mips_relax_frag): Likewise.
629 (md_convert_frag): Likewise.
630
631 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
632 add dump patterns.
633 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
634 subarchitecture.
635 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
636 NOP padding.
637 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
638 output, add dump patterns.
639 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
640 output, add dump patterns.
641 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
642 output, add dump patterns.
643 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
644 output, add dump patterns.
645 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
646 output, add dump patterns.
647 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
648 output, add dump patterns.
649 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
650 output, add dump patterns.
651 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
652 output, add dump patterns.
653 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
654 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
655 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
656 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
657 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
658 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
659 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
660 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
661 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
662 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
663
664 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
665 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
666 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
667 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
668 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
669 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
670 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
671 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
672 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
673 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
674 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
675 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
676 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
677 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
678 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
679 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
680 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
681 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
682 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
683 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
684 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
685 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
686 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
687 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
688 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
689 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
690 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
691 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
692 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
693 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
694 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
695 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
696 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
697 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
698 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
699 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
700 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
701 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
702 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
703 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
704 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
705 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
706 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
707 test.
708 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
709 test.
710 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
711 test.
712 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
713 test.
714 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
715 test.
716 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
717 test.
718 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
719 New test.
720 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
721 New test.
722 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
723 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
724 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
725 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
726 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
727 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
728 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
729 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
730 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
731 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
732 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
733 output.
734 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
735 output.
736 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
737 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
738 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
739 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
740 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
741 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
742 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
743 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
744 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
745 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
746 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
747 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
748 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
749 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
750 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
751 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
752 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
753 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
754 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
755 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
756 * testsuite/gas/mips/mips.exp: Run the new tests.
757
e78bb25c
NC
7582017-05-03 Nick Clifton <nickc@redhat.com>
759
760 PR gas/20941
761 * symbols.c (snapshot_symbol): Handle the case where
762 resolve_expression returns a local symbol.
763
82d808ed
MR
7642017-05-02 Maciej W. Rozycki <macro@imgtec.com>
765
766 * config/tc-mips.c (append_insn): Call `symbol_append' for any
767 expression symbol created for MIPS16 relaxation.
768 (match_mips16_insn): Don't encode a constant value as an
769 immediate with a PC-relative operand.
770
771 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
772 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
773 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
774 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
775 test.
776 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
777 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
778 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
779 test.
780 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
781 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
782 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
783 test.
784 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
785 output.
786 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
787 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
788 source.
789 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
790 source.
791 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
792 source.
793 * testsuite/gas/mips/mips.exp: Run the new tests.
794
14f72d45
MR
7952017-04-27 Maciej W. Rozycki <macro@imgtec.com>
796
797 * config/tc-mips.c (mips16_pcrel_val): New function, factored
798 out from...
799 (mips16_extended_frag): ... here.
800 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
801 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
802
1425c41d
MR
8032017-04-27 Maciej W. Rozycki <macro@imgtec.com>
804
805 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
806 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
807 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
808 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
809 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
810 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
811 (mips16_extended_frag): Adjust accordingly.
812
f2d830a5
AM
8132017-04-27 Alan Modra <amodra@gmail.com>
814
815 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
816
ce8ad872
MR
8172017-04-26 Maciej W. Rozycki <macro@imgtec.com>
818
819 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
820 (RELAX_PIC): New macro.
821 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
822 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
823 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
824 Shift bits.
825 (RELAX_BRANCH_ENCODE): Add `pic' flag.
826 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
827 (RELAX_BRANCH_TOOFAR): Shift bits.
828 (RELAX_BRANCH_PIC): New macro.
829 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
830 (RELAX_MICROMIPS_PIC): New macro.
831 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
832 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
833 (RELAX_MICROMIPS_RELAX32): Shift bits.
834 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
835 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
836 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
837 first fixup created.
838 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
839 fixup processed rather than `mips_pic' in choosing to relax an
840 out of range branch to a jump.
841 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
842 rather than `mips_pic'.
843 (relaxed_micromips_32bit_branch_length): Likewise.
844 (md_estimate_size_before_relax): Likewise.
845 (md_convert_frag): Likewise.
846
847 * testsuite/gas/mips/option-pic-relax-0.d: New test.
848 * testsuite/gas/mips/option-pic-relax-1.d: New test.
849 * testsuite/gas/mips/option-pic-relax-2.d: New test.
850 * testsuite/gas/mips/option-pic-relax-3.d: New test.
851 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
852 * testsuite/gas/mips/option-pic-relax-4.d: New test.
853 * testsuite/gas/mips/option-pic-relax-5.d: New test.
854 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
855 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
856 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
857 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
858 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
859 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
860 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
861 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
862 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
863 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
864 * testsuite/gas/mips/mips.exp: Run the new tests.
865
126124cc
CZ
8662017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
867
868 * testsuite/gas/arc/leave_enter.d: Update test.
869 * testsuite/gas/arc/leave_enter.s: Likewise.
870
be6a24d8
CZ
8712017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
872
873 * testsuite/gas/arc/b.d: Update test.
874 * testsuite/gas/arc/noargs_hs.d: Likewise.
875
adc1273c
MR
8762017-04-25 Maciej W. Rozycki <macro@imgtec.com>
877
878 * config/tc-mips.c (md_convert_frag): Correct
879 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
880 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
881 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
882 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
883 output.
884 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
885 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
886 * testsuite/gas/mips/mips.exp: Run the new tests.
887
d28b6364
JM
8882017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
889
890 PR gas/21407
891 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
892 instructions into branch instructions in fixups generating
893 additional relocations.
894 * testsuite/gas/sparc/call-relax.s: New file.
895 * testsuite/gas/sparc/call-relax.d: Likewise.
896 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
897 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
898
53445554
TP
8992017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
900
901 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
902 Forbid MOV.W and MOVW if destination is SP or PC.
903 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
904 expectation of LDR not generating a MOVS for low registers and small
905 constants. Add tests of MOVW generation.
906 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
907 expected disassembly.
908
a8cc8a54
AM
9092017-04-22 Alan Modra <amodra@gmail.com>
910
911 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
912 * testsuite/gas/ppc/vle.d: Update.
913
792f174f
NC
9142017-04-21 Nick Clifton <nickc@redhat.com>
915
916 PR binutils/21380
917 * testsuite/gas/aarch64/illegal-3.s: New file.
918 * testsuite/gas/aarch64/illegal-3.d: New file.
919
ef85eab0
AM
9202017-04-11 Alan Modra <amodra@gmail.com>
921
922 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
923 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
924
947fa914
MF
9252017-04-10 Max Filippov <jcmvbkbc@gmail.com>
926
927 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
928 Initialize lps->frag_count with auto_litpool_limit.
929 (xg_promote_candidate_litpool): New function.
930 (xtensa_move_literals): Extract candidate litpool promotion code
931 into separate function. Call it for all possible found
932 candidates.
933 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
934 call to xtensa_mark_literal_pool_location that it guards.
935 Replace it with call to xtensa_maybe_create_literal_pool_frag.
936 Initialize pool_location with created literal pool candidate.
937 * testsuite/gas/xtensa/all.exp: Add new tests.
938 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
939 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
940 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
941 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
942 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
943 to additional jump instruction.
944
ac8f0f72
AM
9452017-04-07 Alan Modra <amodra@gmail.com>
946
947 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
948 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
949
498e3442
AM
9502017-04-07 Alan Modra <amodra@gmail.com>
951
952 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
953 for .mbind.text.
954
62ecb94c
PC
9552017-04-06 Pip Cet <pipcet@gmail.com>
956
957 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
958 changes.
959 * testsuite/gas/wasm32/disass.d: New test.
960 * testsuite/gas/wasm32/disass.s: New test.
961 * testsuite/gas/wasm32/disass-2.d: New test.
962 * testsuite/gas/wasm32/disass-2.s: New test.
963 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
964 names.
965 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
966 syntax.
967 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
968 test to succeed.
969
a91e1603
L
9702017-04-04 H.J. Lu <hongjiu.lu@intel.com>
971
972 * NEWS: Mention support for ELF SHF_GNU_MBIND.
973 * config/obj-elf.c (section_match): New.
974 (get_section): Match both sh_info and group name.
975 (obj_elf_change_section): Add argument for sh_info. Pass both
976 sh_info and group name to get_section. Issue an error for
977 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
978 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
979 (obj_elf_section): Support SHF_GNU_MBIND section info.
980 * config/obj-elf.h (obj_elf_change_section): Add argument for
981 sh_info.
982 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
983 obj_elf_change_section.
984 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
985 * config/tc-microblaze.c (microblaze_s_data): Likewise.
986 (microblaze_s_sdata): Likewise.
987 (microblaze_s_rdata): Likewise.
988 (microblaze_s_bss): Likewise.
989 * config/tc-mips.c (s_change_section): Likewise.
990 * config/tc-msp430.c (msp430_profiler): Likewise.
991 * config/tc-rx.c (parse_rx_section): Likewise.
992 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
993 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
994 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
995 section13.
996 * testsuite/gas/elf/section10.d: Updated.
997 * testsuite/gas/elf/section10.s: Likewise.
998 * testsuite/gas/elf/section12.s: New file.
999 * testsuite/gas/elf/section12a.d: Likewise.
1000 * testsuite/gas/elf/section12b.d: Likewise.
1001 * testsuite/gas/elf/section13.l: Likewise.
1002 * testsuite/gas/elf/section13.d: Likewise.
1003 * testsuite/gas/elf/section13.s: Likewise.
1004
c41cf6fd
PD
10052017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
1006
1007 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
1008 avoid const warnings.
1009
fecb9c46
PD
10102017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
1011
1012 * config/tc-riscv.c (riscv_clear_subsets): New function.
1013 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
1014 clear RVC when it's been previously set.
1015
dc1e4d6d
NC
10162017-03-31 Nick Clifton <nickc@redhat.com>
1017
1018 PR gas/21333
1019 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
1020 fixups in mergeable sections to be adjusted.
1021
f96bd6c2
PC
10222017-03-30 Pip Cet <pipcet@gmail.com>
1023
1024 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
1025 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
1026 * Makefile.am: Add WebAssembly assembler target.
1027 * configure.tgt: Add WebAssembly assembler target.
1028 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
1029 assembler.
1030 * doc/all.texi: Define WASM32.
1031 * doc/as.texinfo: Add WebAssembly entries.
1032 * NEWS: Mention the new support.
1033 * Makefile.in: Regenerate.
1034 * po/gas.pot: Regenerate.
1035 * po/POTFILES.in: Regenerate.
1036 * testsuite/gas/wasm32: New directory.
1037 * testsuite/gas/wasm32/allinsn.d: New file.
1038 * testsuite/gas/wasm32/allinsn.s: New file.
1039 * testsuite/gas/wasm32/illegal.l: New file.
1040 * testsuite/gas/wasm32/illegal.s: New file.
1041 * testsuite/gas/wasm32/illegal-2.l: New file.
1042 * testsuite/gas/wasm32/illegal-2.s: New file.
1043 * testsuite/gas/wasm32/illegal-3.l: New file.
1044 * testsuite/gas/wasm32/illegal-3.s: New file.
1045 * testsuite/gas/wasm32/illegal-4.l: New file.
1046 * testsuite/gas/wasm32/illegal-4.s: New file.
1047 * testsuite/gas/wasm32/illegal-5.l: New file.
1048 * testsuite/gas/wasm32/illegal-5.s: New file.
1049 * testsuite/gas/wasm32/illegal-6.l: New file.
1050 * testsuite/gas/wasm32/illegal-6.s: New file.
1051 * testsuite/gas/wasm32/illegal-7.l: New file.
1052 * testsuite/gas/wasm32/illegal-7.s: New file.
1053 * testsuite/gas/wasm32/illegal-8.l: New file.
1054 * testsuite/gas/wasm32/illegal-8.s: New file.
1055 * testsuite/gas/wasm32/illegal-9.l: New file.
1056 * testsuite/gas/wasm32/illegal-9.s: New file.
1057 * testsuite/gas/wasm32/illegal-10.l: New file.
1058 * testsuite/gas/wasm32/illegal-10.s: New file.
1059 * testsuite/gas/wasm32/illegal-11.l: New file.
1060 * testsuite/gas/wasm32/illegal-11.s: New file.
1061 * testsuite/gas/wasm32/illegal-12.l: New file.
1062 * testsuite/gas/wasm32/illegal-12.s: New file.
1063 * testsuite/gas/wasm32/illegal-13.l: New file.
1064 * testsuite/gas/wasm32/illegal-13.s: New file.
1065 * testsuite/gas/wasm32/illegal-14.l: New file.
1066 * testsuite/gas/wasm32/illegal-14.s: New file.
1067 * testsuite/gas/wasm32/illegal-15.l: New file.
1068 * testsuite/gas/wasm32/illegal-15.s: New file.
1069 * testsuite/gas/wasm32/illegal-16.l: New file.
1070 * testsuite/gas/wasm32/illegal-16.s: New file.
1071 * testsuite/gas/wasm32/illegal-17.l: New file.
1072 * testsuite/gas/wasm32/illegal-17.s: New file.
1073 * testsuite/gas/wasm32/illegal-18.l: New file.
1074 * testsuite/gas/wasm32/illegal-18.s: New file.
1075 * testsuite/gas/wasm32/illegal-19.l: New file.
1076 * testsuite/gas/wasm32/illegal-19.s: New file.
1077 * testsuite/gas/wasm32/illegal-20.l: New file.
1078 * testsuite/gas/wasm32/illegal-20.s: New file.
1079 * testsuite/gas/wasm32/illegal-21.l: New file.
1080 * testsuite/gas/wasm32/illegal-21.s: New file.
1081 * testsuite/gas/wasm32/illegal-22.l: New file.
1082 * testsuite/gas/wasm32/illegal-22.s: New file.
1083 * testsuite/gas/wasm32/illegal-24.l: New file.
1084 * testsuite/gas/wasm32/illegal-24.s: New file.
1085 * testsuite/gas/wasm32/illegal-25.l: New file.
1086 * testsuite/gas/wasm32/illegal-25.s: New file.
1087 * testsuite/gas/wasm32/reloc.d: New file.
1088 * testsuite/gas/wasm32/reloc.s: New file.
1089 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
1090 architecture.
1091
52be03fd
AM
10922017-03-29 Alan Modra <amodra@gmail.com>
1093
1094 * config/tc-ppc.c (md_parse_option): Reject -mraw.
1095
9b753937
AM
10962017-03-27 Alan Modra <amodra@gmail.com>
1097
1098 PR 21303
1099 * testsuite/gas/ppc/pr21303.d,
1100 * testsuite/gas/ppc/pr21303.s: New test
1101 * testsuite/gas/ppc/ppc.exp: Run it.
1102
c0c31e91
RZ
11032017-03-27 Rinat Zelig <rinat@mellanox.com>
1104
1105 * testsuite/gas/arc/nps400-12.s: New file.
1106 * testsuite/gas/arc/nps400-12.d: New file.
1107
62785b09
TP
11082017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
1109
1110 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
1111 CPU_DEFAULT is defined.
1112
19683c04
PD
11132017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
1114
1115 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
1116 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
1117 print an invalid default ISA string.
1118 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
1119
24e5b4e6
MF
11202017-03-22 Max Filippov <jcmvbkbc@gmail.com>
1121
1122 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
1123 reassigned fixup to size of jump instruction (3) and fx_r_type
1124 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
1125 (add_jump_to_trampoline): Search
1126 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
1127 symbol and use that slot instead of slot 0.
1128
2253c8f0
AK
11292017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1130
1131 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
1132 from cpu_table. Remove vx2, and novx2 from cpu_flags.
1133
645d3342
RZ
11342017-03-21 Rinat Zelig <rinat@mellanox.com>
1135
1136 * testsuite/gas/arc/nps400-11.s: New file.
1137 * testsuite/gas/arc/nps400-11.d: New file.
1138
e406e428
NC
11392017-03-20 Nick Clifton <nickc@redhat.com>
1140
1141 * doc/as.texinfo (2byte): Note that if no expressions are present
1142 the directive does nothing. Emphasize that the output is
1143 unaligned, and that this can have an effect on the relocations
1144 generated.
1145 (4byte): Simplify description. Refer back to the 2byte
1146 description.
1147 (8byte): Likewise.
1148
d5e0ba9c
RE
11492017-03-20 Richard Earnshaw <rearnsha@arm.com>
1150
1151 * config/tc-arm.c (arm_fpus): Note entires that should not be
1152 documented.
1153 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
1154 neon-fp16. Fix spelling error.
1155
d3375ddd
RE
11562017-03-20 Richard Earnshaw <rearnsha@arm.com>
1157
1158 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
1159
2c52e2e8
RZ
11602017-03-16 Rinat Zelig <rinat@mellanox.com>
1161
1162 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
1163 specially for ARCv2.
1164
b416fe87
KC
11652017-03-14 Kito Cheng <kito.cheng@gmail.com>
1166
1167 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
1168 encoding format, which can accept 0-valued immediates.
1169 (riscv_ip): Likewise.
1170
7cb7b948
NC
11712017-03-15 Nick Clifton <nickc@redhat.com>
1172
1173 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
1174 warning about discarding a const qualifier.
1175
d47c3ff7
KLC
11762017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1177
1178 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
1179
2aece2ba
KLC
11802017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1181
1182 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
1183 fx_next->fx_frag for CFA_advance_loc relocations.
1184
c1b465c9
KLC
11852017-03-02 Kuan-Lin Chen <rufus@andestech.com>
1186
1187 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
1188 for CFA relocations.
1189
f955cccf
NC
11902017-03-13 Nick Clifton <nickc@redhat.com>
1191
1192 PR binutils/21202
1193 * config/tc-aarch64.c (reloc_table): Rename
1194 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
1195 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
1196 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
1197 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
1198 (md_apply_fix): Likewise.
1199 (aarch64_force_relocation): Likewise.
1200 * testsuite/gas/aarch64/tls.d: Update regexp.
1201
8b1e5da1
NC
12022017-03-10 Tobin C. Harding <me@tobin.cc>
1203 Nick Clifton <nickc@redhat.com>
1204
1205 * doc/as.texinfo (2byte): Tidy up wording. Add note that
1206 overlarge values will produce a warning message and be trunacted.
1207 (4byte): Likewise.
1208
86fa6981
L
12092017-03-09 H.J. Lu <hongjiu.lu@intel.com>
1210
1211 * config/tc-i386.c (_i386_insn): Add dir_encoding and
1212 vec_encoding. Remove swap_operand and need_vrex.
1213 (extra_symbol_chars): Add '}'.
1214 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
1215 mnemonic.
1216 (build_vex_prefix): Don't use 2-byte VEX encoding with
1217 {vex3}. Check dir_encoding and load.
1218 (parse_insn): Check pseudo prefixes. Set dir_encoding.
1219 (VEX_check_operands): Likewise.
1220 (match_template): Check dir_encoding and load.
1221 (parse_real_register): Set vec_encoding instead of need_vrex.
1222 (parse_register): Likewise.
1223 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
1224 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
1225 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
1226 * testsuite/gas/i386/pseudos.d: New file.
1227 * testsuite/gas/i386/pseudos.s: Likewise.
1228 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1229 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
1230
4b8b687e
PB
12312017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1232
1233 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
1234 (objdump): Use the -Mpower8 option.
1235
1437d063
PB
12362017-03-08 Peter Bergner <bergner@vnet.ibm.com>
1237
1238 * testsuite/gas/ppc/power9.d <lnia> New test.
1239 * testsuite/gas/ppc/power9.s: Likewise.
1240
ea86f534
AM
12412017-03-07 Alan Modra <amodra@gmail.com>
1242
1243 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
1244
2b841ec2
AM
12452017-03-07 Tobin C. Harding <me@tobin.cc>
1246 Alan Modra <amodra@gmail.com>
1247
1248 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
1249 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
1250
603555e5
L
12512017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1252
1253 * config/tc-i386.c (cpu_arch): Add .cet.
1254 * doc/c-i386.texi: Document cet.
1255 * testsuite/gas/i386/cet-intel.d: New file.
1256 * testsuite/gas/i386/cet.d: Likewise.
1257 * testsuite/gas/i386/cet.s: Likewise.
1258 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
1259 * testsuite/gas/i386/x86-64-cet.d: Likewise.
1260 * testsuite/gas/i386/x86-64-cet.s: Likewise.
1261 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
1262
1cccfb31
L
12632017-03-06 H.J. Lu <hongjiu.lu@intel.com>
1264
1265 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
1266 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
1267
ea0de82e
AM
12682017-03-06 Alan Modra <amodra@gmail.com>
1269
1270 * dw2gencfi.c (encoding_size): Return unsigned int.
1271 (emit_expr_encoded): Assert size matches reloc bitsize.
1272 (output_fde): Use unsigned for offset_size and addr_size. Set
1273 addr_size earlier and use in place of constant 4 and uses of
1274 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
1275
9e1a8675
AM
12762017-03-06 Alan Modra <amodra@gmail.com>
1277
1278 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
1279 auto reformat. Formatting and whitespace fixes.
1280
49fced12
MW
12812017-03-05 Mark Wielaard <mark@klomp.org>
1282
1283 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
1284 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
1285 (out_debug_info): Accept symbols to name, comp_dir and producer in
1286 the .debug_str section and emit those offsets not full strings.
1287 (out_debug_str): New function that outputs the strings for name,
1288 comp_dir and producer in .debug_str and generates symbols to those
1289 strings.
1290 (out_debug_line): Create a .debug_str section if necessary and call
1291 out_debug_str before calling out_debug_info.
1292 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
1293 output.
1294
9875b365
MR
12952017-03-02 Maciej W. Rozycki <macro@imgtec.com>
1296
1297 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
1298 part of the frag has overrun the location requested.
1299
1300 * testsuite/gas/all/org-1.d: New test.
1301 * testsuite/gas/all/org-2.d: New test.
1302 * testsuite/gas/all/org-3.d: New test.
1303 * testsuite/gas/all/org-4.d: New test.
1304 * testsuite/gas/all/org-5.d: New test.
1305 * testsuite/gas/all/org-6.d: New test.
1306 * testsuite/gas/all/org-1.l: New stderr output.
1307 * testsuite/gas/all/org-2.l: New stderr output.
1308 * testsuite/gas/all/org-3.l: New stderr output.
1309 * testsuite/gas/all/org-1.s: New test source.
1310 * testsuite/gas/all/org-2.s: New test source.
1311 * testsuite/gas/all/org-3.s: New test source.
1312 * testsuite/gas/all/org-4.s: New test source.
1313 * testsuite/gas/all/org-5.s: New test source.
1314 * testsuite/gas/all/org-6.s: New test source.
1315 * testsuite/gas/all/gas.exp: Run the new tests.
1316
1317 * testsuite/gas/mips/org-1.d: New test.
1318 * testsuite/gas/mips/org-2.d: New test.
1319 * testsuite/gas/mips/org-3.d: New test.
1320 * testsuite/gas/mips/org-4.d: New test.
1321 * testsuite/gas/mips/org-5.d: New test.
1322 * testsuite/gas/mips/org-6.d: New test.
1323 * testsuite/gas/mips/org-7.d: New test.
1324 * testsuite/gas/mips/org-8.d: New test.
1325 * testsuite/gas/mips/org-9.d: New test.
1326 * testsuite/gas/mips/org-10.d: New test.
1327 * testsuite/gas/mips/org-11.d: New test.
1328 * testsuite/gas/mips/org-12.d: New test.
1329 * testsuite/gas/mips/org-1.l: New stderr output.
1330 * testsuite/gas/mips/org-4.l: New stderr output.
1331 * testsuite/gas/mips/org-5.l: New stderr output.
1332 * testsuite/gas/mips/org-6.l: New stderr output.
1333 * testsuite/gas/mips/org-10.l: New stderr output.
1334 * testsuite/gas/mips/org-1.s: New test source.
1335 * testsuite/gas/mips/org-2.s: New test source.
1336 * testsuite/gas/mips/org-3.s: New test source.
1337 * testsuite/gas/mips/org-4.s: New test source.
1338 * testsuite/gas/mips/org-5.s: New test source.
1339 * testsuite/gas/mips/org-6.s: New test source.
1340 * testsuite/gas/mips/org-7.s: New test source.
1341 * testsuite/gas/mips/org-8.s: New test source.
1342 * testsuite/gas/mips/org-9.s: New test source.
1343 * testsuite/gas/mips/org-10.s: New test source.
1344 * testsuite/gas/mips/org-11.s: New test source.
1345 * testsuite/gas/mips/org-12.s: New test source.
1346 * testsuite/gas/mips/mips.exp: Run the new tests.
1347
01cca2f9
SN
13482017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1349
1350 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1351
15c7c1d8
JB
13522017-02-28 Jan Beulich <jbeulich@suse.com>
1353
1354 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
1355 VPCMPESTR{I,M}.
1356 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
1357 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
1358 of PCMPESTR{I,M}.
1359 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
1360 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
1361 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
1362 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
1363 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
1364 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
1365 * testsuite/gas/i386/x86-64-avx.d: Likewise.
1366 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
1367 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
1368 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
1369
4ef97a1b
AM
13702017-02-28 Alan Modra <amodra@gmail.com>
1371
1372 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1373
7ba71655
AM
13742017-02-28 Alan Modra <amodra@gmail.com>
1375
1376 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
1377 (md_apply_fix): Remove fx_subsy check. Move code converting to
1378 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
1379 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
1380 that is done now by the generic code via..
1381 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
1382 (TC_VALIDATE_FIX_SUB): Define.
1383
0e392101
MR
13842017-02-28 Maciej W. Rozycki <macro@imgtec.com>
1385
1386 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
1387 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
1388 encoding patterns.
1389 * testsuite/gas/mips/jalr4-n64.d: Likewise.
1390 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
1391 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
1392 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
1393
dd803a24
AM
13942017-02-25 Alan Modra <amodra@gmail.com>
1395
1396 * testsuite/gas/elf/strtab.s: Don't put directives on first
1397 column or continuation with labels not in first column.
1398
582e12bf
RS
13992017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1400
1401 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
1402 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
1403 to be used with SVE registers.
1404 (parse_operands): Handle new SVE operands.
1405 (aarch64_features): Make "sve" require F16 rather than FP. Also
1406 require COMPNUM.
1407 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
1408 Include compnum tests.
1409 * testsuite/gas/aarch64/sve.d: Update accordingly.
1410 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
1411 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
1412 update expected output for new FMOV and MOV alternatives.
1413
f482d304
RS
14142017-02-24 Richard Sandiford <richard.sandiford@arm.com>
1415
1416 * doc/c-aarch64.texi: Add a "compnum" entry.
1417 * config/tc-aarch64.c (aarch64_features): Likewise,
1418 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
1419 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
1420
7db2c588
JB
14212017-02-24 Jan Beulich <jbeulich@suse.com>
1422
1423 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
1424 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
1425 * testsuite/gas/i386/opcode.d: Adjust accordingly.
1426 * testsuite/gas/i386/opcode-intel.d: Likewise.
1427 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
1428 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
1429
1b3cee56
SL
14302017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
1431
1432 Test cases for the architecture level aware SPARC ASI work.
1433 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
1434 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
1435 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
1436 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
1437 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
1438
c1556ecd
MR
14392017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1440
1441 * testsuite/gas/mips/jalr4.d: New test.
1442 * testsuite/gas/mips/jalr4-n32.d: New test.
1443 * testsuite/gas/mips/jalr4-n64.d: New test.
1444 * testsuite/gas/mips/jalr4.s: New test source.
1445 * testsuite/gas/mips/mips.exp: Run the new tests.
1446
1e9d41d4
SL
14472017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
1448
1449 Add support for associating SPARC ASIs with an architecture level.
1450 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
1451
946416fc
JB
14522017-02-23 Jan Beulich <jbeulich@suse.com>
1453
1454 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
1455 of symbols as expression.
1456
14572017-02-23 Jan Beulich <jbeulich@suse.com>
4c5b8d1e
JB
1458
1459 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
1460 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
1461 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
1462 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
1463
5ff6a06c
MR
14642017-02-22 Maciej W. Rozycki <macro@imgtec.com>
1465
1466 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
1467 `md_flush_pending_output'.
1468 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
1469 `md_flush_pending_output' unconditionally.
1470 * testsuite/gas/mips/debug-label-end-1.d: New test.
1471 * testsuite/gas/mips/debug-label-end-2.d: New test.
1472 * testsuite/gas/mips/debug-label-end-3.d: New test.
1473 * testsuite/gas/mips/debug-label-end.s: New test source.
1474 * testsuite/gas/mips/mips.exp: Run the new tests.
1475
25890fc2
HPN
14762017-02-22 Hans-Peter Nilsson <hp@axis.com>
1477
1478 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
1479 targets yielding an error message matching "too complex".
1480
5ffbd927
NC
14812017-02-22 Nick Clifton <nickc@redhat.com>
1482
1483 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
1484
b0c53498
JB
14852017-02-21 Jan Beulich <jbeulich@suse.com>
1486
1487 * expr.c (operand): Handle missing operand to .startof.() and
1488 .sizeof.().
1489 * testsuite/gas/all/err-sizeof.s: New.
1490
ece5dcc1
AM
14912017-02-20 Alan Modra <amodra@gmail.com>
1492
1493 PR 21118
1494 * NEWS: Revise powerpc register check.
1495 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
1496 register expression" a warning.
1497
37f9ec62
MR
14982017-02-17 Maciej W. Rozycki <macro@imgtec.com>
1499
1500 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
1501 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
1502 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
1503 * testsuite/gas/mips/aent-2.d: New test.
1504 * testsuite/gas/mips/aent-mdebug.d: New test.
1505 * testsuite/gas/mips/aent-mdebug-2.d: New test.
1506 * testsuite/gas/mips/mips.exp: Run the new tests.
1507
773fb663
RS
15082017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1509
1510 * testsuite/gas/aarch64/sve-sysreg.s,
1511 testsuite/gas/aarch64/sve-sysreg.d,
1512 testsuite/gas/aarch64/sve-sysreg-invalid.d,
1513 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
1514
7a2114e7
RS
15152017-02-15 Richard Sandiford <richard.sandiford@arm.com>
1516
1517 * doc/c-aarch64.texi: Fix sve entry.
1518
cc07cda6
CZ
15192017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
1520
1521 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
1522 information from input expression.
1523 (assemble_insn): Make sure pcrel is correctly set.
1524 (arc_pcrel_adjust): Compensate for PCL rounding.
1525 * testsuite/gas/arc/relax-add01.d: New file.
1526 * testsuite/gas/arc/relax-add01.s: Likewise.
1527 * testsuite/gas/arc/relax-add02.d: Likewise.
1528 * testsuite/gas/arc/relax-add02.s: Likewise.
1529 * testsuite/gas/arc/relax-add03.d: Likewise.
1530 * testsuite/gas/arc/relax-add03.s: Likewise.
1531 * testsuite/gas/arc/relax-add04.d: Likewise.
1532 * testsuite/gas/arc/relax-add04.s: Likewise.
1533 * testsuite/gas/arc/relax-ld01.d: Likewise.
1534 * testsuite/gas/arc/relax-ld01.s: Likewise.
1535 * testsuite/gas/arc/relax-ld02.d: Likewise.
1536 * testsuite/gas/arc/relax-ld02.s: Likewise.
1537 * testsuite/gas/arc/relax-mov01.d: Likewise.
1538 * testsuite/gas/arc/relax-mov01.s: Likewise.
1539 * testsuite/gas/arc/relax-mov02.d: Likewise.
1540 * testsuite/gas/arc/relax-mov02.s: Likewise.
1541 * testsuite/gas/arc/relax-mpy01.d: Likewise.
1542 * testsuite/gas/arc/relax-mpy01.s: Likewise.
1543 * testsuite/gas/arc/relax-sub01.d: Likewise.
1544 * testsuite/gas/arc/relax-sub01.s: Likewise.
1545 * testsuite/gas/arc/relax-sub02.d: Likewise.
1546 * testsuite/gas/arc/relax-sub02.s: Likewise.
1547 * testsuite/gas/arc/relax-sub03.d: Likewise.
1548 * testsuite/gas/arc/relax-sub03.s: Likewise.
1549 * testsuite/gas/arc/relax-sub04.d: Likewise.
1550 * testsuite/gas/arc/relax-sub04.s: Likewise.
1551
66a5a740
VG
15522017-02-09 Vineet Gupta <vgupta@synopsys.com>
1553
1554 * testsuite/gas/arc/st.d: Update for 0xe having a name now
1555
7e0de605
AM
15562017-02-14 Alan Modra <amodra@gmail.com>
1557
1558 PR 21118
1559 * NEWS: Mention powerpc register checks.
1560 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
1561 (pre_defined_registers): Delete fpscr and pmr entries. Set
1562 register type in flags.
1563 (cr_names): Set type in flags.
1564 (reg_name_search): Return pointer to struct pd_reg rather than value.
1565 (register_name): Adjust to suit. Set X_md from flags.
1566 (ppc_parse_name): Likewise.
1567 (ppc_optimize_expr): New function.
1568 (md_assemble): Verify expresion reg flags match operand.
1569 * config/tc-ppc.h (md_optimize_expr): Define.
1570 (ppc_optimize_expr): Declare.
1571
606a935e
AM
15722017-02-14 Alan Modra <amodra@gmail.com>
1573
1574 * testsuite/gas/ppc/cell.s: Correct invalid registers.
1575 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
1576 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
1577
3c6452ae
TP
15782017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1579
1580 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
1581 syntax.
1582 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
1583 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
1584
dce75bf9
NP
15852017-02-10 Nicholas Piggin <npiggin@gmail.com>
1586
1587 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
1588
73201331
MR
15892017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1590
1591 * doc/as.texinfo (Overview): Select MIPS options for man page
1592 inclusion.
1593
8b10b0b3
MR
15942017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1595
1596 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
1597 (options): Add OPTION_IGNORE_BRANCH_ISA and
1598 OPTION_NO_IGNORE_BRANCH_ISA enum values.
1599 (md_longopts): Add "mignore-branch-isa" and
1600 "mno-ignore-branch-isa" options.
1601 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
1602 OPTION_NO_IGNORE_BRANCH_ISA.
1603 (fix_bad_cross_mode_branch_p): Return FALSE if
1604 `mips_ignore_branch_isa' has been set.
1605 (md_show_usage): Add `-mignore-branch-isa' and
1606 `-mno-ignore-branch-isa'.
1607
1608 * doc/as.texinfo (Target MIPS options): Add
1609 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
1610 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
1611 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
1612 `-mno-ignore-branch-isa' options.
1613
1614 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
1615 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
1616 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
1617 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
1618 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
1619 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
1620 * testsuite/gas/mips/mips.exp: Run the new tests.
1621
7795a8f8
MR
16222017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1623
1624 * testsuite/gas/mips/branch-local-2.d: New test.
1625 * testsuite/gas/mips/branch-local-3.d: New test.
1626 * testsuite/gas/mips/branch-local-n32-2.d: New test.
1627 * testsuite/gas/mips/branch-local-n32-3.d: New test.
1628 * testsuite/gas/mips/branch-local-n64-2.d: New test.
1629 * testsuite/gas/mips/branch-local-n64-3.d: New test.
1630 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
1631 into the new tests.
1632
8ec5cf65
AD
16332017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
1634
1635 PR 21056
1636 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
1637 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
1638
de514cf3
SH
16392017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1640
1641 * configure.tgt (aarch64*-*-rtems*): Remove.
1642 (bfin-*-rtems*): Likewise.
1643 (h8300-*-rtems*): Likewise.
1644 (i386-*-rtems*): Likewise.
1645 (m32c-*-rtems*): Likewise.
1646 (m32r-*-rtems*): Likewise.
1647 (m68k-*-rtems*): Likewise.
1648 (mips-*-rtems*): Likewise.
1649 (nios2-*-rtems*): Likewise.
1650 (ppc-*-rtems*): Likewise.
1651 (sh-*-rtems*): Likewise.
1652 (sparc64-*-rtems*): Likewise.
1653 (sparc-*-rtems*): Likewise.
1654 (*-*-rtems*) Use ELF format.
1655
3e97ba8a
SH
16562017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1657
1658 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
1659
850d84f6
SH
16602017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1661
1662 * configure.tgt (sh-*-rtemscoff*): Remove.
1663
666c6aff
SH
16642017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
1665
1666 * configure.tgt (riscv*-*-*): Remove em=linux.
1667
33eaf5de
NC
16682017-01-23 Sebastian Rasmussen <sebras@gmail.com>
1669
1670 PR gas/21072
1671 * asintl.h: Fix spelling mistakes and typos.
1672 * atof-generic.c: Likewise.
1673 * bit_fix.h: Likewise.
1674 * config/atof-ieee.c: Likewise.
1675 * config/bfin-defs.h: Likewise.
1676 * config/bfin-parse.y: Likewise.
1677 * config/obj-coff-seh.h: Likewise.
1678 * config/obj-coff.c: Likewise.
1679 * config/obj-evax.c: Likewise.
1680 * config/obj-macho.c: Likewise.
1681 * config/rx-parse.y: Likewise.
1682 * config/tc-aarch64.c: Likewise.
1683 * config/tc-alpha.c: Likewise.
1684 * config/tc-arc.c: Likewise.
1685 * config/tc-arm.c: Likewise.
1686 * config/tc-avr.c: Likewise.
1687 * config/tc-bfin.c: Likewise.
1688 * config/tc-cr16.c: Likewise.
1689 * config/tc-cris.c: Likewise.
1690 * config/tc-crx.c: Likewise.
1691 * config/tc-d10v.c: Likewise.
1692 * config/tc-d30v.c: Likewise.
1693 * config/tc-dlx.c: Likewise.
1694 * config/tc-epiphany.c: Likewise.
1695 * config/tc-frv.c: Likewise.
1696 * config/tc-hppa.c: Likewise.
1697 * config/tc-i370.c: Likewise.
1698 * config/tc-i386-intel.c: Likewise.
1699 * config/tc-i386.c: Likewise.
1700 * config/tc-i960.c: Likewise.
1701 * config/tc-ia64.c: Likewise.
1702 * config/tc-m32r.c: Likewise.
1703 * config/tc-m68hc11.c: Likewise.
1704 * config/tc-m68k.c: Likewise.
1705 * config/tc-mcore.c: Likewise.
1706 * config/tc-mep.c: Likewise.
1707 * config/tc-mep.h: Likewise.
1708 * config/tc-metag.c: Likewise.
1709 * config/tc-microblaze.c: Likewise.
1710 * config/tc-mips.c: Likewise.
1711 * config/tc-mmix.c: Likewise.
1712 * config/tc-mn10200.c: Likewise.
1713 * config/tc-mn10300.c: Likewise.
1714 * config/tc-msp430.c: Likewise.
1715 * config/tc-msp430.h: Likewise.
1716 * config/tc-nds32.c: Likewise.
1717 * config/tc-nds32.h: Likewise.
1718 * config/tc-nios2.c: Likewise.
1719 * config/tc-nios2.h: Likewise.
1720 * config/tc-ns32k.c: Likewise.
1721 * config/tc-pdp11.c: Likewise.
1722 * config/tc-ppc.c: Likewise.
1723 * config/tc-pru.c: Likewise.
1724 * config/tc-rx.c: Likewise.
1725 * config/tc-s390.c: Likewise.
1726 * config/tc-score.c: Likewise.
1727 * config/tc-score7.c: Likewise.
1728 * config/tc-sh.c: Likewise.
1729 * config/tc-sh64.c: Likewise.
1730 * config/tc-sparc.c: Likewise.
1731 * config/tc-tic4x.c: Likewise.
1732 * config/tc-tic54x.c: Likewise.
1733 * config/tc-v850.c: Likewise.
1734 * config/tc-vax.c: Likewise.
1735 * config/tc-visium.c: Likewise.
1736 * config/tc-xgate.c: Likewise.
1737 * config/tc-xtensa.c: Likewise.
1738 * config/tc-z80.c: Likewise.
1739 * config/tc-z8k.c: Likewise.
1740 * config/te-vms.c: Likewise.
1741 * config/xtensa-relax.c: Likewise.
1742 * doc/as.texinfo: Likewise.
1743 * doc/c-arm.texi: Likewise.
1744 * doc/c-hppa.texi: Likewise.
1745 * doc/c-i370.texi: Likewise.
1746 * doc/c-i386.texi: Likewise.
1747 * doc/c-m32r.texi: Likewise.
1748 * doc/c-m68k.texi: Likewise.
1749 * doc/c-mmix.texi: Likewise.
1750 * doc/c-msp430.texi: Likewise.
1751 * doc/c-nds32.texi: Likewise.
1752 * doc/c-ns32k.texi: Likewise.
1753 * doc/c-riscv.texi: Likewise.
1754 * doc/c-rx.texi: Likewise.
1755 * doc/c-s390.texi: Likewise.
1756 * doc/c-tic6x.texi: Likewise.
1757 * doc/c-tilegx.texi: Likewise.
1758 * doc/c-tilepro.texi: Likewise.
1759 * doc/c-v850.texi: Likewise.
1760 * doc/c-xgate.texi: Likewise.
1761 * doc/c-xtensa.texi: Likewise.
1762 * dwarf2dbg.c: Likewise.
1763 * ecoff.c: Likewise.
1764 * itbl-ops.c: Likewise.
1765 * listing.c: Likewise.
1766 * macro.c: Likewise.
1767 * po/gas.pot: Likewise.
1768 * read.c: Likewise.
1769 * struc-symbol.h: Likewise.
1770 * symbols.h: Likewise.
1771 * testsuite/gas/arc/relocs-errors.err: Likewise.
1772 * write.c: Likewise.
1773
8069955e
NC
17742017-01-23 Nick Clifton <nickc@redhat.com>
1775
1776 * po/sv.po: Updated Swedish translation.
1777
9d46ce34
NC
17782017-01-20 Nick Clifton <nickc@redhat.com>
1779
1780 * config/tc-i386.c (parse_operands): Check for operand overflow
1781 before setting the unspecified bit.
1782
9e009953
MR
17832017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1784
1785 PR gas/20649
1786 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
1787 symbols, remove the `segtype' parameter.
1788 (mips_frob_file, md_estimate_size_before_relax): Adjust
1789 accordingly.
1790 (s_is_linkonce): Add an explanatory comment.
1791 * testsuite/gas/mips/comdat-reloc.d: New test.
1792 * testsuite/gas/mips/comdat-reloc.s: New test source.
1793 * testsuite/gas/mips/mips.exp: Run the new test.
1794
c13a63b0
SN
17952017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1796
1797 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
1798 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
1799
2cedb9eb
BR
18002017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
1801
1802 PR 21059
1803 * config/bfin-lex.l: Support processing with flex 2.6.3.
1804 * itbl-lex.l: Likewise.
1805
1ec4b9f2
NS
18062017-01-18 Nathan Sidwell <nathan@acm.org>
1807
1808 * as.h (gas_assert): Use abort.
1809 (as_assert): Remove.
1810 (signal_init): Declare.
1811 * as.c (main): Call signal_init.
1812 * messages.c: #include <signal.h>
1813 (as_assert): Delete.
1814 (as_abort): Allow NULL FILE.
1815 (signal_crash): New.
1816 (signal_init): Register fatal signal handlers.
1817 * configure.ac: Check for strsignal.
1818 * config.in: Rebuilt.
1819 * configure: Rebuilt.
1820
01fabda4 18212017-01-17 Nick Clifton <nickc@redhat.com>
6aa1df2d
NC
1822
1823 * po/sv.po: Updated Swedish translation.
1824
620214f7
IT
18252017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1826
1827 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
1828 (cpu_noarch): Add noavx512_vpopcntdq.
1829 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
1830 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
1831 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
1832 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
1833 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
1834 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
1835 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
1836 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
1837
1181551e
NC
18382017-01-12 Nick Clifton <nickc@redhat.com>
1839
1840 * read.c (temp_ilp): New function. Installs a temporary input
1841 line pointer.
1842 (restore_ilp): New function. Restores the original input line
1843 pointer.
1844 * read.h (temp_ilp): Prototype.
1845 (restore_ilp): Prototype.
1846 * stabs.c (dot_func_p): Use bfd_boolean type.
1847 (generate_asm_file): Use temp_ilp and restore_ilp.
1848 (stabs_generate_asm_lineno): Likewise.
1849 (stabs_generate_asm_endfunc): Likewise.
1850
f2e2d2f5
JS
18512017-01-11 Jeremy Soller <jackpot51@gmail.com>
1852
1853 * configure.tgt: Add entry for i386-redox.
1854
07e8e623
NC
18552017-01-10 Nick Clifton <nickc@redhat.com>
1856
1857 * po/sv.po: Updated Swedish translation.
1858
1a94eb29
TG
18592017-01-10 Tristan Gingold <gingold@adacore.com>
1860
1861 * testsuite/gas/all/sleb128-8.d: Adjust test.
1862 * testsuite/gas/all/gas.exp (test_cond): Likewise.
1863
74def31d
TG
18642017-01-10 Tristan Gingold <gingold@adacore.com>
1865
1866 * read.c (emit_leb128_expr): Extended unsigned big number for
1867 sleb128.
1868 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
1869 * testsuite/gas/all/sleb128.d: New test.
1870 * testsuite/gas/all/sleb128.s: New test source.
1871
a5ec5e3f
AW
18722017-01-09 Andrew Waterman <andrew@sifive.com>
1873
1874 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1875 against constants.
1876 (md_apply_fix): Mark relocations against constants as "done."
1877
e294484e
AW
18782017-01-09 Andrew Waterman <andrew@sifive.com>
1879
1880 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
1881 against constants.
1882 (md_apply_fix): Mark relocations against constants as "done."
1883
6ec11ab9
PD
18842017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
1885 Kito Cheng <kito.cheng@gmail.com>
1886
1887 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
1888 Removed.
1889 (SDATA_START_SYMBOLS): Likewise.
1890
20b52c88
NC
18912017-01-09 Nick Clifton <nickc@redhat.com>
1892
1893 * po/sv.po: New Swedish translation.
1894 * configure.ac (ALL_LINGUAS): Add sv.
1895 * configure: Regenerate.
1896
01156111
AW
18972017-01-09 Andrew Waterman <andrew@sifive.com>
1898
1899 * config/tc-riscv.c (relaxed_branch_length): Use the long
1900 sequence when the target is a weak symbol.
1901
d74d4880
SN
19022017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1903
1904 * config/tc-aarch64.c (aarch64_features): Add rcpc.
1905 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
1906 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
1907 * testsuite/gas/aarch64/ldst-rcpc.d: This.
1908 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
1909 * testsuite/gas/aarch64/ldst-rcpc.s: This.
1910 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
1911
10ab38d9
NJ
19122017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
1913
1914 PR gas/20992
1915 * configure.tgt: Treat sparcv9 as sparc64.
1916
cc917fd9
KC
19172017-01-03 Kito Cheng <kito.cheng@gmail.com>
1918
1919 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
1920 extension.
1921 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
1922 enabled and no other ABI is specified.
1923
ddb2c6fd
DD
19242017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
1925
1926 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
1927 valueT, as declared in tc.h.
1928 (md_apply_fix): Fix to work on 32-bit hosts.
1929
2571583a
AM
19302017-01-02 Alan Modra <amodra@gmail.com>
1931
1932 Update year range in copyright notice of all files.
1933
5c1ad6b5 1934For older changes see ChangeLog-2016
3499769a 1935\f
5c1ad6b5 1936Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
1937
1938Copying and distribution of this file, with or without modification,
1939are permitted in any medium without royalty provided the copyright
1940notice and this notice are preserved.
1941
1942Local Variables:
1943mode: change-log
1944left-margin: 8
1945fill-column: 74
1946version-control: never
1947End:
This page took 0.190202 seconds and 4 git commands to generate.