1 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
3 * config/obj-coff-seh.c
4 (seh_getelm_data_size): New.
5 (seh_read_offset): Handle negative values.
6 (obj_coff_seh_push): Handle offset for save-register store.
7 (obj_coff_seh_setframe): Add unwind-information for frame.
8 (seh_store_elm_data): New.
9 (seh_getelm_data_size): Return additionally unaligned element count.
10 (seh_make_unwind_entry): Correct tweak about element count.
12 2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
15 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
16 through patch for O_multiply.
18 2010-07-11 Kai Tietz <kai.tietz@onevision.com>
21 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
23 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
25 * tc-arm.c (OP_oBARRIER): Remove.
26 (OP_oBARRIER_I15): Add.
27 (po_barrier_or_imm): Add macro.
28 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
29 (do_barrier): Check correct immediate range.
30 (do_t_barrier): Likewise.
31 (barrier_opt_names): Add entries for more symbolic operands.
32 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
34 2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
36 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
39 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
41 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
44 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
46 * config/tc-mips.c (nops_for_insn_or_target): Replace
47 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
48 MIPS16_INSN_COND_BRANCH.
50 2010-07-05 Jim Wilson <wilson@codesourcery.com>
54 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
57 2010-07-05 Alan Modra <amodra@gmail.com>
59 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
62 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
64 * Makefile.am (CONFIG_OBJS): Removed.
65 (GENERIC_OBJS): Likewise.
67 * Makefile.in: Regenerated.
69 2010-07-03 Jan Beulich <jbeulich@novell.com>
72 * config/tc-i386.c (i386_finalize_displacement): Don't call
73 section_symbol() with expr_section.
75 2010-07-03 Cary Coutant <ccoutant@google.com>
77 * Makefile.am: Add compress-debug.c and compress-debug.h.
78 * Makefile.in: Regenerate.
79 * config.in: Add HAVE_ZLIB_H.
80 * configure.in: Check for zlib.h.
81 * configure: Regenerate.
83 * as.c (parse_args): Add --compress-debug-sections and
84 --nocompress-debug-sections.
85 * as.h (flag_compress_debug): New variable.
86 * compress-debug.c: New file.
87 * compress-debug.h: New file.
88 * write.c: Include compress-debug.h.
89 (compress_frag): New function.
90 (compress_debug): New function.
91 (write_object_file): Compress debug sections if requested.
93 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
95 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
98 2010-07-03 Alan Modra <amodra@gmail.com>
100 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
101 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
103 2010-07-02 DJ Delorie <dj@redhat.com>
105 * config/tc-rx.h (md_do_align): New.
106 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
107 * config/tc-rx.c (nops): New.
108 (rx_handle_align): Use various sized nops to align code.
110 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
112 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
114 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
116 AVX Programming Reference (June, 2010)
117 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
120 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
122 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
124 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
125 deprecated mov register instructions.
127 2010-07-01 Alan Modra <amodra@gmail.com>
129 * config/tc-ppc.c (toc_reloc_types): New variable.
130 (md_assemble): Set it.
131 (ppc_frob_file_before_adjust): Don't warn about toc section size
132 if we have large toc relocs and no small toc relocs.
134 2010-06-29 Alan Modra <amodra@gmail.com>
136 * config/tc-maxq.h: Delete file.
137 * config/tc-maxq.c: Delete file.
138 * Makefile.am: Remove references to maxq.
139 * configure.tgt: Likewise.
140 * config/obj-coff.h: Likewise.
141 * Makefile.in: Regenerate.
142 * configure: Regenerate.
143 * po/POTFILES.in: Regenerate.
145 2010-06-28 Alan Modra <amodra@gmail.com>
147 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
148 * config/tc-crx.c (gettrap): Constify arg.
149 (handle_LoadStor, get_cinv_parameters): Likewise.
150 (getreg_image): Fix enum warning
151 (md_assemble): Restore input line char.
152 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
153 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
154 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
155 (build_Mytes): Fix build failure for non-elf targets.
156 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
157 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
159 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
160 * ecoff.c (add_ecoff_symbol): Likewise.
161 * itbl-ops.c (append_insns_as_macros): Likewise.
162 * listing.c (debugging_pseudo): Likewise.
163 * read.c (s_mri_common, stringer): Likewise.
164 * config/obj-coff.c (coff_frob_section): Likewise.
165 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
166 * config/tc-arm.c (my_get_expression): Likewise.
167 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
168 * config/tc-m32c.c (md_assemble): Likewise.
169 * config/tc-microblaze.c (md_convert_frag): Likewise.
170 * config/tc-mips.c (s_change_section): Likewise.
171 * config/tc-mt.c (mt_fix_adjustable): Likewise.
172 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
174 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
176 * config/tc-alpha.c (load_expression): Likewise.
177 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
178 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
179 * config/tc-avr.c (extract_word): Likewise.
180 * config/tc-cris.c (cris_get_expression): Likewise.
181 * config/tc-d30v.c (build_insn, find_format): Likewise.
182 * config/tc-dlx.c (machine_ip): Likewise.
183 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
184 * config/tc-i370.c (md_assemble): Likewise.
185 * config/tc-i960.c (brtab_emit): Likewise.
186 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
187 * config/tc-m32c.c (md_convert_frag): Likewise.
188 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
189 (md_estimate_size_before_relax, md_apply_fix): Likewise.
190 * config/tc-m68k.c (md_show_usage): Likewise.
191 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
192 * config/tc-mips.c (s_mips_end): Likewise.
193 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
194 * config/tc-mn10300.c (md_assemble): Likewise.
195 * config/tc-msp430.c (extract_word): Likewise.
196 * config/tc-mt.c (md_assemble): Likewise.
197 * config/tc-or32.c (machine_ip): Likewise.
198 * config/tc-pj.c (md_apply_fix): Likewise.
199 * config/tc-s390.c (md_gather_operands): Likewise.
200 * config/tc-sh.c (sh_cons_align): Likewise.
201 * config/tc-sparc.c (sparc_cons_align): Likewise.
202 * config/tc-tic4x.c (tic4x_sect): Likewise.
203 * config/tc-tic54x.c (tic54x_stringer): Likewise.
204 * config/tc-vax.c (vip_op): Likewise.
205 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
206 * config/tc-xtensa.c (md_assemble): Likewise.
207 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
208 (xtensa_move_literals): Likewise.
210 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
212 * config/tc-arm.c (parse_neon_alignment): New function.
213 (parse_address_main): Fix Neon load/store alignment parsing.
215 2010-06-22 Jan Beulich <jbeulich@novell.com>
217 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
219 (i386_intel_operand): Remove bogus handling of pseudo symbols
221 * expr.c (current_location): Remove 'static' and local
223 * expr.h (current_location): Declare.
225 2010-06-21 Sterling Augustine <sterling@tensilica.com>
228 * as.c: Globalize keep_it.
229 (main): Remove keep_it. Move conditional from here...
230 (close_output_file): ...to here.
232 2010-06-21 Andreas Schwab <schwab@redhat.com>
234 * doc/as.texinfo (Overview): Use @itemx for grouped @table
236 * doc/c-alpha.texi (Alpha Options): Likewise.
237 * doc/c-arm.texi (ARM Directives): Likewise.
238 * doc/c-bfin.texi (Blackfin Options): Likewise.
239 * doc/c-d10v.texi (D10V-Opts): Likewise.
240 * doc/c-i386.texi (i386-Options): Likewise.
241 * doc/c-ia64.texi (IA-64 Options): Likewise.
242 * doc/c-m68k.texi (M68K-Opts): Likewise.
243 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
244 * doc/internals.texi (Symbols): Likewise.
246 2010-06-21 Alan Modra <amodra@gmail.com>
249 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
251 2010-06-18 Joseph Myers <joseph@codesourcery.com>
253 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
255 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
256 (md_assemble): Clear func_units_used for new execute packet.
257 Check for duplicate functional units and update func_units_used
258 for instructions using a functional unit.
260 2010-06-15 Joseph Myers <joseph@codesourcery.com>
262 * config/tc-tic6x.c: Include elf/tic6x.h.
263 (tic6x_arch_attribute, tic6x_seen_insns): New.
264 (tic6x_arch_table, tic6x_arches): Add attribute values.
265 (tic6x_use_arch): Handle attribute settings.
266 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
267 tic6x_attribute_table, tic6x_attributes,
268 tic6x_convert_symbolic_attribute): New.
269 (md_pseudo_table): Add c6xabi_attribute.
270 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
271 (tic6x_set_attribute_int, tic6x_set_attributes): New.
272 (tic6x_end): Call tic6x_set_attributes.
273 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
274 (tic6x_convert_symbolic_attribute): Declare.
276 2010-06-14 Alan Modra <amodra@gmail.com>
278 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
281 2010-06-11 Jan Beulich <jbeulich@novell.com>
283 * config/tc-i386.c (md_parse_option): Ignore impossible processor
285 (show_arch): New parameter 'check'.
286 (md_show_usage): Adjust calls to show_arch().
288 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
290 * config/tc-i386.c (update_code_flag): New.
291 (set_code_flag): Use it.
292 (i386_target_format): Replace set_code_flag with update_code_flag.
294 2010-06-10 Tristan Gingold <gingold@adacore.com>
296 * config/obj-som.h: Includes som/reloc.h
298 2010-06-10 Jan Beulich <jbeulich@novell.com>
300 * config/tc-i386.c (cpu_arch): Add comment.
301 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
302 from the generic entries of cpu_arch[].
304 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
306 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
308 (parse_operands): Add support for OP_RRnpctw.
309 (insns): Update floating-point load/store multiples so the
310 first register is of type OP_RRnpctw.
312 2010-06-08 Quentin Neill <quentin.neill@amd.com>
314 * config/tc-i386.c (pi): Rename local loop counter
315 variable i that shadows global static i386_insn i
316 when DEBUG386 is defined.
319 2010-06-08 Nick Clifton <nickc@redhat.com>
321 * doc/as.texinfo: Replace abbreviated 20th century year numbers
324 2010-06-02 Quentin Neill <quentin.neill@amd.com>
326 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
328 2010-06-02 Tristan Gingold <gingold@adacore.com>
330 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
331 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
332 Remove conditionnal inclusion of stdarg.h and varargs.h.
334 * config.in: Regenerate.
335 * configure: Regenerate.
336 * configure.in: Remove stdarg.h and varargs.h from
337 AC_CHECK_HEADERS list.
338 * messages.c (as_tsktsk): Remove non ISO C version.
339 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
341 2010-05-31 Tristan Gingold <gingold@adacore.com>
343 * config/tc-alpha.c: Add comments for evax.
344 * config/obj-evax.c: Ditto.
346 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
348 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
351 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
353 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
354 writeback when base register is in register list an error, and
356 (do_t_ldmstm): Change warnings.
358 2010-05-26 Catherine Moore <clm@codesourcery.com>
360 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
361 (macro_build): Change invocation of is_opcode_valid.
364 2010-05-25 Nick Clifton <nickc@redhat.com>
366 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
367 * Makefile.in: Regenerate.
369 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
370 Joseph Myers <joseph@codesourcery.com>
371 Andrew Stubbs <ams@codesourcery.com>
373 * config/tc-sh.c (sh_fdpic): New.
374 (sh_check_fixup): Handle relocations on movi20.
375 (parse_exp): Do not reject PIC operators here.
376 (build_Mytes): Check for unhandled PIC operators here. Use
377 sh_check_fixup for movi20.
378 (enum options): Add OPTION_FDPIC.
379 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
380 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
381 (sh_elf_final_processing): Handle --fdpic.
382 (sh_uclinux_target_format): New.
383 (sh_parse_name): Handle FDPIC relocation operators.
384 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
385 (sh_uclinux_target_format): Declare for TE_UCLINUX.
386 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
388 * doc/c-sh.texi (SH Options): Document --fdpic.
390 2010-05-25 Jay Krell <jay.krell@cornell.edu>
393 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
394 * Makefile.in: Regenerate.
396 2010-05-25 Alan Modra <amodra@gmail.com>
398 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
400 2010-05-19 Nick Clifton <nickc@redhat.com>
402 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
403 of known section prefixes.
405 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
408 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
409 (obj_elf_parse_section_letters): Likewise.
410 (obj_elf_section_word): Likewise.
412 * config/tc-ppc.c (ppc_section_letter): Removed.
413 (ppc_section_word): Likewise.
414 * config/tc-ppc.h (ppc_section_letter): Likewise.
415 (ppc_section_word): Likewise.
416 (md_elf_section_letter): Likewise.
417 (md_elf_section_word): Likewise.
419 * doc/as.texinfo: Document `e' and `#exclude'.
421 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
423 * config/tc-arm.c (md_assemble): Clarify current mode in error
424 messages about unsupported instructions.
425 (UT): Delete #define.
426 (insns): Adjust cbnz, cbz appropriately.
428 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
430 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
432 2010-05-11 Jie Zhang <jie@codesourcery.com>
434 * config/tc-arm.c (aeabi_set_public_attributes): Set
435 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
437 2010-05-07 Tristan Gingold <gingold@adacore.com>
439 * Makefile.in: Regenerate with automake 1.11.1.
441 * doc/Makefile.in: Ditto.
443 2010-05-05 Nick Clifton <nickc@redhat.com>
445 * po/es.po: Updated Spanish translation.
447 2010-05-05 Julian Brown <julian@codesourcery.com>
449 * read.c (cons_worker): Detect and reject unexpected string argument.
451 2010-05-04 Nick Clifton <nickc@redhat.com>
453 * write.c (fixup_segment): Revert previous delta.
454 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
455 generation of relocations for fixups against weak symbols.
457 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
459 * write.c (fixup_segment): Do not assume we know the section a
460 defined weak symbol is in.
461 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
462 weak symbols as not known to be in the same section, even if they
465 2010-04-27 Joseph Myers <joseph@codesourcery.com>
467 * config/tc-tic6x.h (tic6x_label_list): New.
468 (tic6x_segment_info_type): Keep a list of labels and a current
469 frag instead of a boolean for whether labels seen and a count of
471 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
472 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
473 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
474 (tic6x_cleanup): Correct comment.
475 (tic6x_free_label_list): New.
476 (tic6x_cons_align): Free label list and update for
477 tic6x_segment_info_type changes.
478 (tic6x_do_align): New.
479 (md_assemble): Handle list of labels and saved frag for execute
480 packet. Create machine-dependent frag for new execute packet and
481 adjust labels accordingly.
482 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
483 (md_convert_frag, md_estimate_size_before_relax): Update comments.
485 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
488 * config/tc-i386-intel.c (intel_state): Add is_indirect.
489 (i386_intel_operand): Initialize intel_state.is_indirect. Check
490 intel_state.is_indirect for "call|jmp [symbol]".
492 2010-04-22 Nick Clifton <nickc@redhat.com>
494 * po/gas.pot: Updated by the Translation project.
496 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
498 * config/tc-i386.c (i386_is_register): Removed.
499 (x86_cons): Don't use i386_is_register.
500 (parse_register): Likewise.
501 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
502 (i386_intel_operand): Likewise.
504 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
506 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
509 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
511 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
513 (parse_register): Likewise.
514 (tc_x86_parse_to_dw2regnum): Likewise.
515 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
516 (i386_intel_operand): Likewise.
518 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
521 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
522 (i386_intel_simplify): Use i386_is_register and
523 i386_intel_simplify_register. Set X_md for O_register and
524 check X_md for O_constant.
525 (i386_intel_operand): Use i386_is_register.
527 * config/tc-i386.c (i386_is_register): New.
528 (x86_cons): Initialize the X_md field. Use i386_is_register.
529 (parse_register): Use i386_is_register.
530 (tc_x86_parse_to_dw2regnum): Likewise.
532 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
534 * expr.c (expr): Initialize the X_md field.
536 2010-04-20 Joseph Myers <joseph@codesourcery.com>
538 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
539 (md_longopts): Add -mgenerate-rel.
540 (tic6x_generate_rela): New.
541 (md_parse_option): Handle -mgenerate-rel.
542 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
543 (tic6x_init_after_args): New.
544 (md_apply_fix): Correct shift calculations for SB-relative
546 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
547 adjust addresses for relocations referencing symbols in other
549 (tc_gen_reloc): Adjust addend calculations for REL relocations.
550 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
551 tic6x_pcrel_from_section, tc_init_after_args,
552 tic6x_init_after_args): New.
554 2010-04-20 Nick Clifton <nickc@redhat.com>
557 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
558 altmacro mode if found inside a quoted string.
560 2010-04-20 Mike Frysinger <vapier@gentoo.org>
562 * config/bfin-lex.l (parse_int): Change index() to strchr().
564 2010-04-16 Nick Clifton <nickc@redhat.com>
567 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
568 matcher to accept and unconditional 32-bit add instruction.
569 (pa_build_unwind_subspace): Cope with error conditions not
570 allowing the start symbol to be set.
572 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
574 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
575 new tag names in v2.08 of ARM ABI.
576 * doc/c-arm.texi: Document new tag names in ABI.
578 2010-04-14 Tristan Gingold <gingold@adacore.com>
580 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
581 (s_alpha_comm): Used new EGPS macros from egps.h
582 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
583 (s_alpha_section_word): Add comments. Use new EGPS macros.
584 Adjust for modified bfd_vms_set_section_flags function.
586 2010-04-10 Alan Modra <amodra@gmail.com>
589 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
591 2010-04-09 Nick Clifton <nickc@redhat.com>
593 * as.c (create_obj_attrs_section): Remove unused variable addr.
594 * listing.c (listing_listing): Remove unused variable message.
595 * read.c: Remove unnecessary register type qualifiers.
596 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
599 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
601 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
602 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
603 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
604 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
605 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
606 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
607 atmega88pa, attiny461a, attiny84a, m3000.
608 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
609 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
610 * doc/c-avr.texi: Same.
612 2010-04-07 Jie Zhang <jie@codesourcery.com>
614 * config/tc-arm.c (make_mapping_symbol): Handle the case
615 that multiple mapping symbols have the same value 0.
617 2010-04-07 Alan Modra <amodra@gmail.com>
619 * configure: Regenerate.
621 2010-04-06 Nick Clifton <nickc@redhat.com>
623 * po/ru.po: New Russian translation.
624 * configure.in (ALL_LINGUAS): Add ru.
625 * configure: Regenerate.
627 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
630 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
631 of memcpy to copy overlap memory.
633 2010-03-25 Joseph Myers <joseph@codesourcery.com>
635 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
636 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
637 * Makefile.in: Regenerate.
638 * NEWS: Add news entry for TI C6X support.
639 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
640 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
641 operands if TC_KEEP_OPERAND_SPACES.
642 * configure.tgt (tic6x-*-*): New.
643 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
644 TC_PREDICATE_END_CHAR): Define.
645 * config/tc-tic6x.c, config/tc-tic6x.h: New.
646 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
647 * doc/Makefile.in: Regenerate.
648 * doc/all.texi (TIC6X): Define.
649 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
650 * doc/c-tic6x.texi: New.
652 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
654 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
656 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
658 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
659 with operand_size_mismatch.
660 (operand_size_match): Updated.
661 (match_template): Likewise.
663 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
665 * config/tc-i386.c (i386_error): New.
666 (_i386_insn): Replace err_msg with error.
667 (operand_size_match): Set error instead of err_msg on failure.
668 (operand_type_match): Likewise.
669 (operand_type_register_match): Likewise.
670 (VEX_check_operands): Likewise.
671 (match_template): Likewise. Use error instead of err_msg with
674 2010-03-19 Jie Zhang <jie@codesourcery.com>
676 * config/tc-arm.c (make_mapping_symbol): Hanle the case
677 that two mapping symbols have the same value.
679 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
681 * doc/c-arm.texi (.setfp): Correct example.
683 2010-03-18 Wei Guozhi <carrot@google.com>
686 * config/tc-arm.c (reloc_names): New relocation names.
687 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
688 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
689 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
691 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
693 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
694 cases, and not only for .eh_frame.
696 * dw2gencfi.c (output_cie): Make it more explicit which code paths
697 belong to .eh_frame only.
699 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
701 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
702 assembler constants on 64-bit hosts.
704 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
706 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
707 Strip trailing whitespace.
709 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
711 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
712 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
714 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
716 2010-03-10 Jie Zhang <jie@codesourcery.com>
718 * doc/as.texinfo: Add Blackfin options.
719 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
720 * config/tc-bfin.c (md_show_usage): Show usage for all
721 Blackfin specific options.
723 2010-03-09 Alan Modra <amodra@gmail.com>
726 * listing.c (listing_newline): Correct backslash quote logic.
728 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
730 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
731 (ELF_TARGET_FORMAT64): Define.
733 2010-03-05 Paul Brook <paul@codesourcery.com>
735 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
737 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
739 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
740 reading uninitialized data.
742 2010-03-01 Tristan Gingold <gingold@adacore.com>
744 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
746 2010-02-26 Doug Evans <dje@sebabeach.org>
748 * configure.tgt: Fix mep cpu case.
750 2010-02-26 Jie Zhang <jie@codesourcery.com>
752 * config/tc-arm.c (do_t_strexd): Remove
753 operand[1] != operand[2] contraint.
755 2010-02-26 Jie Zhang <jie@codesourcery.com>
757 * config/tc-arm.c (neon_select_shape): No need to match
758 the remaining operands in the shape when one operand does
761 2010-02-26 Jie Zhang <jie@codesourcery.com>
763 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
766 2010-02-25 Doug Evans <dje@sebabeach.org>
768 * cgen.c: Whitespace fixes.
769 (weak_operand_overflow_check): Formatting fix.
771 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
773 * config/tc-i386.c (match_template): Update error messages.
775 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
777 * config/tc-i386.c (_i386_insn): Add err_msg.
778 (operand_size_match): Set err_msg on failure.
779 (operand_type_match): Likewise.
780 (operand_type_register_match): Likewise.
781 (VEX_check_operands): Likewise.
782 (match_template): Likewise. Use i.err_msg with as_bad.
784 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
786 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
787 mips_fix_loongson2f_jump): New variables.
788 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
789 -mno-fix-loongson2f-nop/jump.
790 (md_parse_option): Initialize variables via above options.
791 (options): New enums for the above options.
792 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
793 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
795 (append_insn): call fix_loongson2f().
796 (mips_handle_align): Replace the implicit nops.
797 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
798 for the new mips_handle_align().
799 * doc/c-mips.texi: Document the new options.
801 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
803 * config/tc-arm.c (do_rd_rm_rn): Added warning
806 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
809 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
810 (avr_cons_fix_new): Handle fixups of a single byte.
812 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
815 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
816 compiler's predefines.
818 2010-02-19 Alan Modra <amodra@gmail.com>
820 * configure.tgt: Whiltespace. Sort moxie entry.
822 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
824 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
825 * doc/c-arm.texi: Likewise.
827 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
829 * config/tc-arm.c (asm_opcode): operands type
831 (BAD_PC_ADDRESSING): New macro message.
832 (BAD_PC_WRITEBACK): Likewise.
833 (MIX_ARM_THUMB_OPERANDS): New macro.
834 (operand_parse_code): Added enum values.
835 (parse_operands): Added thumb/arm distinction,
836 plus new enum values handling.
837 (encode_arm_addr_mode_2): Validations enhanced.
838 (encode_arm_addr_mode_3): Likewise.
839 (do_rm_rd_rn): Likewise.
840 (encode_thumb32_addr_mode): Likewise.
841 (do_t_ldrex): Likewise.
842 (do_t_ldst): Likewise.
843 (do_t_strex): Likewise.
844 (md_assemble): Call parse_operands with
852 (insns): Updated insns operands.
854 2010-02-12 Tristan Gingold <gingold@adacore.com>
855 Douglas B Rupp <rupp@gnat.com>
857 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
858 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
859 (pseudo_func): Add an entry for slotcount.
860 (md_begin): Initialize slotcount pseudo symbol.
861 (ia64_parse_name): Handle @slotcount parameter.
862 (ia64_gen_real_reloc_type): Handle slotcount.
863 (md_apply_fix): Ditto.
864 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
866 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
868 * config/tc-xtensa.c (istack_init): Don't call memset.
870 2010-02-11 Sterling Augustine <sterling@tensilica.com>
872 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
875 2010-02-11 Sterling Augustine <sterling@tensilica.com>
877 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
879 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
881 * config/tc-i386.c (build_modrm_byte): Reformat.
883 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
885 * config/tc-i386.c: Update copyright.
887 2010-02-10 Quentin Neill <quentin.neill@amd.com>
888 Sebastian Pop <sebastian.pop@amd.com>
890 * config/tc-i386.c (vec_imm4) New operand type.
892 (VEX_check_operands): New.
893 (check_reverse): Call VEX_check_operands.
894 (build_modrm_byte): Reintroduce code for 5
895 operand insns. Fix whitespace.
897 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
899 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
902 2010-02-09 Sterling Augustine <sterling@tensilica.com>
904 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
905 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
906 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
908 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
910 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
911 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
912 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
913 BFD_RELOC_ARM_PCREL_CALL)
915 2010-02-08 Sterling Augustine <sterling@tensilica.com>
917 * config/tc-xtensa.c (frag_format_size): Generalize logic to
918 handle more instruction sizes and fetch widths.
919 (branch_align_power): Likewise.
920 (text_align_power): Likewise.
921 (bytes_to_stretch): Likewise.
923 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
925 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
926 (ppc_mach): Handle titan.
927 * doc/c-ppc.texi: Mention -mtitan.
929 2010-02-05 Sterling Augustine <sterling@tensilica.com>
931 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
933 (xtensa_fetch_width) ...this.
935 2010-02-05 Joseph Myers <joseph@codesourcery.com>
937 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
938 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
939 * Makefile.in: Regenerate.
941 2010-02-03 Quentin Neill <quentin.neill@amd.com>
943 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
944 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
945 * config/tc-i386.h (processor_type): Same.
946 * doc/c-i386.texi: Change amdfam15 to bdver1.
948 2010-01-29 Nick Clifton <nickc@redhat.com>
951 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
954 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
956 * NEWS: Mention new feature.
957 * config/obj-coff.c (obj_coff_section): Accept digits and use
958 to override default section alignment power if specified.
959 * doc/as.texinfo (.section directive): Update documentation.
961 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
963 * config/tc-i386.c (avxscalar): New.
964 (OPTION_MAVXSCALAR): Likewise.
965 (build_vex_prefix): Select vector_length for scalar instructions
967 (md_longopts): Add OPTION_MAVXSCALAR.
968 (md_parse_option): Handle OPTION_MAVXSCALAR.
969 (md_show_usage): Add -mavxscalar=.
971 * doc/c-i386.texi: Document -mavxscalar=.
973 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
975 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
978 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
980 * write.h (fix_at_start): Declare.
981 * write.c (fix_new_internal): Add at_beginning parameter.
982 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
983 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
984 (fix_new, fix_new_exp): Update accordingly.
985 (fix_at_start): New function.
986 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
987 (ppc_ref): New function, for OBJ_XCOFF.
988 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
989 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
991 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
993 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
994 on 64-bit Solaris/x86.
995 Include obj-format.h earlier.
997 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
999 * config/tc-s390.c (s390_elf_final_processing): New function.
1000 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1001 (s390_elf_final_processing): Added prototype.
1004 2010-01-20 Nick Clifton <nickc@redhat.com>
1007 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
1008 code to handle round-to-zero for VCVT conversions.
1009 (do_neon_cvt): New. Call do_neon_cvt_1.
1010 (do_neon_cvtr): New. Call do_neon_cvt_1.
1011 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1014 2010-01-18 Tristan Gingold <gingold@adacore.com>
1016 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1018 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1020 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1021 check that it's not an XOP insn.
1023 2010-01-14 Jie Zhang <jie.zhang@analog.com>
1025 * config/bfin-aux.h: Remove argument names in function
1027 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1029 * config/bfin-parse.y (value_match): Remove argument names
1031 (notethat): Likewise.
1032 (yyerror): Likewise.
1034 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1036 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1038 2010-01-13 Nick Clifton <nickc@redhat.com>
1040 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1041 warning message if a new section is created without setting any
1043 (md_pseudo_table): Intercept section creation pseudos.
1044 (md_pcrel_from): Replace abort with an error message.
1045 * config/obj-elf.c (obj_elf_section_name): Export this function.
1046 * config/obj-elf.h (obj_elf_section_name): Prototype.
1048 2010-01-12 Alan Modra <amodra@gmail.com>
1051 * listing.c (print_source): Add one to line number.
1053 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1055 * Makefile.in: Regenerate.
1056 * configure: Regenerate.
1057 * doc/Makefile.in: Regenerate.
1059 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1061 * version.c (parse_args): Change to "Copyright 2010".
1063 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1065 * config/tc-i386.c (cpu_arch): Add amdfam15.
1066 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1067 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1068 * doc/c-i386.texi: Add amdfam15.
1070 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1072 * config/tc-arm.c (do_neon_logic): Accept imm value
1073 in the third operand too.
1074 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1076 (parse_operands): OP_NILO case removed, applied renaming.
1077 (insns): Neon shape changed for some logic instructions.
1079 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1081 * config/tc-arm.c (do_neon_ldx_stx): Added
1082 validation for vector load/store insns.
1084 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1086 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1088 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1090 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1091 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1092 (NEON_ENCODE): New macro.
1093 (check_neon_suffixes): New macro.
1094 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1095 (do_vfp_nsyn_opcode): Likewise.
1096 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1097 (do_vfp_nsyn_cmp): Likewise.
1098 (do_neon_shl_imm): Likewise.
1099 (do_neon_qshl_imm): Likewise.
1100 (neon_dyadic_misc): Likewise.
1101 (do_neon_mac_maybe_scalar): Likewise.
1102 (do_neon_qdmulh): Likewise.
1103 (do_neon_qmovn): Likewise.
1104 (do_neon_qmovun): Likewise.
1105 (do_neon_movn): Likewise.
1106 (neon_mac_reg_scalar_long): Likewise.
1107 (do_neon_vmull): Likewise.
1108 (do_neon_trn): Likewise.
1109 (do_neon_ldx_stx): Likewise.
1110 (neon_dp_fixup): Changed signature and set the flag.
1111 (neon_three_same): Call the above with new signature.
1112 (neon_two_same): Likewise.
1113 (neon_imm_shift): Likewise.
1114 (neon_mul_mac): Likewise.
1115 (do_neon_abs_neg): Likewise.
1116 (neon_mixed_length): Likewise.
1117 (do_neon_ext): Likewise.
1118 (do_neon_mov): Likewise.
1119 (do_neon_tbl_tbx): Likewise.
1120 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1121 (neon_compare): Likewise.
1122 (do_neon_shll): Likewise.
1123 (do_neon_cvt): Likewise.
1124 (do_neon_mvn): Likewise.
1125 (do_neon_dup): Likewise.
1126 (md_assemble): Call check_neon_suffixes ().
1128 For older changes see ChangeLog-2009
1134 version-control: never