1 2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
4 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
5 through patch for O_multiply.
7 2010-07-11 Kai Tietz <kai.tietz@onevision.com>
10 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
12 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
14 * tc-arm.c (OP_oBARRIER): Remove.
15 (OP_oBARRIER_I15): Add.
16 (po_barrier_or_imm): Add macro.
17 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
18 (do_barrier): Check correct immediate range.
19 (do_t_barrier): Likewise.
20 (barrier_opt_names): Add entries for more symbolic operands.
21 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
23 2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
25 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
28 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
30 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
33 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
35 * config/tc-mips.c (nops_for_insn_or_target): Replace
36 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
37 MIPS16_INSN_COND_BRANCH.
39 2010-07-05 Jim Wilson <wilson@codesourcery.com>
43 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
46 2010-07-05 Alan Modra <amodra@gmail.com>
48 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
51 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
53 * Makefile.am (CONFIG_OBJS): Removed.
54 (GENERIC_OBJS): Likewise.
56 * Makefile.in: Regenerated.
58 2010-07-03 Jan Beulich <jbeulich@novell.com>
61 * config/tc-i386.c (i386_finalize_displacement): Don't call
62 section_symbol() with expr_section.
64 2010-07-03 Cary Coutant <ccoutant@google.com>
66 * Makefile.am: Add compress-debug.c and compress-debug.h.
67 * Makefile.in: Regenerate.
68 * config.in: Add HAVE_ZLIB_H.
69 * configure.in: Check for zlib.h.
70 * configure: Regenerate.
72 * as.c (parse_args): Add --compress-debug-sections and
73 --nocompress-debug-sections.
74 * as.h (flag_compress_debug): New variable.
75 * compress-debug.c: New file.
76 * compress-debug.h: New file.
77 * write.c: Include compress-debug.h.
78 (compress_frag): New function.
79 (compress_debug): New function.
80 (write_object_file): Compress debug sections if requested.
82 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
84 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
87 2010-07-03 Alan Modra <amodra@gmail.com>
89 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
90 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
92 2010-07-02 DJ Delorie <dj@redhat.com>
94 * config/tc-rx.h (md_do_align): New.
95 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
96 * config/tc-rx.c (nops): New.
97 (rx_handle_align): Use various sized nops to align code.
99 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
101 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
103 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
105 AVX Programming Reference (June, 2010)
106 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
109 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
111 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
113 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
114 deprecated mov register instructions.
116 2010-07-01 Alan Modra <amodra@gmail.com>
118 * config/tc-ppc.c (toc_reloc_types): New variable.
119 (md_assemble): Set it.
120 (ppc_frob_file_before_adjust): Don't warn about toc section size
121 if we have large toc relocs and no small toc relocs.
123 2010-06-29 Alan Modra <amodra@gmail.com>
125 * config/tc-maxq.h: Delete file.
126 * config/tc-maxq.c: Delete file.
127 * Makefile.am: Remove references to maxq.
128 * configure.tgt: Likewise.
129 * config/obj-coff.h: Likewise.
130 * Makefile.in: Regenerate.
131 * configure: Regenerate.
132 * po/POTFILES.in: Regenerate.
134 2010-06-28 Alan Modra <amodra@gmail.com>
136 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
137 * config/tc-crx.c (gettrap): Constify arg.
138 (handle_LoadStor, get_cinv_parameters): Likewise.
139 (getreg_image): Fix enum warning
140 (md_assemble): Restore input line char.
141 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
142 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
143 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
144 (build_Mytes): Fix build failure for non-elf targets.
145 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
146 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
148 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
149 * ecoff.c (add_ecoff_symbol): Likewise.
150 * itbl-ops.c (append_insns_as_macros): Likewise.
151 * listing.c (debugging_pseudo): Likewise.
152 * read.c (s_mri_common, stringer): Likewise.
153 * config/obj-coff.c (coff_frob_section): Likewise.
154 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
155 * config/tc-arm.c (my_get_expression): Likewise.
156 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
157 * config/tc-m32c.c (md_assemble): Likewise.
158 * config/tc-microblaze.c (md_convert_frag): Likewise.
159 * config/tc-mips.c (s_change_section): Likewise.
160 * config/tc-mt.c (mt_fix_adjustable): Likewise.
161 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
163 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
165 * config/tc-alpha.c (load_expression): Likewise.
166 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
167 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
168 * config/tc-avr.c (extract_word): Likewise.
169 * config/tc-cris.c (cris_get_expression): Likewise.
170 * config/tc-d30v.c (build_insn, find_format): Likewise.
171 * config/tc-dlx.c (machine_ip): Likewise.
172 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
173 * config/tc-i370.c (md_assemble): Likewise.
174 * config/tc-i960.c (brtab_emit): Likewise.
175 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
176 * config/tc-m32c.c (md_convert_frag): Likewise.
177 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
178 (md_estimate_size_before_relax, md_apply_fix): Likewise.
179 * config/tc-m68k.c (md_show_usage): Likewise.
180 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
181 * config/tc-mips.c (s_mips_end): Likewise.
182 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
183 * config/tc-mn10300.c (md_assemble): Likewise.
184 * config/tc-msp430.c (extract_word): Likewise.
185 * config/tc-mt.c (md_assemble): Likewise.
186 * config/tc-or32.c (machine_ip): Likewise.
187 * config/tc-pj.c (md_apply_fix): Likewise.
188 * config/tc-s390.c (md_gather_operands): Likewise.
189 * config/tc-sh.c (sh_cons_align): Likewise.
190 * config/tc-sparc.c (sparc_cons_align): Likewise.
191 * config/tc-tic4x.c (tic4x_sect): Likewise.
192 * config/tc-tic54x.c (tic54x_stringer): Likewise.
193 * config/tc-vax.c (vip_op): Likewise.
194 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
195 * config/tc-xtensa.c (md_assemble): Likewise.
196 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
197 (xtensa_move_literals): Likewise.
199 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
201 * config/tc-arm.c (parse_neon_alignment): New function.
202 (parse_address_main): Fix Neon load/store alignment parsing.
204 2010-06-22 Jan Beulich <jbeulich@novell.com>
206 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
208 (i386_intel_operand): Remove bogus handling of pseudo symbols
210 * expr.c (current_location): Remove 'static' and local
212 * expr.h (current_location): Declare.
214 2010-06-21 Sterling Augustine <sterling@tensilica.com>
217 * as.c: Globalize keep_it.
218 (main): Remove keep_it. Move conditional from here...
219 (close_output_file): ...to here.
221 2010-06-21 Andreas Schwab <schwab@redhat.com>
223 * doc/as.texinfo (Overview): Use @itemx for grouped @table
225 * doc/c-alpha.texi (Alpha Options): Likewise.
226 * doc/c-arm.texi (ARM Directives): Likewise.
227 * doc/c-bfin.texi (Blackfin Options): Likewise.
228 * doc/c-d10v.texi (D10V-Opts): Likewise.
229 * doc/c-i386.texi (i386-Options): Likewise.
230 * doc/c-ia64.texi (IA-64 Options): Likewise.
231 * doc/c-m68k.texi (M68K-Opts): Likewise.
232 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
233 * doc/internals.texi (Symbols): Likewise.
235 2010-06-21 Alan Modra <amodra@gmail.com>
238 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
240 2010-06-18 Joseph Myers <joseph@codesourcery.com>
242 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
244 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
245 (md_assemble): Clear func_units_used for new execute packet.
246 Check for duplicate functional units and update func_units_used
247 for instructions using a functional unit.
249 2010-06-15 Joseph Myers <joseph@codesourcery.com>
251 * config/tc-tic6x.c: Include elf/tic6x.h.
252 (tic6x_arch_attribute, tic6x_seen_insns): New.
253 (tic6x_arch_table, tic6x_arches): Add attribute values.
254 (tic6x_use_arch): Handle attribute settings.
255 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
256 tic6x_attribute_table, tic6x_attributes,
257 tic6x_convert_symbolic_attribute): New.
258 (md_pseudo_table): Add c6xabi_attribute.
259 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
260 (tic6x_set_attribute_int, tic6x_set_attributes): New.
261 (tic6x_end): Call tic6x_set_attributes.
262 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
263 (tic6x_convert_symbolic_attribute): Declare.
265 2010-06-14 Alan Modra <amodra@gmail.com>
267 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
270 2010-06-11 Jan Beulich <jbeulich@novell.com>
272 * config/tc-i386.c (md_parse_option): Ignore impossible processor
274 (show_arch): New parameter 'check'.
275 (md_show_usage): Adjust calls to show_arch().
277 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
279 * config/tc-i386.c (update_code_flag): New.
280 (set_code_flag): Use it.
281 (i386_target_format): Replace set_code_flag with update_code_flag.
283 2010-06-10 Tristan Gingold <gingold@adacore.com>
285 * config/obj-som.h: Includes som/reloc.h
287 2010-06-10 Jan Beulich <jbeulich@novell.com>
289 * config/tc-i386.c (cpu_arch): Add comment.
290 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
291 from the generic entries of cpu_arch[].
293 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
295 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
297 (parse_operands): Add support for OP_RRnpctw.
298 (insns): Update floating-point load/store multiples so the
299 first register is of type OP_RRnpctw.
301 2010-06-08 Quentin Neill <quentin.neill@amd.com>
303 * config/tc-i386.c (pi): Rename local loop counter
304 variable i that shadows global static i386_insn i
305 when DEBUG386 is defined.
308 2010-06-08 Nick Clifton <nickc@redhat.com>
310 * doc/as.texinfo: Replace abbreviated 20th century year numbers
313 2010-06-02 Quentin Neill <quentin.neill@amd.com>
315 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
317 2010-06-02 Tristan Gingold <gingold@adacore.com>
319 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
320 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
321 Remove conditionnal inclusion of stdarg.h and varargs.h.
323 * config.in: Regenerate.
324 * configure: Regenerate.
325 * configure.in: Remove stdarg.h and varargs.h from
326 AC_CHECK_HEADERS list.
327 * messages.c (as_tsktsk): Remove non ISO C version.
328 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
330 2010-05-31 Tristan Gingold <gingold@adacore.com>
332 * config/tc-alpha.c: Add comments for evax.
333 * config/obj-evax.c: Ditto.
335 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
337 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
340 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
342 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
343 writeback when base register is in register list an error, and
345 (do_t_ldmstm): Change warnings.
347 2010-05-26 Catherine Moore <clm@codesourcery.com>
349 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
350 (macro_build): Change invocation of is_opcode_valid.
353 2010-05-25 Nick Clifton <nickc@redhat.com>
355 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
356 * Makefile.in: Regenerate.
358 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
359 Joseph Myers <joseph@codesourcery.com>
360 Andrew Stubbs <ams@codesourcery.com>
362 * config/tc-sh.c (sh_fdpic): New.
363 (sh_check_fixup): Handle relocations on movi20.
364 (parse_exp): Do not reject PIC operators here.
365 (build_Mytes): Check for unhandled PIC operators here. Use
366 sh_check_fixup for movi20.
367 (enum options): Add OPTION_FDPIC.
368 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
369 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
370 (sh_elf_final_processing): Handle --fdpic.
371 (sh_uclinux_target_format): New.
372 (sh_parse_name): Handle FDPIC relocation operators.
373 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
374 (sh_uclinux_target_format): Declare for TE_UCLINUX.
375 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
377 * doc/c-sh.texi (SH Options): Document --fdpic.
379 2010-05-25 Jay Krell <jay.krell@cornell.edu>
382 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
383 * Makefile.in: Regenerate.
385 2010-05-25 Alan Modra <amodra@gmail.com>
387 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
389 2010-05-19 Nick Clifton <nickc@redhat.com>
391 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
392 of known section prefixes.
394 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
397 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
398 (obj_elf_parse_section_letters): Likewise.
399 (obj_elf_section_word): Likewise.
401 * config/tc-ppc.c (ppc_section_letter): Removed.
402 (ppc_section_word): Likewise.
403 * config/tc-ppc.h (ppc_section_letter): Likewise.
404 (ppc_section_word): Likewise.
405 (md_elf_section_letter): Likewise.
406 (md_elf_section_word): Likewise.
408 * doc/as.texinfo: Document `e' and `#exclude'.
410 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
412 * config/tc-arm.c (md_assemble): Clarify current mode in error
413 messages about unsupported instructions.
414 (UT): Delete #define.
415 (insns): Adjust cbnz, cbz appropriately.
417 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
419 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
421 2010-05-11 Jie Zhang <jie@codesourcery.com>
423 * config/tc-arm.c (aeabi_set_public_attributes): Set
424 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
426 2010-05-07 Tristan Gingold <gingold@adacore.com>
428 * Makefile.in: Regenerate with automake 1.11.1.
430 * doc/Makefile.in: Ditto.
432 2010-05-05 Nick Clifton <nickc@redhat.com>
434 * po/es.po: Updated Spanish translation.
436 2010-05-05 Julian Brown <julian@codesourcery.com>
438 * read.c (cons_worker): Detect and reject unexpected string argument.
440 2010-05-04 Nick Clifton <nickc@redhat.com>
442 * write.c (fixup_segment): Revert previous delta.
443 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
444 generation of relocations for fixups against weak symbols.
446 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
448 * write.c (fixup_segment): Do not assume we know the section a
449 defined weak symbol is in.
450 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
451 weak symbols as not known to be in the same section, even if they
454 2010-04-27 Joseph Myers <joseph@codesourcery.com>
456 * config/tc-tic6x.h (tic6x_label_list): New.
457 (tic6x_segment_info_type): Keep a list of labels and a current
458 frag instead of a boolean for whether labels seen and a count of
460 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
461 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
462 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
463 (tic6x_cleanup): Correct comment.
464 (tic6x_free_label_list): New.
465 (tic6x_cons_align): Free label list and update for
466 tic6x_segment_info_type changes.
467 (tic6x_do_align): New.
468 (md_assemble): Handle list of labels and saved frag for execute
469 packet. Create machine-dependent frag for new execute packet and
470 adjust labels accordingly.
471 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
472 (md_convert_frag, md_estimate_size_before_relax): Update comments.
474 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
477 * config/tc-i386-intel.c (intel_state): Add is_indirect.
478 (i386_intel_operand): Initialize intel_state.is_indirect. Check
479 intel_state.is_indirect for "call|jmp [symbol]".
481 2010-04-22 Nick Clifton <nickc@redhat.com>
483 * po/gas.pot: Updated by the Translation project.
485 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
487 * config/tc-i386.c (i386_is_register): Removed.
488 (x86_cons): Don't use i386_is_register.
489 (parse_register): Likewise.
490 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
491 (i386_intel_operand): Likewise.
493 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
495 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
498 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
500 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
502 (parse_register): Likewise.
503 (tc_x86_parse_to_dw2regnum): Likewise.
504 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
505 (i386_intel_operand): Likewise.
507 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
510 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
511 (i386_intel_simplify): Use i386_is_register and
512 i386_intel_simplify_register. Set X_md for O_register and
513 check X_md for O_constant.
514 (i386_intel_operand): Use i386_is_register.
516 * config/tc-i386.c (i386_is_register): New.
517 (x86_cons): Initialize the X_md field. Use i386_is_register.
518 (parse_register): Use i386_is_register.
519 (tc_x86_parse_to_dw2regnum): Likewise.
521 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
523 * expr.c (expr): Initialize the X_md field.
525 2010-04-20 Joseph Myers <joseph@codesourcery.com>
527 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
528 (md_longopts): Add -mgenerate-rel.
529 (tic6x_generate_rela): New.
530 (md_parse_option): Handle -mgenerate-rel.
531 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
532 (tic6x_init_after_args): New.
533 (md_apply_fix): Correct shift calculations for SB-relative
535 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
536 adjust addresses for relocations referencing symbols in other
538 (tc_gen_reloc): Adjust addend calculations for REL relocations.
539 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
540 tic6x_pcrel_from_section, tc_init_after_args,
541 tic6x_init_after_args): New.
543 2010-04-20 Nick Clifton <nickc@redhat.com>
546 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
547 altmacro mode if found inside a quoted string.
549 2010-04-20 Mike Frysinger <vapier@gentoo.org>
551 * config/bfin-lex.l (parse_int): Change index() to strchr().
553 2010-04-16 Nick Clifton <nickc@redhat.com>
556 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
557 matcher to accept and unconditional 32-bit add instruction.
558 (pa_build_unwind_subspace): Cope with error conditions not
559 allowing the start symbol to be set.
561 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
563 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
564 new tag names in v2.08 of ARM ABI.
565 * doc/c-arm.texi: Document new tag names in ABI.
567 2010-04-14 Tristan Gingold <gingold@adacore.com>
569 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
570 (s_alpha_comm): Used new EGPS macros from egps.h
571 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
572 (s_alpha_section_word): Add comments. Use new EGPS macros.
573 Adjust for modified bfd_vms_set_section_flags function.
575 2010-04-10 Alan Modra <amodra@gmail.com>
578 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
580 2010-04-09 Nick Clifton <nickc@redhat.com>
582 * as.c (create_obj_attrs_section): Remove unused variable addr.
583 * listing.c (listing_listing): Remove unused variable message.
584 * read.c: Remove unnecessary register type qualifiers.
585 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
588 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
590 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
591 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
592 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
593 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
594 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
595 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
596 atmega88pa, attiny461a, attiny84a, m3000.
597 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
598 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
599 * doc/c-avr.texi: Same.
601 2010-04-07 Jie Zhang <jie@codesourcery.com>
603 * config/tc-arm.c (make_mapping_symbol): Handle the case
604 that multiple mapping symbols have the same value 0.
606 2010-04-07 Alan Modra <amodra@gmail.com>
608 * configure: Regenerate.
610 2010-04-06 Nick Clifton <nickc@redhat.com>
612 * po/ru.po: New Russian translation.
613 * configure.in (ALL_LINGUAS): Add ru.
614 * configure: Regenerate.
616 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
619 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
620 of memcpy to copy overlap memory.
622 2010-03-25 Joseph Myers <joseph@codesourcery.com>
624 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
625 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
626 * Makefile.in: Regenerate.
627 * NEWS: Add news entry for TI C6X support.
628 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
629 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
630 operands if TC_KEEP_OPERAND_SPACES.
631 * configure.tgt (tic6x-*-*): New.
632 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
633 TC_PREDICATE_END_CHAR): Define.
634 * config/tc-tic6x.c, config/tc-tic6x.h: New.
635 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
636 * doc/Makefile.in: Regenerate.
637 * doc/all.texi (TIC6X): Define.
638 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
639 * doc/c-tic6x.texi: New.
641 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
643 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
645 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
647 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
648 with operand_size_mismatch.
649 (operand_size_match): Updated.
650 (match_template): Likewise.
652 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
654 * config/tc-i386.c (i386_error): New.
655 (_i386_insn): Replace err_msg with error.
656 (operand_size_match): Set error instead of err_msg on failure.
657 (operand_type_match): Likewise.
658 (operand_type_register_match): Likewise.
659 (VEX_check_operands): Likewise.
660 (match_template): Likewise. Use error instead of err_msg with
663 2010-03-19 Jie Zhang <jie@codesourcery.com>
665 * config/tc-arm.c (make_mapping_symbol): Hanle the case
666 that two mapping symbols have the same value.
668 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
670 * doc/c-arm.texi (.setfp): Correct example.
672 2010-03-18 Wei Guozhi <carrot@google.com>
675 * config/tc-arm.c (reloc_names): New relocation names.
676 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
677 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
678 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
680 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
682 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
683 cases, and not only for .eh_frame.
685 * dw2gencfi.c (output_cie): Make it more explicit which code paths
686 belong to .eh_frame only.
688 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
690 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
691 assembler constants on 64-bit hosts.
693 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
695 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
696 Strip trailing whitespace.
698 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
700 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
701 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
703 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
705 2010-03-10 Jie Zhang <jie@codesourcery.com>
707 * doc/as.texinfo: Add Blackfin options.
708 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
709 * config/tc-bfin.c (md_show_usage): Show usage for all
710 Blackfin specific options.
712 2010-03-09 Alan Modra <amodra@gmail.com>
715 * listing.c (listing_newline): Correct backslash quote logic.
717 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
719 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
720 (ELF_TARGET_FORMAT64): Define.
722 2010-03-05 Paul Brook <paul@codesourcery.com>
724 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
726 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
728 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
729 reading uninitialized data.
731 2010-03-01 Tristan Gingold <gingold@adacore.com>
733 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
735 2010-02-26 Doug Evans <dje@sebabeach.org>
737 * configure.tgt: Fix mep cpu case.
739 2010-02-26 Jie Zhang <jie@codesourcery.com>
741 * config/tc-arm.c (do_t_strexd): Remove
742 operand[1] != operand[2] contraint.
744 2010-02-26 Jie Zhang <jie@codesourcery.com>
746 * config/tc-arm.c (neon_select_shape): No need to match
747 the remaining operands in the shape when one operand does
750 2010-02-26 Jie Zhang <jie@codesourcery.com>
752 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
755 2010-02-25 Doug Evans <dje@sebabeach.org>
757 * cgen.c: Whitespace fixes.
758 (weak_operand_overflow_check): Formatting fix.
760 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
762 * config/tc-i386.c (match_template): Update error messages.
764 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
766 * config/tc-i386.c (_i386_insn): Add err_msg.
767 (operand_size_match): Set err_msg on failure.
768 (operand_type_match): Likewise.
769 (operand_type_register_match): Likewise.
770 (VEX_check_operands): Likewise.
771 (match_template): Likewise. Use i.err_msg with as_bad.
773 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
775 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
776 mips_fix_loongson2f_jump): New variables.
777 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
778 -mno-fix-loongson2f-nop/jump.
779 (md_parse_option): Initialize variables via above options.
780 (options): New enums for the above options.
781 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
782 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
784 (append_insn): call fix_loongson2f().
785 (mips_handle_align): Replace the implicit nops.
786 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
787 for the new mips_handle_align().
788 * doc/c-mips.texi: Document the new options.
790 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
792 * config/tc-arm.c (do_rd_rm_rn): Added warning
795 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
798 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
799 (avr_cons_fix_new): Handle fixups of a single byte.
801 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
804 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
805 compiler's predefines.
807 2010-02-19 Alan Modra <amodra@gmail.com>
809 * configure.tgt: Whiltespace. Sort moxie entry.
811 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
813 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
814 * doc/c-arm.texi: Likewise.
816 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
818 * config/tc-arm.c (asm_opcode): operands type
820 (BAD_PC_ADDRESSING): New macro message.
821 (BAD_PC_WRITEBACK): Likewise.
822 (MIX_ARM_THUMB_OPERANDS): New macro.
823 (operand_parse_code): Added enum values.
824 (parse_operands): Added thumb/arm distinction,
825 plus new enum values handling.
826 (encode_arm_addr_mode_2): Validations enhanced.
827 (encode_arm_addr_mode_3): Likewise.
828 (do_rm_rd_rn): Likewise.
829 (encode_thumb32_addr_mode): Likewise.
830 (do_t_ldrex): Likewise.
831 (do_t_ldst): Likewise.
832 (do_t_strex): Likewise.
833 (md_assemble): Call parse_operands with
841 (insns): Updated insns operands.
843 2010-02-12 Tristan Gingold <gingold@adacore.com>
844 Douglas B Rupp <rupp@gnat.com>
846 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
847 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
848 (pseudo_func): Add an entry for slotcount.
849 (md_begin): Initialize slotcount pseudo symbol.
850 (ia64_parse_name): Handle @slotcount parameter.
851 (ia64_gen_real_reloc_type): Handle slotcount.
852 (md_apply_fix): Ditto.
853 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
855 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
857 * config/tc-xtensa.c (istack_init): Don't call memset.
859 2010-02-11 Sterling Augustine <sterling@tensilica.com>
861 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
864 2010-02-11 Sterling Augustine <sterling@tensilica.com>
866 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
868 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
870 * config/tc-i386.c (build_modrm_byte): Reformat.
872 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
874 * config/tc-i386.c: Update copyright.
876 2010-02-10 Quentin Neill <quentin.neill@amd.com>
877 Sebastian Pop <sebastian.pop@amd.com>
879 * config/tc-i386.c (vec_imm4) New operand type.
881 (VEX_check_operands): New.
882 (check_reverse): Call VEX_check_operands.
883 (build_modrm_byte): Reintroduce code for 5
884 operand insns. Fix whitespace.
886 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
888 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
891 2010-02-09 Sterling Augustine <sterling@tensilica.com>
893 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
894 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
895 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
897 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
899 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
900 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
901 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
902 BFD_RELOC_ARM_PCREL_CALL)
904 2010-02-08 Sterling Augustine <sterling@tensilica.com>
906 * config/tc-xtensa.c (frag_format_size): Generalize logic to
907 handle more instruction sizes and fetch widths.
908 (branch_align_power): Likewise.
909 (text_align_power): Likewise.
910 (bytes_to_stretch): Likewise.
912 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
914 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
915 (ppc_mach): Handle titan.
916 * doc/c-ppc.texi: Mention -mtitan.
918 2010-02-05 Sterling Augustine <sterling@tensilica.com>
920 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
922 (xtensa_fetch_width) ...this.
924 2010-02-05 Joseph Myers <joseph@codesourcery.com>
926 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
927 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
928 * Makefile.in: Regenerate.
930 2010-02-03 Quentin Neill <quentin.neill@amd.com>
932 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
933 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
934 * config/tc-i386.h (processor_type): Same.
935 * doc/c-i386.texi: Change amdfam15 to bdver1.
937 2010-01-29 Nick Clifton <nickc@redhat.com>
940 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
943 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
945 * NEWS: Mention new feature.
946 * config/obj-coff.c (obj_coff_section): Accept digits and use
947 to override default section alignment power if specified.
948 * doc/as.texinfo (.section directive): Update documentation.
950 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
952 * config/tc-i386.c (avxscalar): New.
953 (OPTION_MAVXSCALAR): Likewise.
954 (build_vex_prefix): Select vector_length for scalar instructions
956 (md_longopts): Add OPTION_MAVXSCALAR.
957 (md_parse_option): Handle OPTION_MAVXSCALAR.
958 (md_show_usage): Add -mavxscalar=.
960 * doc/c-i386.texi: Document -mavxscalar=.
962 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
964 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
967 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
969 * write.h (fix_at_start): Declare.
970 * write.c (fix_new_internal): Add at_beginning parameter.
971 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
972 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
973 (fix_new, fix_new_exp): Update accordingly.
974 (fix_at_start): New function.
975 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
976 (ppc_ref): New function, for OBJ_XCOFF.
977 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
978 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
980 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
982 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
983 on 64-bit Solaris/x86.
984 Include obj-format.h earlier.
986 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
988 * config/tc-s390.c (s390_elf_final_processing): New function.
989 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
990 (s390_elf_final_processing): Added prototype.
993 2010-01-20 Nick Clifton <nickc@redhat.com>
996 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
997 code to handle round-to-zero for VCVT conversions.
998 (do_neon_cvt): New. Call do_neon_cvt_1.
999 (do_neon_cvtr): New. Call do_neon_cvt_1.
1000 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1003 2010-01-18 Tristan Gingold <gingold@adacore.com>
1005 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1007 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1009 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1010 check that it's not an XOP insn.
1012 2010-01-14 Jie Zhang <jie.zhang@analog.com>
1014 * config/bfin-aux.h: Remove argument names in function
1016 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1018 * config/bfin-parse.y (value_match): Remove argument names
1020 (notethat): Likewise.
1021 (yyerror): Likewise.
1023 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1025 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1027 2010-01-13 Nick Clifton <nickc@redhat.com>
1029 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1030 warning message if a new section is created without setting any
1032 (md_pseudo_table): Intercept section creation pseudos.
1033 (md_pcrel_from): Replace abort with an error message.
1034 * config/obj-elf.c (obj_elf_section_name): Export this function.
1035 * config/obj-elf.h (obj_elf_section_name): Prototype.
1037 2010-01-12 Alan Modra <amodra@gmail.com>
1040 * listing.c (print_source): Add one to line number.
1042 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1044 * Makefile.in: Regenerate.
1045 * configure: Regenerate.
1046 * doc/Makefile.in: Regenerate.
1048 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1050 * version.c (parse_args): Change to "Copyright 2010".
1052 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1054 * config/tc-i386.c (cpu_arch): Add amdfam15.
1055 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1056 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1057 * doc/c-i386.texi: Add amdfam15.
1059 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1061 * config/tc-arm.c (do_neon_logic): Accept imm value
1062 in the third operand too.
1063 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1065 (parse_operands): OP_NILO case removed, applied renaming.
1066 (insns): Neon shape changed for some logic instructions.
1068 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1070 * config/tc-arm.c (do_neon_ldx_stx): Added
1071 validation for vector load/store insns.
1073 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1075 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1077 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1079 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1080 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1081 (NEON_ENCODE): New macro.
1082 (check_neon_suffixes): New macro.
1083 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1084 (do_vfp_nsyn_opcode): Likewise.
1085 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1086 (do_vfp_nsyn_cmp): Likewise.
1087 (do_neon_shl_imm): Likewise.
1088 (do_neon_qshl_imm): Likewise.
1089 (neon_dyadic_misc): Likewise.
1090 (do_neon_mac_maybe_scalar): Likewise.
1091 (do_neon_qdmulh): Likewise.
1092 (do_neon_qmovn): Likewise.
1093 (do_neon_qmovun): Likewise.
1094 (do_neon_movn): Likewise.
1095 (neon_mac_reg_scalar_long): Likewise.
1096 (do_neon_vmull): Likewise.
1097 (do_neon_trn): Likewise.
1098 (do_neon_ldx_stx): Likewise.
1099 (neon_dp_fixup): Changed signature and set the flag.
1100 (neon_three_same): Call the above with new signature.
1101 (neon_two_same): Likewise.
1102 (neon_imm_shift): Likewise.
1103 (neon_mul_mac): Likewise.
1104 (do_neon_abs_neg): Likewise.
1105 (neon_mixed_length): Likewise.
1106 (do_neon_ext): Likewise.
1107 (do_neon_mov): Likewise.
1108 (do_neon_tbl_tbx): Likewise.
1109 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1110 (neon_compare): Likewise.
1111 (do_neon_shll): Likewise.
1112 (do_neon_cvt): Likewise.
1113 (do_neon_mvn): Likewise.
1114 (do_neon_dup): Likewise.
1115 (md_assemble): Call check_neon_suffixes ().
1117 For older changes see ChangeLog-2009
1123 version-control: never