1 2013-04-26 Christian Groessler <chris@groessler.org>
3 * config/tc-z8k.c (md_parse_option): Set z8k_target_from_cmdline
4 according to the target parameter. Don't call s_segm since s_segm
5 calls bfd_set_arch_mach using stdoutput, but stdoutput isn't
7 (md_begin): Call s_segm according to target parameter from command
10 2013-04-25 Alan Modra <amodra@gmail.com>
12 * configure.in: Allow little-endian linux.
13 * configure: Regenerate.
15 2013-04-24 Sandra Loosemore <sandra@codesourcery.com>
17 * config/tc-nios2.c (nios2_control_register_arg_p): Rename
18 "fstatus" control register to "eccinj".
20 2013-04-19 Kai Tietz <ktietz@redhat.com>
22 * configure.tgt (i386-*-cygwin): Handle x86_64 cygwin.
24 2013-04-15 Julian Brown <julian@codesourcery.com>
26 * expr.c (add_to_result, subtract_from_result): Make global.
27 * expr.h (add_to_result, subtract_from_result): Add prototypes.
28 * config/tc-sh.c (sh_optimize_expr): Use add_to_result,
29 subtract_from_result to handle extra bit of precision for .sleb128
32 2013-04-10 Julian Brown <julian@codesourcery.com>
34 * read.c (convert_to_bignum): Add sign parameter. Use it
35 instead of X_unsigned to determine sign of resulting bignum.
36 (emit_expr): Pass extra argument to convert_to_bignum.
37 (emit_leb128_expr): Use X_extrabit instead of X_unsigned. Pass
38 X_extrabit to convert_to_bignum.
39 (parse_bitfield_cons): Set X_extrabit.
40 * expr.c (make_expr_symbol, expr_build_uconstant, operand):
41 Initialise X_extrabit field as appropriate.
43 (subtract_from_result): New.
45 * expr.h (expressionS): Add X_extrabit field.
47 2013-04-10 Jan Beulich <jbeulich@suse.com>
49 * gas/config/tc-arm.c (encode_arm_addr_mode_3): Only reject base
50 register being PC when is_t or writeback, and use distinct
51 diagnostic for the latter case.
53 2013-04-10 Jan Beulich <jbeulich@suse.com>
55 * gas/config/tc-arm.c (parse_operands): Re-write
57 (do_barrier): Remove bogus constraint().
58 (do_t_barrier): Remove.
60 2013-04-09 Joerg Wunsch <joerg.wunsch@atmel.com>
62 * gas/config/tc-avr.c (mcu_types): Add ATmega64RFR2,
63 ATmega644RFR2, ATmega128RFR2, ATmega1284RFR2, ATmega256RFR2,
65 * gas/doc/c-avr.texi (-mmcu documentation): Likewise.
67 2013-04-09 Jan Beulich <jbeulich@suse.com>
69 * gas/config/tc-arm.c (do_vmrs): Accept all control registers.
70 Use local variable Rt in more places.
71 (do_vmsr): Accept all control registers.
73 2013-04-09 Jan Beulich <jbeulich@suse.com>
75 * gas/config/tc-arm.c (do_neon_mov): Fake an instruction suffix
76 if there was none specified for moves between scalar and core
79 2013-04-09 Jan Beulich <jbeulich@suse.com>
81 * gas/config/tc-arm.c (do_neon_ldx_stx): Reject VSTn in the
84 2013-04-08 Jan Beulich <jbeulich@suse.com>
86 * gas/config/tc-arm.c (do_neon_ldr_str): Correct disgnostics for
89 2013-04-08 Jan Beulich <jbeulich@suse.com>
91 * gas/config/tc-arm.c (reg_names): Convert duplicate SP_fiq
94 2013-04-03 Alan Modra <amodra@gmail.com>
96 * doc/as.texinfo: Add support to generate man options for h8300.
97 * doc/c-h8300.texi: Likewise.
99 2013-03-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
101 * config/tc-arm.c (arm_cpus): Add support for Cortex-A53 and
104 2013-03-27 Alexis Deruelle <alexis.deruelle@gmail.com>
107 * config/tc-tic6x.c (tic6x_try_encode): Add use of bitfields array.
109 2013-03-26 Nick Clifton <nickc@redhat.com>
112 * listing.c (rebuffer_line): Rewrite to avoid seeking back to the
113 start of the file each time.
116 * config/tc-sparc.h (ELF_TARGET_FORMAT): Set to elf32-sparc for
119 2013-03-26 Douglas B Rupp <rupp@gnat.com>
121 * config/tc-ia64.c (emit_one_bundle): Move last_slot adjustment
124 2013-03-21 Will Newton <will.newton@linaro.org>
126 * config/tc-arm.c (encode_thumb32_addr_mode): Emit an error for all
127 pc-relative str instructions in Thumb mode.
129 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
131 * config/tc-h8300.c (do_a_fix_imm): Add relaxation of mov
132 @(disp:32,ERx) to mov @(disp:16,ERx) insns by new reloc
134 * config/tc-h8300.h: Remove duplicated defines.
136 2013-03-21 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
139 * tc-avr.c (mcu_has_3_byte_pc): New function.
140 (tc_cfi_frame_initial_instructions): Call it to find return
143 2013-03-20 Alexis Deruelle <alexis.deruelle@gmail.com>
146 * config/tc-tic6x.c (tic6x_try_encode): Handle
147 tic6x_coding_dreg_(msb|lsb) field coding types and use it to
148 encode register pair numbers when required.
150 2013-03-15 Will Newton <will.newton@linaro.org>
152 * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register
153 in vstr in Thumb mode for pre-ARMv7 cores.
155 2013-03-14 Andreas Schwab <schwab@suse.de>
157 * doc/c-arc.texi (ARC Directives): Revert last change and use
158 @itemize instead of @table.
159 * doc/c-arm.texi (ARM-Instruction-Set): Likewise.
161 2013-03-14 Nick Clifton <nickc@redhat.com>
164 * config/tc-arm.c (do_co_reg): Do not call check_obsolete with a
165 NULL message, instead just check ARM_CPU_IS_ANY directly.
167 2013-03-14 Nick Clifton <nickc@redhat.com>
170 * doc/c-arc.texi (ARC Directives): Use @code instead of @bullet
172 * doc/c-arm.texi (ARM-Instruction-Set): Likewise. Also add text
173 to the @item directives.
174 (ARM-Neon-Alignment): Move to correct place in the document.
175 * doc/c-cr16.texi (CR16 Operand Qualifiers): Fix up table
177 * doc/c-tic54x.texi (TIC54X-Subsyms): Correct use of
180 2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
182 * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o'
183 case. Add default BAD_CASE to switch.
185 2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
187 * config/tc-nios2.c (nios2_assemble_args_ds): New function.
188 (nios2_arg_info_structs): Add "d,s" and "d,s,E" entries.
190 2013-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
192 * config/tc-arm.c (crc_ext_armv8): New feature set.
193 (UNPRED_REG): New macro.
194 (do_crc32_1): New function.
195 (do_crc32b, do_crc32h, do_crc32w, do_crc32cb,
196 do_crc32ch, do_crc32cw): Likewise.
198 (insns): Add entries for crc32 mnemonics.
199 (arm_extensions): Add entry for crc.
201 2013-03-08 Chung-Lin Tang <cltang@codesourcery.com>
203 * write.h (struct fix): Add fx_dot_frag field.
205 * write.c (dot_frag): New variable.
206 (fix_new_internal): Set fx_dot_frag field with dot_frag.
207 (fixup_segment): Base calculation of fx_offset with fx_dot_frag.
208 * expr.c (expr): Save value of frag_now in dot_frag when setting
210 * read.c (emit_expr): Likewise. Delete comments.
212 2013-03-07 H.J. Lu <hongjiu.lu@intel.com>
214 * config/tc-i386.c (flag_code_names): Removed.
215 (i386_index_check): Rewrote.
217 2013-03-05 Yufeng Zhang <yufeng.zhang@arm.com>
219 * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern';
221 (aarch64_double_precision_fmovable): New function.
222 (parse_aarch64_imm_float): Add parameter 'dp_p'; call the new
223 function; handle hexadecimal representation of IEEE754 encoding.
224 (parse_operands): Update the call to parse_aarch64_imm_float.
226 2013-02-28 H.J. Lu <hongjiu.lu@intel.com>
228 * config/tc-i386.c (_i386_insn): Replace have_hle with hle_prefix.
229 (check_hle): Updated.
230 (md_assemble): Likewise.
231 (parse_insn): Likewise.
233 2013-02-28 H.J. Lu <hongjiu.lu@intel.com>
235 * config/tc-i386.c (_i386_insn): Add rep_prefix.
236 (md_assemble): Check if REP prefix is OK.
237 (parse_insn): Remove expecting_string_instruction. Set
240 2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
242 * config/tc-aarch64.c (aarch64_features): Add the 'crc' option.
244 2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
246 * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn
247 for system registers.
249 2013-02-27 DJ Delorie <dj@redhat.com>
251 * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE.
252 (rl78_op): Handle %code().
253 (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands.
254 (tc_gen_reloc): Likwise; convert to a computed reloc.
255 (md_apply_fix): Likewise.
257 2013-02-25 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
259 * config/rl78-parse.y: Fix encoding of DIVWU insn.
261 2013-02-25 Terry Guo <terry.guo@arm.com>
263 * config/tc-arm.c (arm_cpus): Add cortex-r7 entry.
264 * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to
265 list of accepted CPUs.
267 2013-02-19 H.J. Lu <hongjiu.lu@intel.com>
270 * config/tc-i386.c (cpu_arch): Add ".smap".
272 * doc/c-i386.texi: Document smap.
274 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
276 * config/tc-mips.c (s_cpload): Call mips_mark_labels and set
277 mips_assembling_insn appropriately.
278 (s_cpsetup, s_cprestore, s_cpreturn, s_cpadd): Likewise.
280 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
282 * config/tc-mips.c (append_insn): Correct indentation, remove
285 2013-02-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
287 * config/tc-arm.c (do_neon_mov): Break on NS_NULL.
289 2013-02-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
291 * configure.tgt: Add nios2-*-rtems*.
293 2013-02-14 Yufeng Zhang <yufeng.zhang@arm.com>
295 * config/tc-aarch64.c (md_begin): Change to check if 'name' is
298 2013-02-09 Jürgen Urban <JuergenUrban@gmx.de>
300 * config/tc-mips.c (CPU_HAS_LDC1_SDC1): New macro.
301 (macro): Use it. Assert that trunc.w.s is not used for r5900.
303 2013-02-08 Yi-Hsiu, Hsu <ahsu@marvell.com>
305 * gas/config/tc-arm.c (arm_cpus): Add support for mcpu=marvell-pj4
308 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
309 Andrew Jenner <andrew@codesourcery.com>
311 Based on patches from Altera Corporation.
313 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c.
314 (TARGET_CPU_HFILES): Add config/tc-nios2.h.
315 * Makefile.in: Regenerated.
316 * configure.tgt: Add case for nios2*-linux*.
317 * config/obj-elf.c: Conditionally include elf/nios2.h.
318 * config/tc-nios2.c: New file.
319 * config/tc-nios2.h: New file.
320 * doc/Makefile.am (CPU_DOCS): Add c-nios2.texi.
321 * doc/Makefile.in: Regenerated.
322 * doc/all.texi: Set NIOSII.
323 * doc/as.texinfo (Overview): Add Nios II options.
324 (Machine Dependencies): Include c-nios2.texi.
325 * doc/c-nios2.texi: New file.
326 * NEWS: Note Altera Nios II support.
328 2013-02-06 Alan Modra <amodra@gmail.com>
331 * config/tc-avr.h (TC_VALIDATE_FIX): Mark symbol used by reloc.
332 Don't skip fixups with fx_subsy non-NULL.
333 * config/tc-avr.c (tc_gen_reloc): Don't specially handle fixups
334 with fx_subsy non-NULL.
336 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
338 * doc/c-metag.texi: Add "@c man" markers.
340 2013-02-04 Alan Modra <amodra@gmail.com>
342 * write.c (fixup_segment): Return void. Delete seg_reloc_count
344 (TC_ADJUST_RELOC_COUNT): Delete.
345 * config/tc-i960.h (TC_ADJUST_RELOC_COUNT): Delete.
347 2013-02-04 Alan Modra <amodra@gmail.com>
349 * po/POTFILES.in: Regenerate.
351 2013-01-30 Markos Chandras <markos.chandras@imgtec.com>
353 * config/tc-metag.c: Make SWAP instruction less permissive with
356 2013-01-29 DJ Delorie <dj@redhat.com>
358 * config/tc-rl78.c (rl78_cons_fix_new): Handle user-specified
359 relocs in .word/.etc statements.
361 2013-01-29 Roland McGrath <mcgrathr@google.com>
363 * config/tc-arm.c (md_apply_fix): Use as_bad_where for "bad
364 immediate value for 8-bit offset" error so it shows line info.
366 2013-01-24 Joseph Myers <joseph@codesourcery.com>
368 * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections
371 2013-01-24 Nick Clifton <nickc@redhat.com>
373 * config/tc-v850.c: Add support for e3v5 architecture.
374 * doc/c-v850.texi: Mention new support.
376 2013-01-23 Nick Clifton <nickc@redhat.com>
379 * config/tc-avr.c: Include dwarf2dbg.h.
381 2013-01-18 H.J. Lu <hongjiu.lu@intel.com>
383 * config/tc-i386.c (reloc): Support size relocation only for ELF.
384 (tc_i386_fix_adjustable): Likewise.
386 (tc_gen_reloc): Likewise.
388 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
390 * config/tc-aarch64.c (output_operand_error_record): Change to output
391 the out-of-range error message as value-expected message if there is
392 only one single value in the expected range.
393 (programmer_friendly_fixup): Remove the handling of 8-bit MOVI with
394 LSL #0 as a programmer-friendly feature.
396 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
398 * config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32.
399 (tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and
400 BFD_RELOC_64_SIZE relocations.
401 (lex_got): Support "symbol@SIZE" and don't create GOT symbol
403 (tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64
404 relocations against local symbols.
406 2013-01-16 Alan Modra <amodra@gmail.com>
408 * config/tc-ppc.c (md_assemble <TE_PE>): Ignore line after
409 finding some sort of toc syntax error, and break to avoid
410 compiler uninit warning.
412 2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
415 * config/tc-i386.c (lex_got): Increment length by 1 if the
416 relocation token is removed.
418 2013-01-15 Nick Clifton <nickc@redhat.com>
420 * config/tc-v850.c (md_assemble): Allow signed values for
423 2013-01-11 Sean Keys <skeys@ipdatasys.com>
425 * config/tc-xgate.c (md_begin): Fix mistake made when going from
428 2013-01-10 Peter Bergner <bergner@vnet.ibm.com>
430 * doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm.
431 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
432 * config/tc-ppc.c (md_show_usage): Likewise.
433 (ppc_handle_align): Handle power8's group ending nop.
435 2013-01-10 Sean Keys <skeys@ipdatasys.com>
437 * config/tc-xgate.c (md_begin): Fix the printing of opcodes so
438 that the assember exits after the opcodes have been printed.
440 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
442 * app.c: Remove trailing white spaces.
446 * dw2gencfi.c: Likewise.
447 * dwarf2dbg.h: Likewise.
449 * input-file.c: Likewise.
450 * itbl-lex.h: Likewise.
451 * output-file.c: Likewise.
454 * subsegs.c: Likewise.
455 * symbols.c: Likewise.
457 * config/tc-i386.c: Likewise.
458 * doc/Makefile.am: Likewise.
459 * doc/Makefile.in: Likewise.
460 * doc/c-aarch64.texi: Likewise.
461 * doc/c-alpha.texi: Likewise.
462 * doc/c-arc.texi: Likewise.
463 * doc/c-arm.texi: Likewise.
464 * doc/c-avr.texi: Likewise.
465 * doc/c-bfin.texi: Likewise.
466 * doc/c-cr16.texi: Likewise.
467 * doc/c-d10v.texi: Likewise.
468 * doc/c-d30v.texi: Likewise.
469 * doc/c-h8300.texi: Likewise.
470 * doc/c-hppa.texi: Likewise.
471 * doc/c-i370.texi: Likewise.
472 * doc/c-i386.texi: Likewise.
473 * doc/c-i860.texi: Likewise.
474 * doc/c-m32c.texi: Likewise.
475 * doc/c-m32r.texi: Likewise.
476 * doc/c-m68hc11.texi: Likewise.
477 * doc/c-m68k.texi: Likewise.
478 * doc/c-microblaze.texi: Likewise.
479 * doc/c-mips.texi: Likewise.
480 * doc/c-msp430.texi: Likewise.
481 * doc/c-mt.texi: Likewise.
482 * doc/c-s390.texi: Likewise.
483 * doc/c-score.texi: Likewise.
484 * doc/c-sh.texi: Likewise.
485 * doc/c-sh64.texi: Likewise.
486 * doc/c-tic54x.texi: Likewise.
487 * doc/c-tic6x.texi: Likewise.
488 * doc/c-v850.texi: Likewise.
489 * doc/c-xc16x.texi: Likewise.
490 * doc/c-xgate.texi: Likewise.
491 * doc/c-xtensa.texi: Likewise.
492 * doc/c-z80.texi: Likewise.
493 * doc/internals.texi: Likewise.
495 2013-01-10 Roland McGrath <mcgrathr@google.com>
497 * hash.c (hash_new_sized): Make it global.
498 * hash.h: Declare it.
499 * macro.c (define_macro): Use hash_new_sized instead of hash_new,
502 2013-01-10 Will Newton <will.newton@imgtec.com>
504 * Makefile.am: Add Meta.
505 * Makefile.in: Regenerate.
506 * config/tc-metag.c: New file.
507 * config/tc-metag.h: New file.
508 * configure.tgt: Add Meta.
509 * doc/Makefile.am: Add Meta.
510 * doc/Makefile.in: Regenerate.
511 * doc/all.texi: Add Meta.
512 * doc/as.texiinfo: Document Meta options.
513 * doc/c-metag.texi: New file.
515 2013-01-09 Steve Ellcey <sellcey@mips.com>
517 * config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal
519 * config/tc-mips.c (internalError): Remove, replace with abort.
521 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
523 * config/tc-aarch64.c (parse_operands): Change to compare the result
524 of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of 'FALSE'.
526 2013-01-07 Nick Clifton <nickc@redhat.com>
529 * config/tc-arm.c (skip_past_char): Skip whitespace before the
530 anticipated character.
531 * config/tc-arm.c (parse_address_main): Delete skip of whitespace
532 here as it is no longer needed.
534 2013-01-06 Andreas Schwab <schwab@linux-m68k.org>
536 * doc/c-mips.texi (MIPS Opts): Fix use of @itemx.
537 * doc/c-score.texi (SCORE-Opts): Likewise.
538 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
540 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
542 * config/tc-mips.c: Add support for MIPS r5900.
543 Add M_LQ_AB and M_SQ_AB to support large values for instructions
545 (can_swap_branch_p, get_append_method): Detect some conditional
546 short loops to fix a bug on the r5900 by NOP in the branch delay
548 (M_MUL): Support 3 operands in multu on r5900.
549 (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I.
550 (s_mipsset): Force 32 bit floating point on r5900.
551 (mips_ip): Check parameter range of instructions mfps and mtps on
553 * configure.in: Detect CPU type when target string contains r5900
554 (e.g. mips64r5900el-linux-gnu).
556 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
558 * as.c (parse_args): Update copyright year to 2013.
560 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
562 * config/tc-aarch64.c (aarch64_cpus): Add entries for "cortex-a53"
565 2013-01-02 Nick Clifton <nickc@redhat.com>
568 * config/tc-arm.c (parse_address_main): Skip whitespace before a
571 For older changes see ChangeLog-2012
573 Copyright (C) 2013 Free Software Foundation, Inc.
575 Copying and distribution of this file, with or without modification,
576 are permitted in any medium without royalty provided the copyright
577 notice and this notice are preserved.
583 version-control: never