1 2013-05-06 Richard Sandiford <rdsandiford@googlemail.com>
3 * config/tc-mips.c (limited_pcrel_reloc_p): New function.
4 (mips_fix_adjustable): Adjust pc-relative check to use
7 2013-05-02 Richard Sandiford <rdsandiford@googlemail.com>
9 * config/tc-mips.c (mips_pseudo_table): Add stabd and stabs entries.
10 (s_mips_stab): Do not restrict to stabn only.
12 2013-05-02 Nick Clifton <nickc@redhat.com>
14 * config/tc-msp430.c: Add support for the MSP430X architecture.
15 Add code to insert a NOP instruction after any instruction that
16 might change the interrupt state.
17 Add support for the LARGE memory model.
18 Add code to initialise the .MSP430.attributes section.
19 * config/tc-msp430.h: Add support for the MSP430X architecture.
20 * doc/c-msp430.texi: Document the new -mL and -mN command line
22 * NEWS: Mention support for the MSP430X architecture.
24 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
26 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
27 alpha*-*-linux*ecoff*.
29 2013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
31 * config/tc-mips.c (mips_ip): Add sizelo.
32 For "+C", "+G", and "+H", set sizelo and compare against it.
34 2013-04-29 Nick Clifton <nickc@redhat.com>
36 * as.c (Options): Add -gdwarf-sections.
37 (parse_args): Likewise.
38 * as.h (flag_dwarf_sections): Declare.
39 * dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes.
40 (process_entries): When -gdwarf-sections is enabled generate
41 fragmentary .debug_line sections.
42 (out_debug_line): Set the section for the .debug_line section end
44 * doc/as.texinfo: Document -gdwarf-sections.
45 * NEWS: Mention -gdwarf-sections.
47 2013-04-26 Christian Groessler <chris@groessler.org>
49 * config/tc-z8k.c (md_parse_option): Set z8k_target_from_cmdline
50 according to the target parameter. Don't call s_segm since s_segm
51 calls bfd_set_arch_mach using stdoutput, but stdoutput isn't
53 (md_begin): Call s_segm according to target parameter from command
56 2013-04-25 Alan Modra <amodra@gmail.com>
58 * configure.in: Allow little-endian linux.
59 * configure: Regenerate.
61 2013-04-24 Sandra Loosemore <sandra@codesourcery.com>
63 * config/tc-nios2.c (nios2_control_register_arg_p): Rename
64 "fstatus" control register to "eccinj".
66 2013-04-19 Kai Tietz <ktietz@redhat.com>
68 * configure.tgt (i386-*-cygwin): Handle x86_64 cygwin.
70 2013-04-15 Julian Brown <julian@codesourcery.com>
72 * expr.c (add_to_result, subtract_from_result): Make global.
73 * expr.h (add_to_result, subtract_from_result): Add prototypes.
74 * config/tc-sh.c (sh_optimize_expr): Use add_to_result,
75 subtract_from_result to handle extra bit of precision for .sleb128
78 2013-04-10 Julian Brown <julian@codesourcery.com>
80 * read.c (convert_to_bignum): Add sign parameter. Use it
81 instead of X_unsigned to determine sign of resulting bignum.
82 (emit_expr): Pass extra argument to convert_to_bignum.
83 (emit_leb128_expr): Use X_extrabit instead of X_unsigned. Pass
84 X_extrabit to convert_to_bignum.
85 (parse_bitfield_cons): Set X_extrabit.
86 * expr.c (make_expr_symbol, expr_build_uconstant, operand):
87 Initialise X_extrabit field as appropriate.
89 (subtract_from_result): New.
91 * expr.h (expressionS): Add X_extrabit field.
93 2013-04-10 Jan Beulich <jbeulich@suse.com>
95 * gas/config/tc-arm.c (encode_arm_addr_mode_3): Only reject base
96 register being PC when is_t or writeback, and use distinct
97 diagnostic for the latter case.
99 2013-04-10 Jan Beulich <jbeulich@suse.com>
101 * gas/config/tc-arm.c (parse_operands): Re-write
103 (do_barrier): Remove bogus constraint().
104 (do_t_barrier): Remove.
106 2013-04-09 Joerg Wunsch <joerg.wunsch@atmel.com>
108 * gas/config/tc-avr.c (mcu_types): Add ATmega64RFR2,
109 ATmega644RFR2, ATmega128RFR2, ATmega1284RFR2, ATmega256RFR2,
111 * gas/doc/c-avr.texi (-mmcu documentation): Likewise.
113 2013-04-09 Jan Beulich <jbeulich@suse.com>
115 * gas/config/tc-arm.c (do_vmrs): Accept all control registers.
116 Use local variable Rt in more places.
117 (do_vmsr): Accept all control registers.
119 2013-04-09 Jan Beulich <jbeulich@suse.com>
121 * gas/config/tc-arm.c (do_neon_mov): Fake an instruction suffix
122 if there was none specified for moves between scalar and core
125 2013-04-09 Jan Beulich <jbeulich@suse.com>
127 * gas/config/tc-arm.c (do_neon_ldx_stx): Reject VSTn in the
130 2013-04-08 Jan Beulich <jbeulich@suse.com>
132 * gas/config/tc-arm.c (do_neon_ldr_str): Correct disgnostics for
135 2013-04-08 Jan Beulich <jbeulich@suse.com>
137 * gas/config/tc-arm.c (reg_names): Convert duplicate SP_fiq
140 2013-04-03 Alan Modra <amodra@gmail.com>
142 * doc/as.texinfo: Add support to generate man options for h8300.
143 * doc/c-h8300.texi: Likewise.
145 2013-03-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
147 * config/tc-arm.c (arm_cpus): Add support for Cortex-A53 and
150 2013-03-27 Alexis Deruelle <alexis.deruelle@gmail.com>
153 * config/tc-tic6x.c (tic6x_try_encode): Add use of bitfields array.
155 2013-03-26 Nick Clifton <nickc@redhat.com>
158 * listing.c (rebuffer_line): Rewrite to avoid seeking back to the
159 start of the file each time.
162 * config/tc-sparc.h (ELF_TARGET_FORMAT): Set to elf32-sparc for
165 2013-03-26 Douglas B Rupp <rupp@gnat.com>
167 * config/tc-ia64.c (emit_one_bundle): Move last_slot adjustment
170 2013-03-21 Will Newton <will.newton@linaro.org>
172 * config/tc-arm.c (encode_thumb32_addr_mode): Emit an error for all
173 pc-relative str instructions in Thumb mode.
175 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
177 * config/tc-h8300.c (do_a_fix_imm): Add relaxation of mov
178 @(disp:32,ERx) to mov @(disp:16,ERx) insns by new reloc
180 * config/tc-h8300.h: Remove duplicated defines.
182 2013-03-21 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
185 * tc-avr.c (mcu_has_3_byte_pc): New function.
186 (tc_cfi_frame_initial_instructions): Call it to find return
189 2013-03-20 Alexis Deruelle <alexis.deruelle@gmail.com>
192 * config/tc-tic6x.c (tic6x_try_encode): Handle
193 tic6x_coding_dreg_(msb|lsb) field coding types and use it to
194 encode register pair numbers when required.
196 2013-03-15 Will Newton <will.newton@linaro.org>
198 * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register
199 in vstr in Thumb mode for pre-ARMv7 cores.
201 2013-03-14 Andreas Schwab <schwab@suse.de>
203 * doc/c-arc.texi (ARC Directives): Revert last change and use
204 @itemize instead of @table.
205 * doc/c-arm.texi (ARM-Instruction-Set): Likewise.
207 2013-03-14 Nick Clifton <nickc@redhat.com>
210 * config/tc-arm.c (do_co_reg): Do not call check_obsolete with a
211 NULL message, instead just check ARM_CPU_IS_ANY directly.
213 2013-03-14 Nick Clifton <nickc@redhat.com>
216 * doc/c-arc.texi (ARC Directives): Use @code instead of @bullet
218 * doc/c-arm.texi (ARM-Instruction-Set): Likewise. Also add text
219 to the @item directives.
220 (ARM-Neon-Alignment): Move to correct place in the document.
221 * doc/c-cr16.texi (CR16 Operand Qualifiers): Fix up table
223 * doc/c-tic54x.texi (TIC54X-Subsyms): Correct use of
226 2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
228 * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o'
229 case. Add default BAD_CASE to switch.
231 2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
233 * config/tc-nios2.c (nios2_assemble_args_ds): New function.
234 (nios2_arg_info_structs): Add "d,s" and "d,s,E" entries.
236 2013-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
238 * config/tc-arm.c (crc_ext_armv8): New feature set.
239 (UNPRED_REG): New macro.
240 (do_crc32_1): New function.
241 (do_crc32b, do_crc32h, do_crc32w, do_crc32cb,
242 do_crc32ch, do_crc32cw): Likewise.
244 (insns): Add entries for crc32 mnemonics.
245 (arm_extensions): Add entry for crc.
247 2013-03-08 Chung-Lin Tang <cltang@codesourcery.com>
249 * write.h (struct fix): Add fx_dot_frag field.
251 * write.c (dot_frag): New variable.
252 (fix_new_internal): Set fx_dot_frag field with dot_frag.
253 (fixup_segment): Base calculation of fx_offset with fx_dot_frag.
254 * expr.c (expr): Save value of frag_now in dot_frag when setting
256 * read.c (emit_expr): Likewise. Delete comments.
258 2013-03-07 H.J. Lu <hongjiu.lu@intel.com>
260 * config/tc-i386.c (flag_code_names): Removed.
261 (i386_index_check): Rewrote.
263 2013-03-05 Yufeng Zhang <yufeng.zhang@arm.com>
265 * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern';
267 (aarch64_double_precision_fmovable): New function.
268 (parse_aarch64_imm_float): Add parameter 'dp_p'; call the new
269 function; handle hexadecimal representation of IEEE754 encoding.
270 (parse_operands): Update the call to parse_aarch64_imm_float.
272 2013-02-28 H.J. Lu <hongjiu.lu@intel.com>
274 * config/tc-i386.c (_i386_insn): Replace have_hle with hle_prefix.
275 (check_hle): Updated.
276 (md_assemble): Likewise.
277 (parse_insn): Likewise.
279 2013-02-28 H.J. Lu <hongjiu.lu@intel.com>
281 * config/tc-i386.c (_i386_insn): Add rep_prefix.
282 (md_assemble): Check if REP prefix is OK.
283 (parse_insn): Remove expecting_string_instruction. Set
286 2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
288 * config/tc-aarch64.c (aarch64_features): Add the 'crc' option.
290 2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
292 * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn
293 for system registers.
295 2013-02-27 DJ Delorie <dj@redhat.com>
297 * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE.
298 (rl78_op): Handle %code().
299 (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands.
300 (tc_gen_reloc): Likwise; convert to a computed reloc.
301 (md_apply_fix): Likewise.
303 2013-02-25 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
305 * config/rl78-parse.y: Fix encoding of DIVWU insn.
307 2013-02-25 Terry Guo <terry.guo@arm.com>
309 * config/tc-arm.c (arm_cpus): Add cortex-r7 entry.
310 * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to
311 list of accepted CPUs.
313 2013-02-19 H.J. Lu <hongjiu.lu@intel.com>
316 * config/tc-i386.c (cpu_arch): Add ".smap".
318 * doc/c-i386.texi: Document smap.
320 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
322 * config/tc-mips.c (s_cpload): Call mips_mark_labels and set
323 mips_assembling_insn appropriately.
324 (s_cpsetup, s_cprestore, s_cpreturn, s_cpadd): Likewise.
326 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
328 * config/tc-mips.c (append_insn): Correct indentation, remove
331 2013-02-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
333 * config/tc-arm.c (do_neon_mov): Break on NS_NULL.
335 2013-02-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
337 * configure.tgt: Add nios2-*-rtems*.
339 2013-02-14 Yufeng Zhang <yufeng.zhang@arm.com>
341 * config/tc-aarch64.c (md_begin): Change to check if 'name' is
344 2013-02-09 Jürgen Urban <JuergenUrban@gmx.de>
346 * config/tc-mips.c (CPU_HAS_LDC1_SDC1): New macro.
347 (macro): Use it. Assert that trunc.w.s is not used for r5900.
349 2013-02-08 Yi-Hsiu, Hsu <ahsu@marvell.com>
351 * gas/config/tc-arm.c (arm_cpus): Add support for mcpu=marvell-pj4
354 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
355 Andrew Jenner <andrew@codesourcery.com>
357 Based on patches from Altera Corporation.
359 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c.
360 (TARGET_CPU_HFILES): Add config/tc-nios2.h.
361 * Makefile.in: Regenerated.
362 * configure.tgt: Add case for nios2*-linux*.
363 * config/obj-elf.c: Conditionally include elf/nios2.h.
364 * config/tc-nios2.c: New file.
365 * config/tc-nios2.h: New file.
366 * doc/Makefile.am (CPU_DOCS): Add c-nios2.texi.
367 * doc/Makefile.in: Regenerated.
368 * doc/all.texi: Set NIOSII.
369 * doc/as.texinfo (Overview): Add Nios II options.
370 (Machine Dependencies): Include c-nios2.texi.
371 * doc/c-nios2.texi: New file.
372 * NEWS: Note Altera Nios II support.
374 2013-02-06 Alan Modra <amodra@gmail.com>
377 * config/tc-avr.h (TC_VALIDATE_FIX): Mark symbol used by reloc.
378 Don't skip fixups with fx_subsy non-NULL.
379 * config/tc-avr.c (tc_gen_reloc): Don't specially handle fixups
380 with fx_subsy non-NULL.
382 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
384 * doc/c-metag.texi: Add "@c man" markers.
386 2013-02-04 Alan Modra <amodra@gmail.com>
388 * write.c (fixup_segment): Return void. Delete seg_reloc_count
390 (TC_ADJUST_RELOC_COUNT): Delete.
391 * config/tc-i960.h (TC_ADJUST_RELOC_COUNT): Delete.
393 2013-02-04 Alan Modra <amodra@gmail.com>
395 * po/POTFILES.in: Regenerate.
397 2013-01-30 Markos Chandras <markos.chandras@imgtec.com>
399 * config/tc-metag.c: Make SWAP instruction less permissive with
402 2013-01-29 DJ Delorie <dj@redhat.com>
404 * config/tc-rl78.c (rl78_cons_fix_new): Handle user-specified
405 relocs in .word/.etc statements.
407 2013-01-29 Roland McGrath <mcgrathr@google.com>
409 * config/tc-arm.c (md_apply_fix): Use as_bad_where for "bad
410 immediate value for 8-bit offset" error so it shows line info.
412 2013-01-24 Joseph Myers <joseph@codesourcery.com>
414 * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections
417 2013-01-24 Nick Clifton <nickc@redhat.com>
419 * config/tc-v850.c: Add support for e3v5 architecture.
420 * doc/c-v850.texi: Mention new support.
422 2013-01-23 Nick Clifton <nickc@redhat.com>
425 * config/tc-avr.c: Include dwarf2dbg.h.
427 2013-01-18 H.J. Lu <hongjiu.lu@intel.com>
429 * config/tc-i386.c (reloc): Support size relocation only for ELF.
430 (tc_i386_fix_adjustable): Likewise.
432 (tc_gen_reloc): Likewise.
434 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
436 * config/tc-aarch64.c (output_operand_error_record): Change to output
437 the out-of-range error message as value-expected message if there is
438 only one single value in the expected range.
439 (programmer_friendly_fixup): Remove the handling of 8-bit MOVI with
440 LSL #0 as a programmer-friendly feature.
442 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
444 * config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32.
445 (tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and
446 BFD_RELOC_64_SIZE relocations.
447 (lex_got): Support "symbol@SIZE" and don't create GOT symbol
449 (tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64
450 relocations against local symbols.
452 2013-01-16 Alan Modra <amodra@gmail.com>
454 * config/tc-ppc.c (md_assemble <TE_PE>): Ignore line after
455 finding some sort of toc syntax error, and break to avoid
456 compiler uninit warning.
458 2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
461 * config/tc-i386.c (lex_got): Increment length by 1 if the
462 relocation token is removed.
464 2013-01-15 Nick Clifton <nickc@redhat.com>
466 * config/tc-v850.c (md_assemble): Allow signed values for
469 2013-01-11 Sean Keys <skeys@ipdatasys.com>
471 * config/tc-xgate.c (md_begin): Fix mistake made when going from
474 2013-01-10 Peter Bergner <bergner@vnet.ibm.com>
476 * doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm.
477 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
478 * config/tc-ppc.c (md_show_usage): Likewise.
479 (ppc_handle_align): Handle power8's group ending nop.
481 2013-01-10 Sean Keys <skeys@ipdatasys.com>
483 * config/tc-xgate.c (md_begin): Fix the printing of opcodes so
484 that the assember exits after the opcodes have been printed.
486 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
488 * app.c: Remove trailing white spaces.
492 * dw2gencfi.c: Likewise.
493 * dwarf2dbg.h: Likewise.
495 * input-file.c: Likewise.
496 * itbl-lex.h: Likewise.
497 * output-file.c: Likewise.
500 * subsegs.c: Likewise.
501 * symbols.c: Likewise.
503 * config/tc-i386.c: Likewise.
504 * doc/Makefile.am: Likewise.
505 * doc/Makefile.in: Likewise.
506 * doc/c-aarch64.texi: Likewise.
507 * doc/c-alpha.texi: Likewise.
508 * doc/c-arc.texi: Likewise.
509 * doc/c-arm.texi: Likewise.
510 * doc/c-avr.texi: Likewise.
511 * doc/c-bfin.texi: Likewise.
512 * doc/c-cr16.texi: Likewise.
513 * doc/c-d10v.texi: Likewise.
514 * doc/c-d30v.texi: Likewise.
515 * doc/c-h8300.texi: Likewise.
516 * doc/c-hppa.texi: Likewise.
517 * doc/c-i370.texi: Likewise.
518 * doc/c-i386.texi: Likewise.
519 * doc/c-i860.texi: Likewise.
520 * doc/c-m32c.texi: Likewise.
521 * doc/c-m32r.texi: Likewise.
522 * doc/c-m68hc11.texi: Likewise.
523 * doc/c-m68k.texi: Likewise.
524 * doc/c-microblaze.texi: Likewise.
525 * doc/c-mips.texi: Likewise.
526 * doc/c-msp430.texi: Likewise.
527 * doc/c-mt.texi: Likewise.
528 * doc/c-s390.texi: Likewise.
529 * doc/c-score.texi: Likewise.
530 * doc/c-sh.texi: Likewise.
531 * doc/c-sh64.texi: Likewise.
532 * doc/c-tic54x.texi: Likewise.
533 * doc/c-tic6x.texi: Likewise.
534 * doc/c-v850.texi: Likewise.
535 * doc/c-xc16x.texi: Likewise.
536 * doc/c-xgate.texi: Likewise.
537 * doc/c-xtensa.texi: Likewise.
538 * doc/c-z80.texi: Likewise.
539 * doc/internals.texi: Likewise.
541 2013-01-10 Roland McGrath <mcgrathr@google.com>
543 * hash.c (hash_new_sized): Make it global.
544 * hash.h: Declare it.
545 * macro.c (define_macro): Use hash_new_sized instead of hash_new,
548 2013-01-10 Will Newton <will.newton@imgtec.com>
550 * Makefile.am: Add Meta.
551 * Makefile.in: Regenerate.
552 * config/tc-metag.c: New file.
553 * config/tc-metag.h: New file.
554 * configure.tgt: Add Meta.
555 * doc/Makefile.am: Add Meta.
556 * doc/Makefile.in: Regenerate.
557 * doc/all.texi: Add Meta.
558 * doc/as.texiinfo: Document Meta options.
559 * doc/c-metag.texi: New file.
561 2013-01-09 Steve Ellcey <sellcey@mips.com>
563 * config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal
565 * config/tc-mips.c (internalError): Remove, replace with abort.
567 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
569 * config/tc-aarch64.c (parse_operands): Change to compare the result
570 of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of 'FALSE'.
572 2013-01-07 Nick Clifton <nickc@redhat.com>
575 * config/tc-arm.c (skip_past_char): Skip whitespace before the
576 anticipated character.
577 * config/tc-arm.c (parse_address_main): Delete skip of whitespace
578 here as it is no longer needed.
580 2013-01-06 Andreas Schwab <schwab@linux-m68k.org>
582 * doc/c-mips.texi (MIPS Opts): Fix use of @itemx.
583 * doc/c-score.texi (SCORE-Opts): Likewise.
584 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
586 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
588 * config/tc-mips.c: Add support for MIPS r5900.
589 Add M_LQ_AB and M_SQ_AB to support large values for instructions
591 (can_swap_branch_p, get_append_method): Detect some conditional
592 short loops to fix a bug on the r5900 by NOP in the branch delay
594 (M_MUL): Support 3 operands in multu on r5900.
595 (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I.
596 (s_mipsset): Force 32 bit floating point on r5900.
597 (mips_ip): Check parameter range of instructions mfps and mtps on
599 * configure.in: Detect CPU type when target string contains r5900
600 (e.g. mips64r5900el-linux-gnu).
602 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
604 * as.c (parse_args): Update copyright year to 2013.
606 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
608 * config/tc-aarch64.c (aarch64_cpus): Add entries for "cortex-a53"
611 2013-01-02 Nick Clifton <nickc@redhat.com>
614 * config/tc-arm.c (parse_address_main): Skip whitespace before a
617 For older changes see ChangeLog-2012
619 Copyright (C) 2013 Free Software Foundation, Inc.
621 Copying and distribution of this file, with or without modification,
622 are permitted in any medium without royalty provided the copyright
623 notice and this notice are preserved.
629 version-control: never