1 2010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
3 * config/obj-elf.c (get_sym_from_input_line_and_check): New
4 function to catch missing pseudo-op arguments.
5 (obj_elf_local): Call new function.
6 (obj_elf_weak): Likewise.
7 (obj_elf_visibility): Likewise.
8 (obj_elf_vtable_entry): Likewise.
9 (obj_elf_type): Likewise.
11 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
13 * config/obj-coff-seh.c
14 (seh_getelm_data_size): New.
15 (seh_read_offset): Handle negative values.
16 (obj_coff_seh_push): Handle offset for save-register store.
17 (obj_coff_seh_setframe): Add unwind-information for frame.
18 (seh_store_elm_data): New.
19 (seh_getelm_data_size): Return additionally unaligned element count.
20 (seh_make_unwind_entry): Correct tweak about element count.
22 2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
25 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
26 through patch for O_multiply.
28 2010-07-11 Kai Tietz <kai.tietz@onevision.com>
31 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
33 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
35 * tc-arm.c (OP_oBARRIER): Remove.
36 (OP_oBARRIER_I15): Add.
37 (po_barrier_or_imm): Add macro.
38 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
39 (do_barrier): Check correct immediate range.
40 (do_t_barrier): Likewise.
41 (barrier_opt_names): Add entries for more symbolic operands.
42 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
44 2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
46 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
49 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
51 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
54 2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
56 * config/tc-mips.c (nops_for_insn_or_target): Replace
57 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
58 MIPS16_INSN_COND_BRANCH.
60 2010-07-05 Jim Wilson <wilson@codesourcery.com>
64 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
67 2010-07-05 Alan Modra <amodra@gmail.com>
69 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
72 2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
74 * Makefile.am (CONFIG_OBJS): Removed.
75 (GENERIC_OBJS): Likewise.
77 * Makefile.in: Regenerated.
79 2010-07-03 Jan Beulich <jbeulich@novell.com>
82 * config/tc-i386.c (i386_finalize_displacement): Don't call
83 section_symbol() with expr_section.
85 2010-07-03 Cary Coutant <ccoutant@google.com>
87 * Makefile.am: Add compress-debug.c and compress-debug.h.
88 * Makefile.in: Regenerate.
89 * config.in: Add HAVE_ZLIB_H.
90 * configure.in: Check for zlib.h.
91 * configure: Regenerate.
93 * as.c (parse_args): Add --compress-debug-sections and
94 --nocompress-debug-sections.
95 * as.h (flag_compress_debug): New variable.
96 * compress-debug.c: New file.
97 * compress-debug.h: New file.
98 * write.c: Include compress-debug.h.
99 (compress_frag): New function.
100 (compress_debug): New function.
101 (write_object_file): Compress debug sections if requested.
103 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
105 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
108 2010-07-03 Alan Modra <amodra@gmail.com>
110 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
111 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
113 2010-07-02 DJ Delorie <dj@redhat.com>
115 * config/tc-rx.h (md_do_align): New.
116 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
117 * config/tc-rx.c (nops): New.
118 (rx_handle_align): Use various sized nops to align code.
120 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
122 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
124 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
126 AVX Programming Reference (June, 2010)
127 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
130 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
132 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
134 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
135 deprecated mov register instructions.
137 2010-07-01 Alan Modra <amodra@gmail.com>
139 * config/tc-ppc.c (toc_reloc_types): New variable.
140 (md_assemble): Set it.
141 (ppc_frob_file_before_adjust): Don't warn about toc section size
142 if we have large toc relocs and no small toc relocs.
144 2010-06-29 Alan Modra <amodra@gmail.com>
146 * config/tc-maxq.h: Delete file.
147 * config/tc-maxq.c: Delete file.
148 * Makefile.am: Remove references to maxq.
149 * configure.tgt: Likewise.
150 * config/obj-coff.h: Likewise.
151 * Makefile.in: Regenerate.
152 * configure: Regenerate.
153 * po/POTFILES.in: Regenerate.
155 2010-06-28 Alan Modra <amodra@gmail.com>
157 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
158 * config/tc-crx.c (gettrap): Constify arg.
159 (handle_LoadStor, get_cinv_parameters): Likewise.
160 (getreg_image): Fix enum warning
161 (md_assemble): Restore input line char.
162 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
163 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
164 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
165 (build_Mytes): Fix build failure for non-elf targets.
166 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
167 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
169 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
170 * ecoff.c (add_ecoff_symbol): Likewise.
171 * itbl-ops.c (append_insns_as_macros): Likewise.
172 * listing.c (debugging_pseudo): Likewise.
173 * read.c (s_mri_common, stringer): Likewise.
174 * config/obj-coff.c (coff_frob_section): Likewise.
175 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
176 * config/tc-arm.c (my_get_expression): Likewise.
177 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
178 * config/tc-m32c.c (md_assemble): Likewise.
179 * config/tc-microblaze.c (md_convert_frag): Likewise.
180 * config/tc-mips.c (s_change_section): Likewise.
181 * config/tc-mt.c (mt_fix_adjustable): Likewise.
182 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
184 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
186 * config/tc-alpha.c (load_expression): Likewise.
187 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
188 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
189 * config/tc-avr.c (extract_word): Likewise.
190 * config/tc-cris.c (cris_get_expression): Likewise.
191 * config/tc-d30v.c (build_insn, find_format): Likewise.
192 * config/tc-dlx.c (machine_ip): Likewise.
193 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
194 * config/tc-i370.c (md_assemble): Likewise.
195 * config/tc-i960.c (brtab_emit): Likewise.
196 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
197 * config/tc-m32c.c (md_convert_frag): Likewise.
198 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
199 (md_estimate_size_before_relax, md_apply_fix): Likewise.
200 * config/tc-m68k.c (md_show_usage): Likewise.
201 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
202 * config/tc-mips.c (s_mips_end): Likewise.
203 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
204 * config/tc-mn10300.c (md_assemble): Likewise.
205 * config/tc-msp430.c (extract_word): Likewise.
206 * config/tc-mt.c (md_assemble): Likewise.
207 * config/tc-or32.c (machine_ip): Likewise.
208 * config/tc-pj.c (md_apply_fix): Likewise.
209 * config/tc-s390.c (md_gather_operands): Likewise.
210 * config/tc-sh.c (sh_cons_align): Likewise.
211 * config/tc-sparc.c (sparc_cons_align): Likewise.
212 * config/tc-tic4x.c (tic4x_sect): Likewise.
213 * config/tc-tic54x.c (tic54x_stringer): Likewise.
214 * config/tc-vax.c (vip_op): Likewise.
215 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
216 * config/tc-xtensa.c (md_assemble): Likewise.
217 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
218 (xtensa_move_literals): Likewise.
220 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
222 * config/tc-arm.c (parse_neon_alignment): New function.
223 (parse_address_main): Fix Neon load/store alignment parsing.
225 2010-06-22 Jan Beulich <jbeulich@novell.com>
227 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
229 (i386_intel_operand): Remove bogus handling of pseudo symbols
231 * expr.c (current_location): Remove 'static' and local
233 * expr.h (current_location): Declare.
235 2010-06-21 Sterling Augustine <sterling@tensilica.com>
238 * as.c: Globalize keep_it.
239 (main): Remove keep_it. Move conditional from here...
240 (close_output_file): ...to here.
242 2010-06-21 Andreas Schwab <schwab@redhat.com>
244 * doc/as.texinfo (Overview): Use @itemx for grouped @table
246 * doc/c-alpha.texi (Alpha Options): Likewise.
247 * doc/c-arm.texi (ARM Directives): Likewise.
248 * doc/c-bfin.texi (Blackfin Options): Likewise.
249 * doc/c-d10v.texi (D10V-Opts): Likewise.
250 * doc/c-i386.texi (i386-Options): Likewise.
251 * doc/c-ia64.texi (IA-64 Options): Likewise.
252 * doc/c-m68k.texi (M68K-Opts): Likewise.
253 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
254 * doc/internals.texi (Symbols): Likewise.
256 2010-06-21 Alan Modra <amodra@gmail.com>
259 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
261 2010-06-18 Joseph Myers <joseph@codesourcery.com>
263 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
265 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
266 (md_assemble): Clear func_units_used for new execute packet.
267 Check for duplicate functional units and update func_units_used
268 for instructions using a functional unit.
270 2010-06-15 Joseph Myers <joseph@codesourcery.com>
272 * config/tc-tic6x.c: Include elf/tic6x.h.
273 (tic6x_arch_attribute, tic6x_seen_insns): New.
274 (tic6x_arch_table, tic6x_arches): Add attribute values.
275 (tic6x_use_arch): Handle attribute settings.
276 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
277 tic6x_attribute_table, tic6x_attributes,
278 tic6x_convert_symbolic_attribute): New.
279 (md_pseudo_table): Add c6xabi_attribute.
280 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
281 (tic6x_set_attribute_int, tic6x_set_attributes): New.
282 (tic6x_end): Call tic6x_set_attributes.
283 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
284 (tic6x_convert_symbolic_attribute): Declare.
286 2010-06-14 Alan Modra <amodra@gmail.com>
288 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
291 2010-06-11 Jan Beulich <jbeulich@novell.com>
293 * config/tc-i386.c (md_parse_option): Ignore impossible processor
295 (show_arch): New parameter 'check'.
296 (md_show_usage): Adjust calls to show_arch().
298 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
300 * config/tc-i386.c (update_code_flag): New.
301 (set_code_flag): Use it.
302 (i386_target_format): Replace set_code_flag with update_code_flag.
304 2010-06-10 Tristan Gingold <gingold@adacore.com>
306 * config/obj-som.h: Includes som/reloc.h
308 2010-06-10 Jan Beulich <jbeulich@novell.com>
310 * config/tc-i386.c (cpu_arch): Add comment.
311 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
312 from the generic entries of cpu_arch[].
314 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
316 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
318 (parse_operands): Add support for OP_RRnpctw.
319 (insns): Update floating-point load/store multiples so the
320 first register is of type OP_RRnpctw.
322 2010-06-08 Quentin Neill <quentin.neill@amd.com>
324 * config/tc-i386.c (pi): Rename local loop counter
325 variable i that shadows global static i386_insn i
326 when DEBUG386 is defined.
329 2010-06-08 Nick Clifton <nickc@redhat.com>
331 * doc/as.texinfo: Replace abbreviated 20th century year numbers
334 2010-06-02 Quentin Neill <quentin.neill@amd.com>
336 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
338 2010-06-02 Tristan Gingold <gingold@adacore.com>
340 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
341 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
342 Remove conditionnal inclusion of stdarg.h and varargs.h.
344 * config.in: Regenerate.
345 * configure: Regenerate.
346 * configure.in: Remove stdarg.h and varargs.h from
347 AC_CHECK_HEADERS list.
348 * messages.c (as_tsktsk): Remove non ISO C version.
349 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
351 2010-05-31 Tristan Gingold <gingold@adacore.com>
353 * config/tc-alpha.c: Add comments for evax.
354 * config/obj-evax.c: Ditto.
356 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
358 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
361 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
363 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
364 writeback when base register is in register list an error, and
366 (do_t_ldmstm): Change warnings.
368 2010-05-26 Catherine Moore <clm@codesourcery.com>
370 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
371 (macro_build): Change invocation of is_opcode_valid.
374 2010-05-25 Nick Clifton <nickc@redhat.com>
376 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
377 * Makefile.in: Regenerate.
379 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
380 Joseph Myers <joseph@codesourcery.com>
381 Andrew Stubbs <ams@codesourcery.com>
383 * config/tc-sh.c (sh_fdpic): New.
384 (sh_check_fixup): Handle relocations on movi20.
385 (parse_exp): Do not reject PIC operators here.
386 (build_Mytes): Check for unhandled PIC operators here. Use
387 sh_check_fixup for movi20.
388 (enum options): Add OPTION_FDPIC.
389 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
390 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
391 (sh_elf_final_processing): Handle --fdpic.
392 (sh_uclinux_target_format): New.
393 (sh_parse_name): Handle FDPIC relocation operators.
394 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
395 (sh_uclinux_target_format): Declare for TE_UCLINUX.
396 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
398 * doc/c-sh.texi (SH Options): Document --fdpic.
400 2010-05-25 Jay Krell <jay.krell@cornell.edu>
403 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
404 * Makefile.in: Regenerate.
406 2010-05-25 Alan Modra <amodra@gmail.com>
408 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
410 2010-05-19 Nick Clifton <nickc@redhat.com>
412 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
413 of known section prefixes.
415 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
418 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
419 (obj_elf_parse_section_letters): Likewise.
420 (obj_elf_section_word): Likewise.
422 * config/tc-ppc.c (ppc_section_letter): Removed.
423 (ppc_section_word): Likewise.
424 * config/tc-ppc.h (ppc_section_letter): Likewise.
425 (ppc_section_word): Likewise.
426 (md_elf_section_letter): Likewise.
427 (md_elf_section_word): Likewise.
429 * doc/as.texinfo: Document `e' and `#exclude'.
431 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
433 * config/tc-arm.c (md_assemble): Clarify current mode in error
434 messages about unsupported instructions.
435 (UT): Delete #define.
436 (insns): Adjust cbnz, cbz appropriately.
438 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
440 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
442 2010-05-11 Jie Zhang <jie@codesourcery.com>
444 * config/tc-arm.c (aeabi_set_public_attributes): Set
445 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
447 2010-05-07 Tristan Gingold <gingold@adacore.com>
449 * Makefile.in: Regenerate with automake 1.11.1.
451 * doc/Makefile.in: Ditto.
453 2010-05-05 Nick Clifton <nickc@redhat.com>
455 * po/es.po: Updated Spanish translation.
457 2010-05-05 Julian Brown <julian@codesourcery.com>
459 * read.c (cons_worker): Detect and reject unexpected string argument.
461 2010-05-04 Nick Clifton <nickc@redhat.com>
463 * write.c (fixup_segment): Revert previous delta.
464 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
465 generation of relocations for fixups against weak symbols.
467 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
469 * write.c (fixup_segment): Do not assume we know the section a
470 defined weak symbol is in.
471 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
472 weak symbols as not known to be in the same section, even if they
475 2010-04-27 Joseph Myers <joseph@codesourcery.com>
477 * config/tc-tic6x.h (tic6x_label_list): New.
478 (tic6x_segment_info_type): Keep a list of labels and a current
479 frag instead of a boolean for whether labels seen and a count of
481 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
482 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
483 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
484 (tic6x_cleanup): Correct comment.
485 (tic6x_free_label_list): New.
486 (tic6x_cons_align): Free label list and update for
487 tic6x_segment_info_type changes.
488 (tic6x_do_align): New.
489 (md_assemble): Handle list of labels and saved frag for execute
490 packet. Create machine-dependent frag for new execute packet and
491 adjust labels accordingly.
492 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
493 (md_convert_frag, md_estimate_size_before_relax): Update comments.
495 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
498 * config/tc-i386-intel.c (intel_state): Add is_indirect.
499 (i386_intel_operand): Initialize intel_state.is_indirect. Check
500 intel_state.is_indirect for "call|jmp [symbol]".
502 2010-04-22 Nick Clifton <nickc@redhat.com>
504 * po/gas.pot: Updated by the Translation project.
506 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
508 * config/tc-i386.c (i386_is_register): Removed.
509 (x86_cons): Don't use i386_is_register.
510 (parse_register): Likewise.
511 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
512 (i386_intel_operand): Likewise.
514 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
516 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
519 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
521 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
523 (parse_register): Likewise.
524 (tc_x86_parse_to_dw2regnum): Likewise.
525 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
526 (i386_intel_operand): Likewise.
528 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
531 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
532 (i386_intel_simplify): Use i386_is_register and
533 i386_intel_simplify_register. Set X_md for O_register and
534 check X_md for O_constant.
535 (i386_intel_operand): Use i386_is_register.
537 * config/tc-i386.c (i386_is_register): New.
538 (x86_cons): Initialize the X_md field. Use i386_is_register.
539 (parse_register): Use i386_is_register.
540 (tc_x86_parse_to_dw2regnum): Likewise.
542 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
544 * expr.c (expr): Initialize the X_md field.
546 2010-04-20 Joseph Myers <joseph@codesourcery.com>
548 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
549 (md_longopts): Add -mgenerate-rel.
550 (tic6x_generate_rela): New.
551 (md_parse_option): Handle -mgenerate-rel.
552 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
553 (tic6x_init_after_args): New.
554 (md_apply_fix): Correct shift calculations for SB-relative
556 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
557 adjust addresses for relocations referencing symbols in other
559 (tc_gen_reloc): Adjust addend calculations for REL relocations.
560 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
561 tic6x_pcrel_from_section, tc_init_after_args,
562 tic6x_init_after_args): New.
564 2010-04-20 Nick Clifton <nickc@redhat.com>
567 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
568 altmacro mode if found inside a quoted string.
570 2010-04-20 Mike Frysinger <vapier@gentoo.org>
572 * config/bfin-lex.l (parse_int): Change index() to strchr().
574 2010-04-16 Nick Clifton <nickc@redhat.com>
577 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
578 matcher to accept and unconditional 32-bit add instruction.
579 (pa_build_unwind_subspace): Cope with error conditions not
580 allowing the start symbol to be set.
582 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
584 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
585 new tag names in v2.08 of ARM ABI.
586 * doc/c-arm.texi: Document new tag names in ABI.
588 2010-04-14 Tristan Gingold <gingold@adacore.com>
590 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
591 (s_alpha_comm): Used new EGPS macros from egps.h
592 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
593 (s_alpha_section_word): Add comments. Use new EGPS macros.
594 Adjust for modified bfd_vms_set_section_flags function.
596 2010-04-10 Alan Modra <amodra@gmail.com>
599 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
601 2010-04-09 Nick Clifton <nickc@redhat.com>
603 * as.c (create_obj_attrs_section): Remove unused variable addr.
604 * listing.c (listing_listing): Remove unused variable message.
605 * read.c: Remove unnecessary register type qualifiers.
606 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
609 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
611 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
612 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
613 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
614 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
615 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
616 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
617 atmega88pa, attiny461a, attiny84a, m3000.
618 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
619 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
620 * doc/c-avr.texi: Same.
622 2010-04-07 Jie Zhang <jie@codesourcery.com>
624 * config/tc-arm.c (make_mapping_symbol): Handle the case
625 that multiple mapping symbols have the same value 0.
627 2010-04-07 Alan Modra <amodra@gmail.com>
629 * configure: Regenerate.
631 2010-04-06 Nick Clifton <nickc@redhat.com>
633 * po/ru.po: New Russian translation.
634 * configure.in (ALL_LINGUAS): Add ru.
635 * configure: Regenerate.
637 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
640 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
641 of memcpy to copy overlap memory.
643 2010-03-25 Joseph Myers <joseph@codesourcery.com>
645 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
646 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
647 * Makefile.in: Regenerate.
648 * NEWS: Add news entry for TI C6X support.
649 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
650 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
651 operands if TC_KEEP_OPERAND_SPACES.
652 * configure.tgt (tic6x-*-*): New.
653 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
654 TC_PREDICATE_END_CHAR): Define.
655 * config/tc-tic6x.c, config/tc-tic6x.h: New.
656 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
657 * doc/Makefile.in: Regenerate.
658 * doc/all.texi (TIC6X): Define.
659 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
660 * doc/c-tic6x.texi: New.
662 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
664 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
666 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
668 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
669 with operand_size_mismatch.
670 (operand_size_match): Updated.
671 (match_template): Likewise.
673 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
675 * config/tc-i386.c (i386_error): New.
676 (_i386_insn): Replace err_msg with error.
677 (operand_size_match): Set error instead of err_msg on failure.
678 (operand_type_match): Likewise.
679 (operand_type_register_match): Likewise.
680 (VEX_check_operands): Likewise.
681 (match_template): Likewise. Use error instead of err_msg with
684 2010-03-19 Jie Zhang <jie@codesourcery.com>
686 * config/tc-arm.c (make_mapping_symbol): Hanle the case
687 that two mapping symbols have the same value.
689 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
691 * doc/c-arm.texi (.setfp): Correct example.
693 2010-03-18 Wei Guozhi <carrot@google.com>
696 * config/tc-arm.c (reloc_names): New relocation names.
697 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
698 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
699 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
701 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
703 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
704 cases, and not only for .eh_frame.
706 * dw2gencfi.c (output_cie): Make it more explicit which code paths
707 belong to .eh_frame only.
709 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
711 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
712 assembler constants on 64-bit hosts.
714 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
716 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
717 Strip trailing whitespace.
719 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
721 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
722 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
724 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
726 2010-03-10 Jie Zhang <jie@codesourcery.com>
728 * doc/as.texinfo: Add Blackfin options.
729 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
730 * config/tc-bfin.c (md_show_usage): Show usage for all
731 Blackfin specific options.
733 2010-03-09 Alan Modra <amodra@gmail.com>
736 * listing.c (listing_newline): Correct backslash quote logic.
738 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
740 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
741 (ELF_TARGET_FORMAT64): Define.
743 2010-03-05 Paul Brook <paul@codesourcery.com>
745 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
747 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
749 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
750 reading uninitialized data.
752 2010-03-01 Tristan Gingold <gingold@adacore.com>
754 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
756 2010-02-26 Doug Evans <dje@sebabeach.org>
758 * configure.tgt: Fix mep cpu case.
760 2010-02-26 Jie Zhang <jie@codesourcery.com>
762 * config/tc-arm.c (do_t_strexd): Remove
763 operand[1] != operand[2] contraint.
765 2010-02-26 Jie Zhang <jie@codesourcery.com>
767 * config/tc-arm.c (neon_select_shape): No need to match
768 the remaining operands in the shape when one operand does
771 2010-02-26 Jie Zhang <jie@codesourcery.com>
773 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
776 2010-02-25 Doug Evans <dje@sebabeach.org>
778 * cgen.c: Whitespace fixes.
779 (weak_operand_overflow_check): Formatting fix.
781 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
783 * config/tc-i386.c (match_template): Update error messages.
785 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
787 * config/tc-i386.c (_i386_insn): Add err_msg.
788 (operand_size_match): Set err_msg on failure.
789 (operand_type_match): Likewise.
790 (operand_type_register_match): Likewise.
791 (VEX_check_operands): Likewise.
792 (match_template): Likewise. Use i.err_msg with as_bad.
794 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
796 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
797 mips_fix_loongson2f_jump): New variables.
798 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
799 -mno-fix-loongson2f-nop/jump.
800 (md_parse_option): Initialize variables via above options.
801 (options): New enums for the above options.
802 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
803 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
805 (append_insn): call fix_loongson2f().
806 (mips_handle_align): Replace the implicit nops.
807 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
808 for the new mips_handle_align().
809 * doc/c-mips.texi: Document the new options.
811 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
813 * config/tc-arm.c (do_rd_rm_rn): Added warning
816 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
819 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
820 (avr_cons_fix_new): Handle fixups of a single byte.
822 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
825 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
826 compiler's predefines.
828 2010-02-19 Alan Modra <amodra@gmail.com>
830 * configure.tgt: Whiltespace. Sort moxie entry.
832 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
834 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
835 * doc/c-arm.texi: Likewise.
837 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
839 * config/tc-arm.c (asm_opcode): operands type
841 (BAD_PC_ADDRESSING): New macro message.
842 (BAD_PC_WRITEBACK): Likewise.
843 (MIX_ARM_THUMB_OPERANDS): New macro.
844 (operand_parse_code): Added enum values.
845 (parse_operands): Added thumb/arm distinction,
846 plus new enum values handling.
847 (encode_arm_addr_mode_2): Validations enhanced.
848 (encode_arm_addr_mode_3): Likewise.
849 (do_rm_rd_rn): Likewise.
850 (encode_thumb32_addr_mode): Likewise.
851 (do_t_ldrex): Likewise.
852 (do_t_ldst): Likewise.
853 (do_t_strex): Likewise.
854 (md_assemble): Call parse_operands with
862 (insns): Updated insns operands.
864 2010-02-12 Tristan Gingold <gingold@adacore.com>
865 Douglas B Rupp <rupp@gnat.com>
867 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
868 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
869 (pseudo_func): Add an entry for slotcount.
870 (md_begin): Initialize slotcount pseudo symbol.
871 (ia64_parse_name): Handle @slotcount parameter.
872 (ia64_gen_real_reloc_type): Handle slotcount.
873 (md_apply_fix): Ditto.
874 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
876 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
878 * config/tc-xtensa.c (istack_init): Don't call memset.
880 2010-02-11 Sterling Augustine <sterling@tensilica.com>
882 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
885 2010-02-11 Sterling Augustine <sterling@tensilica.com>
887 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
889 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
891 * config/tc-i386.c (build_modrm_byte): Reformat.
893 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
895 * config/tc-i386.c: Update copyright.
897 2010-02-10 Quentin Neill <quentin.neill@amd.com>
898 Sebastian Pop <sebastian.pop@amd.com>
900 * config/tc-i386.c (vec_imm4) New operand type.
902 (VEX_check_operands): New.
903 (check_reverse): Call VEX_check_operands.
904 (build_modrm_byte): Reintroduce code for 5
905 operand insns. Fix whitespace.
907 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
909 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
912 2010-02-09 Sterling Augustine <sterling@tensilica.com>
914 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
915 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
916 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
918 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
920 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
921 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
922 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
923 BFD_RELOC_ARM_PCREL_CALL)
925 2010-02-08 Sterling Augustine <sterling@tensilica.com>
927 * config/tc-xtensa.c (frag_format_size): Generalize logic to
928 handle more instruction sizes and fetch widths.
929 (branch_align_power): Likewise.
930 (text_align_power): Likewise.
931 (bytes_to_stretch): Likewise.
933 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
935 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
936 (ppc_mach): Handle titan.
937 * doc/c-ppc.texi: Mention -mtitan.
939 2010-02-05 Sterling Augustine <sterling@tensilica.com>
941 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
943 (xtensa_fetch_width) ...this.
945 2010-02-05 Joseph Myers <joseph@codesourcery.com>
947 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
948 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
949 * Makefile.in: Regenerate.
951 2010-02-03 Quentin Neill <quentin.neill@amd.com>
953 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
954 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
955 * config/tc-i386.h (processor_type): Same.
956 * doc/c-i386.texi: Change amdfam15 to bdver1.
958 2010-01-29 Nick Clifton <nickc@redhat.com>
961 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
964 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
966 * NEWS: Mention new feature.
967 * config/obj-coff.c (obj_coff_section): Accept digits and use
968 to override default section alignment power if specified.
969 * doc/as.texinfo (.section directive): Update documentation.
971 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
973 * config/tc-i386.c (avxscalar): New.
974 (OPTION_MAVXSCALAR): Likewise.
975 (build_vex_prefix): Select vector_length for scalar instructions
977 (md_longopts): Add OPTION_MAVXSCALAR.
978 (md_parse_option): Handle OPTION_MAVXSCALAR.
979 (md_show_usage): Add -mavxscalar=.
981 * doc/c-i386.texi: Document -mavxscalar=.
983 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
985 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
988 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
990 * write.h (fix_at_start): Declare.
991 * write.c (fix_new_internal): Add at_beginning parameter.
992 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
993 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
994 (fix_new, fix_new_exp): Update accordingly.
995 (fix_at_start): New function.
996 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
997 (ppc_ref): New function, for OBJ_XCOFF.
998 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
999 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1001 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1003 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1004 on 64-bit Solaris/x86.
1005 Include obj-format.h earlier.
1007 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1009 * config/tc-s390.c (s390_elf_final_processing): New function.
1010 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1011 (s390_elf_final_processing): Added prototype.
1014 2010-01-20 Nick Clifton <nickc@redhat.com>
1017 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
1018 code to handle round-to-zero for VCVT conversions.
1019 (do_neon_cvt): New. Call do_neon_cvt_1.
1020 (do_neon_cvtr): New. Call do_neon_cvt_1.
1021 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1024 2010-01-18 Tristan Gingold <gingold@adacore.com>
1026 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1028 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
1030 * config/tc-i386.c (md_assemble): Before accessing the IMM field
1031 check that it's not an XOP insn.
1033 2010-01-14 Jie Zhang <jie.zhang@analog.com>
1035 * config/bfin-aux.h: Remove argument names in function
1037 * config/bfin-lex.l (parse_int): Fix shadowed variable name
1039 * config/bfin-parse.y (value_match): Remove argument names
1041 (notethat): Likewise.
1042 (yyerror): Likewise.
1044 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
1046 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1048 2010-01-13 Nick Clifton <nickc@redhat.com>
1050 * config/tc-h8300.c (h8300_elf_section): New function - issue a
1051 warning message if a new section is created without setting any
1053 (md_pseudo_table): Intercept section creation pseudos.
1054 (md_pcrel_from): Replace abort with an error message.
1055 * config/obj-elf.c (obj_elf_section_name): Export this function.
1056 * config/obj-elf.h (obj_elf_section_name): Prototype.
1058 2010-01-12 Alan Modra <amodra@gmail.com>
1061 * listing.c (print_source): Add one to line number.
1063 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1065 * Makefile.in: Regenerate.
1066 * configure: Regenerate.
1067 * doc/Makefile.in: Regenerate.
1069 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1071 * version.c (parse_args): Change to "Copyright 2010".
1073 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1075 * config/tc-i386.c (cpu_arch): Add amdfam15.
1076 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1077 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1078 * doc/c-i386.texi: Add amdfam15.
1080 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1082 * config/tc-arm.c (do_neon_logic): Accept imm value
1083 in the third operand too.
1084 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1086 (parse_operands): OP_NILO case removed, applied renaming.
1087 (insns): Neon shape changed for some logic instructions.
1089 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1091 * config/tc-arm.c (do_neon_ldx_stx): Added
1092 validation for vector load/store insns.
1094 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1096 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1098 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1100 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1101 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1102 (NEON_ENCODE): New macro.
1103 (check_neon_suffixes): New macro.
1104 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1105 (do_vfp_nsyn_opcode): Likewise.
1106 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1107 (do_vfp_nsyn_cmp): Likewise.
1108 (do_neon_shl_imm): Likewise.
1109 (do_neon_qshl_imm): Likewise.
1110 (neon_dyadic_misc): Likewise.
1111 (do_neon_mac_maybe_scalar): Likewise.
1112 (do_neon_qdmulh): Likewise.
1113 (do_neon_qmovn): Likewise.
1114 (do_neon_qmovun): Likewise.
1115 (do_neon_movn): Likewise.
1116 (neon_mac_reg_scalar_long): Likewise.
1117 (do_neon_vmull): Likewise.
1118 (do_neon_trn): Likewise.
1119 (do_neon_ldx_stx): Likewise.
1120 (neon_dp_fixup): Changed signature and set the flag.
1121 (neon_three_same): Call the above with new signature.
1122 (neon_two_same): Likewise.
1123 (neon_imm_shift): Likewise.
1124 (neon_mul_mac): Likewise.
1125 (do_neon_abs_neg): Likewise.
1126 (neon_mixed_length): Likewise.
1127 (do_neon_ext): Likewise.
1128 (do_neon_mov): Likewise.
1129 (do_neon_tbl_tbx): Likewise.
1130 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1131 (neon_compare): Likewise.
1132 (do_neon_shll): Likewise.
1133 (do_neon_cvt): Likewise.
1134 (do_neon_mvn): Likewise.
1135 (do_neon_dup): Likewise.
1136 (md_assemble): Call check_neon_suffixes ().
1138 For older changes see ChangeLog-2009
1144 version-control: never