1 2010-07-03 Alan Modra <amodra@gmail.com>
3 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
4 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
6 2010-07-02 DJ Delorie <dj@redhat.com>
8 * config/tc-rx.h (md_do_align): New.
9 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
10 * config/tc-rx.c (nops): New.
11 (rx_handle_align): Use various sized nops to align code.
13 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
15 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
17 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
19 AVX Programming Reference (June, 2010)
20 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
23 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
25 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
27 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
28 deprecated mov register instructions.
30 2010-07-01 Alan Modra <amodra@gmail.com>
32 * config/tc-ppc.c (toc_reloc_types): New variable.
33 (md_assemble): Set it.
34 (ppc_frob_file_before_adjust): Don't warn about toc section size
35 if we have large toc relocs and no small toc relocs.
37 2010-06-29 Alan Modra <amodra@gmail.com>
39 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
42 2010-06-29 Alan Modra <amodra@gmail.com>
44 * config/tc-maxq.h: Delete file.
45 * config/tc-maxq.c: Delete file.
46 * Makefile.am: Remove references to maxq.
47 * configure.tgt: Likewise.
48 * config/obj-coff.h: Likewise.
49 * Makefile.in: Regenerate.
50 * configure: Regenerate.
51 * po/POTFILES.in: Regenerate.
53 2010-06-28 Alan Modra <amodra@gmail.com>
55 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
56 * config/tc-crx.c (gettrap): Constify arg.
57 (handle_LoadStor, get_cinv_parameters): Likewise.
58 (getreg_image): Fix enum warning
59 (md_assemble): Restore input line char.
60 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
61 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
62 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
63 (build_Mytes): Fix build failure for non-elf targets.
64 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
65 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
67 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
68 * ecoff.c (add_ecoff_symbol): Likewise.
69 * itbl-ops.c (append_insns_as_macros): Likewise.
70 * listing.c (debugging_pseudo): Likewise.
71 * read.c (s_mri_common, stringer): Likewise.
72 * config/obj-coff.c (coff_frob_section): Likewise.
73 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
74 * config/tc-arm.c (my_get_expression): Likewise.
75 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
76 * config/tc-m32c.c (md_assemble): Likewise.
77 * config/tc-microblaze.c (md_convert_frag): Likewise.
78 * config/tc-mips.c (s_change_section): Likewise.
79 * config/tc-mt.c (mt_fix_adjustable): Likewise.
80 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
82 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
84 * config/tc-alpha.c (load_expression): Likewise.
85 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
86 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
87 * config/tc-avr.c (extract_word): Likewise.
88 * config/tc-cris.c (cris_get_expression): Likewise.
89 * config/tc-d30v.c (build_insn, find_format): Likewise.
90 * config/tc-dlx.c (machine_ip): Likewise.
91 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
92 * config/tc-i370.c (md_assemble): Likewise.
93 * config/tc-i960.c (brtab_emit): Likewise.
94 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
95 * config/tc-m32c.c (md_convert_frag): Likewise.
96 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
97 (md_estimate_size_before_relax, md_apply_fix): Likewise.
98 * config/tc-m68k.c (md_show_usage): Likewise.
99 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
100 * config/tc-mips.c (s_mips_end): Likewise.
101 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
102 * config/tc-mn10300.c (md_assemble): Likewise.
103 * config/tc-msp430.c (extract_word): Likewise.
104 * config/tc-mt.c (md_assemble): Likewise.
105 * config/tc-or32.c (machine_ip): Likewise.
106 * config/tc-pj.c (md_apply_fix): Likewise.
107 * config/tc-s390.c (md_gather_operands): Likewise.
108 * config/tc-sh.c (sh_cons_align): Likewise.
109 * config/tc-sparc.c (sparc_cons_align): Likewise.
110 * config/tc-tic4x.c (tic4x_sect): Likewise.
111 * config/tc-tic54x.c (tic54x_stringer): Likewise.
112 * config/tc-vax.c (vip_op): Likewise.
113 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
114 * config/tc-xtensa.c (md_assemble): Likewise.
115 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
116 (xtensa_move_literals): Likewise.
118 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
120 * config/tc-arm.c (parse_neon_alignment): New function.
121 (parse_address_main): Fix Neon load/store alignment parsing.
123 2010-06-22 Jan Beulich <jbeulich@novell.com>
126 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
128 (i386_intel_operand): Remove bogus handling of pseudo symbols
130 * expr.c (current_location): Remove 'static' and local
132 * expr.h (current_location): Declare.
134 2010-06-21 Sterling Augustine <sterling@tensilica.com>
137 * as.c: Globalize keep_it.
138 (main): Remove keep_it. Move conditional from here...
139 (close_output_file): ...to here.
141 2010-06-21 Andreas Schwab <schwab@redhat.com>
143 * doc/as.texinfo (Overview): Use @itemx for grouped @table
145 * doc/c-alpha.texi (Alpha Options): Likewise.
146 * doc/c-arm.texi (ARM Directives): Likewise.
147 * doc/c-bfin.texi (Blackfin Options): Likewise.
148 * doc/c-d10v.texi (D10V-Opts): Likewise.
149 * doc/c-i386.texi (i386-Options): Likewise.
150 * doc/c-ia64.texi (IA-64 Options): Likewise.
151 * doc/c-m68k.texi (M68K-Opts): Likewise.
152 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
153 * doc/internals.texi (Symbols): Likewise.
155 2010-06-21 Alan Modra <amodra@gmail.com>
158 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
160 2010-06-18 Joseph Myers <joseph@codesourcery.com>
162 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
164 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
165 (md_assemble): Clear func_units_used for new execute packet.
166 Check for duplicate functional units and update func_units_used
167 for instructions using a functional unit.
169 2010-06-15 Joseph Myers <joseph@codesourcery.com>
171 * config/tc-tic6x.c: Include elf/tic6x.h.
172 (tic6x_arch_attribute, tic6x_seen_insns): New.
173 (tic6x_arch_table, tic6x_arches): Add attribute values.
174 (tic6x_use_arch): Handle attribute settings.
175 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
176 tic6x_attribute_table, tic6x_attributes,
177 tic6x_convert_symbolic_attribute): New.
178 (md_pseudo_table): Add c6xabi_attribute.
179 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
180 (tic6x_set_attribute_int, tic6x_set_attributes): New.
181 (tic6x_end): Call tic6x_set_attributes.
182 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
183 (tic6x_convert_symbolic_attribute): Declare.
185 2010-06-14 Alan Modra <amodra@gmail.com>
187 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
190 2010-06-11 Jan Beulich <jbeulich@novell.com>
192 * config/tc-i386.c (md_parse_option): Ignore impossible processor
194 (show_arch): New parameter 'check'.
195 (md_show_usage): Adjust calls to show_arch().
197 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
199 * config/tc-i386.c (update_code_flag): New.
200 (set_code_flag): Use it.
201 (i386_target_format): Replace set_code_flag with update_code_flag.
203 2010-06-10 Tristan Gingold <gingold@adacore.com>
205 * config/obj-som.h: Includes som/reloc.h
207 2010-06-10 Jan Beulich <jbeulich@novell.com>
209 * config/tc-i386.c (cpu_arch): Add comment.
210 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
211 from the generic entries of cpu_arch[].
213 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
215 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
217 (parse_operands): Add support for OP_RRnpctw.
218 (insns): Update floating-point load/store multiples so the
219 first register is of type OP_RRnpctw.
221 2010-06-08 Quentin Neill <quentin.neill@amd.com>
223 * config/tc-i386.c (pi): Rename local loop counter
224 variable i that shadows global static i386_insn i
225 when DEBUG386 is defined.
228 2010-06-08 Nick Clifton <nickc@redhat.com>
230 * doc/as.texinfo: Replace abbreviated 20th century year numbers
233 2010-06-02 Quentin Neill <quentin.neill@amd.com>
235 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
237 2010-06-02 Tristan Gingold <gingold@adacore.com>
239 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
240 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
241 Remove conditionnal inclusion of stdarg.h and varargs.h.
243 * config.in: Regenerate.
244 * configure: Regenerate.
245 * configure.in: Remove stdarg.h and varargs.h from
246 AC_CHECK_HEADERS list.
247 * messages.c (as_tsktsk): Remove non ISO C version.
248 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
250 2010-05-31 Tristan Gingold <gingold@adacore.com>
252 * config/tc-alpha.c: Add comments for evax.
253 * config/obj-evax.c: Ditto.
255 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
257 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
260 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
262 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
263 writeback when base register is in register list an error, and
265 (do_t_ldmstm): Change warnings.
267 2010-05-26 Catherine Moore <clm@codesourcery.com>
269 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
270 (macro_build): Change invocation of is_opcode_valid.
273 2010-05-25 Nick Clifton <nickc@redhat.com>
275 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
276 * Makefile.in: Regenerate.
278 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
279 Joseph Myers <joseph@codesourcery.com>
280 Andrew Stubbs <ams@codesourcery.com>
282 * config/tc-sh.c (sh_fdpic): New.
283 (sh_check_fixup): Handle relocations on movi20.
284 (parse_exp): Do not reject PIC operators here.
285 (build_Mytes): Check for unhandled PIC operators here. Use
286 sh_check_fixup for movi20.
287 (enum options): Add OPTION_FDPIC.
288 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
289 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
290 (sh_elf_final_processing): Handle --fdpic.
291 (sh_uclinux_target_format): New.
292 (sh_parse_name): Handle FDPIC relocation operators.
293 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
294 (sh_uclinux_target_format): Declare for TE_UCLINUX.
295 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
297 * doc/c-sh.texi (SH Options): Document --fdpic.
299 2010-05-25 Jay Krell <jay.krell@cornell.edu>
302 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
303 * Makefile.in: Regenerate.
305 2010-05-25 Alan Modra <amodra@gmail.com>
307 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
309 2010-05-19 Nick Clifton <nickc@redhat.com>
311 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
312 of known section prefixes.
314 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
317 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
318 (obj_elf_parse_section_letters): Likewise.
319 (obj_elf_section_word): Likewise.
321 * config/tc-ppc.c (ppc_section_letter): Removed.
322 (ppc_section_word): Likewise.
323 * config/tc-ppc.h (ppc_section_letter): Likewise.
324 (ppc_section_word): Likewise.
325 (md_elf_section_letter): Likewise.
326 (md_elf_section_word): Likewise.
328 * doc/as.texinfo: Document `e' and `#exclude'.
330 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
332 * config/tc-arm.c (md_assemble): Clarify current mode in error
333 messages about unsupported instructions.
334 (UT): Delete #define.
335 (insns): Adjust cbnz, cbz appropriately.
337 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
339 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
341 2010-05-11 Jie Zhang <jie@codesourcery.com>
343 * config/tc-arm.c (aeabi_set_public_attributes): Set
344 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
346 2010-05-07 Tristan Gingold <gingold@adacore.com>
348 * Makefile.in: Regenerate with automake 1.11.1.
350 * doc/Makefile.in: Ditto.
352 2010-05-05 Nick Clifton <nickc@redhat.com>
354 * po/es.po: Updated Spanish translation.
356 2010-05-05 Julian Brown <julian@codesourcery.com>
358 * read.c (cons_worker): Detect and reject unexpected string argument.
360 2010-05-04 Nick Clifton <nickc@redhat.com>
362 * write.c (fixup_segment): Revert previous delta.
363 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
364 generation of relocations for fixups against weak symbols.
366 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
368 * write.c (fixup_segment): Do not assume we know the section a
369 defined weak symbol is in.
370 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
371 weak symbols as not known to be in the same section, even if they
374 2010-04-27 Joseph Myers <joseph@codesourcery.com>
376 * config/tc-tic6x.h (tic6x_label_list): New.
377 (tic6x_segment_info_type): Keep a list of labels and a current
378 frag instead of a boolean for whether labels seen and a count of
380 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
381 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
382 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
383 (tic6x_cleanup): Correct comment.
384 (tic6x_free_label_list): New.
385 (tic6x_cons_align): Free label list and update for
386 tic6x_segment_info_type changes.
387 (tic6x_do_align): New.
388 (md_assemble): Handle list of labels and saved frag for execute
389 packet. Create machine-dependent frag for new execute packet and
390 adjust labels accordingly.
391 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
392 (md_convert_frag, md_estimate_size_before_relax): Update comments.
394 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
397 * config/tc-i386-intel.c (intel_state): Add is_indirect.
398 (i386_intel_operand): Initialize intel_state.is_indirect. Check
399 intel_state.is_indirect for "call|jmp [symbol]".
401 2010-04-22 Nick Clifton <nickc@redhat.com>
403 * po/gas.pot: Updated by the Translation project.
405 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
407 * config/tc-i386.c (i386_is_register): Removed.
408 (x86_cons): Don't use i386_is_register.
409 (parse_register): Likewise.
410 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
411 (i386_intel_operand): Likewise.
413 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
415 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
418 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
420 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
422 (parse_register): Likewise.
423 (tc_x86_parse_to_dw2regnum): Likewise.
424 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
425 (i386_intel_operand): Likewise.
427 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
430 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
431 (i386_intel_simplify): Use i386_is_register and
432 i386_intel_simplify_register. Set X_md for O_register and
433 check X_md for O_constant.
434 (i386_intel_operand): Use i386_is_register.
436 * config/tc-i386.c (i386_is_register): New.
437 (x86_cons): Initialize the X_md field. Use i386_is_register.
438 (parse_register): Use i386_is_register.
439 (tc_x86_parse_to_dw2regnum): Likewise.
441 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
443 * expr.c (expr): Initialize the X_md field.
445 2010-04-20 Joseph Myers <joseph@codesourcery.com>
447 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
448 (md_longopts): Add -mgenerate-rel.
449 (tic6x_generate_rela): New.
450 (md_parse_option): Handle -mgenerate-rel.
451 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
452 (tic6x_init_after_args): New.
453 (md_apply_fix): Correct shift calculations for SB-relative
455 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
456 adjust addresses for relocations referencing symbols in other
458 (tc_gen_reloc): Adjust addend calculations for REL relocations.
459 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
460 tic6x_pcrel_from_section, tc_init_after_args,
461 tic6x_init_after_args): New.
463 2010-04-20 Nick Clifton <nickc@redhat.com>
466 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
467 altmacro mode if found inside a quoted string.
469 2010-04-20 Mike Frysinger <vapier@gentoo.org>
471 * config/bfin-lex.l (parse_int): Change index() to strchr().
473 2010-04-16 Nick Clifton <nickc@redhat.com>
476 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
477 matcher to accept and unconditional 32-bit add instruction.
478 (pa_build_unwind_subspace): Cope with error conditions not
479 allowing the start symbol to be set.
481 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
483 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
484 new tag names in v2.08 of ARM ABI.
485 * doc/c-arm.texi: Document new tag names in ABI.
487 2010-04-14 Tristan Gingold <gingold@adacore.com>
489 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
490 (s_alpha_comm): Used new EGPS macros from egps.h
491 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
492 (s_alpha_section_word): Add comments. Use new EGPS macros.
493 Adjust for modified bfd_vms_set_section_flags function.
495 2010-04-10 Alan Modra <amodra@gmail.com>
498 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
500 2010-04-09 Nick Clifton <nickc@redhat.com>
502 * as.c (create_obj_attrs_section): Remove unused variable addr.
503 * listing.c (listing_listing): Remove unused variable message.
504 * read.c: Remove unnecessary register type qualifiers.
505 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
508 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
510 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
511 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
512 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
513 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
514 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
515 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
516 atmega88pa, attiny461a, attiny84a, m3000.
517 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
518 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
519 * doc/c-avr.texi: Same.
521 2010-04-07 Jie Zhang <jie@codesourcery.com>
523 * config/tc-arm.c (make_mapping_symbol): Handle the case
524 that multiple mapping symbols have the same value 0.
526 2010-04-07 Alan Modra <amodra@gmail.com>
528 * configure: Regenerate.
530 2010-04-06 Nick Clifton <nickc@redhat.com>
532 * po/ru.po: New Russian translation.
533 * configure.in (ALL_LINGUAS): Add ru.
534 * configure: Regenerate.
536 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
539 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
540 of memcpy to copy overlap memory.
542 2010-03-25 Joseph Myers <joseph@codesourcery.com>
544 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
545 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
546 * Makefile.in: Regenerate.
547 * NEWS: Add news entry for TI C6X support.
548 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
549 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
550 operands if TC_KEEP_OPERAND_SPACES.
551 * configure.tgt (tic6x-*-*): New.
552 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
553 TC_PREDICATE_END_CHAR): Define.
554 * config/tc-tic6x.c, config/tc-tic6x.h: New.
555 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
556 * doc/Makefile.in: Regenerate.
557 * doc/all.texi (TIC6X): Define.
558 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
559 * doc/c-tic6x.texi: New.
561 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
563 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
565 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
567 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
568 with operand_size_mismatch.
569 (operand_size_match): Updated.
570 (match_template): Likewise.
572 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
574 * config/tc-i386.c (i386_error): New.
575 (_i386_insn): Replace err_msg with error.
576 (operand_size_match): Set error instead of err_msg on failure.
577 (operand_type_match): Likewise.
578 (operand_type_register_match): Likewise.
579 (VEX_check_operands): Likewise.
580 (match_template): Likewise. Use error instead of err_msg with
583 2010-03-19 Jie Zhang <jie@codesourcery.com>
585 * config/tc-arm.c (make_mapping_symbol): Hanle the case
586 that two mapping symbols have the same value.
588 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
590 * doc/c-arm.texi (.setfp): Correct example.
592 2010-03-18 Wei Guozhi <carrot@google.com>
595 * config/tc-arm.c (reloc_names): New relocation names.
596 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
597 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
598 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
600 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
602 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
603 cases, and not only for .eh_frame.
605 * dw2gencfi.c (output_cie): Make it more explicit which code paths
606 belong to .eh_frame only.
608 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
610 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
611 assembler constants on 64-bit hosts.
613 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
615 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
616 Strip trailing whitespace.
618 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
620 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
621 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
623 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
625 2010-03-10 Jie Zhang <jie@codesourcery.com>
627 * doc/as.texinfo: Add Blackfin options.
628 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
629 * config/tc-bfin.c (md_show_usage): Show usage for all
630 Blackfin specific options.
632 2010-03-09 Alan Modra <amodra@gmail.com>
635 * listing.c (listing_newline): Correct backslash quote logic.
637 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
639 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
640 (ELF_TARGET_FORMAT64): Define.
642 2010-03-05 Paul Brook <paul@codesourcery.com>
644 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
646 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
648 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
649 reading uninitialized data.
651 2010-03-01 Tristan Gingold <gingold@adacore.com>
653 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
655 2010-02-26 Doug Evans <dje@sebabeach.org>
657 * configure.tgt: Fix mep cpu case.
659 2010-02-26 Jie Zhang <jie@codesourcery.com>
661 * config/tc-arm.c (do_t_strexd): Remove
662 operand[1] != operand[2] contraint.
664 2010-02-26 Jie Zhang <jie@codesourcery.com>
666 * config/tc-arm.c (neon_select_shape): No need to match
667 the remaining operands in the shape when one operand does
670 2010-02-26 Jie Zhang <jie@codesourcery.com>
672 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
675 2010-02-25 Doug Evans <dje@sebabeach.org>
677 * cgen.c: Whitespace fixes.
678 (weak_operand_overflow_check): Formatting fix.
680 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
682 * config/tc-i386.c (match_template): Update error messages.
684 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
686 * config/tc-i386.c (_i386_insn): Add err_msg.
687 (operand_size_match): Set err_msg on failure.
688 (operand_type_match): Likewise.
689 (operand_type_register_match): Likewise.
690 (VEX_check_operands): Likewise.
691 (match_template): Likewise. Use i.err_msg with as_bad.
693 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
695 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
696 mips_fix_loongson2f_jump): New variables.
697 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
698 -mno-fix-loongson2f-nop/jump.
699 (md_parse_option): Initialize variables via above options.
700 (options): New enums for the above options.
701 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
702 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
704 (append_insn): call fix_loongson2f().
705 (mips_handle_align): Replace the implicit nops.
706 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
707 for the new mips_handle_align().
708 * doc/c-mips.texi: Document the new options.
710 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
712 * config/tc-arm.c (do_rd_rm_rn): Added warning
715 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
718 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
719 (avr_cons_fix_new): Handle fixups of a single byte.
721 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
724 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
725 compiler's predefines.
727 2010-02-19 Alan Modra <amodra@gmail.com>
729 * configure.tgt: Whiltespace. Sort moxie entry.
731 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
733 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
734 * doc/c-arm.texi: Likewise.
736 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
738 * config/tc-arm.c (asm_opcode): operands type
740 (BAD_PC_ADDRESSING): New macro message.
741 (BAD_PC_WRITEBACK): Likewise.
742 (MIX_ARM_THUMB_OPERANDS): New macro.
743 (operand_parse_code): Added enum values.
744 (parse_operands): Added thumb/arm distinction,
745 plus new enum values handling.
746 (encode_arm_addr_mode_2): Validations enhanced.
747 (encode_arm_addr_mode_3): Likewise.
748 (do_rm_rd_rn): Likewise.
749 (encode_thumb32_addr_mode): Likewise.
750 (do_t_ldrex): Likewise.
751 (do_t_ldst): Likewise.
752 (do_t_strex): Likewise.
753 (md_assemble): Call parse_operands with
761 (insns): Updated insns operands.
763 2010-02-12 Tristan Gingold <gingold@adacore.com>
764 Douglas B Rupp <rupp@gnat.com>
766 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
767 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
768 (pseudo_func): Add an entry for slotcount.
769 (md_begin): Initialize slotcount pseudo symbol.
770 (ia64_parse_name): Handle @slotcount parameter.
771 (ia64_gen_real_reloc_type): Handle slotcount.
772 (md_apply_fix): Ditto.
773 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
775 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
777 * config/tc-xtensa.c (istack_init): Don't call memset.
779 2010-02-11 Sterling Augustine <sterling@tensilica.com>
781 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
784 2010-02-11 Sterling Augustine <sterling@tensilica.com>
786 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
788 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
790 * config/tc-i386.c (build_modrm_byte): Reformat.
792 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
794 * config/tc-i386.c: Update copyright.
796 2010-02-10 Quentin Neill <quentin.neill@amd.com>
797 Sebastian Pop <sebastian.pop@amd.com>
799 * config/tc-i386.c (vec_imm4) New operand type.
801 (VEX_check_operands): New.
802 (check_reverse): Call VEX_check_operands.
803 (build_modrm_byte): Reintroduce code for 5
804 operand insns. Fix whitespace.
806 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
808 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
811 2010-02-09 Sterling Augustine <sterling@tensilica.com>
813 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
814 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
815 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
817 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
819 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
820 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
821 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
822 BFD_RELOC_ARM_PCREL_CALL)
824 2010-02-08 Sterling Augustine <sterling@tensilica.com>
826 * config/tc-xtensa.c (frag_format_size): Generalize logic to
827 handle more instruction sizes and fetch widths.
828 (branch_align_power): Likewise.
829 (text_align_power): Likewise.
830 (bytes_to_stretch): Likewise.
832 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
834 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
835 (ppc_mach): Handle titan.
836 * doc/c-ppc.texi: Mention -mtitan.
838 2010-02-05 Sterling Augustine <sterling@tensilica.com>
840 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
842 (xtensa_fetch_width) ...this.
844 2010-02-05 Joseph Myers <joseph@codesourcery.com>
846 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
847 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
848 * Makefile.in: Regenerate.
850 2010-02-03 Quentin Neill <quentin.neill@amd.com>
852 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
853 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
854 * config/tc-i386.h (processor_type): Same.
855 * doc/c-i386.texi: Change amdfam15 to bdver1.
857 2010-01-29 Nick Clifton <nickc@redhat.com>
860 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
863 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
865 * NEWS: Mention new feature.
866 * config/obj-coff.c (obj_coff_section): Accept digits and use
867 to override default section alignment power if specified.
868 * doc/as.texinfo (.section directive): Update documentation.
870 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
872 * config/tc-i386.c (avxscalar): New.
873 (OPTION_MAVXSCALAR): Likewise.
874 (build_vex_prefix): Select vector_length for scalar instructions
876 (md_longopts): Add OPTION_MAVXSCALAR.
877 (md_parse_option): Handle OPTION_MAVXSCALAR.
878 (md_show_usage): Add -mavxscalar=.
880 * doc/c-i386.texi: Document -mavxscalar=.
882 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
884 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
887 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
889 * write.h (fix_at_start): Declare.
890 * write.c (fix_new_internal): Add at_beginning parameter.
891 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
892 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
893 (fix_new, fix_new_exp): Update accordingly.
894 (fix_at_start): New function.
895 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
896 (ppc_ref): New function, for OBJ_XCOFF.
897 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
898 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
900 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
902 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
903 on 64-bit Solaris/x86.
904 Include obj-format.h earlier.
906 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
908 * config/tc-s390.c (s390_elf_final_processing): New function.
909 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
910 (s390_elf_final_processing): Added prototype.
913 2010-01-20 Nick Clifton <nickc@redhat.com>
916 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
917 code to handle round-to-zero for VCVT conversions.
918 (do_neon_cvt): New. Call do_neon_cvt_1.
919 (do_neon_cvtr): New. Call do_neon_cvt_1.
920 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
923 2010-01-18 Tristan Gingold <gingold@adacore.com>
925 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
927 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
929 * config/tc-i386.c (md_assemble): Before accessing the IMM field
930 check that it's not an XOP insn.
932 2010-01-14 Jie Zhang <jie.zhang@analog.com>
934 * config/bfin-aux.h: Remove argument names in function
936 * config/bfin-lex.l (parse_int): Fix shadowed variable name
938 * config/bfin-parse.y (value_match): Remove argument names
940 (notethat): Likewise.
943 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
945 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
947 2010-01-13 Nick Clifton <nickc@redhat.com>
949 * config/tc-h8300.c (h8300_elf_section): New function - issue a
950 warning message if a new section is created without setting any
952 (md_pseudo_table): Intercept section creation pseudos.
953 (md_pcrel_from): Replace abort with an error message.
954 * config/obj-elf.c (obj_elf_section_name): Export this function.
955 * config/obj-elf.h (obj_elf_section_name): Prototype.
957 2010-01-12 Alan Modra <amodra@gmail.com>
960 * listing.c (print_source): Add one to line number.
962 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
964 * Makefile.in: Regenerate.
965 * configure: Regenerate.
966 * doc/Makefile.in: Regenerate.
968 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
970 * version.c (parse_args): Change to "Copyright 2010".
972 2010-01-06 Quentin Neill <quentin.neill@amd.com>
974 * config/tc-i386.c (cpu_arch): Add amdfam15.
975 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
976 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
977 * doc/c-i386.texi: Add amdfam15.
979 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
981 * config/tc-arm.c (do_neon_logic): Accept imm value
982 in the third operand too.
983 (operand_parse_code): OP_RNDQ_IMVNb renamed to
985 (parse_operands): OP_NILO case removed, applied renaming.
986 (insns): Neon shape changed for some logic instructions.
988 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
990 * config/tc-arm.c (do_neon_ldx_stx): Added
991 validation for vector load/store insns.
993 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
995 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
997 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
999 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1000 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1001 (NEON_ENCODE): New macro.
1002 (check_neon_suffixes): New macro.
1003 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1004 (do_vfp_nsyn_opcode): Likewise.
1005 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1006 (do_vfp_nsyn_cmp): Likewise.
1007 (do_neon_shl_imm): Likewise.
1008 (do_neon_qshl_imm): Likewise.
1009 (neon_dyadic_misc): Likewise.
1010 (do_neon_mac_maybe_scalar): Likewise.
1011 (do_neon_qdmulh): Likewise.
1012 (do_neon_qmovn): Likewise.
1013 (do_neon_qmovun): Likewise.
1014 (do_neon_movn): Likewise.
1015 (neon_mac_reg_scalar_long): Likewise.
1016 (do_neon_vmull): Likewise.
1017 (do_neon_trn): Likewise.
1018 (do_neon_ldx_stx): Likewise.
1019 (neon_dp_fixup): Changed signature and set the flag.
1020 (neon_three_same): Call the above with new signature.
1021 (neon_two_same): Likewise.
1022 (neon_imm_shift): Likewise.
1023 (neon_mul_mac): Likewise.
1024 (do_neon_abs_neg): Likewise.
1025 (neon_mixed_length): Likewise.
1026 (do_neon_ext): Likewise.
1027 (do_neon_mov): Likewise.
1028 (do_neon_tbl_tbx): Likewise.
1029 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1030 (neon_compare): Likewise.
1031 (do_neon_shll): Likewise.
1032 (do_neon_cvt): Likewise.
1033 (do_neon_mvn): Likewise.
1034 (do_neon_dup): Likewise.
1035 (md_assemble): Call check_neon_suffixes ().
1037 For older changes see ChangeLog-2009
1043 version-control: never