a21a03b062e9c6a1b9d91502356dbdb8da529012
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2015-10-12 Nick Clifton <nickc@redhat.com>
2
3 * config/tc-msp430.c (msp430_mcu_names): Rename to
4 msp430_mcu_data. Add fields for the ISA and hardware multiply
5 support. Update with information from the latest devices.csv
6 file.
7 (md_parse_option): Make use of the new array.
8
9 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10
11 * config/tc-avr.c (avr_output_property_record): Fix overwrite bug
12 for align and fill records.
13 (avr_handle_align): Record fill information for align frags.
14 (create_record_for_frag): Add next frag assertion, use correct
15 address for align records.
16
17 2015-10-10 Alan Modra <amodra@gmail.com>
18
19 PR gas/19113
20 * read.c (next_char_of_string): Mask char after escape. Use
21 CHAR_MASK rather than 0xff.
22
23 2015-10-07 Yao Qi <yao.qi@linaro.org>
24
25 * config/tc-aarch64.c (md_begin): Access field 'name' rather
26 than 'template'.
27
28 2015-10-07 Claudiu Zissulescu <claziss@synopsys.com>
29
30 * config/tc-arc.c: Revamped file for ARC support.
31 * config/tc-arc.h: Likewise.
32 * doc/as.texinfo: Add new ARC options.
33 * doc/c-arc.texi: Likewise.
34
35 2015-10-02 Renlin Li <renlin.li@arm.com>
36
37 * config/tc-aarch64.c (s_tlsdescadd): New.
38 (s_tlsdescldr): New.
39 (md_pseudo_table): Handle tlsdescadd and tlsdescldr pseudo ops.
40 (reloc_table): Add entries for BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC and
41 BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC.
42 (process_movw_reloc_info): Support AARCH64_TLSDESC_OFF_G1 and
43 AARCH64_TLSDESC_OFF_G0_NC.
44 (md_apply_fix): Likewise.
45 (aarch64_force_relocation): Likewise.
46
47 2015-10-02 Renlin Li <renlin.li@arm.com>
48
49 * config/tc-aarch64.c (reloc_table): Add two entries for
50 gottprel_g0_nc and gottprel_g1.
51 (process_movw_reloc_info): Add support.
52 (md_apply_fix): Likewise.
53 (aarch64_force_relocation): Likewise.
54
55 2015-10-02 Renlin Li <renlin.li@arm.com>
56
57 * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g0_nc.
58 (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
59 (md_apply_fix): Likewise.
60 (aarch64_force_relocation): Likewise.
61
62 2015-10-02 Renlin Li <renlin.li@arm.com>
63
64 * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g1.
65 (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
66 (md_apply_fix): Likewise.
67 (aarch64_force_relocation): Likewise.
68
69 2015-10-02 Renlin Li <renlin.li@arm.com>
70
71 * config/tc-aarch64.c (reloc_table): New relocation modifier
72 gotoff_g0_nc.
73 (process_movw_reloc_info): Support gotoff_g0_nc.
74 (md_apply_fix): Likewise.
75
76 2015-10-02 Renlin Li <renlin.li@arm.com>
77
78 * config/tc-aarch64.c (reloc_table): New relocation modifier
79 gotoff_g1.
80 (process_movw_reloc_info): Support newly added modifier.
81 (md_apply_fix): Likewise.
82
83 2015-09-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
84
85 * doc/c-s390.texi: Add documentation.
86 Add missing code markup.
87 * config/tc-s390.c (current_flags): New static variable.
88 (s390_parse_cpu): Parse cpu flags a la "+nohtm" etc.
89 (s390_setup_opcodes): Use cpu flags to determine the set of opcodes.
90 Fix indentation.
91 (md_parse_option): Call s390_parse_cpu with the new signature.
92 (s390_machine): Likewise.
93 Keep track of current_flags.
94 Simplify code a bit.
95 undefine MAX_HISTORY at end of function.
96 (s390_machinemode): undefine MAX_HISTORY at end of function.
97 Update an error message.
98
99 2015-08-11 Peter Zotov <whitequark@whitequark.org>
100
101 PR ld/18759
102 * config/tc-or1k.c (tc_gen_reloc): Correct computation of PC
103 relative relocs.
104 * config/tc-or1k.h (GAS_CGEN_PRCEL_R_TYPE): Delete.
105
106 2015-09-25 Ryo ONODERA <ryo_on@yk.rim.or.jp>
107
108 PR 18994
109 * configure.ac (nds32): Don't use bash == in tests.
110 * configure: Regenerate.
111
112 2015-09-23 Nick Clifton <nickc@redhat.com>
113
114 * config/tc-ppc.c (insn_validate): Cast PPC_OPSHIFT_INV to an int.
115
116 2015-09-22 Nick Clifton <nickc@redhat.com>
117
118 * config/tc-rx.c (nop_7): Recode using MAX.
119
120 2015-09-05 Chen Gang <gang.chen.5i5j@gmail.com>
121
122 * config/tc-avr.c (md_section_align): Append UL for -1 to avoid
123 the latest gcc's warning.
124
125 2015-08-27 Alan Modra <amodra@gmail.com>
126
127 PR gas/18581
128 * config/tc-aarch64.h (TC_START_LABEL): Redefine.
129 * config/tc-arm.c (tc_start_label_without_colon): Delete params.
130 Use input_line_pointer directly.
131 * config/tc-arm.h (TC_START_LABEL): Redefine.
132 (TC_START_LABEL_WITHOUT_COLON): Redefine.
133 (tc_start_label_without_colon): Update prototype.
134 * config/tc-bfin.c (bfin_start_label): Delete ptr param. Check
135 for NUL instead.
136 * config/tc-bfin.h (bfin_start_label): Update prototype.
137 (TC_START_LABEL): Redefine.
138 * config/tc-d30v.h (TC_START_LABEL): Redefine.
139 * config/tc-fr30.c (restore_colon): Rewrite.
140 (fr30_is_colon_insn): Add nul_char param. Return int. Bump
141 i_l_p over quote. Update restore_colon calls.
142 * config/tc-fr30.h (TC_START_LABEL): Redefine.
143 (fr30_is_colon_insn): Update prototype.
144 * config/tc-m32c.c (restore_colon, m32c_is_colon_insn): As above.
145 * config/tc-m32c.h (TC_START_LABEL): Redefine.
146 (m32c_is_colon_insn): Update prototype.
147 * config/tc-m32r.h (TC_START_LABEL): Redefine.
148 * config/tc-mep.h (TC_START_LABEL): Redefine.
149 * config/tc-nds32.h (TC_START_LABEL): Redefine.
150 * config/tc-tic54x.c (tic54x_start_label): Replace params with
151 nul_char and next_char. Step over trailing quote.
152 * config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Redefine.
153 (tic54x_start_label): Update prototype.
154 * read.c (TC_START_LABEL): Redefine. Update invocation.
155 (TC_START_LABEL_WITHOUT_COLON): Update invocation.
156 * config/tc-nios2.c (s_nios2_set): Save initial input_line_pointer
157 and restore if calling s_set. Don't restore delim again.
158
159 2015-08-26 Alan Modra <amodra@gmail.com>
160
161 PR gas/18581
162 * config/tc-mn10200.c (md_assemble <mdr>): Move restore_line_pointer
163 call to where input line used to be restored.
164 * config/tc-mn10300.c (md_assemble <usp>): Remove redundant input
165 line restore.
166 * config/tc-tilepro.c (parse_reg_expression): Add regname var.
167
168 2015-08-26 Nick Clifton <nickc@redhat.com>
169
170 PR gas/18842
171 * configure.ac (AS_CHECK_DECLS): Add asprintf.
172 * configure: Regenerate.
173 * config.in: Regenerate.
174
175 2015-08-25 Jose E. Marchesi <jose.marchesi@oracle.com>
176
177 * config/tc-sparc.c (priv_reg_table): New privileged register
178 %pmcdper.
179
180 2015-08-21 Nick Clifton <nickc@redhat.com>
181
182 PR gas/18581
183 * expr.c (get_symbol_end): Rename to get_symbol_name. Add a
184 return parameter pointing to the start of the symbol. Allow
185 symbol names enclosed in double quotes.
186 (restore_line_pointer): New function. Replace the NUL character
187 inserted into the input stream with the given character. If the
188 character was a double quote, advance the input pointer.
189 * expr.h (get_symbol_end): Delete.
190 (get_symbol_name): Add prototype.
191 (restore_line_pointer): Prototype.
192 * read.h (SKIP_WHITESPACE_AFTER_NAME): New macro.
193 * doc/as.texinfo (Symbol Intro): Document that symbol names can
194 now be enclosed in double quotes.
195 * cond.c (s_ifdef): Replace get_symbol_end with get_symbol_name.
196 Use restore_line_pointer to replace the NUL in the input stream.
197 Use SKIP_WHITESPACE_AFTER_NAME to skip past the end of a symbol.
198 Check for the use of double quoted symbol names.
199 * expr.c: Likewise.
200 * config/obj-aout.c: Likewise.
201 * config/obj-coff-seh.c: Likewise.
202 * config/obj-coff.c: Likewise.
203 * config/obj-elf.c: Likewise.
204 * config/obj-evax.c: Likewise.
205 * config/obj-macho.c: Likewise.
206 * config/obj-som.c: Likewise.
207 * config/tc-alpha.c: Likewise.
208 * config/tc-arc.c: Likewise.
209 * config/tc-arm.c: Likewise.
210 * config/tc-dlx.c: Likewise.
211 * config/tc-h8300.c: Likewise.
212 * config/tc-hppa.c: Likewise.
213 * config/tc-i370.c: Likewise.
214 * config/tc-i386-intel.c: Likewise.
215 * config/tc-i386.c: Likewise.
216 * config/tc-i960.c: Likewise.
217 * config/tc-ia64.c: Likewise.
218 * config/tc-iq2000.c: Likewise.
219 * config/tc-m32r.c: Likewise.
220 * config/tc-m68hc11.c: Likewise.
221 * config/tc-m68k.c: Likewise.
222 * config/tc-microblaze.c: Likewise.
223 * config/tc-mips.c: Likewise.
224 * config/tc-mmix.c: Likewise.
225 * config/tc-mn10200.c: Likewise.
226 * config/tc-mn10300.c: Likewise.
227 * config/tc-nios2.c: Likewise.
228 * config/tc-ppc.c: Likewise.
229 * config/tc-s390.c: Likewise.
230 * config/tc-score.c: Likewise.
231 * config/tc-score7.c: Likewise.
232 * config/tc-sparc.c: Likewise.
233 * config/tc-tic4x.c: Likewise.
234 * config/tc-tic54x.c: Likewise.
235 * config/tc-tic6x.c: Likewise.
236 * config/tc-tilegx.c: Likewise.
237 * config/tc-tilepro.c: Likewise.
238 * config/tc-v850.c: Likewise.
239 * config/tc-xtensa.c: Likewise.
240 * config/tc-z80.c: Likewise.
241 * dw2gencfi.c: Likewise.
242 * dwarf2dbgc.: Likewise.
243 * ecoff.c: Likewise.
244 * read.c: Likewise.
245 * stabs.c: Likewise.
246
247 2015-08-19 Jiong Wang <jiong.wang@arm.com>
248
249 * config/tc-aarch64.c (reloc_table): New relocation types support for
250 dtprel_lo12.
251 (ldst_lo12_determine_real_reloc_type): Support
252 BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
253 BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
254 BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
255 BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
256 BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
257 BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
258 BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
259 BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC.
260 (parse_operands): Likewise.
261 (md_apply_fix): Likewise.
262 (aarch64_force_relocation): Likewise.
263 (process_movw_reloc_info): Likewise.
264
265 2015-08-19 Jiong Wang <jiong.wang@arm.com>
266
267 * config/tc-aarch64.c (reloc_table): New relocation modifiers,
268 "dtprel_hi12", "dtprel_g0", "dtprel_g0_nc", "dtprel_g1",
269 "dtprel_g1_nc", "dtprel_g2".
270 (md_apply_fix): Support new relocation types.
271 (aarch64_force_relocation): Likewise.
272 (process_movw_reloc_info): Likewise.
273
274 2015-08-19 Jiong Wang <jiong.wang@arm.com>
275
276 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
277 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
278 (aarch64_force_relocation): Likewise.
279
280 2015-08-17 Alan Modra <amodra@gmail.com>
281
282 * gas/config/tc-arm.c (s_align): Delete.
283 (md_pseudo_table): Use s_align_ptwo for "align".
284 * gas/config/tc-arm.h (TC_ALIGN_ZERO_IS_DEFAULT): Define.
285 * read.c (s_align): Modify for TC_ALIGN_ZERO_IS_DEFAULT.
286
287 2015-08-13 Alan Modra <amodra@gmail.com>
288
289 * expr.c (operand): Rewrite handling of operands starting with "0f".
290 If atof_generic only parses "-" or "+", treat as expression.
291
292 2015-08-13 Alan Modra <amodra@gmail.com>
293 DJ Delorie <dj@redhat.com>
294
295 * expr.c (integer_constant): Return O_absent expression if eol.
296 (operand): For targets with both LOCAL_LABELS_FB and
297 NUMBERS_WITH_SUFFIX set, treat "0b" not followed by binary
298 digits as a local label reference. Correct handling of 0b prefix.
299 If a suffix is not allowed, error on 0B.
300
301 2015-08-13 Alan Modra <amodra@gmail.com>
302
303 * doc/as.texinfo (Local Labels): Allowed range of N in local
304 labels is non-negative integers, not positive integers.
305
306 2015-08-12 David Weatherford <weath@cadence.com>
307
308 * config/tc-xtensa.c (struct litpool_frag, struct litpool_seg):
309 New structures.
310 (xtensa_maybe_create_literal_pool_frag): New function.
311 (litpool_seg_list, auto_litpools, auto_litpool_limit)
312 (litpool_buf, litpool_slotbuf): New static variables.
313 (option_auto_litpools, option_no_auto_litpools)
314 (option_auto_litpool_limit): New enum identifiers.
315 (md_longopts): Add entries for auto-litpools, no-auto-litpools
316 and auto-litpool-limit.
317 (md_parse_option): Handle option_auto_litpools,
318 option_no_auto_litpools and option_auto_litpool_limit.
319 (md_show_usage): Add help for --[no-]auto-litpools and
320 --auto-litpool-limit.
321 (xtensa_mark_literal_pool_location): Record a place for literal
322 pool with a call to xtensa_maybe_create_literal_pool_frag.
323 (get_literal_pool_location): Find highest priority literal pool
324 or convert candidate to literal pool when auto-litpools are used.
325 (xg_assemble_vliw_tokens): Create literal pool after jump
326 instruction.
327 (xtensa_check_frag_count): Create candidate literal pool every
328 auto_litpool_limit frags.
329 (xtensa_relax_frag): Add jump around literals to non-empty
330 literal pool.
331 (xtensa_move_literals): Estimate literal pool addresses and move
332 unreachable literals closer to their users, converting candidate
333 to literal pool if needed.
334 (xtensa_switch_to_non_abs_literal_fragment): Only emit error
335 about missing .literal_position in case auto-litpools are not
336 used.
337 * config/tc-xtensa.h (xtensa_relax_statesE): New relaxation
338 state: RELAX_LITERAL_POOL_CANDIDATE_BEGIN.
339 * doc/as.texinfo (Xtensa options): Document --auto-litpools and
340 --no-auto-litpools options.
341 * doc/c-xtensa.texi (Xtensa options): Likewise.
342
343 2015-08-12 Simon Dardis <simon.dardis@imgtec.com>
344
345 * config/tc-mips.c (move_register): Change to use 'or' only.
346 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
347 use or for move.
348
349 2015-08-11 Jiong Wang <jiong.wang@arm.com>
350
351 * config/tc-aarch64.c (reloc_table): New relocation modifiers
352 "dtprel_lo12".
353 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
354 (aarch64_force_relocation): Likewise.
355
356 2015-08-11 Jiong Wang <jiong.wang@arm.com>
357
358 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
359 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
360 (aarch64_force_relocation): Likewise.
361
362 2015-08-11 Jiong Wang <jiong.wang@arm.com>
363
364 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
365 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
366 (aarch64_force_relocation): Likewise.
367
368 2015-08-11 Nick Clifton <nickc@redhat.com>
369
370 PR gas/18765
371 * config/tc-arm.c (move_or_literal_pool): Use U suffix to remove
372 compile time warnings about constant expressions being shifted
373 into bit 31.
374 (do_iwmmxt_wldstd): Likewise.
375 (do_iwmmxt_wrwrwr_or_imm5): Likewise.
376 (md_assemble): Likewise.
377
378 PR gas/18574
379 * config/tc-msp430.c (msp430_operands): Rewrite if statements to
380 remove redundant checks.
381 (md_apply_fix): Likewise.
382
383 PR gas/18677
384 * config/tc-mmix.c (md_assemble): Fix typo checking operands with
385 a numeric constant value.
386
387 PR gas/18678
388 * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
389
390 PR gas/18679
391 * config/xtensa-relax.c (same_operand_name): Fix typo.
392
393 2015-08-08 Hans-Peter Nilsson <hp@axis.com>
394
395 * tc-arm.c (double_to_single, is_double_a_single): Append ULL to
396 0xFFFFFFFFFFFFF to avoid errors on 32-bit hosts.
397
398 2015-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
399
400 * doc/c-aarch64.texi (.xword): Document directive.
401
402 2015-08-03 Nick Clifton <nickc@redhat.com>
403
404 * doc/as.texinfo (Overview): Add --hash-size to the synopsis and
405 fix typo in its entry: @kindex -> @item.
406
407 2015-07-28 Robert Suchanek <robert.suchanek@imgtec.com>
408
409 * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
410 * doc/c-mips.texi: Document m5100 and m5101 for -march=.
411
412 2015-07-28 Robert Suchanek <robert.suchanek@imgtec.com>
413
414 * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
415 * doc/c-mips.text: Document -march=interaptiv.
416
417 2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
418
419 * configure: Regenerated.
420
421 2015-07-24 Nick Clifton <nickc@redhat.com>
422
423 * config/tc-rl78.c (rl78_abs_sym): New local variable.
424 (md_begin): Initialise the new symbol.
425 (OPIMM): Define the value to be relative to the new symbol and not
426 the absolute section symbol.
427
428 2015-07-22 Alan Modra <amodra@gmail.com>
429
430 PR gas/18687
431 * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
432 loop. Don't drop lines at end of file lacking a newline, add a
433 newline instead. Ensure partial_size is zero whenever
434 partial_where is NULL. Adjust buffer size for extra char.
435 (input_scrub_push, input_scrub_begin): Adjust buffer size here too.
436
437 2015-07-20 Matthew Wahab <matthew.wahab@arm.com>
438
439 * NEWS: Mention corrected spelling of armv6kz.
440 * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
441 ARM_ARCH_V6KZ.
442 (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
443 * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
444
445 2015-07-16 Jiong Wang <jiong.wang@arm.com>
446
447 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
448 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
449 (aarch64_force_relocation): Ditto.
450
451 2015-07-16 Matthew Wahab <matthew.wahab@arm.com>
452
453 * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
454 * doc/c-arm.texi (-mfpu=): Likewise. Correct the entry for
455 neon-fp-armv8.1.
456
457 2015-07-16 James Greenhalgh <james.greenhalgh@arm.com>
458
459 * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
460 not support ARM mode" error messages.
461
462 2015-07-15 H.J. Lu <hongjiu.lu@intel.com>
463
464 * config/tc-i386.c (flag_compress_debug): Replace
465 COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
466
467 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
468
469 * as.c (parse_args): Make --compress-debug-sections and
470 --compress-debug-sections=zlib the same as
471 --compress-debug-sections=zlib-gabi.
472 * doc/as.texinfo: Change --compress-debug-sections and
473 --compress-debug-sections=zlib to zlib-gabi.
474
475 2015-07-09 Catherine Moore <clm@codesourcery.com>
476
477 * config/tc-mips.c (check_fpabi): Handle
478 VAL_GNU_MIPS_ABI_FP_NAN2008.
479
480 2015-07-08 Ciro Santilli <ciro.santilli@gmail.com>
481
482 * doc/as.texinfo: Clarify case requirements for pseudo ops.
483
484 2015-07-08 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
485
486 * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
487 32 bit PC relative and update offset if the fixup is pc-relative.
488 * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
489 relocs.
490
491 2015-07-03 Alan Modra <amodra@gmail.com>
492
493 * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
494 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
495
496 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
497 Cesar Philippidis <cesar@codesourcery.com>
498
499 * config/tc-nios2.c (nios2_min_align): New.
500 (nop): Replace with....
501 (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
502 (nios2_align): Handle alignment on 2-byte boundaries when CDX
503 instructions may be present.
504 (s_nios2_align): Adjust reference to nop.
505 (CDXBRANCH, IS_CDXBRANCH): New.
506 (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
507 (nios2_relax_subtype_size): Handle 2-byte CDX branches.
508 (nios2_relax_frag): Likewise.
509 (md_convert_frag): Handle R2 encodings.
510 (nios2_check_overflow): Check that low-order bits are zero
511 before applying rightshift from howto.
512 (nios2_check_overflow): Correct negative overflow calculation.
513 (nios2_diagnose_overflow): Handle signed_immed12_overflow. Issue
514 generic overflow messages for miscellaneous instruction formats.
515 (md_apply_fix): Recognize new R2 relocations. For pc_relative
516 relocations, store fixup in *valP.
517 (nios2_reglist_mask, nios2_reglist_dir): New.
518 (nios2_parse_reglist): New.
519 (nios2_parse_base_register): New.
520 (nios2_assemble_expression): Handle constant expressions designated
521 by BFD_RELOC_NONE.
522 (nios2_assemble_reg3): New.
523 (nios2_assemble_arg_c): Handle R2 instruction formats.
524 (nios2_assemble_arg_d): Likewise.
525 (nios2_assemble_arg_s): Likewise.
526 (nios2_assemble_arg_t): Likewise.
527 (nios2_assemble_arg_D): New.
528 (nios2_assemble_arg_S): New.
529 (nios2_assemble_arg_T): New.
530 (nios2_assemble_arg_i): Handle R2 instruction formats.
531 (nios2_assemble_arg_I): New.
532 (nios2_assemble_arg_u): Handle R2 instruction formats.
533 (nios2_assemble_arg_U): New.
534 (nios2_assemble_arg_V): New.
535 (nios2_assemble_arg_W): New.
536 (nios2_assemble_arg_X): New.
537 (nios2_assemble_arg_Y): New.
538 (nios2_assemble_arg_o): Handle R2 instruction formats.
539 (nios2_assemble_arg_O): New.
540 (nios2_assemble_arg_P): New.
541 (nios2_assemble_arg_j): Handle R2 instruction formats.
542 (nios2_assemble_arg_k): New.
543 (nios2_assemble_arg_l): Handle R2 instruction formats.
544 (nios2_assemble_arg_m): Likewise.
545 (nios2_assemble_arg_M): New.
546 (nios2_assemble_arg_N): New.
547 (nios2_assemble_arg_e): New.
548 (nios2_assemble_arg_f): New.
549 (nios2_assemble_arg_g): New.
550 (nios2_assemble_arg_h): New.
551 (nios2_assemble_arg_R): New.
552 (nios2_assemble_arg_B): New.
553 (nios2_assemble_args): Handle new argument letters.
554 (nios2_consume_arg): Likewise.
555 (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
556 in error message.
557 (nios2_ps_insn_info_structs): Add nop.n.
558 (output_ubranch): Handle CDX branches.
559 (output_cbranch): Likewise.
560 (output_call): Handle R2 encodings.
561 (output_movia): Likewise.
562 (md_begin): Initialize nios2_min_align.
563 (md_assemble): Align to nios2_min_align. Adjust nios2_min_align
564 if a 16-bit instruction is seen.
565 (nios2_cons_align): Use appropriate nop pattern.
566
567 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
568 Cesar Philippidis <cesar@codesourcery.com>
569
570 * config/tc-nios2.c: Adjust includes.
571 (OPTION_MARCH): Define.
572 (md_longopts): Add -march option.
573 (nios2_architecture): New.
574 (nios2_use_arch): New.
575 (md_parse_option): Handle OPTION_MARCH.
576 (md_show_usage): Document -march.
577 (md_begin): Set arch in BFD.
578 (nios2_elf_final_processing): New.
579 * config/tc-nios2.h (elf_tc_final_processing): Define.
580 (nios2_elf_final_processing): New.
581 * doc/c-nios2.texi (-march): Add documentation.
582
583 2015-06-30 Amit Pawar <Amit.Pawar@amd.com>
584
585 * config/tc-i386.c (cpu_arch): Add .mwaitx.
586 (process_immext): Check operands for monitorx/mwaitx instructions.
587 * doc/c-i386.texi: Document mwaitx.
588
589 2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
590
591 * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
592 COMPRESS_DEBUG_GNU_ZLIB.
593 * config/tc-i386.c (flag_compress_debug): Likewise.
594
595 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
596
597 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
598
599 2015-06-19 Peter Bergner <bergner@vnet.ibm.com>
600
601 * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
602 Allow for optional operands without insert functions.
603
604 2015-06-18 Nick Clifton <nickc@redhat.com>
605
606 PR gas/18541
607 * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
608 mode against a nearby symbol.
609
610 2015-06-18 Nick Clifton <nickc@redhat.com>
611
612 PR gas/18481
613 * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
614 in the same case as BFD_RELOC_ARM_TLS_IS32.
615
616 2015-06-17 Nick Clifton <nickc@redhat.com>
617
618 * config/tc-arm.c (is_double_a_single): Make conditional upon the
619 availablity of a 64-bit type. Use this type for the argument and
620 mantissa.
621 (double_to_single): Likewise.
622 * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
623 the constant value, if available. Generate a 64-bit value from a
624 bignum if supported. Only perform the second optimization for
625 PR 18500 if the 64-bit type is available.
626
627 2015-06-17 Alessandro Marzocchi <alessandro.marzocchi@gmail.com>
628
629 PR gas/18500
630 * config/tc-arm.c (is_double_a_single): New function.
631 (double_to_single): New function.
632 (move_or_literal_pool): Add support for converting VLDR to VMOV.
633
634 PR gas/18499
635 * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
636 to MOV.w or MVN.w for Thumb2.
637
638 2015-06-17 Nicolas Pitre <nico@linaro.org>
639
640 * as.c (show_usage): Document --sectname-subst.
641 (parse_args): Add --sectname-subst.
642 * as.h (flag_sectname_subst): New.
643 * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
644 * doc/as.texinfo: Document it.
645
646 2015-06-15 Renlin Li <renlin.li@arm.com>
647
648 * config/tc-aarch64.c (reloc_table): New relocation modifier.
649 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
650 (aarch64_force_relocation): Ditto
651
652 2015-06-13 Mark Wielaard <mjw@redhat.com>
653
654 * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
655 out_debug_aranges depends on it.
656 (out_debug_aranges): Track size of header to properly pad header
657 for address alignment.
658
659 2015-06-11 John David Anglin <danglin@gcc.gnu.org>
660
661 PR gas/18427
662 * gas/config/tc-hppa.c (last_label_symbol): Declare.
663 (pa_get_label): Return last label in current space/segment or NULL.
664 (pa_define_label): Record last label and add to root.
665 (pa_undefine_label): Remove last label from root.
666
667 2015-06-08 Nick Clifton <nickc@redhat.com>
668
669 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
670
671 2015-06-04 Matthew Wahab <matthew.wahab@arm.com>
672
673 * NEWS: Mention ARMv8.1 support in the Aarch64 port.
674 * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
675 * doc/c-aarch64.texi (-march): Add "armv8.1-a".
676
677 2015-06-04 Renlin Li <renlin.li@arm.com>
678
679 * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
680 when available.
681
682 2015-06-04 Nick Clifton <nickc@redhat.com>
683
684 * config/tc-h8300.c (md_section_align): Fix compile time warning
685 about left shifting a negative value.
686
687 2015-06-03 Matthew Wahab <matthew.wahab@arm.com>
688
689 * config/tc-arm.c (arm_archs): Add "armv8.1-a".
690 * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
691 * NEWS: Mention ARMv8.1 support.
692
693 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
694
695 * config/tc-arm.c (arm_ext_pan): New.
696 (do_setpan): New, encode an ARM SETPAN instruction.
697 (do_t_setpan): New, encode a Thumb SETPAN instruction.
698 (insns): Add "setpan".
699 (arm_extensions): Add "pan".
700 * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
701 extensions.
702
703 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
704
705 * config/tc-aarch64.c (aarch64_features): Add "rdma".
706 * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
707
708 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
709
710 * config/tc-aarch64.c (aarch64_features): Add "lor".
711 * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
712 architecture extensions.
713
714 2015-06-01 Matthew Wahab <matthew.wahab@arm.com>
715
716 * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target
717 support. Fix whitespace.
718 (parse_operands): Update for parse_sys_reg changes.
719 (aarch64_features): Add "pan".
720 * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
721
722 2015-06-01 Jiong Wang <jiong.wang@arm.com>
723
724 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
725 (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
726 (aarch64_force_relocation): Ditto.
727
728 2015-06-01 Jiong Wang <jiong.wang@arm.com>
729
730 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
731 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
732 (aarch64_force_relocation): Ditto.
733
734 2015-05-28 Catherine Moore <clm@codesourcery.com>
735 Bernd Schmidt <bernds@codesourcery.com>
736 Paul Brook <paul@codesourcery.com>
737
738 gas/
739 * config/tc-alpha.c (all_cfi_sections): Declare.
740 (s_alpha_ent): Initialize all_cfi_sections.
741 (alpha_elf_md_end): Invoke cfi_set_sections.
742 * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
743 (s_ehword): Use BFD_RELOC_32_PCREL.
744 (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
745 (mips_cfi_reloc_for_encoding): New function.
746 * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
747 (DWARF2_FDE_RELOC_ENCODING): Define.
748 (tc_cfi_reloc_for_encoding): Define.
749 (mips_cfi_reloc_for_encoding): Define.
750 (tc_compact_eh_opcode_stop): Define.
751 (tc_compact_eh_opcode_pad): Define.
752 * doc/as.texinfo: Document Compact EH extensions.
753 * doc/internals.texi: Likewise.
754 * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
755 (tc_cfi_reloc_for_encoding): Provide default.
756 (compact_eh): Declare.
757 (emit_expr_encoded): New function.
758 (get_debugseg_name): Add Compact EH support.
759 (alloc_debugseg_item): Likewise.
760 (cfi_set_sections): New function.
761 (dot_cfi_fde_data): New function.
762 (dot_cfi_personality_id): New function.
763 (dot_cfi_inline_lsda): New function.
764 (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
765 and cfi_inline_lsda.
766 (dot_cfi_personality): Add Compact EH support.
767 (dot_cfi_lsda): Likewise.
768 (dot_cfi_sections): Likewise.
769 (dot_cfi_startproc): Likewise.
770 (get_cfi_seg): Likewise.
771 (output_compact_unwind_data): New function.
772 (output_cfi_insn): Add Compact EH support.
773 (output_cie): Likewise.
774 (output_fde): Likewise.
775 (cfi_finish): Likewise.
776 (cfi_emit_eh_header): New function.
777 (output_eh_header): New function.
778 * dw2gencfi.h (cfi_set_sections): Declare.
779 (SUPPORT_COMPACT_EH): Define.
780 (MULTIPLE_FRAME_SECTIONS): Define.
781 New enumeration to describe the Compact EH header format.
782 (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
783 eh_data, eh_loc and sections.
784 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
785 CFI_EMIT_eh_frame_compact): Define.
786
787 2015-05-26 Max Filippov <jcmvbkbc@gmail.com>
788
789 * config/tc-xtensa.c (xtensa_move_literals): Check that
790 search_frag is non-NULL. Report error if literal frag is not
791 found.
792
793 2015-05-22 Nick Clifton <nickc@redhat.com>
794
795 PR gas/18446
796 * read.c (output_big_sleb128): Use U suffix to prevent compile
797 time warning.
798
799 2015-05-19 Jiong Wang <jiong.wang@arm.com>
800
801 * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
802 labels alphabetically.
803 (md_apply_fix): Ditto.
804 (aarch64_force_relocation): Ditto.
805
806 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
807
808 PR binutis/18386
809 * config/tc-i386.c (OPTION_MAMD64): New.
810 (OPTION_MINTEL64): Likewise.
811 (md_longopts): Add -mamd64 and -mintel64.
812 (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
813 (md_show_usage): Add -mamd64 and -mintel64.
814 * doc/c-i386.texi: Document -mamd64 and -mintel64.
815
816 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
817
818 * config/tc-i386.c (shared): New.
819 (OPTION_MSHARED): Likewise.
820 (elf_symbol_resolved_in_segment_p): Add relocation argument.
821 Check PLT relocations and shared.
822 (md_estimate_size_before_relax): Pass fragP->fr_var to
823 elf_symbol_resolved_in_segment_p.
824 (md_longopts): Add -mshared.
825 (md_show_usage): Likewise.
826 (md_parse_option): Handle OPTION_MSHARED.
827 * doc/c-i386.texi: Document -mshared.
828
829 2015-05-14 H.J. Lu <hongjiu.lu@intel.com>
830
831 * write.c (compress_debug): Don't write the zlib header, which
832 is handled by bfd_update_compression_header.
833
834 2015-05-13 Max Filippov <jcmvbkbc@gmail.com>
835
836 * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
837 closer than J_RANGE / 2 to jump frag.
838
839 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
840
841 * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
842 * config/tc-i386.c (i386_mach): Support iamcu.
843 (i386_target_format): Likewise.
844
845 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
846
847 * config/tc-i386.c (cpu_arch): Add iamcu.
848 (i386_align_code): Handle PROCESSOR_IAMCU.
849 (i386_arch): Likewise.
850 (i386_mach): Likewise.
851 (i386_target_format): Likewise.
852 (valid_iamcu_cpu_flags): New function.
853 (check_cpu_arch_compatible): Only allow Intel MCU instructions
854 when targeting Intel MCU.
855 (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
856 are valid for Intel MCU.
857 (md_parse_option): Likewise.
858 * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
859 (processor_type): Add PROCESSOR_IAMCU.
860 * doc/c-i386.texi: Document iamcu.
861
862 2015-05-08 Nick Clifton <nickc@redhat.com>
863
864 PR gas/18347
865 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
866 * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move
867 the symbol name checking code to here from...
868 (md_undefined_symbo): ... here.
869
870 2015-05-07 H.J. Lu <hongjiu.lu@intel.com>
871
872 * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
873 (md_estimate_size_before_relax): Use it.
874
875 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
876
877 * config/tc-sparc.c: Typo in comment fixed.
878
879 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
880
881 * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
882 condition codes
883 * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
884
885 2015-05-06 Nick Clifton <nickc@redhat.com>
886
887 * doc/as.texinfo (Dollar Local Labels): Note that these are only
888 supported on some targets.
889
890 2015-05-06 Renlin Li <renlin.li@arm.com>
891
892 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
893
894 2015-05-05 Renlin Li <renlin.li@arm.com>
895
896 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
897 symbols.
898
899 2015-05-05 Nick Clifton <nickc@redhat.com>
900
901 * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
902 (msp430_make_init_symbols): New function.
903 (msp430_section): Call it.
904 (msp430_frob_section): Likewise.
905
906 2015-05-02 Max Filippov <jcmvbkbc@gmail.com>
907
908 * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
909 (struct cached_fixup, struct fixup_cache): New structures.
910 (fixup_order, xtensa_make_cached_fixup),
911 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
912 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
913 (xtensa_add_cached_fixup): New functions.
914 (xtensa_relax_frag): Cache fixups pointing at potentially
915 oversized jumps at the beginning of every relaxation pass. Only
916 check subset of this cache in the reach of single jump from the
917 trampoline frag currently being relaxed.
918
919 2015-05-01 Nick Clifton <nickc@redhat.com>
920
921 * config/rl78-parse.y (MULU): Remove ISA_G14.
922 (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
923
924 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
925
926 * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
927 * config/tc-i386.h (md_end): Likewise.
928 (i386_elf_emit_arch_note): Likewise.
929
930 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
931
932 * configure.tgt: Support i386-*-elf*.
933
934 2015-04-30 DJ Delorie <dj@redhat.com>
935
936 * config/rl78-defs.h (rl78_isa_g10): New.
937 (rl78_isa_g13): New.
938 (rl78_isa_g14): New.
939 * config/rl78-parse.y (ISA_G10): New.
940 (ISA_G13): New.
941 (ISA_G14): New.
942 (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
943 * config/tc-rl78.c (rl78_isa_g10): New.
944 (rl78_isa_g13): New.
945 (rl78_isa_g14): New.
946
947 2015-04-30 H.J. Lu <hongjiu.lu@intel.com>
948
949 * config/tc-i386.c (i386_target_format): Use "else if" on
950 cpu_arch_isa.
951
952 2015-04-30 Nick Clifton <nickc@redhat.com>
953
954 PR gas/18347
955 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
956 (if enabled) when the user creates a symbol with the same name as
957 an ARM instruction.
958 (flag_warn_syms): New static variable.
959 (arm_opts): Add mwarn-syms and mno-warn-syms.
960 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
961 options.
962
963 PR gas/18353
964 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
965
966 2015-04-29 Nick Clifton <nickc@redhat.com>
967
968 PR 18256
969 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
970 if the operand is neither a register nor a vector.
971
972 2015-04-29 Nick Clifton <nickc@redhat.com>
973
974 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
975 times if the expression is not constant and the target uses linker
976 relaxation.
977
978 2015-04-28 Renlin Li <renlin.li@arm.com>
979
980 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
981
982 2015-04-28 Nick Clifton <nickc@redhat.com>
983
984 PR 18313
985 * cond.c (s_if): Stop compile time warning about stopc being used
986 before it is set.
987 (s_ifc): Likewise.
988
989 2015-04-27 Renlin Li <renlin.li@arm.com>
990
991 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
992 section.
993 (md_assemble): Likewise, move the align code outside the loop.
994
995 2015-04-24 Jim Wilson <jim.wilson@linaro.org>
996
997 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
998 for thunderx.
999
1000 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
1001
1002 * config/tc-arm.h (arm_min): New function.
1003 (SUB_SEGMENT_ALIGN): Define.
1004
1005 2015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
1006
1007 * config/tc-mips.c (macro): State the recommended way of creating
1008 32-bit or 64-bit addresses.
1009
1010 2015-04-23 Jan Beulich <jbeulich@suse.com>
1011
1012 * config/tc-i386.c (match_mem_size): Also allow no size
1013 specification when broadcasting.
1014
1015 2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
1016
1017 * doc/as.texinfo (Bundle directives): Shorten menu entry and
1018 use @subsection.
1019 (CFI directives): Use @subsection.
1020 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
1021 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
1022
1023 2015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1024
1025 * config/tc-avr.c (create_record_for_frag): Rename link to
1026 prop_rec_link.
1027
1028 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
1029
1030 * NEWS: Mention
1031 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
1032
1033 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
1034
1035 * as.h (compressed_debug_section_type): Removed.
1036
1037 2015-04-14 Nick Clifton <nickc@redhat.com>
1038
1039 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
1040 (TC_FORCE_RELOCATION_SUB_SAME): Define.
1041 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
1042
1043 2015-04-10 Nick Clifton <nickc@redhat.com>
1044
1045 PR binutils/18198
1046 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
1047 the -EB option with the linker's --be8 option.
1048
1049 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
1050
1051 * doc/c-rx.texi: Fix markup typos in last change.
1052
1053 2015-04-09 Nick Clifton <nickc@redhat.com>
1054
1055 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
1056 (md_longopts): Add -mno-allow-string-insns.
1057 (md_parse_option): Handle -mno-allow-string-insns.
1058 (md_show_usage): Mention -mno-allow-string-insns.
1059 (rx_note_string_insn_use): New function. Produces an error
1060 message if a string insn is used when it is not allowed.
1061 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
1062 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
1063 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
1064 * doc/c-rx.texi: Document -mno-allow-string-insns.
1065
1066 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
1067
1068 * as.c (show_usage): Update --compress-debug-sections.
1069 (std_longopts): Use optional_argument on compress-debug-sections.
1070 (parse_args): Handle
1071 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1072 * as.h (compressed_debug_section_type): New.
1073 (flag_compress_debug): Change type to compressed_debug_section_type.
1074 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1075 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
1076 --compress-debug-sections=zlib-gabi. Call
1077 bfd_get_compression_header_size to get compression header size.
1078 Don't rename section name for --compress-debug-sections=zlib-gabi.
1079 * config/tc-i386.c (compressed_debug_section_type): Set to
1080 COMPRESS_DEBUG_ZLIB.
1081 * doc/as.texinfo: Document
1082 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1083
1084 2015-04-07 Renlin Li <renlin.li@arm.com>
1085
1086 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
1087 (s_aarch64_inst): Likewise.
1088 (md_assemble): Likewise.
1089
1090 2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
1091
1092 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
1093 section size.
1094
1095 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
1096
1097 * write.c (compress_debug): Don't write the zlib header if
1098 compressed section size is the same as before compression.
1099
1100 2015-04-02 Nick Clifton <nickc@redhat.com>
1101
1102 PR gas/18189
1103 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
1104 min and max parameters. Sign extend values before testing.
1105
1106 2015-04-02 Renlin Li <renlin.li@arm.com>
1107
1108 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
1109 (mapping_state_2): Don't emit MAP_DATA here.
1110 (s_aarch64_inst): Align frag during state transition.
1111 (md_assemble): Likewise.
1112
1113 2015-04-02 Ed Maste <emaste@freebsd.org>
1114
1115 * config/tc-aarch64.c (set_error_kind): Delete.
1116 (set_error_message): Delete.
1117
1118 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
1119
1120 * configure: Regenerated.
1121
1122 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
1123
1124 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
1125 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
1126
1127 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
1128
1129 * config/tc-arm.c: Add support for Samsung Exynos M1.
1130 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
1131
1132 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
1133
1134 * configure: Regenerated.
1135
1136 2015-03-31 Ed Schouten <ed@nuxi.nl>
1137
1138 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
1139
1140 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1141
1142 * configure.ac: Revert the AM_ZLIB change.
1143 * Makefile.in: Regenerated.
1144 * aclocal.m4: Likewise.
1145 * configure: Likewise.
1146
1147 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 * Makefile.am (ZLIBINC): New.
1150 (AM_CFLAGS): Add $(ZLIBINC).
1151 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
1152 (parse_args): Likewise.
1153 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
1154 (compress_init): Don't check HAVE_ZLIB_H.
1155 (compress_data): Likewise.
1156 (compress_finish): Likewise.
1157 * configure.ac (AM_ZLIB): Removed.
1158 (zlibinc): New. AC_SUBST.
1159 Add --with-system-zlib.
1160 * Makefile.in: Regenerated.
1161 * config.in: Likewise.
1162 * configure: Likewise.
1163 * doc/Makefile.in: Likewise.
1164
1165 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
1166
1167 * config/tc-i386.c (cpu_flags_set): Removed.
1168
1169 2015-03-25 Renlin Li <renlin.li@arm.com>
1170
1171 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
1172 code.
1173 (mapping_state_2): Emit first MAP_DATA symbol here.
1174
1175 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
1176
1177 PR gas/18087
1178 * write.c (compress_debug): Don't write the zlib header if
1179 compression didn't make the section smaller.
1180
1181 2015-03-24 Terry Guo <terry.guo@arm.com>
1182
1183 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
1184 features.
1185 (parse_psr): Likewise.
1186 (do_t_mrs): Likewise.
1187 (do_t_msr): Likewise.
1188 (static const arm_feature_set arm_ext_*): Defined with new macros.
1189 (static const arm_feature_set arm_cext_*): Likewise.
1190 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
1191 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
1192 (deprecated_coproc_regs): Likewise.
1193 (UL_BARRIER): Likewise.
1194 (barrier_opt_names): Likewise.
1195 (arm_cpus): Likewise.
1196 (arm_extensions): Likewise.
1197
1198 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
1199
1200 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
1201 instructions to 10 bytes.
1202
1203 2015-03-19 Nick Clifton <nickc@redhat.com>
1204
1205 * config/tc-rl78.c (enum options): Add G13 and G14.
1206 (md_longopts): Add -mg13 and -mg14.
1207 (md_parse_option): Handle -mg13 and -mg14.
1208 (md_show_usage): List -mg13 and -mg14.
1209 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
1210
1211 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
1212 Nick Clifton <nickc@redhat.com>
1213
1214 PR binutils/18087
1215 * doc/as.texinfo: Note that when gas compresses debug sections the
1216 compression is only performed if it makes the section smaller.
1217 * write.c (compress_debug): Do not compress a debug section if
1218 doing so would make it larger.
1219
1220 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
1221
1222 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
1223 (i386_align_code): Add PROCESSOR_ZNVER cases.
1224 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
1225 * doc/c-i386.texi: Add znver1 and clzero.
1226
1227 2015-03-16 Nick Clifton <nickc@redhat.com>
1228
1229 * dwarf2dbg.c (out_header): Remove spurious #if 1.
1230
1231 2015-03-13 Jiong Wang <jiong.wang@arm.com>
1232
1233 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
1234 number 31.
1235
1236 2015-03-13 Jiong Wang <jiong.wang@arm.com>
1237
1238 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
1239
1240 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
1241
1242 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
1243 * doc/c-mips.texi: Document i6400 -march option.
1244
1245 2015-03-12 Nick Clifton <nickc@redhat.com>
1246
1247 PR gas/17444
1248 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
1249 to arm_apply_sym_value. Update prototype.
1250 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
1251 Do not apply the value if the symbol is in a different segment to
1252 the current segment.
1253
1254 2015-03-11 Alan Modra <amodra@gmail.com>
1255
1256 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
1257 (md_apply_fix): Report an error on data-only fixups used with insns.
1258
1259 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1260
1261 * config/tc-s390.c (md_gather_operands): Check for valid
1262 length field operands.
1263
1264 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
1265
1266 * config/tc-arm.c (parse_operands): Fix bug setting writeback
1267 values for '^' on OP_REGLSTs.
1268 (do_push_pop): Add new writeback constraint.
1269
1270 2015-03-10 Renlin Li <renlin.li@arm.com>
1271
1272 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
1273 (mapping_state_2): Emit first MAP_DATA symbol here.
1274
1275 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
1276
1277 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
1278 code sections.
1279
1280 2015-03-10 Nick Clifton <nickc@redhat.com>
1281
1282 PR gas/17852
1283 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
1284 initialised when CPU_DEFAULT is defined.
1285
1286 2015-03-05 Nick Clifton <nickc@redhat.com>
1287
1288 * config/tc-v850.c (md_parse_option): Fix code to set or clear
1289 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
1290 -m8byte-align and -m4byte-align command line options.
1291
1292 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
1293
1294 PR gas/17843
1295 * config/tc-aarch64.c (process_movw_reloc_info): Allow
1296 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
1297 for MOVK.
1298
1299 2015-02-28 Alan Modra <amodra@gmail.com>
1300
1301 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
1302 end to their alignment.
1303
1304 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
1305
1306 * config/tc-aarch64.c (reloc_table_entry): Generate
1307 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
1308 (md_apply_fix, aarch64_force_relocation): Handle
1309 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1310
1311 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
1312
1313 * config/tc-aarch64.c (reloc_table_entry): Generate
1314 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1315 (md_apply_fix, aarch64_force_relocation): Handle
1316 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1317
1318 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
1319
1320 * config/tc-aarch64.c (reloc_table_entry): Generate
1321 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1322 (md_apply_fix, aarch64_force_relocation): Handle
1323 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1324
1325 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1326
1327 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
1328 (reloc_table): Likewise.
1329 (parse_address_main): Use ld_literal_type.
1330
1331 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1332
1333 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
1334 (reloc_table): Likewise.
1335 (parse_address_main): Use adr_type.
1336
1337 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1338
1339 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
1340
1341 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1342
1343 * config/tc-avr.c: Add elf32-avr.h include.
1344 (struct avr_property_record_link): New structure.
1345 (avr_output_property_section_header): New function.
1346 (avr_record_size): New function.
1347 (avr_output_property_record): New function.
1348 (avr_create_property_section): New function.
1349 (avr_handle_align): New function.
1350 (exclude_section_from_property_tables): New function.
1351 (create_record_for_frag): New function.
1352 (append_records_for_section): New function.
1353 (avr_create_and_fill_property_section): New function.
1354 (avr_post_relax_hook): New function.
1355 * config/tc-avr.h (md_post_relax_hook): Define.
1356 (avr_post_relax_hook): Declare.
1357 (HANDLE_ALIGN): Define.
1358 (avr_handle_align): Declare.
1359 (strut avr_frag_data): New structure.
1360 (TC_FRAG_TYPE): Define.
1361
1362 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
1363
1364 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
1365 cortex-a72.
1366
1367 2015-02-24 Nick Clifton <nickc@redhat.com>
1368
1369 * config/tc-v850.c (soft_float): New variable.
1370 (v850_data_8): New variable.
1371 (md_show_usage): Add -msoft-float/-mhard-float.
1372 (md_parse_option): Likewise.
1373 (md_begin): Set the default value of soft_float.
1374 (v850_md_end): New function. Creates a note section.
1375 * config/tc-v850.h (md_end): Define.
1376 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
1377
1378 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
1379
1380 * config/tc-h8300.c (line_separater_chars): Add a version for
1381 h8300-linux that includes a separator.
1382 (default_mach): New variable.
1383 (md_main): Use it.
1384 (md_longopts): Add '--march' option.
1385 (md_parse_option): Parse the new option.
1386 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
1387 * configure.tgt: Add h8300-*-linux
1388 * doc/c-h8300.texi: Document --march.
1389
1390 2015-02-23 Nick Clifton <nickc@redhat.com>
1391
1392 PR 17940
1393 * dwarf2dbg.c (out_header): When generating dwarf sections use
1394 real symbols not temps for the start and end symbols.
1395 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
1396 adjustments to relocations in debug sections.
1397 (TC_LINKRELAX_FIXUP): Likewise.
1398
1399 2015-02-19 Alan Modra <amodra@gmail.com>
1400
1401 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
1402 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
1403
1404 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1405
1406 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
1407
1408 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1409
1410 * config/tc-arm.c: Add support for Cortex-A72.
1411
1412 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1413
1414 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
1415 of as_warn for deprecation messages.
1416 (encode_arm_addr_mode_2): Likewise.
1417 (check_obsolete): Likewise.
1418 (do_rd_rm_rn): Likewise.
1419 (do_co_reg): Likewise.
1420 (do_setend): Likewise.
1421 (do_t_mov_cmp): Likewise.
1422 (do_neon_ldr_str): Likewise.
1423 (opcode_lookup): Likewise.
1424 (if_fsm_post_encode): Likewise.
1425 (md_assemble): Likewise.
1426
1427 2015-02-06 Jan Beulich <jbeulich@suse.com>
1428
1429 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
1430 (cfi_change_reg_numbers): Also do nothing for CFI_label.
1431 (cfi_pseudo_table): Also handle .cfi_label when not supporting
1432 CFI directives.
1433
1434 2015-02-05 Alan Modra <amodra@gmail.com>
1435
1436 * config/tc-msp430.c (md_assemble): Correct size passed to
1437 extract_cmd. Remove index check.
1438
1439 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
1440
1441 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
1442 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
1443
1444 2015-02-04 Nick Clifton <nickc@redhat.com>
1445
1446 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
1447 these instructions.
1448
1449 2015-02-03 Renlin Li <renlin.li@arm.com>
1450
1451 * doc/c-aarch64.texi (.arch): Document the directive.
1452 (.arch_extension): Likewise.
1453
1454 2015-02-03 Nick Clifton <nickc@redhat.com>
1455
1456 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1457
1458 2015-01-28 James Bowman <james.bowman@ftdichip.com>
1459
1460 * Makefile.am: Add FT32 files.
1461 * config/tc-ft32.c: New file.
1462 * config/tc-ft32.h: New file.
1463 * configure.tgt: Add FT32 support.
1464 * Makefile.in: Regenerate.
1465 * po/POTFILES.in: Regenerate.
1466
1467 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1468
1469 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
1470 of instruction la to a symbol.
1471
1472 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1473
1474 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1475 section name.
1476
1477 2015-01-19 Alan Modra <amodra@gmail.com>
1478
1479 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1480 * write.c (get_frag_for_reloc): Allow match just past end of frag.
1481
1482 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1483
1484 * config/tc-s390.c (struct pd_reg): Remove.
1485 (pre_defined_registers): Remove.
1486 (REG_NAME_CNT): Remove.
1487 (reg_name_search): Calculate the register number instead of doing
1488 a lookup.
1489 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1490 reg_name_search signature.
1491 (s390_parse_cpu): Support the new arch string z13.
1492 (s390_insert_operand): Support for vector registers with the extra
1493 field for the fifth bit of each vector register operand.
1494 (md_gather_operand): Adjust to the new handling of optional
1495 parameters.
1496
1497 * doc/as.texinfo: Document the z13 cpu string.
1498
1499 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
1500
1501 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1502 #0, restoring previous behaviour.
1503
1504 2015-01-12 Jan Beulich <jbeulich@suse.com>
1505
1506 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1507 (cfi_pseudo_table): Add "cfi_label".
1508 (output_cfi_insn): Handle CFI_label.
1509 (select_cie_for_fde): Als terminate CIE when encountering
1510 CFI_label.
1511 * dw2gencfi.h (cfi_add_label): Declare.
1512 (struct cfi_insn_data): New member "sym_name".
1513 (CFI_label): New.
1514 * read.c (read_symbol_name): Drop "static".
1515 * read.h (read_symbol_name): Declare.
1516
1517 2015-01-12 Jan Beulich <jbeulich@suse.com>
1518
1519 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1520 (do_neon_qshl_imm): Likewise.
1521
1522 2015-01-12 Alan Modra <amodra@gmail.com>
1523
1524 * read.c (s_altmacro, s_reloc): Make definition static.
1525
1526 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
1527
1528 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
1529 diff fixups.
1530
1531 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1532
1533 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
1534 X-Gene 2.
1535 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
1536
1537 2015-01-07 Jan Beulich <jbeulich@suse.com>
1538
1539 * config/tc-arm.c (struct arm_option_extension_value_table):
1540 Split field "value" into fields "merge_value" and "clear_value".
1541 (arm_extensions): Adjust initializer accordingly.
1542
1543 2015-01-01 Alan Modra <amodra@gmail.com>
1544
1545 * as.c (parse_args): Just print current year.
1546
1547 2015-01-01 Alan Modra <amodra@gmail.com>
1548
1549 Update year range in copyright notice of all files.
1550
1551 For older changes see ChangeLog-2014
1552 \f
1553 Copyright (C) 2015 Free Software Foundation, Inc.
1554
1555 Copying and distribution of this file, with or without modification,
1556 are permitted in any medium without royalty provided the copyright
1557 notice and this notice are preserved.
1558
1559 Local Variables:
1560 mode: change-log
1561 left-margin: 8
1562 fill-column: 74
1563 version-control: never
1564 End:
This page took 0.083333 seconds and 4 git commands to generate.