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