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