1 2010-07-11 Kai Tietz <kai.tietz@onevision.com>
4 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
6 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
8 * tc-arm.c (OP_oBARRIER): Remove.
9 (OP_oBARRIER_I15): Add.
10 (po_barrier_or_imm): Add macro.
11 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
12 (do_barrier): Check correct immediate range.
13 (do_t_barrier): Likewise.
14 (barrier_opt_names): Add entries for more symbolic operands.
15 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
17 2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
19 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
22 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
24 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
27 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
29 * config/tc-mips.c (nops_for_insn_or_target): Replace
30 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
31 MIPS16_INSN_COND_BRANCH.
33 2010-07-05 Jim Wilson <wilson@codesourcery.com>
37 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
40 2010-07-05 Alan Modra <amodra@gmail.com>
42 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
45 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
47 * Makefile.am (CONFIG_OBJS): Removed.
48 (GENERIC_OBJS): Likewise.
50 * Makefile.in: Regenerated.
52 2010-07-03 Jan Beulich <jbeulich@novell.com>
55 * config/tc-i386.c (i386_finalize_displacement): Don't call
56 section_symbol() with expr_section.
58 2010-07-03 Cary Coutant <ccoutant@google.com>
60 * Makefile.am: Add compress-debug.c and compress-debug.h.
61 * Makefile.in: Regenerate.
62 * config.in: Add HAVE_ZLIB_H.
63 * configure.in: Check for zlib.h.
64 * configure: Regenerate.
66 * as.c (parse_args): Add --compress-debug-sections and
67 --nocompress-debug-sections.
68 * as.h (flag_compress_debug): New variable.
69 * compress-debug.c: New file.
70 * compress-debug.h: New file.
71 * write.c: Include compress-debug.h.
72 (compress_frag): New function.
73 (compress_debug): New function.
74 (write_object_file): Compress debug sections if requested.
76 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
78 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
81 2010-07-03 Alan Modra <amodra@gmail.com>
83 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
84 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
86 2010-07-02 DJ Delorie <dj@redhat.com>
88 * config/tc-rx.h (md_do_align): New.
89 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
90 * config/tc-rx.c (nops): New.
91 (rx_handle_align): Use various sized nops to align code.
93 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
95 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
97 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
99 AVX Programming Reference (June, 2010)
100 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
103 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
105 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
107 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
108 deprecated mov register instructions.
110 2010-07-01 Alan Modra <amodra@gmail.com>
112 * config/tc-ppc.c (toc_reloc_types): New variable.
113 (md_assemble): Set it.
114 (ppc_frob_file_before_adjust): Don't warn about toc section size
115 if we have large toc relocs and no small toc relocs.
117 2010-06-29 Alan Modra <amodra@gmail.com>
119 * config/tc-maxq.h: Delete file.
120 * config/tc-maxq.c: Delete file.
121 * Makefile.am: Remove references to maxq.
122 * configure.tgt: Likewise.
123 * config/obj-coff.h: Likewise.
124 * Makefile.in: Regenerate.
125 * configure: Regenerate.
126 * po/POTFILES.in: Regenerate.
128 2010-06-28 Alan Modra <amodra@gmail.com>
130 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
131 * config/tc-crx.c (gettrap): Constify arg.
132 (handle_LoadStor, get_cinv_parameters): Likewise.
133 (getreg_image): Fix enum warning
134 (md_assemble): Restore input line char.
135 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
136 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
137 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
138 (build_Mytes): Fix build failure for non-elf targets.
139 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
140 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
142 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
143 * ecoff.c (add_ecoff_symbol): Likewise.
144 * itbl-ops.c (append_insns_as_macros): Likewise.
145 * listing.c (debugging_pseudo): Likewise.
146 * read.c (s_mri_common, stringer): Likewise.
147 * config/obj-coff.c (coff_frob_section): Likewise.
148 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
149 * config/tc-arm.c (my_get_expression): Likewise.
150 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
151 * config/tc-m32c.c (md_assemble): Likewise.
152 * config/tc-microblaze.c (md_convert_frag): Likewise.
153 * config/tc-mips.c (s_change_section): Likewise.
154 * config/tc-mt.c (mt_fix_adjustable): Likewise.
155 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
157 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
159 * config/tc-alpha.c (load_expression): Likewise.
160 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
161 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
162 * config/tc-avr.c (extract_word): Likewise.
163 * config/tc-cris.c (cris_get_expression): Likewise.
164 * config/tc-d30v.c (build_insn, find_format): Likewise.
165 * config/tc-dlx.c (machine_ip): Likewise.
166 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
167 * config/tc-i370.c (md_assemble): Likewise.
168 * config/tc-i960.c (brtab_emit): Likewise.
169 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
170 * config/tc-m32c.c (md_convert_frag): Likewise.
171 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
172 (md_estimate_size_before_relax, md_apply_fix): Likewise.
173 * config/tc-m68k.c (md_show_usage): Likewise.
174 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
175 * config/tc-mips.c (s_mips_end): Likewise.
176 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
177 * config/tc-mn10300.c (md_assemble): Likewise.
178 * config/tc-msp430.c (extract_word): Likewise.
179 * config/tc-mt.c (md_assemble): Likewise.
180 * config/tc-or32.c (machine_ip): Likewise.
181 * config/tc-pj.c (md_apply_fix): Likewise.
182 * config/tc-s390.c (md_gather_operands): Likewise.
183 * config/tc-sh.c (sh_cons_align): Likewise.
184 * config/tc-sparc.c (sparc_cons_align): Likewise.
185 * config/tc-tic4x.c (tic4x_sect): Likewise.
186 * config/tc-tic54x.c (tic54x_stringer): Likewise.
187 * config/tc-vax.c (vip_op): Likewise.
188 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
189 * config/tc-xtensa.c (md_assemble): Likewise.
190 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
191 (xtensa_move_literals): Likewise.
193 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
195 * config/tc-arm.c (parse_neon_alignment): New function.
196 (parse_address_main): Fix Neon load/store alignment parsing.
198 2010-06-22 Jan Beulich <jbeulich@novell.com>
200 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
202 (i386_intel_operand): Remove bogus handling of pseudo symbols
204 * expr.c (current_location): Remove 'static' and local
206 * expr.h (current_location): Declare.
208 2010-06-21 Sterling Augustine <sterling@tensilica.com>
211 * as.c: Globalize keep_it.
212 (main): Remove keep_it. Move conditional from here...
213 (close_output_file): ...to here.
215 2010-06-21 Andreas Schwab <schwab@redhat.com>
217 * doc/as.texinfo (Overview): Use @itemx for grouped @table
219 * doc/c-alpha.texi (Alpha Options): Likewise.
220 * doc/c-arm.texi (ARM Directives): Likewise.
221 * doc/c-bfin.texi (Blackfin Options): Likewise.
222 * doc/c-d10v.texi (D10V-Opts): Likewise.
223 * doc/c-i386.texi (i386-Options): Likewise.
224 * doc/c-ia64.texi (IA-64 Options): Likewise.
225 * doc/c-m68k.texi (M68K-Opts): Likewise.
226 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
227 * doc/internals.texi (Symbols): Likewise.
229 2010-06-21 Alan Modra <amodra@gmail.com>
232 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
234 2010-06-18 Joseph Myers <joseph@codesourcery.com>
236 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
238 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
239 (md_assemble): Clear func_units_used for new execute packet.
240 Check for duplicate functional units and update func_units_used
241 for instructions using a functional unit.
243 2010-06-15 Joseph Myers <joseph@codesourcery.com>
245 * config/tc-tic6x.c: Include elf/tic6x.h.
246 (tic6x_arch_attribute, tic6x_seen_insns): New.
247 (tic6x_arch_table, tic6x_arches): Add attribute values.
248 (tic6x_use_arch): Handle attribute settings.
249 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
250 tic6x_attribute_table, tic6x_attributes,
251 tic6x_convert_symbolic_attribute): New.
252 (md_pseudo_table): Add c6xabi_attribute.
253 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
254 (tic6x_set_attribute_int, tic6x_set_attributes): New.
255 (tic6x_end): Call tic6x_set_attributes.
256 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
257 (tic6x_convert_symbolic_attribute): Declare.
259 2010-06-14 Alan Modra <amodra@gmail.com>
261 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
264 2010-06-11 Jan Beulich <jbeulich@novell.com>
266 * config/tc-i386.c (md_parse_option): Ignore impossible processor
268 (show_arch): New parameter 'check'.
269 (md_show_usage): Adjust calls to show_arch().
271 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
273 * config/tc-i386.c (update_code_flag): New.
274 (set_code_flag): Use it.
275 (i386_target_format): Replace set_code_flag with update_code_flag.
277 2010-06-10 Tristan Gingold <gingold@adacore.com>
279 * config/obj-som.h: Includes som/reloc.h
281 2010-06-10 Jan Beulich <jbeulich@novell.com>
283 * config/tc-i386.c (cpu_arch): Add comment.
284 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
285 from the generic entries of cpu_arch[].
287 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
289 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
291 (parse_operands): Add support for OP_RRnpctw.
292 (insns): Update floating-point load/store multiples so the
293 first register is of type OP_RRnpctw.
295 2010-06-08 Quentin Neill <quentin.neill@amd.com>
297 * config/tc-i386.c (pi): Rename local loop counter
298 variable i that shadows global static i386_insn i
299 when DEBUG386 is defined.
302 2010-06-08 Nick Clifton <nickc@redhat.com>
304 * doc/as.texinfo: Replace abbreviated 20th century year numbers
307 2010-06-02 Quentin Neill <quentin.neill@amd.com>
309 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
311 2010-06-02 Tristan Gingold <gingold@adacore.com>
313 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
314 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
315 Remove conditionnal inclusion of stdarg.h and varargs.h.
317 * config.in: Regenerate.
318 * configure: Regenerate.
319 * configure.in: Remove stdarg.h and varargs.h from
320 AC_CHECK_HEADERS list.
321 * messages.c (as_tsktsk): Remove non ISO C version.
322 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
324 2010-05-31 Tristan Gingold <gingold@adacore.com>
326 * config/tc-alpha.c: Add comments for evax.
327 * config/obj-evax.c: Ditto.
329 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
331 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
334 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
336 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
337 writeback when base register is in register list an error, and
339 (do_t_ldmstm): Change warnings.
341 2010-05-26 Catherine Moore <clm@codesourcery.com>
343 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
344 (macro_build): Change invocation of is_opcode_valid.
347 2010-05-25 Nick Clifton <nickc@redhat.com>
349 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
350 * Makefile.in: Regenerate.
352 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
353 Joseph Myers <joseph@codesourcery.com>
354 Andrew Stubbs <ams@codesourcery.com>
356 * config/tc-sh.c (sh_fdpic): New.
357 (sh_check_fixup): Handle relocations on movi20.
358 (parse_exp): Do not reject PIC operators here.
359 (build_Mytes): Check for unhandled PIC operators here. Use
360 sh_check_fixup for movi20.
361 (enum options): Add OPTION_FDPIC.
362 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
363 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
364 (sh_elf_final_processing): Handle --fdpic.
365 (sh_uclinux_target_format): New.
366 (sh_parse_name): Handle FDPIC relocation operators.
367 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
368 (sh_uclinux_target_format): Declare for TE_UCLINUX.
369 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
371 * doc/c-sh.texi (SH Options): Document --fdpic.
373 2010-05-25 Jay Krell <jay.krell@cornell.edu>
376 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
377 * Makefile.in: Regenerate.
379 2010-05-25 Alan Modra <amodra@gmail.com>
381 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
383 2010-05-19 Nick Clifton <nickc@redhat.com>
385 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
386 of known section prefixes.
388 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
391 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
392 (obj_elf_parse_section_letters): Likewise.
393 (obj_elf_section_word): Likewise.
395 * config/tc-ppc.c (ppc_section_letter): Removed.
396 (ppc_section_word): Likewise.
397 * config/tc-ppc.h (ppc_section_letter): Likewise.
398 (ppc_section_word): Likewise.
399 (md_elf_section_letter): Likewise.
400 (md_elf_section_word): Likewise.
402 * doc/as.texinfo: Document `e' and `#exclude'.
404 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
406 * config/tc-arm.c (md_assemble): Clarify current mode in error
407 messages about unsupported instructions.
408 (UT): Delete #define.
409 (insns): Adjust cbnz, cbz appropriately.
411 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
413 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
415 2010-05-11 Jie Zhang <jie@codesourcery.com>
417 * config/tc-arm.c (aeabi_set_public_attributes): Set
418 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
420 2010-05-07 Tristan Gingold <gingold@adacore.com>
422 * Makefile.in: Regenerate with automake 1.11.1.
424 * doc/Makefile.in: Ditto.
426 2010-05-05 Nick Clifton <nickc@redhat.com>
428 * po/es.po: Updated Spanish translation.
430 2010-05-05 Julian Brown <julian@codesourcery.com>
432 * read.c (cons_worker): Detect and reject unexpected string argument.
434 2010-05-04 Nick Clifton <nickc@redhat.com>
436 * write.c (fixup_segment): Revert previous delta.
437 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
438 generation of relocations for fixups against weak symbols.
440 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
442 * write.c (fixup_segment): Do not assume we know the section a
443 defined weak symbol is in.
444 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
445 weak symbols as not known to be in the same section, even if they
448 2010-04-27 Joseph Myers <joseph@codesourcery.com>
450 * config/tc-tic6x.h (tic6x_label_list): New.
451 (tic6x_segment_info_type): Keep a list of labels and a current
452 frag instead of a boolean for whether labels seen and a count of
454 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
455 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
456 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
457 (tic6x_cleanup): Correct comment.
458 (tic6x_free_label_list): New.
459 (tic6x_cons_align): Free label list and update for
460 tic6x_segment_info_type changes.
461 (tic6x_do_align): New.
462 (md_assemble): Handle list of labels and saved frag for execute
463 packet. Create machine-dependent frag for new execute packet and
464 adjust labels accordingly.
465 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
466 (md_convert_frag, md_estimate_size_before_relax): Update comments.
468 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
471 * config/tc-i386-intel.c (intel_state): Add is_indirect.
472 (i386_intel_operand): Initialize intel_state.is_indirect. Check
473 intel_state.is_indirect for "call|jmp [symbol]".
475 2010-04-22 Nick Clifton <nickc@redhat.com>
477 * po/gas.pot: Updated by the Translation project.
479 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
481 * config/tc-i386.c (i386_is_register): Removed.
482 (x86_cons): Don't use i386_is_register.
483 (parse_register): Likewise.
484 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
485 (i386_intel_operand): Likewise.
487 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
489 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
492 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
494 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
496 (parse_register): Likewise.
497 (tc_x86_parse_to_dw2regnum): Likewise.
498 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
499 (i386_intel_operand): Likewise.
501 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
504 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
505 (i386_intel_simplify): Use i386_is_register and
506 i386_intel_simplify_register. Set X_md for O_register and
507 check X_md for O_constant.
508 (i386_intel_operand): Use i386_is_register.
510 * config/tc-i386.c (i386_is_register): New.
511 (x86_cons): Initialize the X_md field. Use i386_is_register.
512 (parse_register): Use i386_is_register.
513 (tc_x86_parse_to_dw2regnum): Likewise.
515 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
517 * expr.c (expr): Initialize the X_md field.
519 2010-04-20 Joseph Myers <joseph@codesourcery.com>
521 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
522 (md_longopts): Add -mgenerate-rel.
523 (tic6x_generate_rela): New.
524 (md_parse_option): Handle -mgenerate-rel.
525 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
526 (tic6x_init_after_args): New.
527 (md_apply_fix): Correct shift calculations for SB-relative
529 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
530 adjust addresses for relocations referencing symbols in other
532 (tc_gen_reloc): Adjust addend calculations for REL relocations.
533 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
534 tic6x_pcrel_from_section, tc_init_after_args,
535 tic6x_init_after_args): New.
537 2010-04-20 Nick Clifton <nickc@redhat.com>
540 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
541 altmacro mode if found inside a quoted string.
543 2010-04-20 Mike Frysinger <vapier@gentoo.org>
545 * config/bfin-lex.l (parse_int): Change index() to strchr().
547 2010-04-16 Nick Clifton <nickc@redhat.com>
550 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
551 matcher to accept and unconditional 32-bit add instruction.
552 (pa_build_unwind_subspace): Cope with error conditions not
553 allowing the start symbol to be set.
555 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
557 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
558 new tag names in v2.08 of ARM ABI.
559 * doc/c-arm.texi: Document new tag names in ABI.
561 2010-04-14 Tristan Gingold <gingold@adacore.com>
563 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
564 (s_alpha_comm): Used new EGPS macros from egps.h
565 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
566 (s_alpha_section_word): Add comments. Use new EGPS macros.
567 Adjust for modified bfd_vms_set_section_flags function.
569 2010-04-10 Alan Modra <amodra@gmail.com>
572 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
574 2010-04-09 Nick Clifton <nickc@redhat.com>
576 * as.c (create_obj_attrs_section): Remove unused variable addr.
577 * listing.c (listing_listing): Remove unused variable message.
578 * read.c: Remove unnecessary register type qualifiers.
579 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
582 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
584 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
585 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
586 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
587 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
588 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
589 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
590 atmega88pa, attiny461a, attiny84a, m3000.
591 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
592 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
593 * doc/c-avr.texi: Same.
595 2010-04-07 Jie Zhang <jie@codesourcery.com>
597 * config/tc-arm.c (make_mapping_symbol): Handle the case
598 that multiple mapping symbols have the same value 0.
600 2010-04-07 Alan Modra <amodra@gmail.com>
602 * configure: Regenerate.
604 2010-04-06 Nick Clifton <nickc@redhat.com>
606 * po/ru.po: New Russian translation.
607 * configure.in (ALL_LINGUAS): Add ru.
608 * configure: Regenerate.
610 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
613 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
614 of memcpy to copy overlap memory.
616 2010-03-25 Joseph Myers <joseph@codesourcery.com>
618 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
619 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
620 * Makefile.in: Regenerate.
621 * NEWS: Add news entry for TI C6X support.
622 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
623 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
624 operands if TC_KEEP_OPERAND_SPACES.
625 * configure.tgt (tic6x-*-*): New.
626 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
627 TC_PREDICATE_END_CHAR): Define.
628 * config/tc-tic6x.c, config/tc-tic6x.h: New.
629 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
630 * doc/Makefile.in: Regenerate.
631 * doc/all.texi (TIC6X): Define.
632 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
633 * doc/c-tic6x.texi: New.
635 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
637 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
639 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
641 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
642 with operand_size_mismatch.
643 (operand_size_match): Updated.
644 (match_template): Likewise.
646 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
648 * config/tc-i386.c (i386_error): New.
649 (_i386_insn): Replace err_msg with error.
650 (operand_size_match): Set error instead of err_msg on failure.
651 (operand_type_match): Likewise.
652 (operand_type_register_match): Likewise.
653 (VEX_check_operands): Likewise.
654 (match_template): Likewise. Use error instead of err_msg with
657 2010-03-19 Jie Zhang <jie@codesourcery.com>
659 * config/tc-arm.c (make_mapping_symbol): Hanle the case
660 that two mapping symbols have the same value.
662 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
664 * doc/c-arm.texi (.setfp): Correct example.
666 2010-03-18 Wei Guozhi <carrot@google.com>
669 * config/tc-arm.c (reloc_names): New relocation names.
670 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
671 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
672 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
674 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
676 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
677 cases, and not only for .eh_frame.
679 * dw2gencfi.c (output_cie): Make it more explicit which code paths
680 belong to .eh_frame only.
682 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
684 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
685 assembler constants on 64-bit hosts.
687 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
689 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
690 Strip trailing whitespace.
692 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
694 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
695 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
697 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
699 2010-03-10 Jie Zhang <jie@codesourcery.com>
701 * doc/as.texinfo: Add Blackfin options.
702 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
703 * config/tc-bfin.c (md_show_usage): Show usage for all
704 Blackfin specific options.
706 2010-03-09 Alan Modra <amodra@gmail.com>
709 * listing.c (listing_newline): Correct backslash quote logic.
711 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
713 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
714 (ELF_TARGET_FORMAT64): Define.
716 2010-03-05 Paul Brook <paul@codesourcery.com>
718 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
720 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
722 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
723 reading uninitialized data.
725 2010-03-01 Tristan Gingold <gingold@adacore.com>
727 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
729 2010-02-26 Doug Evans <dje@sebabeach.org>
731 * configure.tgt: Fix mep cpu case.
733 2010-02-26 Jie Zhang <jie@codesourcery.com>
735 * config/tc-arm.c (do_t_strexd): Remove
736 operand[1] != operand[2] contraint.
738 2010-02-26 Jie Zhang <jie@codesourcery.com>
740 * config/tc-arm.c (neon_select_shape): No need to match
741 the remaining operands in the shape when one operand does
744 2010-02-26 Jie Zhang <jie@codesourcery.com>
746 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
749 2010-02-25 Doug Evans <dje@sebabeach.org>
751 * cgen.c: Whitespace fixes.
752 (weak_operand_overflow_check): Formatting fix.
754 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
756 * config/tc-i386.c (match_template): Update error messages.
758 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
760 * config/tc-i386.c (_i386_insn): Add err_msg.
761 (operand_size_match): Set err_msg on failure.
762 (operand_type_match): Likewise.
763 (operand_type_register_match): Likewise.
764 (VEX_check_operands): Likewise.
765 (match_template): Likewise. Use i.err_msg with as_bad.
767 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
769 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
770 mips_fix_loongson2f_jump): New variables.
771 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
772 -mno-fix-loongson2f-nop/jump.
773 (md_parse_option): Initialize variables via above options.
774 (options): New enums for the above options.
775 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
776 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
778 (append_insn): call fix_loongson2f().
779 (mips_handle_align): Replace the implicit nops.
780 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
781 for the new mips_handle_align().
782 * doc/c-mips.texi: Document the new options.
784 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
786 * config/tc-arm.c (do_rd_rm_rn): Added warning
789 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
792 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
793 (avr_cons_fix_new): Handle fixups of a single byte.
795 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
798 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
799 compiler's predefines.
801 2010-02-19 Alan Modra <amodra@gmail.com>
803 * configure.tgt: Whiltespace. Sort moxie entry.
805 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
807 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
808 * doc/c-arm.texi: Likewise.
810 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
812 * config/tc-arm.c (asm_opcode): operands type
814 (BAD_PC_ADDRESSING): New macro message.
815 (BAD_PC_WRITEBACK): Likewise.
816 (MIX_ARM_THUMB_OPERANDS): New macro.
817 (operand_parse_code): Added enum values.
818 (parse_operands): Added thumb/arm distinction,
819 plus new enum values handling.
820 (encode_arm_addr_mode_2): Validations enhanced.
821 (encode_arm_addr_mode_3): Likewise.
822 (do_rm_rd_rn): Likewise.
823 (encode_thumb32_addr_mode): Likewise.
824 (do_t_ldrex): Likewise.
825 (do_t_ldst): Likewise.
826 (do_t_strex): Likewise.
827 (md_assemble): Call parse_operands with
835 (insns): Updated insns operands.
837 2010-02-12 Tristan Gingold <gingold@adacore.com>
838 Douglas B Rupp <rupp@gnat.com>
840 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
841 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
842 (pseudo_func): Add an entry for slotcount.
843 (md_begin): Initialize slotcount pseudo symbol.
844 (ia64_parse_name): Handle @slotcount parameter.
845 (ia64_gen_real_reloc_type): Handle slotcount.
846 (md_apply_fix): Ditto.
847 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
849 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
851 * config/tc-xtensa.c (istack_init): Don't call memset.
853 2010-02-11 Sterling Augustine <sterling@tensilica.com>
855 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
858 2010-02-11 Sterling Augustine <sterling@tensilica.com>
860 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
862 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
864 * config/tc-i386.c (build_modrm_byte): Reformat.
866 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
868 * config/tc-i386.c: Update copyright.
870 2010-02-10 Quentin Neill <quentin.neill@amd.com>
871 Sebastian Pop <sebastian.pop@amd.com>
873 * config/tc-i386.c (vec_imm4) New operand type.
875 (VEX_check_operands): New.
876 (check_reverse): Call VEX_check_operands.
877 (build_modrm_byte): Reintroduce code for 5
878 operand insns. Fix whitespace.
880 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
882 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
885 2010-02-09 Sterling Augustine <sterling@tensilica.com>
887 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
888 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
889 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
891 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
893 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
894 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
895 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
896 BFD_RELOC_ARM_PCREL_CALL)
898 2010-02-08 Sterling Augustine <sterling@tensilica.com>
900 * config/tc-xtensa.c (frag_format_size): Generalize logic to
901 handle more instruction sizes and fetch widths.
902 (branch_align_power): Likewise.
903 (text_align_power): Likewise.
904 (bytes_to_stretch): Likewise.
906 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
908 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
909 (ppc_mach): Handle titan.
910 * doc/c-ppc.texi: Mention -mtitan.
912 2010-02-05 Sterling Augustine <sterling@tensilica.com>
914 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
916 (xtensa_fetch_width) ...this.
918 2010-02-05 Joseph Myers <joseph@codesourcery.com>
920 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
921 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
922 * Makefile.in: Regenerate.
924 2010-02-03 Quentin Neill <quentin.neill@amd.com>
926 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
927 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
928 * config/tc-i386.h (processor_type): Same.
929 * doc/c-i386.texi: Change amdfam15 to bdver1.
931 2010-01-29 Nick Clifton <nickc@redhat.com>
934 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
937 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
939 * NEWS: Mention new feature.
940 * config/obj-coff.c (obj_coff_section): Accept digits and use
941 to override default section alignment power if specified.
942 * doc/as.texinfo (.section directive): Update documentation.
944 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
946 * config/tc-i386.c (avxscalar): New.
947 (OPTION_MAVXSCALAR): Likewise.
948 (build_vex_prefix): Select vector_length for scalar instructions
950 (md_longopts): Add OPTION_MAVXSCALAR.
951 (md_parse_option): Handle OPTION_MAVXSCALAR.
952 (md_show_usage): Add -mavxscalar=.
954 * doc/c-i386.texi: Document -mavxscalar=.
956 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
958 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
961 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
963 * write.h (fix_at_start): Declare.
964 * write.c (fix_new_internal): Add at_beginning parameter.
965 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
966 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
967 (fix_new, fix_new_exp): Update accordingly.
968 (fix_at_start): New function.
969 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
970 (ppc_ref): New function, for OBJ_XCOFF.
971 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
972 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
974 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
976 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
977 on 64-bit Solaris/x86.
978 Include obj-format.h earlier.
980 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
982 * config/tc-s390.c (s390_elf_final_processing): New function.
983 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
984 (s390_elf_final_processing): Added prototype.
987 2010-01-20 Nick Clifton <nickc@redhat.com>
990 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
991 code to handle round-to-zero for VCVT conversions.
992 (do_neon_cvt): New. Call do_neon_cvt_1.
993 (do_neon_cvtr): New. Call do_neon_cvt_1.
994 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
997 2010-01-18 Tristan Gingold <gingold@adacore.com>
999 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1001 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1003 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1004 check that it's not an XOP insn.
1006 2010-01-14 Jie Zhang <jie.zhang@analog.com>
1008 * config/bfin-aux.h: Remove argument names in function
1010 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1012 * config/bfin-parse.y (value_match): Remove argument names
1014 (notethat): Likewise.
1015 (yyerror): Likewise.
1017 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1019 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1021 2010-01-13 Nick Clifton <nickc@redhat.com>
1023 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1024 warning message if a new section is created without setting any
1026 (md_pseudo_table): Intercept section creation pseudos.
1027 (md_pcrel_from): Replace abort with an error message.
1028 * config/obj-elf.c (obj_elf_section_name): Export this function.
1029 * config/obj-elf.h (obj_elf_section_name): Prototype.
1031 2010-01-12 Alan Modra <amodra@gmail.com>
1034 * listing.c (print_source): Add one to line number.
1036 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1038 * Makefile.in: Regenerate.
1039 * configure: Regenerate.
1040 * doc/Makefile.in: Regenerate.
1042 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1044 * version.c (parse_args): Change to "Copyright 2010".
1046 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1048 * config/tc-i386.c (cpu_arch): Add amdfam15.
1049 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1050 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1051 * doc/c-i386.texi: Add amdfam15.
1053 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1055 * config/tc-arm.c (do_neon_logic): Accept imm value
1056 in the third operand too.
1057 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1059 (parse_operands): OP_NILO case removed, applied renaming.
1060 (insns): Neon shape changed for some logic instructions.
1062 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1064 * config/tc-arm.c (do_neon_ldx_stx): Added
1065 validation for vector load/store insns.
1067 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1069 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1071 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1073 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1074 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1075 (NEON_ENCODE): New macro.
1076 (check_neon_suffixes): New macro.
1077 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1078 (do_vfp_nsyn_opcode): Likewise.
1079 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1080 (do_vfp_nsyn_cmp): Likewise.
1081 (do_neon_shl_imm): Likewise.
1082 (do_neon_qshl_imm): Likewise.
1083 (neon_dyadic_misc): Likewise.
1084 (do_neon_mac_maybe_scalar): Likewise.
1085 (do_neon_qdmulh): Likewise.
1086 (do_neon_qmovn): Likewise.
1087 (do_neon_qmovun): Likewise.
1088 (do_neon_movn): Likewise.
1089 (neon_mac_reg_scalar_long): Likewise.
1090 (do_neon_vmull): Likewise.
1091 (do_neon_trn): Likewise.
1092 (do_neon_ldx_stx): Likewise.
1093 (neon_dp_fixup): Changed signature and set the flag.
1094 (neon_three_same): Call the above with new signature.
1095 (neon_two_same): Likewise.
1096 (neon_imm_shift): Likewise.
1097 (neon_mul_mac): Likewise.
1098 (do_neon_abs_neg): Likewise.
1099 (neon_mixed_length): Likewise.
1100 (do_neon_ext): Likewise.
1101 (do_neon_mov): Likewise.
1102 (do_neon_tbl_tbx): Likewise.
1103 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1104 (neon_compare): Likewise.
1105 (do_neon_shll): Likewise.
1106 (do_neon_cvt): Likewise.
1107 (do_neon_mvn): Likewise.
1108 (do_neon_dup): Likewise.
1109 (md_assemble): Call check_neon_suffixes ().
1111 For older changes see ChangeLog-2009
1117 version-control: never