1 2013-03-20 Alexis Deruelle <alexis.deruelle@gmail.com>
4 * config/tc-tic6x.c (tic6x_try_encode): Handle
5 tic6x_coding_dreg_(msb|lsb) field coding types and use it to
6 encode register pair numbers when required.
8 2013-03-15 Will Newton <will.newton@linaro.org>
10 * config/tc-arm.c (do_neon_ldr_str): Fix error check for PC register
11 in vstr in Thumb mode for pre-ARMv7 cores.
13 2013-03-14 Andreas Schwab <schwab@suse.de>
15 * doc/c-arc.texi (ARC Directives): Revert last change and use
16 @itemize instead of @table.
17 * doc/c-arm.texi (ARM-Instruction-Set): Likewise.
19 2013-03-14 Nick Clifton <nickc@redhat.com>
22 * config/tc-arm.c (do_co_reg): Do not call check_obsolete with a
23 NULL message, instead just check ARM_CPU_IS_ANY directly.
25 2013-03-14 Nick Clifton <nickc@redhat.com>
28 * doc/c-arc.texi (ARC Directives): Use @code instead of @bullet
30 * doc/c-arm.texi (ARM-Instruction-Set): Likewise. Also add text
31 to the @item directives.
32 (ARM-Neon-Alignment): Move to correct place in the document.
33 * doc/c-cr16.texi (CR16 Operand Qualifiers): Fix up table
35 * doc/c-tic54x.texi (TIC54X-Subsyms): Correct use of
38 2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
40 * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o'
41 case. Add default BAD_CASE to switch.
43 2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
45 * config/tc-nios2.c (nios2_assemble_args_ds): New function.
46 (nios2_arg_info_structs): Add "d,s" and "d,s,E" entries.
48 2013-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
50 * config/tc-arm.c (crc_ext_armv8): New feature set.
51 (UNPRED_REG): New macro.
52 (do_crc32_1): New function.
53 (do_crc32b, do_crc32h, do_crc32w, do_crc32cb,
54 do_crc32ch, do_crc32cw): Likewise.
56 (insns): Add entries for crc32 mnemonics.
57 (arm_extensions): Add entry for crc.
59 2013-03-08 Chung-Lin Tang <cltang@codesourcery.com>
61 * write.h (struct fix): Add fx_dot_frag field.
63 * write.c (dot_frag): New variable.
64 (fix_new_internal): Set fx_dot_frag field with dot_frag.
65 (fixup_segment): Base calculation of fx_offset with fx_dot_frag.
66 * expr.c (expr): Save value of frag_now in dot_frag when setting
68 * read.c (emit_expr): Likewise. Delete comments.
70 2013-03-07 H.J. Lu <hongjiu.lu@intel.com>
72 * config/tc-i386.c (flag_code_names): Removed.
73 (i386_index_check): Rewrote.
75 2013-03-05 Yufeng Zhang <yufeng.zhang@arm.com>
77 * config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern';
79 (aarch64_double_precision_fmovable): New function.
80 (parse_aarch64_imm_float): Add parameter 'dp_p'; call the new
81 function; handle hexadecimal representation of IEEE754 encoding.
82 (parse_operands): Update the call to parse_aarch64_imm_float.
84 2013-02-28 H.J. Lu <hongjiu.lu@intel.com>
86 * config/tc-i386.c (_i386_insn): Replace have_hle with hle_prefix.
88 (md_assemble): Likewise.
89 (parse_insn): Likewise.
91 2013-02-28 H.J. Lu <hongjiu.lu@intel.com>
93 * config/tc-i386.c (_i386_insn): Add rep_prefix.
94 (md_assemble): Check if REP prefix is OK.
95 (parse_insn): Remove expecting_string_instruction. Set
98 2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
100 * config/tc-aarch64.c (aarch64_features): Add the 'crc' option.
102 2013-02-28 Yufeng Zhang <yufeng.zhang@arm.com>
104 * config/tc-aarch64.c (parse_sys_reg): Allow the full range of CRn
105 for system registers.
107 2013-02-27 DJ Delorie <dj@redhat.com>
109 * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE.
110 (rl78_op): Handle %code().
111 (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands.
112 (tc_gen_reloc): Likwise; convert to a computed reloc.
113 (md_apply_fix): Likewise.
115 2013-02-25 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
117 * config/rl78-parse.y: Fix encoding of DIVWU insn.
119 2013-02-25 Terry Guo <terry.guo@arm.com>
121 * config/tc-arm.c (arm_cpus): Add cortex-r7 entry.
122 * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to
123 list of accepted CPUs.
125 2013-02-19 H.J. Lu <hongjiu.lu@intel.com>
128 * config/tc-i386.c (cpu_arch): Add ".smap".
130 * doc/c-i386.texi: Document smap.
132 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
134 * config/tc-mips.c (s_cpload): Call mips_mark_labels and set
135 mips_assembling_insn appropriately.
136 (s_cpsetup, s_cprestore, s_cpreturn, s_cpadd): Likewise.
138 2013-02-18 Maciej W. Rozycki <macro@codesourcery.com>
140 * config/tc-mips.c (append_insn): Correct indentation, remove
143 2013-02-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
145 * config/tc-arm.c (do_neon_mov): Break on NS_NULL.
147 2013-02-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
149 * configure.tgt: Add nios2-*-rtems*.
151 2013-02-14 Yufeng Zhang <yufeng.zhang@arm.com>
153 * config/tc-aarch64.c (md_begin): Change to check if 'name' is
156 2013-02-09 Jürgen Urban <JuergenUrban@gmx.de>
158 * config/tc-mips.c (CPU_HAS_LDC1_SDC1): New macro.
159 (macro): Use it. Assert that trunc.w.s is not used for r5900.
161 2013-02-08 Yi-Hsiu, Hsu <ahsu@marvell.com>
163 * gas/config/tc-arm.c (arm_cpus): Add support for mcpu=marvell-pj4
166 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
167 Andrew Jenner <andrew@codesourcery.com>
169 Based on patches from Altera Corporation.
171 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c.
172 (TARGET_CPU_HFILES): Add config/tc-nios2.h.
173 * Makefile.in: Regenerated.
174 * configure.tgt: Add case for nios2*-linux*.
175 * config/obj-elf.c: Conditionally include elf/nios2.h.
176 * config/tc-nios2.c: New file.
177 * config/tc-nios2.h: New file.
178 * doc/Makefile.am (CPU_DOCS): Add c-nios2.texi.
179 * doc/Makefile.in: Regenerated.
180 * doc/all.texi: Set NIOSII.
181 * doc/as.texinfo (Overview): Add Nios II options.
182 (Machine Dependencies): Include c-nios2.texi.
183 * doc/c-nios2.texi: New file.
184 * NEWS: Note Altera Nios II support.
186 2013-02-06 Alan Modra <amodra@gmail.com>
189 * config/tc-avr.h (TC_VALIDATE_FIX): Mark symbol used by reloc.
190 Don't skip fixups with fx_subsy non-NULL.
191 * config/tc-avr.c (tc_gen_reloc): Don't specially handle fixups
192 with fx_subsy non-NULL.
194 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
196 * doc/c-metag.texi: Add "@c man" markers.
198 2013-02-04 Alan Modra <amodra@gmail.com>
200 * write.c (fixup_segment): Return void. Delete seg_reloc_count
202 (TC_ADJUST_RELOC_COUNT): Delete.
203 * config/tc-i960.h (TC_ADJUST_RELOC_COUNT): Delete.
205 2013-02-04 Alan Modra <amodra@gmail.com>
207 * po/POTFILES.in: Regenerate.
209 2013-01-30 Markos Chandras <markos.chandras@imgtec.com>
211 * config/tc-metag.c: Make SWAP instruction less permissive with
214 2013-01-29 DJ Delorie <dj@redhat.com>
216 * config/tc-rl78.c (rl78_cons_fix_new): Handle user-specified
217 relocs in .word/.etc statements.
219 2013-01-29 Roland McGrath <mcgrathr@google.com>
221 * config/tc-arm.c (md_apply_fix): Use as_bad_where for "bad
222 immediate value for 8-bit offset" error so it shows line info.
224 2013-01-24 Joseph Myers <joseph@codesourcery.com>
226 * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections
229 2013-01-24 Nick Clifton <nickc@redhat.com>
231 * config/tc-v850.c: Add support for e3v5 architecture.
232 * doc/c-v850.texi: Mention new support.
234 2013-01-23 Nick Clifton <nickc@redhat.com>
237 * config/tc-avr.c: Include dwarf2dbg.h.
239 2013-01-18 H.J. Lu <hongjiu.lu@intel.com>
241 * config/tc-i386.c (reloc): Support size relocation only for ELF.
242 (tc_i386_fix_adjustable): Likewise.
244 (tc_gen_reloc): Likewise.
246 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
248 * config/tc-aarch64.c (output_operand_error_record): Change to output
249 the out-of-range error message as value-expected message if there is
250 only one single value in the expected range.
251 (programmer_friendly_fixup): Remove the handling of 8-bit MOVI with
252 LSL #0 as a programmer-friendly feature.
254 2013-01-16 H.J. Lu <hongjiu.lu@intel.com>
256 * config/tc-i386.c (reloc): Support BFD_RELOC_SIZE32.
257 (tc_i386_fix_adjustable): Keep symbol for BFD_RELOC_32_SIZE and
258 BFD_RELOC_64_SIZE relocations.
259 (lex_got): Support "symbol@SIZE" and don't create GOT symbol
261 (tc_gen_reloc): Resolve BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64
262 relocations against local symbols.
264 2013-01-16 Alan Modra <amodra@gmail.com>
266 * config/tc-ppc.c (md_assemble <TE_PE>): Ignore line after
267 finding some sort of toc syntax error, and break to avoid
268 compiler uninit warning.
270 2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
273 * config/tc-i386.c (lex_got): Increment length by 1 if the
274 relocation token is removed.
276 2013-01-15 Nick Clifton <nickc@redhat.com>
278 * config/tc-v850.c (md_assemble): Allow signed values for
281 2013-01-11 Sean Keys <skeys@ipdatasys.com>
283 * config/tc-xgate.c (md_begin): Fix mistake made when going from
286 2013-01-10 Peter Bergner <bergner@vnet.ibm.com>
288 * doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm.
289 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
290 * config/tc-ppc.c (md_show_usage): Likewise.
291 (ppc_handle_align): Handle power8's group ending nop.
293 2013-01-10 Sean Keys <skeys@ipdatasys.com>
295 * config/tc-xgate.c (md_begin): Fix the printing of opcodes so
296 that the assember exits after the opcodes have been printed.
298 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
300 * app.c: Remove trailing white spaces.
304 * dw2gencfi.c: Likewise.
305 * dwarf2dbg.h: Likewise.
307 * input-file.c: Likewise.
308 * itbl-lex.h: Likewise.
309 * output-file.c: Likewise.
312 * subsegs.c: Likewise.
313 * symbols.c: Likewise.
315 * config/tc-i386.c: Likewise.
316 * doc/Makefile.am: Likewise.
317 * doc/Makefile.in: Likewise.
318 * doc/c-aarch64.texi: Likewise.
319 * doc/c-alpha.texi: Likewise.
320 * doc/c-arc.texi: Likewise.
321 * doc/c-arm.texi: Likewise.
322 * doc/c-avr.texi: Likewise.
323 * doc/c-bfin.texi: Likewise.
324 * doc/c-cr16.texi: Likewise.
325 * doc/c-d10v.texi: Likewise.
326 * doc/c-d30v.texi: Likewise.
327 * doc/c-h8300.texi: Likewise.
328 * doc/c-hppa.texi: Likewise.
329 * doc/c-i370.texi: Likewise.
330 * doc/c-i386.texi: Likewise.
331 * doc/c-i860.texi: Likewise.
332 * doc/c-m32c.texi: Likewise.
333 * doc/c-m32r.texi: Likewise.
334 * doc/c-m68hc11.texi: Likewise.
335 * doc/c-m68k.texi: Likewise.
336 * doc/c-microblaze.texi: Likewise.
337 * doc/c-mips.texi: Likewise.
338 * doc/c-msp430.texi: Likewise.
339 * doc/c-mt.texi: Likewise.
340 * doc/c-s390.texi: Likewise.
341 * doc/c-score.texi: Likewise.
342 * doc/c-sh.texi: Likewise.
343 * doc/c-sh64.texi: Likewise.
344 * doc/c-tic54x.texi: Likewise.
345 * doc/c-tic6x.texi: Likewise.
346 * doc/c-v850.texi: Likewise.
347 * doc/c-xc16x.texi: Likewise.
348 * doc/c-xgate.texi: Likewise.
349 * doc/c-xtensa.texi: Likewise.
350 * doc/c-z80.texi: Likewise.
351 * doc/internals.texi: Likewise.
353 2013-01-10 Roland McGrath <mcgrathr@google.com>
355 * hash.c (hash_new_sized): Make it global.
356 * hash.h: Declare it.
357 * macro.c (define_macro): Use hash_new_sized instead of hash_new,
360 2013-01-10 Will Newton <will.newton@imgtec.com>
362 * Makefile.am: Add Meta.
363 * Makefile.in: Regenerate.
364 * config/tc-metag.c: New file.
365 * config/tc-metag.h: New file.
366 * configure.tgt: Add Meta.
367 * doc/Makefile.am: Add Meta.
368 * doc/Makefile.in: Regenerate.
369 * doc/all.texi: Add Meta.
370 * doc/as.texiinfo: Document Meta options.
371 * doc/c-metag.texi: New file.
373 2013-01-09 Steve Ellcey <sellcey@mips.com>
375 * config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal
377 * config/tc-mips.c (internalError): Remove, replace with abort.
379 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
381 * config/tc-aarch64.c (parse_operands): Change to compare the result
382 of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of 'FALSE'.
384 2013-01-07 Nick Clifton <nickc@redhat.com>
387 * config/tc-arm.c (skip_past_char): Skip whitespace before the
388 anticipated character.
389 * config/tc-arm.c (parse_address_main): Delete skip of whitespace
390 here as it is no longer needed.
392 2013-01-06 Andreas Schwab <schwab@linux-m68k.org>
394 * doc/c-mips.texi (MIPS Opts): Fix use of @itemx.
395 * doc/c-score.texi (SCORE-Opts): Likewise.
396 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
398 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
400 * config/tc-mips.c: Add support for MIPS r5900.
401 Add M_LQ_AB and M_SQ_AB to support large values for instructions
403 (can_swap_branch_p, get_append_method): Detect some conditional
404 short loops to fix a bug on the r5900 by NOP in the branch delay
406 (M_MUL): Support 3 operands in multu on r5900.
407 (M_TRUNCWS): Support trunc.w.s on r5900 in MIPS ISA I.
408 (s_mipsset): Force 32 bit floating point on r5900.
409 (mips_ip): Check parameter range of instructions mfps and mtps on
411 * configure.in: Detect CPU type when target string contains r5900
412 (e.g. mips64r5900el-linux-gnu).
414 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
416 * as.c (parse_args): Update copyright year to 2013.
418 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
420 * config/tc-aarch64.c (aarch64_cpus): Add entries for "cortex-a53"
423 2013-01-02 Nick Clifton <nickc@redhat.com>
426 * config/tc-arm.c (parse_address_main): Skip whitespace before a
429 For older changes see ChangeLog-2012
431 Copyright (C) 2013 Free Software Foundation, Inc.
433 Copying and distribution of this file, with or without modification,
434 are permitted in any medium without royalty provided the copyright
435 notice and this notice are preserved.
441 version-control: never