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