1 2013-05-02 Nick Clifton <nickc@redhat.com>
3 * config/tc-msp430.c: Add support for the MSP430X architecture.
4 Add code to insert a NOP instruction after any instruction that
5 might change the interrupt state.
6 Add support for the LARGE memory model.
7 Add code to initialise the .MSP430.attributes section.
8 * config/tc-msp430.h: Add support for the MSP430X architecture.
9 * doc/c-msp430.texi: Document the new -mL and -mN command line
11 * NEWS: Mention support for the MSP430X architecture.
13 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
15 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
16 alpha*-*-linux*ecoff*.
18 2013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
20 * config/tc-mips.c (mips_ip): Add sizelo.
21 For "+C", "+G", and "+H", set sizelo and compare against it.
23 2013-04-29 Nick Clifton <nickc@redhat.com>
25 * as.c (Options): Add -gdwarf-sections.
26 (parse_args): Likewise.
27 * as.h (flag_dwarf_sections): Declare.
28 * dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes.
29 (process_entries): When -gdwarf-sections is enabled generate
30 fragmentary .debug_line sections.
31 (out_debug_line): Set the section for the .debug_line section end
33 * doc/as.texinfo: Document -gdwarf-sections.
34 * NEWS: Mention -gdwarf-sections.
36 2013-04-26 Christian Groessler <chris@groessler.org>
38 * config/tc-z8k.c (md_parse_option): Set z8k_target_from_cmdline
39 according to the target parameter. Don't call s_segm since s_segm
40 calls bfd_set_arch_mach using stdoutput, but stdoutput isn't
42 (md_begin): Call s_segm according to target parameter from command
45 2013-04-25 Alan Modra <amodra@gmail.com>
47 * configure.in: Allow little-endian linux.
48 * configure: Regenerate.
50 2013-04-24 Sandra Loosemore <sandra@codesourcery.com>
52 * config/tc-nios2.c (nios2_control_register_arg_p): Rename
53 "fstatus" control register to "eccinj".
55 2013-04-19 Kai Tietz <ktietz@redhat.com>
57 * configure.tgt (i386-*-cygwin): Handle x86_64 cygwin.
59 2013-04-15 Julian Brown <julian@codesourcery.com>
61 * expr.c (add_to_result, subtract_from_result): Make global.
62 * expr.h (add_to_result, subtract_from_result): Add prototypes.
63 * config/tc-sh.c (sh_optimize_expr): Use add_to_result,
64 subtract_from_result to handle extra bit of precision for .sleb128
67 2013-04-10 Julian Brown <julian@codesourcery.com>
69 * read.c (convert_to_bignum): Add sign parameter. Use it
70 instead of X_unsigned to determine sign of resulting bignum.
71 (emit_expr): Pass extra argument to convert_to_bignum.
72 (emit_leb128_expr): Use X_extrabit instead of X_unsigned. Pass
73 X_extrabit to convert_to_bignum.
74 (parse_bitfield_cons): Set X_extrabit.
75 * expr.c (make_expr_symbol, expr_build_uconstant, operand):
76 Initialise X_extrabit field as appropriate.
78 (subtract_from_result): New.
80 * expr.h (expressionS): Add X_extrabit field.
82 2013-04-10 Jan Beulich <jbeulich@suse.com>
84 * gas/config/tc-arm.c (encode_arm_addr_mode_3): Only reject base
85 register being PC when is_t or writeback, and use distinct
86 diagnostic for the latter case.
88 2013-04-10 Jan Beulich <jbeulich@suse.com>
90 * gas/config/tc-arm.c (parse_operands): Re-write
92 (do_barrier): Remove bogus constraint().
93 (do_t_barrier): Remove.
95 2013-04-09 Joerg Wunsch <joerg.wunsch@atmel.com>
97 * gas/config/tc-avr.c (mcu_types): Add ATmega64RFR2,
98 ATmega644RFR2, ATmega128RFR2, ATmega1284RFR2, ATmega256RFR2,
100 * gas/doc/c-avr.texi (-mmcu documentation): Likewise.
102 2013-04-09 Jan Beulich <jbeulich@suse.com>
104 * gas/config/tc-arm.c (do_vmrs): Accept all control registers.
105 Use local variable Rt in more places.
106 (do_vmsr): Accept all control registers.
108 2013-04-09 Jan Beulich <jbeulich@suse.com>
110 * gas/config/tc-arm.c (do_neon_mov): Fake an instruction suffix
111 if there was none specified for moves between scalar and core
114 2013-04-09 Jan Beulich <jbeulich@suse.com>
116 * gas/config/tc-arm.c (do_neon_ldx_stx): Reject VSTn in the
119 2013-04-08 Jan Beulich <jbeulich@suse.com>
121 * gas/config/tc-arm.c (do_neon_ldr_str): Correct disgnostics for
124 2013-04-08 Jan Beulich <jbeulich@suse.com>
126 * gas/config/tc-arm.c (reg_names): Convert duplicate SP_fiq
129 2013-04-03 Alan Modra <amodra@gmail.com>
131 * doc/as.texinfo: Add support to generate man options for h8300.
132 * doc/c-h8300.texi: Likewise.
134 2013-03-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
136 * config/tc-arm.c (arm_cpus): Add support for Cortex-A53 and
139 2013-03-27 Alexis Deruelle <alexis.deruelle@gmail.com>
142 * config/tc-tic6x.c (tic6x_try_encode): Add use of bitfields array.
144 2013-03-26 Nick Clifton <nickc@redhat.com>
147 * listing.c (rebuffer_line): Rewrite to avoid seeking back to the
148 start of the file each time.
151 * config/tc-sparc.h (ELF_TARGET_FORMAT): Set to elf32-sparc for
154 2013-03-26 Douglas B Rupp <rupp@gnat.com>
156 * config/tc-ia64.c (emit_one_bundle): Move last_slot adjustment
159 2013-03-21 Will Newton <will.newton@linaro.org>
161 * config/tc-arm.c (encode_thumb32_addr_mode): Emit an error for all
162 pc-relative str instructions in Thumb mode.
164 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
166 * config/tc-h8300.c (do_a_fix_imm): Add relaxation of mov
167 @(disp:32,ERx) to mov @(disp:16,ERx) insns by new reloc
169 * config/tc-h8300.h: Remove duplicated defines.
171 2013-03-21 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
174 * tc-avr.c (mcu_has_3_byte_pc): New function.
175 (tc_cfi_frame_initial_instructions): Call it to find return
178 2013-03-20 Alexis Deruelle <alexis.deruelle@gmail.com>
181 * config/tc-tic6x.c (tic6x_try_encode): Handle
182 tic6x_coding_dreg_(msb|lsb) field coding types and use it to
183 encode register pair numbers when required.
185 2013-03-15 Will Newton <will.newton@linaro.org>
187 * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register
188 in vstr in Thumb mode for pre-ARMv7 cores.
190 2013-03-14 Andreas Schwab <schwab@suse.de>
192 * doc/c-arc.texi (ARC Directives): Revert last change and use
193 @itemize instead of @table.
194 * doc/c-arm.texi (ARM-Instruction-Set): Likewise.
196 2013-03-14 Nick Clifton <nickc@redhat.com>
199 * config/tc-arm.c (do_co_reg): Do not call check_obsolete with a
200 NULL message, instead just check ARM_CPU_IS_ANY directly.
202 2013-03-14 Nick Clifton <nickc@redhat.com>
205 * doc/c-arc.texi (ARC Directives): Use @code instead of @bullet
207 * doc/c-arm.texi (ARM-Instruction-Set): Likewise. Also add text
208 to the @item directives.
209 (ARM-Neon-Alignment): Move to correct place in the document.
210 * doc/c-cr16.texi (CR16 Operand Qualifiers): Fix up table
212 * doc/c-tic54x.texi (TIC54X-Subsyms): Correct use of
215 2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
217 * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o'
218 case. Add default BAD_CASE to switch.
220 2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
222 * config/tc-nios2.c (nios2_assemble_args_ds): New function.
223 (nios2_arg_info_structs): Add "d,s" and "d,s,E" entries.
225 2013-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
227 * config/tc-arm.c (crc_ext_armv8): New feature set.
228 (UNPRED_REG): New macro.
229 (do_crc32_1): New function.
230 (do_crc32b, do_crc32h, do_crc32w, do_crc32cb,
231 do_crc32ch, do_crc32cw): Likewise.
233 (insns): Add entries for crc32 mnemonics.
234 (arm_extensions): Add entry for crc.
236 2013-03-08 Chung-Lin Tang <cltang@codesourcery.com>
238 * write.h (struct fix): Add fx_dot_frag field.
240 * write.c (dot_frag): New variable.
241 (fix_new_internal): Set fx_dot_frag field with dot_frag.
242 (fixup_segment): Base calculation of fx_offset with fx_dot_frag.
243 * expr.c (expr): Save value of frag_now in dot_frag when setting
245 * read.c (emit_expr): Likewise. Delete comments.
247 2013-03-07 H.J. Lu <hongjiu.lu@intel.com>
249 * config/tc-i386.c (flag_code_names): Removed.
250 (i386_index_check): Rewrote.
252 2013-03-05 Yufeng Zhang <yufeng.zhang@arm.com>
254 * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern';
256 (aarch64_double_precision_fmovable): New function.
257 (parse_aarch64_imm_float): Add parameter 'dp_p'; call the new
258 function; handle hexadecimal representation of IEEE754 encoding.
259 (parse_operands): Update the call to parse_aarch64_imm_float.
261 2013-02-28 H.J. Lu <hongjiu.lu@intel.com>
263 * config/tc-i386.c (_i386_insn): Replace have_hle with hle_prefix.
264 (check_hle): Updated.
265 (md_assemble): Likewise.
266 (parse_insn): Likewise.
268 2013-02-28 H.J. Lu <hongjiu.lu@intel.com>
270 * config/tc-i386.c (_i386_insn): Add rep_prefix.
271 (md_assemble): Check if REP prefix is OK.
272 (parse_insn): Remove expecting_string_instruction. Set
275 2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
277 * config/tc-aarch64.c (aarch64_features): Add the 'crc' option.
279 2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
281 * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn
282 for system registers.
284 2013-02-27 DJ Delorie <dj@redhat.com>
286 * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE.
287 (rl78_op): Handle %code().
288 (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands.
289 (tc_gen_reloc): Likwise; convert to a computed reloc.
290 (md_apply_fix): Likewise.
292 2013-02-25 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
294 * config/rl78-parse.y: Fix encoding of DIVWU insn.
296 2013-02-25 Terry Guo <terry.guo@arm.com>
298 * config/tc-arm.c (arm_cpus): Add cortex-r7 entry.
299 * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to
300 list of accepted CPUs.
302 2013-02-19 H.J. Lu <hongjiu.lu@intel.com>
305 * config/tc-i386.c (cpu_arch): Add ".smap".
307 * doc/c-i386.texi: Document smap.
309 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
311 * config/tc-mips.c (s_cpload): Call mips_mark_labels and set
312 mips_assembling_insn appropriately.
313 (s_cpsetup, s_cprestore, s_cpreturn, s_cpadd): Likewise.
315 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
317 * config/tc-mips.c (append_insn): Correct indentation, remove
320 2013-02-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
322 * config/tc-arm.c (do_neon_mov): Break on NS_NULL.
324 2013-02-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
326 * configure.tgt: Add nios2-*-rtems*.
328 2013-02-14 Yufeng Zhang <yufeng.zhang@arm.com>
330 * config/tc-aarch64.c (md_begin): Change to check if 'name' is
333 2013-02-09 Jürgen Urban <JuergenUrban@gmx.de>
335 * config/tc-mips.c (CPU_HAS_LDC1_SDC1): New macro.
336 (macro): Use it. Assert that trunc.w.s is not used for r5900.
338 2013-02-08 Yi-Hsiu, Hsu <ahsu@marvell.com>
340 * gas/config/tc-arm.c (arm_cpus): Add support for mcpu=marvell-pj4
343 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
344 Andrew Jenner <andrew@codesourcery.com>
346 Based on patches from Altera Corporation.
348 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c.
349 (TARGET_CPU_HFILES): Add config/tc-nios2.h.
350 * Makefile.in: Regenerated.
351 * configure.tgt: Add case for nios2*-linux*.
352 * config/obj-elf.c: Conditionally include elf/nios2.h.
353 * config/tc-nios2.c: New file.
354 * config/tc-nios2.h: New file.
355 * doc/Makefile.am (CPU_DOCS): Add c-nios2.texi.
356 * doc/Makefile.in: Regenerated.
357 * doc/all.texi: Set NIOSII.
358 * doc/as.texinfo (Overview): Add Nios II options.
359 (Machine Dependencies): Include c-nios2.texi.
360 * doc/c-nios2.texi: New file.
361 * NEWS: Note Altera Nios II support.
363 2013-02-06 Alan Modra <amodra@gmail.com>
366 * config/tc-avr.h (TC_VALIDATE_FIX): Mark symbol used by reloc.
367 Don't skip fixups with fx_subsy non-NULL.
368 * config/tc-avr.c (tc_gen_reloc): Don't specially handle fixups
369 with fx_subsy non-NULL.
371 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
373 * doc/c-metag.texi: Add "@c man" markers.
375 2013-02-04 Alan Modra <amodra@gmail.com>
377 * write.c (fixup_segment): Return void. Delete seg_reloc_count
379 (TC_ADJUST_RELOC_COUNT): Delete.
380 * config/tc-i960.h (TC_ADJUST_RELOC_COUNT): Delete.
382 2013-02-04 Alan Modra <amodra@gmail.com>
384 * po/POTFILES.in: Regenerate.
386 2013-01-30 Markos Chandras <markos.chandras@imgtec.com>
388 * config/tc-metag.c: Make SWAP instruction less permissive with
391 2013-01-29 DJ Delorie <dj@redhat.com>
393 * config/tc-rl78.c (rl78_cons_fix_new): Handle user-specified
394 relocs in .word/.etc statements.
396 2013-01-29 Roland McGrath <mcgrathr@google.com>
398 * config/tc-arm.c (md_apply_fix): Use as_bad_where for "bad
399 immediate value for 8-bit offset" error so it shows line info.
401 2013-01-24 Joseph Myers <joseph@codesourcery.com>
403 * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections
406 2013-01-24 Nick Clifton <nickc@redhat.com>
408 * config/tc-v850.c: Add support for e3v5 architecture.
409 * doc/c-v850.texi: Mention new support.
411 2013-01-23 Nick Clifton <nickc@redhat.com>
414 * config/tc-avr.c: Include dwarf2dbg.h.
416 2013-01-18 H.J. Lu <hongjiu.lu@intel.com>
418 * config/tc-i386.c (reloc): Support size relocation only for ELF.
419 (tc_i386_fix_adjustable): Likewise.
421 (tc_gen_reloc): Likewise.
423 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
425 * config/tc-aarch64.c (output_operand_error_record): Change to output
426 the out-of-range error message as value-expected message if there is
427 only one single value in the expected range.
428 (programmer_friendly_fixup): Remove the handling of 8-bit MOVI with
429 LSL #0 as a programmer-friendly feature.
431 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
433 * config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32.
434 (tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and
435 BFD_RELOC_64_SIZE relocations.
436 (lex_got): Support "symbol@SIZE" and don't create GOT symbol
438 (tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64
439 relocations against local symbols.
441 2013-01-16 Alan Modra <amodra@gmail.com>
443 * config/tc-ppc.c (md_assemble <TE_PE>): Ignore line after
444 finding some sort of toc syntax error, and break to avoid
445 compiler uninit warning.
447 2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
450 * config/tc-i386.c (lex_got): Increment length by 1 if the
451 relocation token is removed.
453 2013-01-15 Nick Clifton <nickc@redhat.com>
455 * config/tc-v850.c (md_assemble): Allow signed values for
458 2013-01-11 Sean Keys <skeys@ipdatasys.com>
460 * config/tc-xgate.c (md_begin): Fix mistake made when going from
463 2013-01-10 Peter Bergner <bergner@vnet.ibm.com>
465 * doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm.
466 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
467 * config/tc-ppc.c (md_show_usage): Likewise.
468 (ppc_handle_align): Handle power8's group ending nop.
470 2013-01-10 Sean Keys <skeys@ipdatasys.com>
472 * config/tc-xgate.c (md_begin): Fix the printing of opcodes so
473 that the assember exits after the opcodes have been printed.
475 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
477 * app.c: Remove trailing white spaces.
481 * dw2gencfi.c: Likewise.
482 * dwarf2dbg.h: Likewise.
484 * input-file.c: Likewise.
485 * itbl-lex.h: Likewise.
486 * output-file.c: Likewise.
489 * subsegs.c: Likewise.
490 * symbols.c: Likewise.
492 * config/tc-i386.c: Likewise.
493 * doc/Makefile.am: Likewise.
494 * doc/Makefile.in: Likewise.
495 * doc/c-aarch64.texi: Likewise.
496 * doc/c-alpha.texi: Likewise.
497 * doc/c-arc.texi: Likewise.
498 * doc/c-arm.texi: Likewise.
499 * doc/c-avr.texi: Likewise.
500 * doc/c-bfin.texi: Likewise.
501 * doc/c-cr16.texi: Likewise.
502 * doc/c-d10v.texi: Likewise.
503 * doc/c-d30v.texi: Likewise.
504 * doc/c-h8300.texi: Likewise.
505 * doc/c-hppa.texi: Likewise.
506 * doc/c-i370.texi: Likewise.
507 * doc/c-i386.texi: Likewise.
508 * doc/c-i860.texi: Likewise.
509 * doc/c-m32c.texi: Likewise.
510 * doc/c-m32r.texi: Likewise.
511 * doc/c-m68hc11.texi: Likewise.
512 * doc/c-m68k.texi: Likewise.
513 * doc/c-microblaze.texi: Likewise.
514 * doc/c-mips.texi: Likewise.
515 * doc/c-msp430.texi: Likewise.
516 * doc/c-mt.texi: Likewise.
517 * doc/c-s390.texi: Likewise.
518 * doc/c-score.texi: Likewise.
519 * doc/c-sh.texi: Likewise.
520 * doc/c-sh64.texi: Likewise.
521 * doc/c-tic54x.texi: Likewise.
522 * doc/c-tic6x.texi: Likewise.
523 * doc/c-v850.texi: Likewise.
524 * doc/c-xc16x.texi: Likewise.
525 * doc/c-xgate.texi: Likewise.
526 * doc/c-xtensa.texi: Likewise.
527 * doc/c-z80.texi: Likewise.
528 * doc/internals.texi: Likewise.
530 2013-01-10 Roland McGrath <mcgrathr@google.com>
532 * hash.c (hash_new_sized): Make it global.
533 * hash.h: Declare it.
534 * macro.c (define_macro): Use hash_new_sized instead of hash_new,
537 2013-01-10 Will Newton <will.newton@imgtec.com>
539 * Makefile.am: Add Meta.
540 * Makefile.in: Regenerate.
541 * config/tc-metag.c: New file.
542 * config/tc-metag.h: New file.
543 * configure.tgt: Add Meta.
544 * doc/Makefile.am: Add Meta.
545 * doc/Makefile.in: Regenerate.
546 * doc/all.texi: Add Meta.
547 * doc/as.texiinfo: Document Meta options.
548 * doc/c-metag.texi: New file.
550 2013-01-09 Steve Ellcey <sellcey@mips.com>
552 * config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal
554 * config/tc-mips.c (internalError): Remove, replace with abort.
556 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
558 * config/tc-aarch64.c (parse_operands): Change to compare the result
559 of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of 'FALSE'.
561 2013-01-07 Nick Clifton <nickc@redhat.com>
564 * config/tc-arm.c (skip_past_char): Skip whitespace before the
565 anticipated character.
566 * config/tc-arm.c (parse_address_main): Delete skip of whitespace
567 here as it is no longer needed.
569 2013-01-06 Andreas Schwab <schwab@linux-m68k.org>
571 * doc/c-mips.texi (MIPS Opts): Fix use of @itemx.
572 * doc/c-score.texi (SCORE-Opts): Likewise.
573 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
575 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
577 * config/tc-mips.c: Add support for MIPS r5900.
578 Add M_LQ_AB and M_SQ_AB to support large values for instructions
580 (can_swap_branch_p, get_append_method): Detect some conditional
581 short loops to fix a bug on the r5900 by NOP in the branch delay
583 (M_MUL): Support 3 operands in multu on r5900.
584 (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I.
585 (s_mipsset): Force 32 bit floating point on r5900.
586 (mips_ip): Check parameter range of instructions mfps and mtps on
588 * configure.in: Detect CPU type when target string contains r5900
589 (e.g. mips64r5900el-linux-gnu).
591 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
593 * as.c (parse_args): Update copyright year to 2013.
595 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
597 * config/tc-aarch64.c (aarch64_cpus): Add entries for "cortex-a53"
600 2013-01-02 Nick Clifton <nickc@redhat.com>
603 * config/tc-arm.c (parse_address_main): Skip whitespace before a
606 For older changes see ChangeLog-2012
608 Copyright (C) 2013 Free Software Foundation, Inc.
610 Copying and distribution of this file, with or without modification,
611 are permitted in any medium without royalty provided the copyright
612 notice and this notice are preserved.
618 version-control: never