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