1 2010-07-05 Jim Wilson <wilson@codesourcery.com>
5 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
8 2010-07-05 Alan Modra <amodra@gmail.com>
10 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
13 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
15 * Makefile.am (CONFIG_OBJS): Removed.
16 (GENERIC_OBJS): Likewise.
18 * Makefile.in: Regenerated.
20 2010-07-03 Jan Beulich <jbeulich@novell.com>
23 * config/tc-i386.c (i386_finalize_displacement): Don't call
24 section_symbol() with expr_section.
26 2010-07-03 Cary Coutant <ccoutant@google.com>
28 * Makefile.am: Add compress-debug.c and compress-debug.h.
29 * Makefile.in: Regenerate.
30 * config.in: Add HAVE_ZLIB_H.
31 * configure.in: Check for zlib.h.
32 * configure: Regenerate.
34 * as.c (parse_args): Add --compress-debug-sections and
35 --nocompress-debug-sections.
36 * as.h (flag_compress_debug): New variable.
37 * compress-debug.c: New file.
38 * compress-debug.h: New file.
39 * write.c: Include compress-debug.h.
40 (compress_frag): New function.
41 (compress_debug): New function.
42 (write_object_file): Compress debug sections if requested.
44 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
46 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
49 2010-07-03 Alan Modra <amodra@gmail.com>
51 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
52 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
54 2010-07-02 DJ Delorie <dj@redhat.com>
56 * config/tc-rx.h (md_do_align): New.
57 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
58 * config/tc-rx.c (nops): New.
59 (rx_handle_align): Use various sized nops to align code.
61 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
63 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
65 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
67 AVX Programming Reference (June, 2010)
68 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
71 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
73 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
75 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
76 deprecated mov register instructions.
78 2010-07-01 Alan Modra <amodra@gmail.com>
80 * config/tc-ppc.c (toc_reloc_types): New variable.
81 (md_assemble): Set it.
82 (ppc_frob_file_before_adjust): Don't warn about toc section size
83 if we have large toc relocs and no small toc relocs.
85 2010-06-29 Alan Modra <amodra@gmail.com>
87 * config/tc-maxq.h: Delete file.
88 * config/tc-maxq.c: Delete file.
89 * Makefile.am: Remove references to maxq.
90 * configure.tgt: Likewise.
91 * config/obj-coff.h: Likewise.
92 * Makefile.in: Regenerate.
93 * configure: Regenerate.
94 * po/POTFILES.in: Regenerate.
96 2010-06-28 Alan Modra <amodra@gmail.com>
98 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
99 * config/tc-crx.c (gettrap): Constify arg.
100 (handle_LoadStor, get_cinv_parameters): Likewise.
101 (getreg_image): Fix enum warning
102 (md_assemble): Restore input line char.
103 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
104 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
105 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
106 (build_Mytes): Fix build failure for non-elf targets.
107 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
108 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
110 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
111 * ecoff.c (add_ecoff_symbol): Likewise.
112 * itbl-ops.c (append_insns_as_macros): Likewise.
113 * listing.c (debugging_pseudo): Likewise.
114 * read.c (s_mri_common, stringer): Likewise.
115 * config/obj-coff.c (coff_frob_section): Likewise.
116 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
117 * config/tc-arm.c (my_get_expression): Likewise.
118 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
119 * config/tc-m32c.c (md_assemble): Likewise.
120 * config/tc-microblaze.c (md_convert_frag): Likewise.
121 * config/tc-mips.c (s_change_section): Likewise.
122 * config/tc-mt.c (mt_fix_adjustable): Likewise.
123 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
125 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
127 * config/tc-alpha.c (load_expression): Likewise.
128 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
129 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
130 * config/tc-avr.c (extract_word): Likewise.
131 * config/tc-cris.c (cris_get_expression): Likewise.
132 * config/tc-d30v.c (build_insn, find_format): Likewise.
133 * config/tc-dlx.c (machine_ip): Likewise.
134 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
135 * config/tc-i370.c (md_assemble): Likewise.
136 * config/tc-i960.c (brtab_emit): Likewise.
137 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
138 * config/tc-m32c.c (md_convert_frag): Likewise.
139 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
140 (md_estimate_size_before_relax, md_apply_fix): Likewise.
141 * config/tc-m68k.c (md_show_usage): Likewise.
142 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
143 * config/tc-mips.c (s_mips_end): Likewise.
144 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
145 * config/tc-mn10300.c (md_assemble): Likewise.
146 * config/tc-msp430.c (extract_word): Likewise.
147 * config/tc-mt.c (md_assemble): Likewise.
148 * config/tc-or32.c (machine_ip): Likewise.
149 * config/tc-pj.c (md_apply_fix): Likewise.
150 * config/tc-s390.c (md_gather_operands): Likewise.
151 * config/tc-sh.c (sh_cons_align): Likewise.
152 * config/tc-sparc.c (sparc_cons_align): Likewise.
153 * config/tc-tic4x.c (tic4x_sect): Likewise.
154 * config/tc-tic54x.c (tic54x_stringer): Likewise.
155 * config/tc-vax.c (vip_op): Likewise.
156 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
157 * config/tc-xtensa.c (md_assemble): Likewise.
158 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
159 (xtensa_move_literals): Likewise.
161 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
163 * config/tc-arm.c (parse_neon_alignment): New function.
164 (parse_address_main): Fix Neon load/store alignment parsing.
166 2010-06-22 Jan Beulich <jbeulich@novell.com>
168 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
170 (i386_intel_operand): Remove bogus handling of pseudo symbols
172 * expr.c (current_location): Remove 'static' and local
174 * expr.h (current_location): Declare.
176 2010-06-21 Sterling Augustine <sterling@tensilica.com>
179 * as.c: Globalize keep_it.
180 (main): Remove keep_it. Move conditional from here...
181 (close_output_file): ...to here.
183 2010-06-21 Andreas Schwab <schwab@redhat.com>
185 * doc/as.texinfo (Overview): Use @itemx for grouped @table
187 * doc/c-alpha.texi (Alpha Options): Likewise.
188 * doc/c-arm.texi (ARM Directives): Likewise.
189 * doc/c-bfin.texi (Blackfin Options): Likewise.
190 * doc/c-d10v.texi (D10V-Opts): Likewise.
191 * doc/c-i386.texi (i386-Options): Likewise.
192 * doc/c-ia64.texi (IA-64 Options): Likewise.
193 * doc/c-m68k.texi (M68K-Opts): Likewise.
194 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
195 * doc/internals.texi (Symbols): Likewise.
197 2010-06-21 Alan Modra <amodra@gmail.com>
200 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
202 2010-06-18 Joseph Myers <joseph@codesourcery.com>
204 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
206 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
207 (md_assemble): Clear func_units_used for new execute packet.
208 Check for duplicate functional units and update func_units_used
209 for instructions using a functional unit.
211 2010-06-15 Joseph Myers <joseph@codesourcery.com>
213 * config/tc-tic6x.c: Include elf/tic6x.h.
214 (tic6x_arch_attribute, tic6x_seen_insns): New.
215 (tic6x_arch_table, tic6x_arches): Add attribute values.
216 (tic6x_use_arch): Handle attribute settings.
217 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
218 tic6x_attribute_table, tic6x_attributes,
219 tic6x_convert_symbolic_attribute): New.
220 (md_pseudo_table): Add c6xabi_attribute.
221 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
222 (tic6x_set_attribute_int, tic6x_set_attributes): New.
223 (tic6x_end): Call tic6x_set_attributes.
224 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
225 (tic6x_convert_symbolic_attribute): Declare.
227 2010-06-14 Alan Modra <amodra@gmail.com>
229 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
232 2010-06-11 Jan Beulich <jbeulich@novell.com>
234 * config/tc-i386.c (md_parse_option): Ignore impossible processor
236 (show_arch): New parameter 'check'.
237 (md_show_usage): Adjust calls to show_arch().
239 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
241 * config/tc-i386.c (update_code_flag): New.
242 (set_code_flag): Use it.
243 (i386_target_format): Replace set_code_flag with update_code_flag.
245 2010-06-10 Tristan Gingold <gingold@adacore.com>
247 * config/obj-som.h: Includes som/reloc.h
249 2010-06-10 Jan Beulich <jbeulich@novell.com>
251 * config/tc-i386.c (cpu_arch): Add comment.
252 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
253 from the generic entries of cpu_arch[].
255 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
257 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
259 (parse_operands): Add support for OP_RRnpctw.
260 (insns): Update floating-point load/store multiples so the
261 first register is of type OP_RRnpctw.
263 2010-06-08 Quentin Neill <quentin.neill@amd.com>
265 * config/tc-i386.c (pi): Rename local loop counter
266 variable i that shadows global static i386_insn i
267 when DEBUG386 is defined.
270 2010-06-08 Nick Clifton <nickc@redhat.com>
272 * doc/as.texinfo: Replace abbreviated 20th century year numbers
275 2010-06-02 Quentin Neill <quentin.neill@amd.com>
277 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
279 2010-06-02 Tristan Gingold <gingold@adacore.com>
281 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
282 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
283 Remove conditionnal inclusion of stdarg.h and varargs.h.
285 * config.in: Regenerate.
286 * configure: Regenerate.
287 * configure.in: Remove stdarg.h and varargs.h from
288 AC_CHECK_HEADERS list.
289 * messages.c (as_tsktsk): Remove non ISO C version.
290 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
292 2010-05-31 Tristan Gingold <gingold@adacore.com>
294 * config/tc-alpha.c: Add comments for evax.
295 * config/obj-evax.c: Ditto.
297 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
299 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
302 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
304 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
305 writeback when base register is in register list an error, and
307 (do_t_ldmstm): Change warnings.
309 2010-05-26 Catherine Moore <clm@codesourcery.com>
311 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
312 (macro_build): Change invocation of is_opcode_valid.
315 2010-05-25 Nick Clifton <nickc@redhat.com>
317 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
318 * Makefile.in: Regenerate.
320 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
321 Joseph Myers <joseph@codesourcery.com>
322 Andrew Stubbs <ams@codesourcery.com>
324 * config/tc-sh.c (sh_fdpic): New.
325 (sh_check_fixup): Handle relocations on movi20.
326 (parse_exp): Do not reject PIC operators here.
327 (build_Mytes): Check for unhandled PIC operators here. Use
328 sh_check_fixup for movi20.
329 (enum options): Add OPTION_FDPIC.
330 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
331 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
332 (sh_elf_final_processing): Handle --fdpic.
333 (sh_uclinux_target_format): New.
334 (sh_parse_name): Handle FDPIC relocation operators.
335 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
336 (sh_uclinux_target_format): Declare for TE_UCLINUX.
337 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
339 * doc/c-sh.texi (SH Options): Document --fdpic.
341 2010-05-25 Jay Krell <jay.krell@cornell.edu>
344 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
345 * Makefile.in: Regenerate.
347 2010-05-25 Alan Modra <amodra@gmail.com>
349 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
351 2010-05-19 Nick Clifton <nickc@redhat.com>
353 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
354 of known section prefixes.
356 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
359 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
360 (obj_elf_parse_section_letters): Likewise.
361 (obj_elf_section_word): Likewise.
363 * config/tc-ppc.c (ppc_section_letter): Removed.
364 (ppc_section_word): Likewise.
365 * config/tc-ppc.h (ppc_section_letter): Likewise.
366 (ppc_section_word): Likewise.
367 (md_elf_section_letter): Likewise.
368 (md_elf_section_word): Likewise.
370 * doc/as.texinfo: Document `e' and `#exclude'.
372 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
374 * config/tc-arm.c (md_assemble): Clarify current mode in error
375 messages about unsupported instructions.
376 (UT): Delete #define.
377 (insns): Adjust cbnz, cbz appropriately.
379 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
381 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
383 2010-05-11 Jie Zhang <jie@codesourcery.com>
385 * config/tc-arm.c (aeabi_set_public_attributes): Set
386 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
388 2010-05-07 Tristan Gingold <gingold@adacore.com>
390 * Makefile.in: Regenerate with automake 1.11.1.
392 * doc/Makefile.in: Ditto.
394 2010-05-05 Nick Clifton <nickc@redhat.com>
396 * po/es.po: Updated Spanish translation.
398 2010-05-05 Julian Brown <julian@codesourcery.com>
400 * read.c (cons_worker): Detect and reject unexpected string argument.
402 2010-05-04 Nick Clifton <nickc@redhat.com>
404 * write.c (fixup_segment): Revert previous delta.
405 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
406 generation of relocations for fixups against weak symbols.
408 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
410 * write.c (fixup_segment): Do not assume we know the section a
411 defined weak symbol is in.
412 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
413 weak symbols as not known to be in the same section, even if they
416 2010-04-27 Joseph Myers <joseph@codesourcery.com>
418 * config/tc-tic6x.h (tic6x_label_list): New.
419 (tic6x_segment_info_type): Keep a list of labels and a current
420 frag instead of a boolean for whether labels seen and a count of
422 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
423 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
424 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
425 (tic6x_cleanup): Correct comment.
426 (tic6x_free_label_list): New.
427 (tic6x_cons_align): Free label list and update for
428 tic6x_segment_info_type changes.
429 (tic6x_do_align): New.
430 (md_assemble): Handle list of labels and saved frag for execute
431 packet. Create machine-dependent frag for new execute packet and
432 adjust labels accordingly.
433 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
434 (md_convert_frag, md_estimate_size_before_relax): Update comments.
436 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
439 * config/tc-i386-intel.c (intel_state): Add is_indirect.
440 (i386_intel_operand): Initialize intel_state.is_indirect. Check
441 intel_state.is_indirect for "call|jmp [symbol]".
443 2010-04-22 Nick Clifton <nickc@redhat.com>
445 * po/gas.pot: Updated by the Translation project.
447 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
449 * config/tc-i386.c (i386_is_register): Removed.
450 (x86_cons): Don't use i386_is_register.
451 (parse_register): Likewise.
452 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
453 (i386_intel_operand): Likewise.
455 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
457 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
460 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
462 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
464 (parse_register): Likewise.
465 (tc_x86_parse_to_dw2regnum): Likewise.
466 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
467 (i386_intel_operand): Likewise.
469 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
472 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
473 (i386_intel_simplify): Use i386_is_register and
474 i386_intel_simplify_register. Set X_md for O_register and
475 check X_md for O_constant.
476 (i386_intel_operand): Use i386_is_register.
478 * config/tc-i386.c (i386_is_register): New.
479 (x86_cons): Initialize the X_md field. Use i386_is_register.
480 (parse_register): Use i386_is_register.
481 (tc_x86_parse_to_dw2regnum): Likewise.
483 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
485 * expr.c (expr): Initialize the X_md field.
487 2010-04-20 Joseph Myers <joseph@codesourcery.com>
489 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
490 (md_longopts): Add -mgenerate-rel.
491 (tic6x_generate_rela): New.
492 (md_parse_option): Handle -mgenerate-rel.
493 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
494 (tic6x_init_after_args): New.
495 (md_apply_fix): Correct shift calculations for SB-relative
497 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
498 adjust addresses for relocations referencing symbols in other
500 (tc_gen_reloc): Adjust addend calculations for REL relocations.
501 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
502 tic6x_pcrel_from_section, tc_init_after_args,
503 tic6x_init_after_args): New.
505 2010-04-20 Nick Clifton <nickc@redhat.com>
508 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
509 altmacro mode if found inside a quoted string.
511 2010-04-20 Mike Frysinger <vapier@gentoo.org>
513 * config/bfin-lex.l (parse_int): Change index() to strchr().
515 2010-04-16 Nick Clifton <nickc@redhat.com>
518 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
519 matcher to accept and unconditional 32-bit add instruction.
520 (pa_build_unwind_subspace): Cope with error conditions not
521 allowing the start symbol to be set.
523 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
525 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
526 new tag names in v2.08 of ARM ABI.
527 * doc/c-arm.texi: Document new tag names in ABI.
529 2010-04-14 Tristan Gingold <gingold@adacore.com>
531 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
532 (s_alpha_comm): Used new EGPS macros from egps.h
533 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
534 (s_alpha_section_word): Add comments. Use new EGPS macros.
535 Adjust for modified bfd_vms_set_section_flags function.
537 2010-04-10 Alan Modra <amodra@gmail.com>
540 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
542 2010-04-09 Nick Clifton <nickc@redhat.com>
544 * as.c (create_obj_attrs_section): Remove unused variable addr.
545 * listing.c (listing_listing): Remove unused variable message.
546 * read.c: Remove unnecessary register type qualifiers.
547 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
550 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
552 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
553 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
554 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
555 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
556 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
557 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
558 atmega88pa, attiny461a, attiny84a, m3000.
559 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
560 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
561 * doc/c-avr.texi: Same.
563 2010-04-07 Jie Zhang <jie@codesourcery.com>
565 * config/tc-arm.c (make_mapping_symbol): Handle the case
566 that multiple mapping symbols have the same value 0.
568 2010-04-07 Alan Modra <amodra@gmail.com>
570 * configure: Regenerate.
572 2010-04-06 Nick Clifton <nickc@redhat.com>
574 * po/ru.po: New Russian translation.
575 * configure.in (ALL_LINGUAS): Add ru.
576 * configure: Regenerate.
578 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
581 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
582 of memcpy to copy overlap memory.
584 2010-03-25 Joseph Myers <joseph@codesourcery.com>
586 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
587 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
588 * Makefile.in: Regenerate.
589 * NEWS: Add news entry for TI C6X support.
590 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
591 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
592 operands if TC_KEEP_OPERAND_SPACES.
593 * configure.tgt (tic6x-*-*): New.
594 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
595 TC_PREDICATE_END_CHAR): Define.
596 * config/tc-tic6x.c, config/tc-tic6x.h: New.
597 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
598 * doc/Makefile.in: Regenerate.
599 * doc/all.texi (TIC6X): Define.
600 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
601 * doc/c-tic6x.texi: New.
603 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
605 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
607 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
609 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
610 with operand_size_mismatch.
611 (operand_size_match): Updated.
612 (match_template): Likewise.
614 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
616 * config/tc-i386.c (i386_error): New.
617 (_i386_insn): Replace err_msg with error.
618 (operand_size_match): Set error instead of err_msg on failure.
619 (operand_type_match): Likewise.
620 (operand_type_register_match): Likewise.
621 (VEX_check_operands): Likewise.
622 (match_template): Likewise. Use error instead of err_msg with
625 2010-03-19 Jie Zhang <jie@codesourcery.com>
627 * config/tc-arm.c (make_mapping_symbol): Hanle the case
628 that two mapping symbols have the same value.
630 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
632 * doc/c-arm.texi (.setfp): Correct example.
634 2010-03-18 Wei Guozhi <carrot@google.com>
637 * config/tc-arm.c (reloc_names): New relocation names.
638 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
639 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
640 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
642 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
644 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
645 cases, and not only for .eh_frame.
647 * dw2gencfi.c (output_cie): Make it more explicit which code paths
648 belong to .eh_frame only.
650 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
652 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
653 assembler constants on 64-bit hosts.
655 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
657 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
658 Strip trailing whitespace.
660 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
662 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
663 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
665 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
667 2010-03-10 Jie Zhang <jie@codesourcery.com>
669 * doc/as.texinfo: Add Blackfin options.
670 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
671 * config/tc-bfin.c (md_show_usage): Show usage for all
672 Blackfin specific options.
674 2010-03-09 Alan Modra <amodra@gmail.com>
677 * listing.c (listing_newline): Correct backslash quote logic.
679 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
681 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
682 (ELF_TARGET_FORMAT64): Define.
684 2010-03-05 Paul Brook <paul@codesourcery.com>
686 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
688 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
690 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
691 reading uninitialized data.
693 2010-03-01 Tristan Gingold <gingold@adacore.com>
695 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
697 2010-02-26 Doug Evans <dje@sebabeach.org>
699 * configure.tgt: Fix mep cpu case.
701 2010-02-26 Jie Zhang <jie@codesourcery.com>
703 * config/tc-arm.c (do_t_strexd): Remove
704 operand[1] != operand[2] contraint.
706 2010-02-26 Jie Zhang <jie@codesourcery.com>
708 * config/tc-arm.c (neon_select_shape): No need to match
709 the remaining operands in the shape when one operand does
712 2010-02-26 Jie Zhang <jie@codesourcery.com>
714 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
717 2010-02-25 Doug Evans <dje@sebabeach.org>
719 * cgen.c: Whitespace fixes.
720 (weak_operand_overflow_check): Formatting fix.
722 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
724 * config/tc-i386.c (match_template): Update error messages.
726 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
728 * config/tc-i386.c (_i386_insn): Add err_msg.
729 (operand_size_match): Set err_msg on failure.
730 (operand_type_match): Likewise.
731 (operand_type_register_match): Likewise.
732 (VEX_check_operands): Likewise.
733 (match_template): Likewise. Use i.err_msg with as_bad.
735 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
737 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
738 mips_fix_loongson2f_jump): New variables.
739 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
740 -mno-fix-loongson2f-nop/jump.
741 (md_parse_option): Initialize variables via above options.
742 (options): New enums for the above options.
743 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
744 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
746 (append_insn): call fix_loongson2f().
747 (mips_handle_align): Replace the implicit nops.
748 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
749 for the new mips_handle_align().
750 * doc/c-mips.texi: Document the new options.
752 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
754 * config/tc-arm.c (do_rd_rm_rn): Added warning
757 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
760 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
761 (avr_cons_fix_new): Handle fixups of a single byte.
763 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
766 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
767 compiler's predefines.
769 2010-02-19 Alan Modra <amodra@gmail.com>
771 * configure.tgt: Whiltespace. Sort moxie entry.
773 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
775 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
776 * doc/c-arm.texi: Likewise.
778 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
780 * config/tc-arm.c (asm_opcode): operands type
782 (BAD_PC_ADDRESSING): New macro message.
783 (BAD_PC_WRITEBACK): Likewise.
784 (MIX_ARM_THUMB_OPERANDS): New macro.
785 (operand_parse_code): Added enum values.
786 (parse_operands): Added thumb/arm distinction,
787 plus new enum values handling.
788 (encode_arm_addr_mode_2): Validations enhanced.
789 (encode_arm_addr_mode_3): Likewise.
790 (do_rm_rd_rn): Likewise.
791 (encode_thumb32_addr_mode): Likewise.
792 (do_t_ldrex): Likewise.
793 (do_t_ldst): Likewise.
794 (do_t_strex): Likewise.
795 (md_assemble): Call parse_operands with
803 (insns): Updated insns operands.
805 2010-02-12 Tristan Gingold <gingold@adacore.com>
806 Douglas B Rupp <rupp@gnat.com>
808 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
809 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
810 (pseudo_func): Add an entry for slotcount.
811 (md_begin): Initialize slotcount pseudo symbol.
812 (ia64_parse_name): Handle @slotcount parameter.
813 (ia64_gen_real_reloc_type): Handle slotcount.
814 (md_apply_fix): Ditto.
815 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
817 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
819 * config/tc-xtensa.c (istack_init): Don't call memset.
821 2010-02-11 Sterling Augustine <sterling@tensilica.com>
823 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
826 2010-02-11 Sterling Augustine <sterling@tensilica.com>
828 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
830 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
832 * config/tc-i386.c (build_modrm_byte): Reformat.
834 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
836 * config/tc-i386.c: Update copyright.
838 2010-02-10 Quentin Neill <quentin.neill@amd.com>
839 Sebastian Pop <sebastian.pop@amd.com>
841 * config/tc-i386.c (vec_imm4) New operand type.
843 (VEX_check_operands): New.
844 (check_reverse): Call VEX_check_operands.
845 (build_modrm_byte): Reintroduce code for 5
846 operand insns. Fix whitespace.
848 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
850 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
853 2010-02-09 Sterling Augustine <sterling@tensilica.com>
855 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
856 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
857 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
859 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
861 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
862 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
863 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
864 BFD_RELOC_ARM_PCREL_CALL)
866 2010-02-08 Sterling Augustine <sterling@tensilica.com>
868 * config/tc-xtensa.c (frag_format_size): Generalize logic to
869 handle more instruction sizes and fetch widths.
870 (branch_align_power): Likewise.
871 (text_align_power): Likewise.
872 (bytes_to_stretch): Likewise.
874 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
876 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
877 (ppc_mach): Handle titan.
878 * doc/c-ppc.texi: Mention -mtitan.
880 2010-02-05 Sterling Augustine <sterling@tensilica.com>
882 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
884 (xtensa_fetch_width) ...this.
886 2010-02-05 Joseph Myers <joseph@codesourcery.com>
888 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
889 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
890 * Makefile.in: Regenerate.
892 2010-02-03 Quentin Neill <quentin.neill@amd.com>
894 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
895 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
896 * config/tc-i386.h (processor_type): Same.
897 * doc/c-i386.texi: Change amdfam15 to bdver1.
899 2010-01-29 Nick Clifton <nickc@redhat.com>
902 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
905 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
907 * NEWS: Mention new feature.
908 * config/obj-coff.c (obj_coff_section): Accept digits and use
909 to override default section alignment power if specified.
910 * doc/as.texinfo (.section directive): Update documentation.
912 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
914 * config/tc-i386.c (avxscalar): New.
915 (OPTION_MAVXSCALAR): Likewise.
916 (build_vex_prefix): Select vector_length for scalar instructions
918 (md_longopts): Add OPTION_MAVXSCALAR.
919 (md_parse_option): Handle OPTION_MAVXSCALAR.
920 (md_show_usage): Add -mavxscalar=.
922 * doc/c-i386.texi: Document -mavxscalar=.
924 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
926 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
929 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
931 * write.h (fix_at_start): Declare.
932 * write.c (fix_new_internal): Add at_beginning parameter.
933 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
934 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
935 (fix_new, fix_new_exp): Update accordingly.
936 (fix_at_start): New function.
937 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
938 (ppc_ref): New function, for OBJ_XCOFF.
939 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
940 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
942 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
944 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
945 on 64-bit Solaris/x86.
946 Include obj-format.h earlier.
948 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
950 * config/tc-s390.c (s390_elf_final_processing): New function.
951 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
952 (s390_elf_final_processing): Added prototype.
955 2010-01-20 Nick Clifton <nickc@redhat.com>
958 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
959 code to handle round-to-zero for VCVT conversions.
960 (do_neon_cvt): New. Call do_neon_cvt_1.
961 (do_neon_cvtr): New. Call do_neon_cvt_1.
962 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
965 2010-01-18 Tristan Gingold <gingold@adacore.com>
967 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
969 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
971 * config/tc-i386.c (md_assemble): Before accessing the IMM field
972 check that it's not an XOP insn.
974 2010-01-14 Jie Zhang <jie.zhang@analog.com>
976 * config/bfin-aux.h: Remove argument names in function
978 * config/bfin-lex.l (parse_int): Fix shadowed variable name
980 * config/bfin-parse.y (value_match): Remove argument names
982 (notethat): Likewise.
985 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
987 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
989 2010-01-13 Nick Clifton <nickc@redhat.com>
991 * config/tc-h8300.c (h8300_elf_section): New function - issue a
992 warning message if a new section is created without setting any
994 (md_pseudo_table): Intercept section creation pseudos.
995 (md_pcrel_from): Replace abort with an error message.
996 * config/obj-elf.c (obj_elf_section_name): Export this function.
997 * config/obj-elf.h (obj_elf_section_name): Prototype.
999 2010-01-12 Alan Modra <amodra@gmail.com>
1002 * listing.c (print_source): Add one to line number.
1004 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1006 * Makefile.in: Regenerate.
1007 * configure: Regenerate.
1008 * doc/Makefile.in: Regenerate.
1010 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1012 * version.c (parse_args): Change to "Copyright 2010".
1014 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1016 * config/tc-i386.c (cpu_arch): Add amdfam15.
1017 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1018 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1019 * doc/c-i386.texi: Add amdfam15.
1021 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1023 * config/tc-arm.c (do_neon_logic): Accept imm value
1024 in the third operand too.
1025 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1027 (parse_operands): OP_NILO case removed, applied renaming.
1028 (insns): Neon shape changed for some logic instructions.
1030 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1032 * config/tc-arm.c (do_neon_ldx_stx): Added
1033 validation for vector load/store insns.
1035 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1037 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1039 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1041 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1042 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1043 (NEON_ENCODE): New macro.
1044 (check_neon_suffixes): New macro.
1045 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1046 (do_vfp_nsyn_opcode): Likewise.
1047 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1048 (do_vfp_nsyn_cmp): Likewise.
1049 (do_neon_shl_imm): Likewise.
1050 (do_neon_qshl_imm): Likewise.
1051 (neon_dyadic_misc): Likewise.
1052 (do_neon_mac_maybe_scalar): Likewise.
1053 (do_neon_qdmulh): Likewise.
1054 (do_neon_qmovn): Likewise.
1055 (do_neon_qmovun): Likewise.
1056 (do_neon_movn): Likewise.
1057 (neon_mac_reg_scalar_long): Likewise.
1058 (do_neon_vmull): Likewise.
1059 (do_neon_trn): Likewise.
1060 (do_neon_ldx_stx): Likewise.
1061 (neon_dp_fixup): Changed signature and set the flag.
1062 (neon_three_same): Call the above with new signature.
1063 (neon_two_same): Likewise.
1064 (neon_imm_shift): Likewise.
1065 (neon_mul_mac): Likewise.
1066 (do_neon_abs_neg): Likewise.
1067 (neon_mixed_length): Likewise.
1068 (do_neon_ext): Likewise.
1069 (do_neon_mov): Likewise.
1070 (do_neon_tbl_tbx): Likewise.
1071 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1072 (neon_compare): Likewise.
1073 (do_neon_shll): Likewise.
1074 (do_neon_cvt): Likewise.
1075 (do_neon_mvn): Likewise.
1076 (do_neon_dup): Likewise.
1077 (md_assemble): Call check_neon_suffixes ().
1079 For older changes see ChangeLog-2009
1085 version-control: never