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