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