1 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
3 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
6 2013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
8 * config/tc-mips.c (mips_ip): Add sizelo.
9 For "+C", "+G", and "+H", set sizelo and compare against it.
11 2013-04-29 Nick Clifton <nickc@redhat.com>
13 * as.c (Options): Add -gdwarf-sections.
14 (parse_args): Likewise.
15 * as.h (flag_dwarf_sections): Declare.
16 * dwarf2dbg.c (emit_fixed_inc_line_addr): Skip section changes.
17 (process_entries): When -gdwarf-sections is enabled generate
18 fragmentary .debug_line sections.
19 (out_debug_line): Set the section for the .debug_line section end
21 * doc/as.texinfo: Document -gdwarf-sections.
22 * NEWS: Mention -gdwarf-sections.
24 2013-04-26 Christian Groessler <chris@groessler.org>
26 * config/tc-z8k.c (md_parse_option): Set z8k_target_from_cmdline
27 according to the target parameter. Don't call s_segm since s_segm
28 calls bfd_set_arch_mach using stdoutput, but stdoutput isn't
30 (md_begin): Call s_segm according to target parameter from command
33 2013-04-25 Alan Modra <amodra@gmail.com>
35 * configure.in: Allow little-endian linux.
36 * configure: Regenerate.
38 2013-04-24 Sandra Loosemore <sandra@codesourcery.com>
40 * config/tc-nios2.c (nios2_control_register_arg_p): Rename
41 "fstatus" control register to "eccinj".
43 2013-04-19 Kai Tietz <ktietz@redhat.com>
45 * configure.tgt (i386-*-cygwin): Handle x86_64 cygwin.
47 2013-04-15 Julian Brown <julian@codesourcery.com>
49 * expr.c (add_to_result, subtract_from_result): Make global.
50 * expr.h (add_to_result, subtract_from_result): Add prototypes.
51 * config/tc-sh.c (sh_optimize_expr): Use add_to_result,
52 subtract_from_result to handle extra bit of precision for .sleb128
55 2013-04-10 Julian Brown <julian@codesourcery.com>
57 * read.c (convert_to_bignum): Add sign parameter. Use it
58 instead of X_unsigned to determine sign of resulting bignum.
59 (emit_expr): Pass extra argument to convert_to_bignum.
60 (emit_leb128_expr): Use X_extrabit instead of X_unsigned. Pass
61 X_extrabit to convert_to_bignum.
62 (parse_bitfield_cons): Set X_extrabit.
63 * expr.c (make_expr_symbol, expr_build_uconstant, operand):
64 Initialise X_extrabit field as appropriate.
66 (subtract_from_result): New.
68 * expr.h (expressionS): Add X_extrabit field.
70 2013-04-10 Jan Beulich <jbeulich@suse.com>
72 * gas/config/tc-arm.c (encode_arm_addr_mode_3): Only reject base
73 register being PC when is_t or writeback, and use distinct
74 diagnostic for the latter case.
76 2013-04-10 Jan Beulich <jbeulich@suse.com>
78 * gas/config/tc-arm.c (parse_operands): Re-write
80 (do_barrier): Remove bogus constraint().
81 (do_t_barrier): Remove.
83 2013-04-09 Joerg Wunsch <joerg.wunsch@atmel.com>
85 * gas/config/tc-avr.c (mcu_types): Add ATmega64RFR2,
86 ATmega644RFR2, ATmega128RFR2, ATmega1284RFR2, ATmega256RFR2,
88 * gas/doc/c-avr.texi (-mmcu documentation): Likewise.
90 2013-04-09 Jan Beulich <jbeulich@suse.com>
92 * gas/config/tc-arm.c (do_vmrs): Accept all control registers.
93 Use local variable Rt in more places.
94 (do_vmsr): Accept all control registers.
96 2013-04-09 Jan Beulich <jbeulich@suse.com>
98 * gas/config/tc-arm.c (do_neon_mov): Fake an instruction suffix
99 if there was none specified for moves between scalar and core
102 2013-04-09 Jan Beulich <jbeulich@suse.com>
104 * gas/config/tc-arm.c (do_neon_ldx_stx): Reject VSTn in the
107 2013-04-08 Jan Beulich <jbeulich@suse.com>
109 * gas/config/tc-arm.c (do_neon_ldr_str): Correct disgnostics for
112 2013-04-08 Jan Beulich <jbeulich@suse.com>
114 * gas/config/tc-arm.c (reg_names): Convert duplicate SP_fiq
117 2013-04-03 Alan Modra <amodra@gmail.com>
119 * doc/as.texinfo: Add support to generate man options for h8300.
120 * doc/c-h8300.texi: Likewise.
122 2013-03-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
124 * config/tc-arm.c (arm_cpus): Add support for Cortex-A53 and
127 2013-03-27 Alexis Deruelle <alexis.deruelle@gmail.com>
130 * config/tc-tic6x.c (tic6x_try_encode): Add use of bitfields array.
132 2013-03-26 Nick Clifton <nickc@redhat.com>
135 * listing.c (rebuffer_line): Rewrite to avoid seeking back to the
136 start of the file each time.
139 * config/tc-sparc.h (ELF_TARGET_FORMAT): Set to elf32-sparc for
142 2013-03-26 Douglas B Rupp <rupp@gnat.com>
144 * config/tc-ia64.c (emit_one_bundle): Move last_slot adjustment
147 2013-03-21 Will Newton <will.newton@linaro.org>
149 * config/tc-arm.c (encode_thumb32_addr_mode): Emit an error for all
150 pc-relative str instructions in Thumb mode.
152 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
154 * config/tc-h8300.c (do_a_fix_imm): Add relaxation of mov
155 @(disp:32,ERx) to mov @(disp:16,ERx) insns by new reloc
157 * config/tc-h8300.h: Remove duplicated defines.
159 2013-03-21 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
162 * tc-avr.c (mcu_has_3_byte_pc): New function.
163 (tc_cfi_frame_initial_instructions): Call it to find return
166 2013-03-20 Alexis Deruelle <alexis.deruelle@gmail.com>
169 * config/tc-tic6x.c (tic6x_try_encode): Handle
170 tic6x_coding_dreg_(msb|lsb) field coding types and use it to
171 encode register pair numbers when required.
173 2013-03-15 Will Newton <will.newton@linaro.org>
175 * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register
176 in vstr in Thumb mode for pre-ARMv7 cores.
178 2013-03-14 Andreas Schwab <schwab@suse.de>
180 * doc/c-arc.texi (ARC Directives): Revert last change and use
181 @itemize instead of @table.
182 * doc/c-arm.texi (ARM-Instruction-Set): Likewise.
184 2013-03-14 Nick Clifton <nickc@redhat.com>
187 * config/tc-arm.c (do_co_reg): Do not call check_obsolete with a
188 NULL message, instead just check ARM_CPU_IS_ANY directly.
190 2013-03-14 Nick Clifton <nickc@redhat.com>
193 * doc/c-arc.texi (ARC Directives): Use @code instead of @bullet
195 * doc/c-arm.texi (ARM-Instruction-Set): Likewise. Also add text
196 to the @item directives.
197 (ARM-Neon-Alignment): Move to correct place in the document.
198 * doc/c-cr16.texi (CR16 Operand Qualifiers): Fix up table
200 * doc/c-tic54x.texi (TIC54X-Subsyms): Correct use of
203 2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
205 * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o'
206 case. Add default BAD_CASE to switch.
208 2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
210 * config/tc-nios2.c (nios2_assemble_args_ds): New function.
211 (nios2_arg_info_structs): Add "d,s" and "d,s,E" entries.
213 2013-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
215 * config/tc-arm.c (crc_ext_armv8): New feature set.
216 (UNPRED_REG): New macro.
217 (do_crc32_1): New function.
218 (do_crc32b, do_crc32h, do_crc32w, do_crc32cb,
219 do_crc32ch, do_crc32cw): Likewise.
221 (insns): Add entries for crc32 mnemonics.
222 (arm_extensions): Add entry for crc.
224 2013-03-08 Chung-Lin Tang <cltang@codesourcery.com>
226 * write.h (struct fix): Add fx_dot_frag field.
228 * write.c (dot_frag): New variable.
229 (fix_new_internal): Set fx_dot_frag field with dot_frag.
230 (fixup_segment): Base calculation of fx_offset with fx_dot_frag.
231 * expr.c (expr): Save value of frag_now in dot_frag when setting
233 * read.c (emit_expr): Likewise. Delete comments.
235 2013-03-07 H.J. Lu <hongjiu.lu@intel.com>
237 * config/tc-i386.c (flag_code_names): Removed.
238 (i386_index_check): Rewrote.
240 2013-03-05 Yufeng Zhang <yufeng.zhang@arm.com>
242 * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern';
244 (aarch64_double_precision_fmovable): New function.
245 (parse_aarch64_imm_float): Add parameter 'dp_p'; call the new
246 function; handle hexadecimal representation of IEEE754 encoding.
247 (parse_operands): Update the call to parse_aarch64_imm_float.
249 2013-02-28 H.J. Lu <hongjiu.lu@intel.com>
251 * config/tc-i386.c (_i386_insn): Replace have_hle with hle_prefix.
252 (check_hle): Updated.
253 (md_assemble): Likewise.
254 (parse_insn): Likewise.
256 2013-02-28 H.J. Lu <hongjiu.lu@intel.com>
258 * config/tc-i386.c (_i386_insn): Add rep_prefix.
259 (md_assemble): Check if REP prefix is OK.
260 (parse_insn): Remove expecting_string_instruction. Set
263 2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
265 * config/tc-aarch64.c (aarch64_features): Add the 'crc' option.
267 2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
269 * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn
270 for system registers.
272 2013-02-27 DJ Delorie <dj@redhat.com>
274 * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE.
275 (rl78_op): Handle %code().
276 (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands.
277 (tc_gen_reloc): Likwise; convert to a computed reloc.
278 (md_apply_fix): Likewise.
280 2013-02-25 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
282 * config/rl78-parse.y: Fix encoding of DIVWU insn.
284 2013-02-25 Terry Guo <terry.guo@arm.com>
286 * config/tc-arm.c (arm_cpus): Add cortex-r7 entry.
287 * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to
288 list of accepted CPUs.
290 2013-02-19 H.J. Lu <hongjiu.lu@intel.com>
293 * config/tc-i386.c (cpu_arch): Add ".smap".
295 * doc/c-i386.texi: Document smap.
297 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
299 * config/tc-mips.c (s_cpload): Call mips_mark_labels and set
300 mips_assembling_insn appropriately.
301 (s_cpsetup, s_cprestore, s_cpreturn, s_cpadd): Likewise.
303 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
305 * config/tc-mips.c (append_insn): Correct indentation, remove
308 2013-02-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
310 * config/tc-arm.c (do_neon_mov): Break on NS_NULL.
312 2013-02-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
314 * configure.tgt: Add nios2-*-rtems*.
316 2013-02-14 Yufeng Zhang <yufeng.zhang@arm.com>
318 * config/tc-aarch64.c (md_begin): Change to check if 'name' is
321 2013-02-09 Jürgen Urban <JuergenUrban@gmx.de>
323 * config/tc-mips.c (CPU_HAS_LDC1_SDC1): New macro.
324 (macro): Use it. Assert that trunc.w.s is not used for r5900.
326 2013-02-08 Yi-Hsiu, Hsu <ahsu@marvell.com>
328 * gas/config/tc-arm.c (arm_cpus): Add support for mcpu=marvell-pj4
331 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
332 Andrew Jenner <andrew@codesourcery.com>
334 Based on patches from Altera Corporation.
336 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c.
337 (TARGET_CPU_HFILES): Add config/tc-nios2.h.
338 * Makefile.in: Regenerated.
339 * configure.tgt: Add case for nios2*-linux*.
340 * config/obj-elf.c: Conditionally include elf/nios2.h.
341 * config/tc-nios2.c: New file.
342 * config/tc-nios2.h: New file.
343 * doc/Makefile.am (CPU_DOCS): Add c-nios2.texi.
344 * doc/Makefile.in: Regenerated.
345 * doc/all.texi: Set NIOSII.
346 * doc/as.texinfo (Overview): Add Nios II options.
347 (Machine Dependencies): Include c-nios2.texi.
348 * doc/c-nios2.texi: New file.
349 * NEWS: Note Altera Nios II support.
351 2013-02-06 Alan Modra <amodra@gmail.com>
354 * config/tc-avr.h (TC_VALIDATE_FIX): Mark symbol used by reloc.
355 Don't skip fixups with fx_subsy non-NULL.
356 * config/tc-avr.c (tc_gen_reloc): Don't specially handle fixups
357 with fx_subsy non-NULL.
359 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
361 * doc/c-metag.texi: Add "@c man" markers.
363 2013-02-04 Alan Modra <amodra@gmail.com>
365 * write.c (fixup_segment): Return void. Delete seg_reloc_count
367 (TC_ADJUST_RELOC_COUNT): Delete.
368 * config/tc-i960.h (TC_ADJUST_RELOC_COUNT): Delete.
370 2013-02-04 Alan Modra <amodra@gmail.com>
372 * po/POTFILES.in: Regenerate.
374 2013-01-30 Markos Chandras <markos.chandras@imgtec.com>
376 * config/tc-metag.c: Make SWAP instruction less permissive with
379 2013-01-29 DJ Delorie <dj@redhat.com>
381 * config/tc-rl78.c (rl78_cons_fix_new): Handle user-specified
382 relocs in .word/.etc statements.
384 2013-01-29 Roland McGrath <mcgrathr@google.com>
386 * config/tc-arm.c (md_apply_fix): Use as_bad_where for "bad
387 immediate value for 8-bit offset" error so it shows line info.
389 2013-01-24 Joseph Myers <joseph@codesourcery.com>
391 * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections
394 2013-01-24 Nick Clifton <nickc@redhat.com>
396 * config/tc-v850.c: Add support for e3v5 architecture.
397 * doc/c-v850.texi: Mention new support.
399 2013-01-23 Nick Clifton <nickc@redhat.com>
402 * config/tc-avr.c: Include dwarf2dbg.h.
404 2013-01-18 H.J. Lu <hongjiu.lu@intel.com>
406 * config/tc-i386.c (reloc): Support size relocation only for ELF.
407 (tc_i386_fix_adjustable): Likewise.
409 (tc_gen_reloc): Likewise.
411 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
413 * config/tc-aarch64.c (output_operand_error_record): Change to output
414 the out-of-range error message as value-expected message if there is
415 only one single value in the expected range.
416 (programmer_friendly_fixup): Remove the handling of 8-bit MOVI with
417 LSL #0 as a programmer-friendly feature.
419 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
421 * config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32.
422 (tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and
423 BFD_RELOC_64_SIZE relocations.
424 (lex_got): Support "symbol@SIZE" and don't create GOT symbol
426 (tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64
427 relocations against local symbols.
429 2013-01-16 Alan Modra <amodra@gmail.com>
431 * config/tc-ppc.c (md_assemble <TE_PE>): Ignore line after
432 finding some sort of toc syntax error, and break to avoid
433 compiler uninit warning.
435 2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
438 * config/tc-i386.c (lex_got): Increment length by 1 if the
439 relocation token is removed.
441 2013-01-15 Nick Clifton <nickc@redhat.com>
443 * config/tc-v850.c (md_assemble): Allow signed values for
446 2013-01-11 Sean Keys <skeys@ipdatasys.com>
448 * config/tc-xgate.c (md_begin): Fix mistake made when going from
451 2013-01-10 Peter Bergner <bergner@vnet.ibm.com>
453 * doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm.
454 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
455 * config/tc-ppc.c (md_show_usage): Likewise.
456 (ppc_handle_align): Handle power8's group ending nop.
458 2013-01-10 Sean Keys <skeys@ipdatasys.com>
460 * config/tc-xgate.c (md_begin): Fix the printing of opcodes so
461 that the assember exits after the opcodes have been printed.
463 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
465 * app.c: Remove trailing white spaces.
469 * dw2gencfi.c: Likewise.
470 * dwarf2dbg.h: Likewise.
472 * input-file.c: Likewise.
473 * itbl-lex.h: Likewise.
474 * output-file.c: Likewise.
477 * subsegs.c: Likewise.
478 * symbols.c: Likewise.
480 * config/tc-i386.c: Likewise.
481 * doc/Makefile.am: Likewise.
482 * doc/Makefile.in: Likewise.
483 * doc/c-aarch64.texi: Likewise.
484 * doc/c-alpha.texi: Likewise.
485 * doc/c-arc.texi: Likewise.
486 * doc/c-arm.texi: Likewise.
487 * doc/c-avr.texi: Likewise.
488 * doc/c-bfin.texi: Likewise.
489 * doc/c-cr16.texi: Likewise.
490 * doc/c-d10v.texi: Likewise.
491 * doc/c-d30v.texi: Likewise.
492 * doc/c-h8300.texi: Likewise.
493 * doc/c-hppa.texi: Likewise.
494 * doc/c-i370.texi: Likewise.
495 * doc/c-i386.texi: Likewise.
496 * doc/c-i860.texi: Likewise.
497 * doc/c-m32c.texi: Likewise.
498 * doc/c-m32r.texi: Likewise.
499 * doc/c-m68hc11.texi: Likewise.
500 * doc/c-m68k.texi: Likewise.
501 * doc/c-microblaze.texi: Likewise.
502 * doc/c-mips.texi: Likewise.
503 * doc/c-msp430.texi: Likewise.
504 * doc/c-mt.texi: Likewise.
505 * doc/c-s390.texi: Likewise.
506 * doc/c-score.texi: Likewise.
507 * doc/c-sh.texi: Likewise.
508 * doc/c-sh64.texi: Likewise.
509 * doc/c-tic54x.texi: Likewise.
510 * doc/c-tic6x.texi: Likewise.
511 * doc/c-v850.texi: Likewise.
512 * doc/c-xc16x.texi: Likewise.
513 * doc/c-xgate.texi: Likewise.
514 * doc/c-xtensa.texi: Likewise.
515 * doc/c-z80.texi: Likewise.
516 * doc/internals.texi: Likewise.
518 2013-01-10 Roland McGrath <mcgrathr@google.com>
520 * hash.c (hash_new_sized): Make it global.
521 * hash.h: Declare it.
522 * macro.c (define_macro): Use hash_new_sized instead of hash_new,
525 2013-01-10 Will Newton <will.newton@imgtec.com>
527 * Makefile.am: Add Meta.
528 * Makefile.in: Regenerate.
529 * config/tc-metag.c: New file.
530 * config/tc-metag.h: New file.
531 * configure.tgt: Add Meta.
532 * doc/Makefile.am: Add Meta.
533 * doc/Makefile.in: Regenerate.
534 * doc/all.texi: Add Meta.
535 * doc/as.texiinfo: Document Meta options.
536 * doc/c-metag.texi: New file.
538 2013-01-09 Steve Ellcey <sellcey@mips.com>
540 * config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal
542 * config/tc-mips.c (internalError): Remove, replace with abort.
544 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
546 * config/tc-aarch64.c (parse_operands): Change to compare the result
547 of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of 'FALSE'.
549 2013-01-07 Nick Clifton <nickc@redhat.com>
552 * config/tc-arm.c (skip_past_char): Skip whitespace before the
553 anticipated character.
554 * config/tc-arm.c (parse_address_main): Delete skip of whitespace
555 here as it is no longer needed.
557 2013-01-06 Andreas Schwab <schwab@linux-m68k.org>
559 * doc/c-mips.texi (MIPS Opts): Fix use of @itemx.
560 * doc/c-score.texi (SCORE-Opts): Likewise.
561 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
563 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
565 * config/tc-mips.c: Add support for MIPS r5900.
566 Add M_LQ_AB and M_SQ_AB to support large values for instructions
568 (can_swap_branch_p, get_append_method): Detect some conditional
569 short loops to fix a bug on the r5900 by NOP in the branch delay
571 (M_MUL): Support 3 operands in multu on r5900.
572 (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I.
573 (s_mipsset): Force 32 bit floating point on r5900.
574 (mips_ip): Check parameter range of instructions mfps and mtps on
576 * configure.in: Detect CPU type when target string contains r5900
577 (e.g. mips64r5900el-linux-gnu).
579 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
581 * as.c (parse_args): Update copyright year to 2013.
583 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
585 * config/tc-aarch64.c (aarch64_cpus): Add entries for "cortex-a53"
588 2013-01-02 Nick Clifton <nickc@redhat.com>
591 * config/tc-arm.c (parse_address_main): Skip whitespace before a
594 For older changes see ChangeLog-2012
596 Copyright (C) 2013 Free Software Foundation, Inc.
598 Copying and distribution of this file, with or without modification,
599 are permitted in any medium without royalty provided the copyright
600 notice and this notice are preserved.
606 version-control: never