1 2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
3 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
6 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
8 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
11 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
13 * config/tc-mips.c (nops_for_insn_or_target): Replace
14 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
15 MIPS16_INSN_COND_BRANCH.
17 2010-07-05 Jim Wilson <wilson@codesourcery.com>
21 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
24 2010-07-05 Alan Modra <amodra@gmail.com>
26 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
29 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
31 * Makefile.am (CONFIG_OBJS): Removed.
32 (GENERIC_OBJS): Likewise.
34 * Makefile.in: Regenerated.
36 2010-07-03 Jan Beulich <jbeulich@novell.com>
39 * config/tc-i386.c (i386_finalize_displacement): Don't call
40 section_symbol() with expr_section.
42 2010-07-03 Cary Coutant <ccoutant@google.com>
44 * Makefile.am: Add compress-debug.c and compress-debug.h.
45 * Makefile.in: Regenerate.
46 * config.in: Add HAVE_ZLIB_H.
47 * configure.in: Check for zlib.h.
48 * configure: Regenerate.
50 * as.c (parse_args): Add --compress-debug-sections and
51 --nocompress-debug-sections.
52 * as.h (flag_compress_debug): New variable.
53 * compress-debug.c: New file.
54 * compress-debug.h: New file.
55 * write.c: Include compress-debug.h.
56 (compress_frag): New function.
57 (compress_debug): New function.
58 (write_object_file): Compress debug sections if requested.
60 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
62 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
65 2010-07-03 Alan Modra <amodra@gmail.com>
67 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
68 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
70 2010-07-02 DJ Delorie <dj@redhat.com>
72 * config/tc-rx.h (md_do_align): New.
73 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
74 * config/tc-rx.c (nops): New.
75 (rx_handle_align): Use various sized nops to align code.
77 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
79 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
81 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
83 AVX Programming Reference (June, 2010)
84 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
87 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
89 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
91 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
92 deprecated mov register instructions.
94 2010-07-01 Alan Modra <amodra@gmail.com>
96 * config/tc-ppc.c (toc_reloc_types): New variable.
97 (md_assemble): Set it.
98 (ppc_frob_file_before_adjust): Don't warn about toc section size
99 if we have large toc relocs and no small toc relocs.
101 2010-06-29 Alan Modra <amodra@gmail.com>
103 * config/tc-maxq.h: Delete file.
104 * config/tc-maxq.c: Delete file.
105 * Makefile.am: Remove references to maxq.
106 * configure.tgt: Likewise.
107 * config/obj-coff.h: Likewise.
108 * Makefile.in: Regenerate.
109 * configure: Regenerate.
110 * po/POTFILES.in: Regenerate.
112 2010-06-28 Alan Modra <amodra@gmail.com>
114 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
115 * config/tc-crx.c (gettrap): Constify arg.
116 (handle_LoadStor, get_cinv_parameters): Likewise.
117 (getreg_image): Fix enum warning
118 (md_assemble): Restore input line char.
119 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
120 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
121 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
122 (build_Mytes): Fix build failure for non-elf targets.
123 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
124 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
126 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
127 * ecoff.c (add_ecoff_symbol): Likewise.
128 * itbl-ops.c (append_insns_as_macros): Likewise.
129 * listing.c (debugging_pseudo): Likewise.
130 * read.c (s_mri_common, stringer): Likewise.
131 * config/obj-coff.c (coff_frob_section): Likewise.
132 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
133 * config/tc-arm.c (my_get_expression): Likewise.
134 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
135 * config/tc-m32c.c (md_assemble): Likewise.
136 * config/tc-microblaze.c (md_convert_frag): Likewise.
137 * config/tc-mips.c (s_change_section): Likewise.
138 * config/tc-mt.c (mt_fix_adjustable): Likewise.
139 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
141 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
143 * config/tc-alpha.c (load_expression): Likewise.
144 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
145 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
146 * config/tc-avr.c (extract_word): Likewise.
147 * config/tc-cris.c (cris_get_expression): Likewise.
148 * config/tc-d30v.c (build_insn, find_format): Likewise.
149 * config/tc-dlx.c (machine_ip): Likewise.
150 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
151 * config/tc-i370.c (md_assemble): Likewise.
152 * config/tc-i960.c (brtab_emit): Likewise.
153 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
154 * config/tc-m32c.c (md_convert_frag): Likewise.
155 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
156 (md_estimate_size_before_relax, md_apply_fix): Likewise.
157 * config/tc-m68k.c (md_show_usage): Likewise.
158 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
159 * config/tc-mips.c (s_mips_end): Likewise.
160 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
161 * config/tc-mn10300.c (md_assemble): Likewise.
162 * config/tc-msp430.c (extract_word): Likewise.
163 * config/tc-mt.c (md_assemble): Likewise.
164 * config/tc-or32.c (machine_ip): Likewise.
165 * config/tc-pj.c (md_apply_fix): Likewise.
166 * config/tc-s390.c (md_gather_operands): Likewise.
167 * config/tc-sh.c (sh_cons_align): Likewise.
168 * config/tc-sparc.c (sparc_cons_align): Likewise.
169 * config/tc-tic4x.c (tic4x_sect): Likewise.
170 * config/tc-tic54x.c (tic54x_stringer): Likewise.
171 * config/tc-vax.c (vip_op): Likewise.
172 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
173 * config/tc-xtensa.c (md_assemble): Likewise.
174 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
175 (xtensa_move_literals): Likewise.
177 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
179 * config/tc-arm.c (parse_neon_alignment): New function.
180 (parse_address_main): Fix Neon load/store alignment parsing.
182 2010-06-22 Jan Beulich <jbeulich@novell.com>
184 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
186 (i386_intel_operand): Remove bogus handling of pseudo symbols
188 * expr.c (current_location): Remove 'static' and local
190 * expr.h (current_location): Declare.
192 2010-06-21 Sterling Augustine <sterling@tensilica.com>
195 * as.c: Globalize keep_it.
196 (main): Remove keep_it. Move conditional from here...
197 (close_output_file): ...to here.
199 2010-06-21 Andreas Schwab <schwab@redhat.com>
201 * doc/as.texinfo (Overview): Use @itemx for grouped @table
203 * doc/c-alpha.texi (Alpha Options): Likewise.
204 * doc/c-arm.texi (ARM Directives): Likewise.
205 * doc/c-bfin.texi (Blackfin Options): Likewise.
206 * doc/c-d10v.texi (D10V-Opts): Likewise.
207 * doc/c-i386.texi (i386-Options): Likewise.
208 * doc/c-ia64.texi (IA-64 Options): Likewise.
209 * doc/c-m68k.texi (M68K-Opts): Likewise.
210 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
211 * doc/internals.texi (Symbols): Likewise.
213 2010-06-21 Alan Modra <amodra@gmail.com>
216 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
218 2010-06-18 Joseph Myers <joseph@codesourcery.com>
220 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
222 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
223 (md_assemble): Clear func_units_used for new execute packet.
224 Check for duplicate functional units and update func_units_used
225 for instructions using a functional unit.
227 2010-06-15 Joseph Myers <joseph@codesourcery.com>
229 * config/tc-tic6x.c: Include elf/tic6x.h.
230 (tic6x_arch_attribute, tic6x_seen_insns): New.
231 (tic6x_arch_table, tic6x_arches): Add attribute values.
232 (tic6x_use_arch): Handle attribute settings.
233 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
234 tic6x_attribute_table, tic6x_attributes,
235 tic6x_convert_symbolic_attribute): New.
236 (md_pseudo_table): Add c6xabi_attribute.
237 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
238 (tic6x_set_attribute_int, tic6x_set_attributes): New.
239 (tic6x_end): Call tic6x_set_attributes.
240 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
241 (tic6x_convert_symbolic_attribute): Declare.
243 2010-06-14 Alan Modra <amodra@gmail.com>
245 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
248 2010-06-11 Jan Beulich <jbeulich@novell.com>
250 * config/tc-i386.c (md_parse_option): Ignore impossible processor
252 (show_arch): New parameter 'check'.
253 (md_show_usage): Adjust calls to show_arch().
255 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
257 * config/tc-i386.c (update_code_flag): New.
258 (set_code_flag): Use it.
259 (i386_target_format): Replace set_code_flag with update_code_flag.
261 2010-06-10 Tristan Gingold <gingold@adacore.com>
263 * config/obj-som.h: Includes som/reloc.h
265 2010-06-10 Jan Beulich <jbeulich@novell.com>
267 * config/tc-i386.c (cpu_arch): Add comment.
268 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
269 from the generic entries of cpu_arch[].
271 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
273 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
275 (parse_operands): Add support for OP_RRnpctw.
276 (insns): Update floating-point load/store multiples so the
277 first register is of type OP_RRnpctw.
279 2010-06-08 Quentin Neill <quentin.neill@amd.com>
281 * config/tc-i386.c (pi): Rename local loop counter
282 variable i that shadows global static i386_insn i
283 when DEBUG386 is defined.
286 2010-06-08 Nick Clifton <nickc@redhat.com>
288 * doc/as.texinfo: Replace abbreviated 20th century year numbers
291 2010-06-02 Quentin Neill <quentin.neill@amd.com>
293 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
295 2010-06-02 Tristan Gingold <gingold@adacore.com>
297 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
298 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
299 Remove conditionnal inclusion of stdarg.h and varargs.h.
301 * config.in: Regenerate.
302 * configure: Regenerate.
303 * configure.in: Remove stdarg.h and varargs.h from
304 AC_CHECK_HEADERS list.
305 * messages.c (as_tsktsk): Remove non ISO C version.
306 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
308 2010-05-31 Tristan Gingold <gingold@adacore.com>
310 * config/tc-alpha.c: Add comments for evax.
311 * config/obj-evax.c: Ditto.
313 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
315 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
318 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
320 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
321 writeback when base register is in register list an error, and
323 (do_t_ldmstm): Change warnings.
325 2010-05-26 Catherine Moore <clm@codesourcery.com>
327 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
328 (macro_build): Change invocation of is_opcode_valid.
331 2010-05-25 Nick Clifton <nickc@redhat.com>
333 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
334 * Makefile.in: Regenerate.
336 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
337 Joseph Myers <joseph@codesourcery.com>
338 Andrew Stubbs <ams@codesourcery.com>
340 * config/tc-sh.c (sh_fdpic): New.
341 (sh_check_fixup): Handle relocations on movi20.
342 (parse_exp): Do not reject PIC operators here.
343 (build_Mytes): Check for unhandled PIC operators here. Use
344 sh_check_fixup for movi20.
345 (enum options): Add OPTION_FDPIC.
346 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
347 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
348 (sh_elf_final_processing): Handle --fdpic.
349 (sh_uclinux_target_format): New.
350 (sh_parse_name): Handle FDPIC relocation operators.
351 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
352 (sh_uclinux_target_format): Declare for TE_UCLINUX.
353 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
355 * doc/c-sh.texi (SH Options): Document --fdpic.
357 2010-05-25 Jay Krell <jay.krell@cornell.edu>
360 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
361 * Makefile.in: Regenerate.
363 2010-05-25 Alan Modra <amodra@gmail.com>
365 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
367 2010-05-19 Nick Clifton <nickc@redhat.com>
369 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
370 of known section prefixes.
372 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
375 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
376 (obj_elf_parse_section_letters): Likewise.
377 (obj_elf_section_word): Likewise.
379 * config/tc-ppc.c (ppc_section_letter): Removed.
380 (ppc_section_word): Likewise.
381 * config/tc-ppc.h (ppc_section_letter): Likewise.
382 (ppc_section_word): Likewise.
383 (md_elf_section_letter): Likewise.
384 (md_elf_section_word): Likewise.
386 * doc/as.texinfo: Document `e' and `#exclude'.
388 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
390 * config/tc-arm.c (md_assemble): Clarify current mode in error
391 messages about unsupported instructions.
392 (UT): Delete #define.
393 (insns): Adjust cbnz, cbz appropriately.
395 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
397 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
399 2010-05-11 Jie Zhang <jie@codesourcery.com>
401 * config/tc-arm.c (aeabi_set_public_attributes): Set
402 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
404 2010-05-07 Tristan Gingold <gingold@adacore.com>
406 * Makefile.in: Regenerate with automake 1.11.1.
408 * doc/Makefile.in: Ditto.
410 2010-05-05 Nick Clifton <nickc@redhat.com>
412 * po/es.po: Updated Spanish translation.
414 2010-05-05 Julian Brown <julian@codesourcery.com>
416 * read.c (cons_worker): Detect and reject unexpected string argument.
418 2010-05-04 Nick Clifton <nickc@redhat.com>
420 * write.c (fixup_segment): Revert previous delta.
421 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
422 generation of relocations for fixups against weak symbols.
424 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
426 * write.c (fixup_segment): Do not assume we know the section a
427 defined weak symbol is in.
428 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
429 weak symbols as not known to be in the same section, even if they
432 2010-04-27 Joseph Myers <joseph@codesourcery.com>
434 * config/tc-tic6x.h (tic6x_label_list): New.
435 (tic6x_segment_info_type): Keep a list of labels and a current
436 frag instead of a boolean for whether labels seen and a count of
438 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
439 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
440 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
441 (tic6x_cleanup): Correct comment.
442 (tic6x_free_label_list): New.
443 (tic6x_cons_align): Free label list and update for
444 tic6x_segment_info_type changes.
445 (tic6x_do_align): New.
446 (md_assemble): Handle list of labels and saved frag for execute
447 packet. Create machine-dependent frag for new execute packet and
448 adjust labels accordingly.
449 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
450 (md_convert_frag, md_estimate_size_before_relax): Update comments.
452 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
455 * config/tc-i386-intel.c (intel_state): Add is_indirect.
456 (i386_intel_operand): Initialize intel_state.is_indirect. Check
457 intel_state.is_indirect for "call|jmp [symbol]".
459 2010-04-22 Nick Clifton <nickc@redhat.com>
461 * po/gas.pot: Updated by the Translation project.
463 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
465 * config/tc-i386.c (i386_is_register): Removed.
466 (x86_cons): Don't use i386_is_register.
467 (parse_register): Likewise.
468 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
469 (i386_intel_operand): Likewise.
471 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
473 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
476 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
478 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
480 (parse_register): Likewise.
481 (tc_x86_parse_to_dw2regnum): Likewise.
482 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
483 (i386_intel_operand): Likewise.
485 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
488 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
489 (i386_intel_simplify): Use i386_is_register and
490 i386_intel_simplify_register. Set X_md for O_register and
491 check X_md for O_constant.
492 (i386_intel_operand): Use i386_is_register.
494 * config/tc-i386.c (i386_is_register): New.
495 (x86_cons): Initialize the X_md field. Use i386_is_register.
496 (parse_register): Use i386_is_register.
497 (tc_x86_parse_to_dw2regnum): Likewise.
499 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
501 * expr.c (expr): Initialize the X_md field.
503 2010-04-20 Joseph Myers <joseph@codesourcery.com>
505 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
506 (md_longopts): Add -mgenerate-rel.
507 (tic6x_generate_rela): New.
508 (md_parse_option): Handle -mgenerate-rel.
509 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
510 (tic6x_init_after_args): New.
511 (md_apply_fix): Correct shift calculations for SB-relative
513 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
514 adjust addresses for relocations referencing symbols in other
516 (tc_gen_reloc): Adjust addend calculations for REL relocations.
517 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
518 tic6x_pcrel_from_section, tc_init_after_args,
519 tic6x_init_after_args): New.
521 2010-04-20 Nick Clifton <nickc@redhat.com>
524 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
525 altmacro mode if found inside a quoted string.
527 2010-04-20 Mike Frysinger <vapier@gentoo.org>
529 * config/bfin-lex.l (parse_int): Change index() to strchr().
531 2010-04-16 Nick Clifton <nickc@redhat.com>
534 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
535 matcher to accept and unconditional 32-bit add instruction.
536 (pa_build_unwind_subspace): Cope with error conditions not
537 allowing the start symbol to be set.
539 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
541 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
542 new tag names in v2.08 of ARM ABI.
543 * doc/c-arm.texi: Document new tag names in ABI.
545 2010-04-14 Tristan Gingold <gingold@adacore.com>
547 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
548 (s_alpha_comm): Used new EGPS macros from egps.h
549 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
550 (s_alpha_section_word): Add comments. Use new EGPS macros.
551 Adjust for modified bfd_vms_set_section_flags function.
553 2010-04-10 Alan Modra <amodra@gmail.com>
556 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
558 2010-04-09 Nick Clifton <nickc@redhat.com>
560 * as.c (create_obj_attrs_section): Remove unused variable addr.
561 * listing.c (listing_listing): Remove unused variable message.
562 * read.c: Remove unnecessary register type qualifiers.
563 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
566 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
568 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
569 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
570 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
571 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
572 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
573 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
574 atmega88pa, attiny461a, attiny84a, m3000.
575 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
576 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
577 * doc/c-avr.texi: Same.
579 2010-04-07 Jie Zhang <jie@codesourcery.com>
581 * config/tc-arm.c (make_mapping_symbol): Handle the case
582 that multiple mapping symbols have the same value 0.
584 2010-04-07 Alan Modra <amodra@gmail.com>
586 * configure: Regenerate.
588 2010-04-06 Nick Clifton <nickc@redhat.com>
590 * po/ru.po: New Russian translation.
591 * configure.in (ALL_LINGUAS): Add ru.
592 * configure: Regenerate.
594 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
597 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
598 of memcpy to copy overlap memory.
600 2010-03-25 Joseph Myers <joseph@codesourcery.com>
602 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
603 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
604 * Makefile.in: Regenerate.
605 * NEWS: Add news entry for TI C6X support.
606 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
607 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
608 operands if TC_KEEP_OPERAND_SPACES.
609 * configure.tgt (tic6x-*-*): New.
610 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
611 TC_PREDICATE_END_CHAR): Define.
612 * config/tc-tic6x.c, config/tc-tic6x.h: New.
613 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
614 * doc/Makefile.in: Regenerate.
615 * doc/all.texi (TIC6X): Define.
616 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
617 * doc/c-tic6x.texi: New.
619 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
621 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
623 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
625 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
626 with operand_size_mismatch.
627 (operand_size_match): Updated.
628 (match_template): Likewise.
630 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
632 * config/tc-i386.c (i386_error): New.
633 (_i386_insn): Replace err_msg with error.
634 (operand_size_match): Set error instead of err_msg on failure.
635 (operand_type_match): Likewise.
636 (operand_type_register_match): Likewise.
637 (VEX_check_operands): Likewise.
638 (match_template): Likewise. Use error instead of err_msg with
641 2010-03-19 Jie Zhang <jie@codesourcery.com>
643 * config/tc-arm.c (make_mapping_symbol): Hanle the case
644 that two mapping symbols have the same value.
646 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
648 * doc/c-arm.texi (.setfp): Correct example.
650 2010-03-18 Wei Guozhi <carrot@google.com>
653 * config/tc-arm.c (reloc_names): New relocation names.
654 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
655 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
656 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
658 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
660 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
661 cases, and not only for .eh_frame.
663 * dw2gencfi.c (output_cie): Make it more explicit which code paths
664 belong to .eh_frame only.
666 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
668 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
669 assembler constants on 64-bit hosts.
671 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
673 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
674 Strip trailing whitespace.
676 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
678 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
679 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
681 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
683 2010-03-10 Jie Zhang <jie@codesourcery.com>
685 * doc/as.texinfo: Add Blackfin options.
686 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
687 * config/tc-bfin.c (md_show_usage): Show usage for all
688 Blackfin specific options.
690 2010-03-09 Alan Modra <amodra@gmail.com>
693 * listing.c (listing_newline): Correct backslash quote logic.
695 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
697 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
698 (ELF_TARGET_FORMAT64): Define.
700 2010-03-05 Paul Brook <paul@codesourcery.com>
702 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
704 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
706 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
707 reading uninitialized data.
709 2010-03-01 Tristan Gingold <gingold@adacore.com>
711 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
713 2010-02-26 Doug Evans <dje@sebabeach.org>
715 * configure.tgt: Fix mep cpu case.
717 2010-02-26 Jie Zhang <jie@codesourcery.com>
719 * config/tc-arm.c (do_t_strexd): Remove
720 operand[1] != operand[2] contraint.
722 2010-02-26 Jie Zhang <jie@codesourcery.com>
724 * config/tc-arm.c (neon_select_shape): No need to match
725 the remaining operands in the shape when one operand does
728 2010-02-26 Jie Zhang <jie@codesourcery.com>
730 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
733 2010-02-25 Doug Evans <dje@sebabeach.org>
735 * cgen.c: Whitespace fixes.
736 (weak_operand_overflow_check): Formatting fix.
738 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
740 * config/tc-i386.c (match_template): Update error messages.
742 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
744 * config/tc-i386.c (_i386_insn): Add err_msg.
745 (operand_size_match): Set err_msg on failure.
746 (operand_type_match): Likewise.
747 (operand_type_register_match): Likewise.
748 (VEX_check_operands): Likewise.
749 (match_template): Likewise. Use i.err_msg with as_bad.
751 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
753 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
754 mips_fix_loongson2f_jump): New variables.
755 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
756 -mno-fix-loongson2f-nop/jump.
757 (md_parse_option): Initialize variables via above options.
758 (options): New enums for the above options.
759 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
760 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
762 (append_insn): call fix_loongson2f().
763 (mips_handle_align): Replace the implicit nops.
764 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
765 for the new mips_handle_align().
766 * doc/c-mips.texi: Document the new options.
768 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
770 * config/tc-arm.c (do_rd_rm_rn): Added warning
773 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
776 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
777 (avr_cons_fix_new): Handle fixups of a single byte.
779 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
782 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
783 compiler's predefines.
785 2010-02-19 Alan Modra <amodra@gmail.com>
787 * configure.tgt: Whiltespace. Sort moxie entry.
789 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
791 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
792 * doc/c-arm.texi: Likewise.
794 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
796 * config/tc-arm.c (asm_opcode): operands type
798 (BAD_PC_ADDRESSING): New macro message.
799 (BAD_PC_WRITEBACK): Likewise.
800 (MIX_ARM_THUMB_OPERANDS): New macro.
801 (operand_parse_code): Added enum values.
802 (parse_operands): Added thumb/arm distinction,
803 plus new enum values handling.
804 (encode_arm_addr_mode_2): Validations enhanced.
805 (encode_arm_addr_mode_3): Likewise.
806 (do_rm_rd_rn): Likewise.
807 (encode_thumb32_addr_mode): Likewise.
808 (do_t_ldrex): Likewise.
809 (do_t_ldst): Likewise.
810 (do_t_strex): Likewise.
811 (md_assemble): Call parse_operands with
819 (insns): Updated insns operands.
821 2010-02-12 Tristan Gingold <gingold@adacore.com>
822 Douglas B Rupp <rupp@gnat.com>
824 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
825 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
826 (pseudo_func): Add an entry for slotcount.
827 (md_begin): Initialize slotcount pseudo symbol.
828 (ia64_parse_name): Handle @slotcount parameter.
829 (ia64_gen_real_reloc_type): Handle slotcount.
830 (md_apply_fix): Ditto.
831 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
833 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
835 * config/tc-xtensa.c (istack_init): Don't call memset.
837 2010-02-11 Sterling Augustine <sterling@tensilica.com>
839 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
842 2010-02-11 Sterling Augustine <sterling@tensilica.com>
844 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
846 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
848 * config/tc-i386.c (build_modrm_byte): Reformat.
850 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
852 * config/tc-i386.c: Update copyright.
854 2010-02-10 Quentin Neill <quentin.neill@amd.com>
855 Sebastian Pop <sebastian.pop@amd.com>
857 * config/tc-i386.c (vec_imm4) New operand type.
859 (VEX_check_operands): New.
860 (check_reverse): Call VEX_check_operands.
861 (build_modrm_byte): Reintroduce code for 5
862 operand insns. Fix whitespace.
864 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
866 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
869 2010-02-09 Sterling Augustine <sterling@tensilica.com>
871 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
872 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
873 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
875 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
877 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
878 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
879 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
880 BFD_RELOC_ARM_PCREL_CALL)
882 2010-02-08 Sterling Augustine <sterling@tensilica.com>
884 * config/tc-xtensa.c (frag_format_size): Generalize logic to
885 handle more instruction sizes and fetch widths.
886 (branch_align_power): Likewise.
887 (text_align_power): Likewise.
888 (bytes_to_stretch): Likewise.
890 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
892 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
893 (ppc_mach): Handle titan.
894 * doc/c-ppc.texi: Mention -mtitan.
896 2010-02-05 Sterling Augustine <sterling@tensilica.com>
898 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
900 (xtensa_fetch_width) ...this.
902 2010-02-05 Joseph Myers <joseph@codesourcery.com>
904 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
905 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
906 * Makefile.in: Regenerate.
908 2010-02-03 Quentin Neill <quentin.neill@amd.com>
910 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
911 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
912 * config/tc-i386.h (processor_type): Same.
913 * doc/c-i386.texi: Change amdfam15 to bdver1.
915 2010-01-29 Nick Clifton <nickc@redhat.com>
918 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
921 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
923 * NEWS: Mention new feature.
924 * config/obj-coff.c (obj_coff_section): Accept digits and use
925 to override default section alignment power if specified.
926 * doc/as.texinfo (.section directive): Update documentation.
928 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
930 * config/tc-i386.c (avxscalar): New.
931 (OPTION_MAVXSCALAR): Likewise.
932 (build_vex_prefix): Select vector_length for scalar instructions
934 (md_longopts): Add OPTION_MAVXSCALAR.
935 (md_parse_option): Handle OPTION_MAVXSCALAR.
936 (md_show_usage): Add -mavxscalar=.
938 * doc/c-i386.texi: Document -mavxscalar=.
940 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
942 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
945 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
947 * write.h (fix_at_start): Declare.
948 * write.c (fix_new_internal): Add at_beginning parameter.
949 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
950 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
951 (fix_new, fix_new_exp): Update accordingly.
952 (fix_at_start): New function.
953 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
954 (ppc_ref): New function, for OBJ_XCOFF.
955 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
956 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
958 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
960 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
961 on 64-bit Solaris/x86.
962 Include obj-format.h earlier.
964 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
966 * config/tc-s390.c (s390_elf_final_processing): New function.
967 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
968 (s390_elf_final_processing): Added prototype.
971 2010-01-20 Nick Clifton <nickc@redhat.com>
974 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
975 code to handle round-to-zero for VCVT conversions.
976 (do_neon_cvt): New. Call do_neon_cvt_1.
977 (do_neon_cvtr): New. Call do_neon_cvt_1.
978 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
981 2010-01-18 Tristan Gingold <gingold@adacore.com>
983 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
985 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
987 * config/tc-i386.c (md_assemble): Before accessing the IMM field
988 check that it's not an XOP insn.
990 2010-01-14 Jie Zhang <jie.zhang@analog.com>
992 * config/bfin-aux.h: Remove argument names in function
994 * config/bfin-lex.l (parse_int): Fix shadowed variable name
996 * config/bfin-parse.y (value_match): Remove argument names
998 (notethat): Likewise.
1001 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1003 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1005 2010-01-13 Nick Clifton <nickc@redhat.com>
1007 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1008 warning message if a new section is created without setting any
1010 (md_pseudo_table): Intercept section creation pseudos.
1011 (md_pcrel_from): Replace abort with an error message.
1012 * config/obj-elf.c (obj_elf_section_name): Export this function.
1013 * config/obj-elf.h (obj_elf_section_name): Prototype.
1015 2010-01-12 Alan Modra <amodra@gmail.com>
1018 * listing.c (print_source): Add one to line number.
1020 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1022 * Makefile.in: Regenerate.
1023 * configure: Regenerate.
1024 * doc/Makefile.in: Regenerate.
1026 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1028 * version.c (parse_args): Change to "Copyright 2010".
1030 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1032 * config/tc-i386.c (cpu_arch): Add amdfam15.
1033 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1034 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1035 * doc/c-i386.texi: Add amdfam15.
1037 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1039 * config/tc-arm.c (do_neon_logic): Accept imm value
1040 in the third operand too.
1041 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1043 (parse_operands): OP_NILO case removed, applied renaming.
1044 (insns): Neon shape changed for some logic instructions.
1046 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1048 * config/tc-arm.c (do_neon_ldx_stx): Added
1049 validation for vector load/store insns.
1051 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1053 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1055 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1057 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1058 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1059 (NEON_ENCODE): New macro.
1060 (check_neon_suffixes): New macro.
1061 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1062 (do_vfp_nsyn_opcode): Likewise.
1063 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1064 (do_vfp_nsyn_cmp): Likewise.
1065 (do_neon_shl_imm): Likewise.
1066 (do_neon_qshl_imm): Likewise.
1067 (neon_dyadic_misc): Likewise.
1068 (do_neon_mac_maybe_scalar): Likewise.
1069 (do_neon_qdmulh): Likewise.
1070 (do_neon_qmovn): Likewise.
1071 (do_neon_qmovun): Likewise.
1072 (do_neon_movn): Likewise.
1073 (neon_mac_reg_scalar_long): Likewise.
1074 (do_neon_vmull): Likewise.
1075 (do_neon_trn): Likewise.
1076 (do_neon_ldx_stx): Likewise.
1077 (neon_dp_fixup): Changed signature and set the flag.
1078 (neon_three_same): Call the above with new signature.
1079 (neon_two_same): Likewise.
1080 (neon_imm_shift): Likewise.
1081 (neon_mul_mac): Likewise.
1082 (do_neon_abs_neg): Likewise.
1083 (neon_mixed_length): Likewise.
1084 (do_neon_ext): Likewise.
1085 (do_neon_mov): Likewise.
1086 (do_neon_tbl_tbx): Likewise.
1087 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1088 (neon_compare): Likewise.
1089 (do_neon_shll): Likewise.
1090 (do_neon_cvt): Likewise.
1091 (do_neon_mvn): Likewise.
1092 (do_neon_dup): Likewise.
1093 (md_assemble): Call check_neon_suffixes ().
1095 For older changes see ChangeLog-2009
1101 version-control: never