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