1 2010-07-03 Jan Beulich <jbeulich@novell.com>
4 * config/tc-i386.c (i386_finalize_displacement): Don't call
5 section_symbol() with expr_section.
7 2010-07-03 Cary Coutant <ccoutant@google.com>
9 * Makefile.am: Add compress-debug.c and compress-debug.h.
10 * Makefile.in: Regenerate.
11 * config.in: Add HAVE_ZLIB_H.
12 * configure.in: Check for zlib.h.
13 * configure: Regenerate.
15 * as.c (parse_args): Add --compress-debug-sections and
16 --nocompress-debug-sections.
17 * as.h (flag_compress_debug): New variable.
18 * compress-debug.c: New file.
19 * compress-debug.h: New file.
20 * write.c: Include compress-debug.h.
21 (compress_frag): New function.
22 (compress_debug): New function.
23 (write_object_file): Compress debug sections if requested.
25 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
27 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
30 2010-07-03 Alan Modra <amodra@gmail.com>
32 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
33 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
35 2010-07-02 DJ Delorie <dj@redhat.com>
37 * config/tc-rx.h (md_do_align): New.
38 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
39 * config/tc-rx.c (nops): New.
40 (rx_handle_align): Use various sized nops to align code.
42 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
44 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
46 2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
48 AVX Programming Reference (June, 2010)
49 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
52 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
54 2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
56 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
57 deprecated mov register instructions.
59 2010-07-01 Alan Modra <amodra@gmail.com>
61 * config/tc-ppc.c (toc_reloc_types): New variable.
62 (md_assemble): Set it.
63 (ppc_frob_file_before_adjust): Don't warn about toc section size
64 if we have large toc relocs and no small toc relocs.
66 2010-06-29 Alan Modra <amodra@gmail.com>
68 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
71 2010-06-29 Alan Modra <amodra@gmail.com>
73 * config/tc-maxq.h: Delete file.
74 * config/tc-maxq.c: Delete file.
75 * Makefile.am: Remove references to maxq.
76 * configure.tgt: Likewise.
77 * config/obj-coff.h: Likewise.
78 * Makefile.in: Regenerate.
79 * configure: Regenerate.
80 * po/POTFILES.in: Regenerate.
82 2010-06-28 Alan Modra <amodra@gmail.com>
84 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
85 * config/tc-crx.c (gettrap): Constify arg.
86 (handle_LoadStor, get_cinv_parameters): Likewise.
87 (getreg_image): Fix enum warning
88 (md_assemble): Restore input line char.
89 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
90 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
91 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
92 (build_Mytes): Fix build failure for non-elf targets.
93 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
94 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
96 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
97 * ecoff.c (add_ecoff_symbol): Likewise.
98 * itbl-ops.c (append_insns_as_macros): Likewise.
99 * listing.c (debugging_pseudo): Likewise.
100 * read.c (s_mri_common, stringer): Likewise.
101 * config/obj-coff.c (coff_frob_section): Likewise.
102 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
103 * config/tc-arm.c (my_get_expression): Likewise.
104 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
105 * config/tc-m32c.c (md_assemble): Likewise.
106 * config/tc-microblaze.c (md_convert_frag): Likewise.
107 * config/tc-mips.c (s_change_section): Likewise.
108 * config/tc-mt.c (mt_fix_adjustable): Likewise.
109 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
111 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
113 * config/tc-alpha.c (load_expression): Likewise.
114 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
115 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
116 * config/tc-avr.c (extract_word): Likewise.
117 * config/tc-cris.c (cris_get_expression): Likewise.
118 * config/tc-d30v.c (build_insn, find_format): Likewise.
119 * config/tc-dlx.c (machine_ip): Likewise.
120 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
121 * config/tc-i370.c (md_assemble): Likewise.
122 * config/tc-i960.c (brtab_emit): Likewise.
123 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
124 * config/tc-m32c.c (md_convert_frag): Likewise.
125 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
126 (md_estimate_size_before_relax, md_apply_fix): Likewise.
127 * config/tc-m68k.c (md_show_usage): Likewise.
128 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
129 * config/tc-mips.c (s_mips_end): Likewise.
130 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
131 * config/tc-mn10300.c (md_assemble): Likewise.
132 * config/tc-msp430.c (extract_word): Likewise.
133 * config/tc-mt.c (md_assemble): Likewise.
134 * config/tc-or32.c (machine_ip): Likewise.
135 * config/tc-pj.c (md_apply_fix): Likewise.
136 * config/tc-s390.c (md_gather_operands): Likewise.
137 * config/tc-sh.c (sh_cons_align): Likewise.
138 * config/tc-sparc.c (sparc_cons_align): Likewise.
139 * config/tc-tic4x.c (tic4x_sect): Likewise.
140 * config/tc-tic54x.c (tic54x_stringer): Likewise.
141 * config/tc-vax.c (vip_op): Likewise.
142 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
143 * config/tc-xtensa.c (md_assemble): Likewise.
144 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
145 (xtensa_move_literals): Likewise.
147 2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
149 * config/tc-arm.c (parse_neon_alignment): New function.
150 (parse_address_main): Fix Neon load/store alignment parsing.
152 2010-06-22 Jan Beulich <jbeulich@novell.com>
155 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
157 (i386_intel_operand): Remove bogus handling of pseudo symbols
159 * expr.c (current_location): Remove 'static' and local
161 * expr.h (current_location): Declare.
163 2010-06-21 Sterling Augustine <sterling@tensilica.com>
166 * as.c: Globalize keep_it.
167 (main): Remove keep_it. Move conditional from here...
168 (close_output_file): ...to here.
170 2010-06-21 Andreas Schwab <schwab@redhat.com>
172 * doc/as.texinfo (Overview): Use @itemx for grouped @table
174 * doc/c-alpha.texi (Alpha Options): Likewise.
175 * doc/c-arm.texi (ARM Directives): Likewise.
176 * doc/c-bfin.texi (Blackfin Options): Likewise.
177 * doc/c-d10v.texi (D10V-Opts): Likewise.
178 * doc/c-i386.texi (i386-Options): Likewise.
179 * doc/c-ia64.texi (IA-64 Options): Likewise.
180 * doc/c-m68k.texi (M68K-Opts): Likewise.
181 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
182 * doc/internals.texi (Symbols): Likewise.
184 2010-06-21 Alan Modra <amodra@gmail.com>
187 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
189 2010-06-18 Joseph Myers <joseph@codesourcery.com>
191 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
193 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
194 (md_assemble): Clear func_units_used for new execute packet.
195 Check for duplicate functional units and update func_units_used
196 for instructions using a functional unit.
198 2010-06-15 Joseph Myers <joseph@codesourcery.com>
200 * config/tc-tic6x.c: Include elf/tic6x.h.
201 (tic6x_arch_attribute, tic6x_seen_insns): New.
202 (tic6x_arch_table, tic6x_arches): Add attribute values.
203 (tic6x_use_arch): Handle attribute settings.
204 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
205 tic6x_attribute_table, tic6x_attributes,
206 tic6x_convert_symbolic_attribute): New.
207 (md_pseudo_table): Add c6xabi_attribute.
208 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
209 (tic6x_set_attribute_int, tic6x_set_attributes): New.
210 (tic6x_end): Call tic6x_set_attributes.
211 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
212 (tic6x_convert_symbolic_attribute): Declare.
214 2010-06-14 Alan Modra <amodra@gmail.com>
216 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
219 2010-06-11 Jan Beulich <jbeulich@novell.com>
221 * config/tc-i386.c (md_parse_option): Ignore impossible processor
223 (show_arch): New parameter 'check'.
224 (md_show_usage): Adjust calls to show_arch().
226 2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
228 * config/tc-i386.c (update_code_flag): New.
229 (set_code_flag): Use it.
230 (i386_target_format): Replace set_code_flag with update_code_flag.
232 2010-06-10 Tristan Gingold <gingold@adacore.com>
234 * config/obj-som.h: Includes som/reloc.h
236 2010-06-10 Jan Beulich <jbeulich@novell.com>
238 * config/tc-i386.c (cpu_arch): Add comment.
239 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
240 from the generic entries of cpu_arch[].
242 2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
244 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
246 (parse_operands): Add support for OP_RRnpctw.
247 (insns): Update floating-point load/store multiples so the
248 first register is of type OP_RRnpctw.
250 2010-06-08 Quentin Neill <quentin.neill@amd.com>
252 * config/tc-i386.c (pi): Rename local loop counter
253 variable i that shadows global static i386_insn i
254 when DEBUG386 is defined.
257 2010-06-08 Nick Clifton <nickc@redhat.com>
259 * doc/as.texinfo: Replace abbreviated 20th century year numbers
262 2010-06-02 Quentin Neill <quentin.neill@amd.com>
264 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
266 2010-06-02 Tristan Gingold <gingold@adacore.com>
268 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
269 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
270 Remove conditionnal inclusion of stdarg.h and varargs.h.
272 * config.in: Regenerate.
273 * configure: Regenerate.
274 * configure.in: Remove stdarg.h and varargs.h from
275 AC_CHECK_HEADERS list.
276 * messages.c (as_tsktsk): Remove non ISO C version.
277 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
279 2010-05-31 Tristan Gingold <gingold@adacore.com>
281 * config/tc-alpha.c: Add comments for evax.
282 * config/obj-evax.c: Ditto.
284 2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
286 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
289 2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
291 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
292 writeback when base register is in register list an error, and
294 (do_t_ldmstm): Change warnings.
296 2010-05-26 Catherine Moore <clm@codesourcery.com>
298 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
299 (macro_build): Change invocation of is_opcode_valid.
302 2010-05-25 Nick Clifton <nickc@redhat.com>
304 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
305 * Makefile.in: Regenerate.
307 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
308 Joseph Myers <joseph@codesourcery.com>
309 Andrew Stubbs <ams@codesourcery.com>
311 * config/tc-sh.c (sh_fdpic): New.
312 (sh_check_fixup): Handle relocations on movi20.
313 (parse_exp): Do not reject PIC operators here.
314 (build_Mytes): Check for unhandled PIC operators here. Use
315 sh_check_fixup for movi20.
316 (enum options): Add OPTION_FDPIC.
317 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
318 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
319 (sh_elf_final_processing): Handle --fdpic.
320 (sh_uclinux_target_format): New.
321 (sh_parse_name): Handle FDPIC relocation operators.
322 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
323 (sh_uclinux_target_format): Declare for TE_UCLINUX.
324 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
326 * doc/c-sh.texi (SH Options): Document --fdpic.
328 2010-05-25 Jay Krell <jay.krell@cornell.edu>
331 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
332 * Makefile.in: Regenerate.
334 2010-05-25 Alan Modra <amodra@gmail.com>
336 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
338 2010-05-19 Nick Clifton <nickc@redhat.com>
340 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
341 of known section prefixes.
343 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
346 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
347 (obj_elf_parse_section_letters): Likewise.
348 (obj_elf_section_word): Likewise.
350 * config/tc-ppc.c (ppc_section_letter): Removed.
351 (ppc_section_word): Likewise.
352 * config/tc-ppc.h (ppc_section_letter): Likewise.
353 (ppc_section_word): Likewise.
354 (md_elf_section_letter): Likewise.
355 (md_elf_section_word): Likewise.
357 * doc/as.texinfo: Document `e' and `#exclude'.
359 2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
361 * config/tc-arm.c (md_assemble): Clarify current mode in error
362 messages about unsupported instructions.
363 (UT): Delete #define.
364 (insns): Adjust cbnz, cbz appropriately.
366 2010-05-11 Andrew Stubbs <ams@codesourcery.com>
368 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
370 2010-05-11 Jie Zhang <jie@codesourcery.com>
372 * config/tc-arm.c (aeabi_set_public_attributes): Set
373 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
375 2010-05-07 Tristan Gingold <gingold@adacore.com>
377 * Makefile.in: Regenerate with automake 1.11.1.
379 * doc/Makefile.in: Ditto.
381 2010-05-05 Nick Clifton <nickc@redhat.com>
383 * po/es.po: Updated Spanish translation.
385 2010-05-05 Julian Brown <julian@codesourcery.com>
387 * read.c (cons_worker): Detect and reject unexpected string argument.
389 2010-05-04 Nick Clifton <nickc@redhat.com>
391 * write.c (fixup_segment): Revert previous delta.
392 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
393 generation of relocations for fixups against weak symbols.
395 2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
397 * write.c (fixup_segment): Do not assume we know the section a
398 defined weak symbol is in.
399 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
400 weak symbols as not known to be in the same section, even if they
403 2010-04-27 Joseph Myers <joseph@codesourcery.com>
405 * config/tc-tic6x.h (tic6x_label_list): New.
406 (tic6x_segment_info_type): Keep a list of labels and a current
407 frag instead of a boolean for whether labels seen and a count of
409 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
410 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
411 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
412 (tic6x_cleanup): Correct comment.
413 (tic6x_free_label_list): New.
414 (tic6x_cons_align): Free label list and update for
415 tic6x_segment_info_type changes.
416 (tic6x_do_align): New.
417 (md_assemble): Handle list of labels and saved frag for execute
418 packet. Create machine-dependent frag for new execute packet and
419 adjust labels accordingly.
420 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
421 (md_convert_frag, md_estimate_size_before_relax): Update comments.
423 2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
426 * config/tc-i386-intel.c (intel_state): Add is_indirect.
427 (i386_intel_operand): Initialize intel_state.is_indirect. Check
428 intel_state.is_indirect for "call|jmp [symbol]".
430 2010-04-22 Nick Clifton <nickc@redhat.com>
432 * po/gas.pot: Updated by the Translation project.
434 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
436 * config/tc-i386.c (i386_is_register): Removed.
437 (x86_cons): Don't use i386_is_register.
438 (parse_register): Likewise.
439 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
440 (i386_intel_operand): Likewise.
442 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
444 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
447 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
449 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
451 (parse_register): Likewise.
452 (tc_x86_parse_to_dw2regnum): Likewise.
453 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
454 (i386_intel_operand): Likewise.
456 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
459 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
460 (i386_intel_simplify): Use i386_is_register and
461 i386_intel_simplify_register. Set X_md for O_register and
462 check X_md for O_constant.
463 (i386_intel_operand): Use i386_is_register.
465 * config/tc-i386.c (i386_is_register): New.
466 (x86_cons): Initialize the X_md field. Use i386_is_register.
467 (parse_register): Use i386_is_register.
468 (tc_x86_parse_to_dw2regnum): Likewise.
470 2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
472 * expr.c (expr): Initialize the X_md field.
474 2010-04-20 Joseph Myers <joseph@codesourcery.com>
476 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
477 (md_longopts): Add -mgenerate-rel.
478 (tic6x_generate_rela): New.
479 (md_parse_option): Handle -mgenerate-rel.
480 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
481 (tic6x_init_after_args): New.
482 (md_apply_fix): Correct shift calculations for SB-relative
484 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
485 adjust addresses for relocations referencing symbols in other
487 (tc_gen_reloc): Adjust addend calculations for REL relocations.
488 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
489 tic6x_pcrel_from_section, tc_init_after_args,
490 tic6x_init_after_args): New.
492 2010-04-20 Nick Clifton <nickc@redhat.com>
495 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
496 altmacro mode if found inside a quoted string.
498 2010-04-20 Mike Frysinger <vapier@gentoo.org>
500 * config/bfin-lex.l (parse_int): Change index() to strchr().
502 2010-04-16 Nick Clifton <nickc@redhat.com>
505 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
506 matcher to accept and unconditional 32-bit add instruction.
507 (pa_build_unwind_subspace): Cope with error conditions not
508 allowing the start symbol to be set.
510 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
512 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
513 new tag names in v2.08 of ARM ABI.
514 * doc/c-arm.texi: Document new tag names in ABI.
516 2010-04-14 Tristan Gingold <gingold@adacore.com>
518 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
519 (s_alpha_comm): Used new EGPS macros from egps.h
520 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
521 (s_alpha_section_word): Add comments. Use new EGPS macros.
522 Adjust for modified bfd_vms_set_section_flags function.
524 2010-04-10 Alan Modra <amodra@gmail.com>
527 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
529 2010-04-09 Nick Clifton <nickc@redhat.com>
531 * as.c (create_obj_attrs_section): Remove unused variable addr.
532 * listing.c (listing_listing): Remove unused variable message.
533 * read.c: Remove unnecessary register type qualifiers.
534 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
537 2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
539 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
540 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
541 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
542 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
543 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
544 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
545 atmega88pa, attiny461a, attiny84a, m3000.
546 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
547 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
548 * doc/c-avr.texi: Same.
550 2010-04-07 Jie Zhang <jie@codesourcery.com>
552 * config/tc-arm.c (make_mapping_symbol): Handle the case
553 that multiple mapping symbols have the same value 0.
555 2010-04-07 Alan Modra <amodra@gmail.com>
557 * configure: Regenerate.
559 2010-04-06 Nick Clifton <nickc@redhat.com>
561 * po/ru.po: New Russian translation.
562 * configure.in (ALL_LINGUAS): Add ru.
563 * configure: Regenerate.
565 2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
568 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
569 of memcpy to copy overlap memory.
571 2010-03-25 Joseph Myers <joseph@codesourcery.com>
573 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
574 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
575 * Makefile.in: Regenerate.
576 * NEWS: Add news entry for TI C6X support.
577 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
578 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
579 operands if TC_KEEP_OPERAND_SPACES.
580 * configure.tgt (tic6x-*-*): New.
581 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
582 TC_PREDICATE_END_CHAR): Define.
583 * config/tc-tic6x.c, config/tc-tic6x.h: New.
584 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
585 * doc/Makefile.in: Regenerate.
586 * doc/all.texi (TIC6X): Define.
587 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
588 * doc/c-tic6x.texi: New.
590 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
592 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
594 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
596 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
597 with operand_size_mismatch.
598 (operand_size_match): Updated.
599 (match_template): Likewise.
601 2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
603 * config/tc-i386.c (i386_error): New.
604 (_i386_insn): Replace err_msg with error.
605 (operand_size_match): Set error instead of err_msg on failure.
606 (operand_type_match): Likewise.
607 (operand_type_register_match): Likewise.
608 (VEX_check_operands): Likewise.
609 (match_template): Likewise. Use error instead of err_msg with
612 2010-03-19 Jie Zhang <jie@codesourcery.com>
614 * config/tc-arm.c (make_mapping_symbol): Hanle the case
615 that two mapping symbols have the same value.
617 2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
619 * doc/c-arm.texi (.setfp): Correct example.
621 2010-03-18 Wei Guozhi <carrot@google.com>
624 * config/tc-arm.c (reloc_names): New relocation names.
625 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
626 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
627 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
629 2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
631 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
632 cases, and not only for .eh_frame.
634 * dw2gencfi.c (output_cie): Make it more explicit which code paths
635 belong to .eh_frame only.
637 2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
639 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
640 assembler constants on 64-bit hosts.
642 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
644 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
645 Strip trailing whitespace.
647 2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
649 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
650 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
652 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
654 2010-03-10 Jie Zhang <jie@codesourcery.com>
656 * doc/as.texinfo: Add Blackfin options.
657 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
658 * config/tc-bfin.c (md_show_usage): Show usage for all
659 Blackfin specific options.
661 2010-03-09 Alan Modra <amodra@gmail.com>
664 * listing.c (listing_newline): Correct backslash quote logic.
666 2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
668 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
669 (ELF_TARGET_FORMAT64): Define.
671 2010-03-05 Paul Brook <paul@codesourcery.com>
673 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
675 2010-03-02 Andrew Stubbs <ams@codesourcery.com>
677 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
678 reading uninitialized data.
680 2010-03-01 Tristan Gingold <gingold@adacore.com>
682 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
684 2010-02-26 Doug Evans <dje@sebabeach.org>
686 * configure.tgt: Fix mep cpu case.
688 2010-02-26 Jie Zhang <jie@codesourcery.com>
690 * config/tc-arm.c (do_t_strexd): Remove
691 operand[1] != operand[2] contraint.
693 2010-02-26 Jie Zhang <jie@codesourcery.com>
695 * config/tc-arm.c (neon_select_shape): No need to match
696 the remaining operands in the shape when one operand does
699 2010-02-26 Jie Zhang <jie@codesourcery.com>
701 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
704 2010-02-25 Doug Evans <dje@sebabeach.org>
706 * cgen.c: Whitespace fixes.
707 (weak_operand_overflow_check): Formatting fix.
709 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
711 * config/tc-i386.c (match_template): Update error messages.
713 2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
715 * config/tc-i386.c (_i386_insn): Add err_msg.
716 (operand_size_match): Set err_msg on failure.
717 (operand_type_match): Likewise.
718 (operand_type_register_match): Likewise.
719 (VEX_check_operands): Likewise.
720 (match_template): Likewise. Use i.err_msg with as_bad.
722 2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
724 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
725 mips_fix_loongson2f_jump): New variables.
726 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
727 -mno-fix-loongson2f-nop/jump.
728 (md_parse_option): Initialize variables via above options.
729 (options): New enums for the above options.
730 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
731 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
733 (append_insn): call fix_loongson2f().
734 (mips_handle_align): Replace the implicit nops.
735 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
736 for the new mips_handle_align().
737 * doc/c-mips.texi: Document the new options.
739 2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
741 * config/tc-arm.c (do_rd_rm_rn): Added warning
744 2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
747 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
748 (avr_cons_fix_new): Handle fixups of a single byte.
750 2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
753 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
754 compiler's predefines.
756 2010-02-19 Alan Modra <amodra@gmail.com>
758 * configure.tgt: Whiltespace. Sort moxie entry.
760 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
762 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
763 * doc/c-arm.texi: Likewise.
765 2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
767 * config/tc-arm.c (asm_opcode): operands type
769 (BAD_PC_ADDRESSING): New macro message.
770 (BAD_PC_WRITEBACK): Likewise.
771 (MIX_ARM_THUMB_OPERANDS): New macro.
772 (operand_parse_code): Added enum values.
773 (parse_operands): Added thumb/arm distinction,
774 plus new enum values handling.
775 (encode_arm_addr_mode_2): Validations enhanced.
776 (encode_arm_addr_mode_3): Likewise.
777 (do_rm_rd_rn): Likewise.
778 (encode_thumb32_addr_mode): Likewise.
779 (do_t_ldrex): Likewise.
780 (do_t_ldst): Likewise.
781 (do_t_strex): Likewise.
782 (md_assemble): Call parse_operands with
790 (insns): Updated insns operands.
792 2010-02-12 Tristan Gingold <gingold@adacore.com>
793 Douglas B Rupp <rupp@gnat.com>
795 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
796 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
797 (pseudo_func): Add an entry for slotcount.
798 (md_begin): Initialize slotcount pseudo symbol.
799 (ia64_parse_name): Handle @slotcount parameter.
800 (ia64_gen_real_reloc_type): Handle slotcount.
801 (md_apply_fix): Ditto.
802 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
804 2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
806 * config/tc-xtensa.c (istack_init): Don't call memset.
808 2010-02-11 Sterling Augustine <sterling@tensilica.com>
810 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
813 2010-02-11 Sterling Augustine <sterling@tensilica.com>
815 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
817 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
819 * config/tc-i386.c (build_modrm_byte): Reformat.
821 2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
823 * config/tc-i386.c: Update copyright.
825 2010-02-10 Quentin Neill <quentin.neill@amd.com>
826 Sebastian Pop <sebastian.pop@amd.com>
828 * config/tc-i386.c (vec_imm4) New operand type.
830 (VEX_check_operands): New.
831 (check_reverse): Call VEX_check_operands.
832 (build_modrm_byte): Reintroduce code for 5
833 operand insns. Fix whitespace.
835 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
837 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
840 2010-02-09 Sterling Augustine <sterling@tensilica.com>
842 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
843 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
844 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
846 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
848 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
849 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
850 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
851 BFD_RELOC_ARM_PCREL_CALL)
853 2010-02-08 Sterling Augustine <sterling@tensilica.com>
855 * config/tc-xtensa.c (frag_format_size): Generalize logic to
856 handle more instruction sizes and fetch widths.
857 (branch_align_power): Likewise.
858 (text_align_power): Likewise.
859 (bytes_to_stretch): Likewise.
861 2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
863 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
864 (ppc_mach): Handle titan.
865 * doc/c-ppc.texi: Mention -mtitan.
867 2010-02-05 Sterling Augustine <sterling@tensilica.com>
869 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
871 (xtensa_fetch_width) ...this.
873 2010-02-05 Joseph Myers <joseph@codesourcery.com>
875 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
876 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
877 * Makefile.in: Regenerate.
879 2010-02-03 Quentin Neill <quentin.neill@amd.com>
881 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
882 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
883 * config/tc-i386.h (processor_type): Same.
884 * doc/c-i386.texi: Change amdfam15 to bdver1.
886 2010-01-29 Nick Clifton <nickc@redhat.com>
889 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
892 2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
894 * NEWS: Mention new feature.
895 * config/obj-coff.c (obj_coff_section): Accept digits and use
896 to override default section alignment power if specified.
897 * doc/as.texinfo (.section directive): Update documentation.
899 2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
901 * config/tc-i386.c (avxscalar): New.
902 (OPTION_MAVXSCALAR): Likewise.
903 (build_vex_prefix): Select vector_length for scalar instructions
905 (md_longopts): Add OPTION_MAVXSCALAR.
906 (md_parse_option): Handle OPTION_MAVXSCALAR.
907 (md_show_usage): Add -mavxscalar=.
909 * doc/c-i386.texi: Document -mavxscalar=.
911 2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
913 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
916 2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
918 * write.h (fix_at_start): Declare.
919 * write.c (fix_new_internal): Add at_beginning parameter.
920 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
921 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
922 (fix_new, fix_new_exp): Update accordingly.
923 (fix_at_start): New function.
924 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
925 (ppc_ref): New function, for OBJ_XCOFF.
926 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
927 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
929 2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
931 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
932 on 64-bit Solaris/x86.
933 Include obj-format.h earlier.
935 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
937 * config/tc-s390.c (s390_elf_final_processing): New function.
938 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
939 (s390_elf_final_processing): Added prototype.
942 2010-01-20 Nick Clifton <nickc@redhat.com>
945 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
946 code to handle round-to-zero for VCVT conversions.
947 (do_neon_cvt): New. Call do_neon_cvt_1.
948 (do_neon_cvtr): New. Call do_neon_cvt_1.
949 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
952 2010-01-18 Tristan Gingold <gingold@adacore.com>
954 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
956 2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
958 * config/tc-i386.c (md_assemble): Before accessing the IMM field
959 check that it's not an XOP insn.
961 2010-01-14 Jie Zhang <jie.zhang@analog.com>
963 * config/bfin-aux.h: Remove argument names in function
965 * config/bfin-lex.l (parse_int): Fix shadowed variable name
967 * config/bfin-parse.y (value_match): Remove argument names
969 (notethat): Likewise.
972 2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
974 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
976 2010-01-13 Nick Clifton <nickc@redhat.com>
978 * config/tc-h8300.c (h8300_elf_section): New function - issue a
979 warning message if a new section is created without setting any
981 (md_pseudo_table): Intercept section creation pseudos.
982 (md_pcrel_from): Replace abort with an error message.
983 * config/obj-elf.c (obj_elf_section_name): Export this function.
984 * config/obj-elf.h (obj_elf_section_name): Prototype.
986 2010-01-12 Alan Modra <amodra@gmail.com>
989 * listing.c (print_source): Add one to line number.
991 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
993 * Makefile.in: Regenerate.
994 * configure: Regenerate.
995 * doc/Makefile.in: Regenerate.
997 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
999 * version.c (parse_args): Change to "Copyright 2010".
1001 2010-01-06 Quentin Neill <quentin.neill@amd.com>
1003 * config/tc-i386.c (cpu_arch): Add amdfam15.
1004 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1005 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1006 * doc/c-i386.texi: Add amdfam15.
1008 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1010 * config/tc-arm.c (do_neon_logic): Accept imm value
1011 in the third operand too.
1012 (operand_parse_code): OP_RNDQ_IMVNb renamed to
1014 (parse_operands): OP_NILO case removed, applied renaming.
1015 (insns): Neon shape changed for some logic instructions.
1017 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
1019 * config/tc-arm.c (do_neon_ldx_stx): Added
1020 validation for vector load/store insns.
1022 2010-01-04 Edmar Wienskoski <edmar@freescale.com>
1024 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1026 2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
1028 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1029 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1030 (NEON_ENCODE): New macro.
1031 (check_neon_suffixes): New macro.
1032 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1033 (do_vfp_nsyn_opcode): Likewise.
1034 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1035 (do_vfp_nsyn_cmp): Likewise.
1036 (do_neon_shl_imm): Likewise.
1037 (do_neon_qshl_imm): Likewise.
1038 (neon_dyadic_misc): Likewise.
1039 (do_neon_mac_maybe_scalar): Likewise.
1040 (do_neon_qdmulh): Likewise.
1041 (do_neon_qmovn): Likewise.
1042 (do_neon_qmovun): Likewise.
1043 (do_neon_movn): Likewise.
1044 (neon_mac_reg_scalar_long): Likewise.
1045 (do_neon_vmull): Likewise.
1046 (do_neon_trn): Likewise.
1047 (do_neon_ldx_stx): Likewise.
1048 (neon_dp_fixup): Changed signature and set the flag.
1049 (neon_three_same): Call the above with new signature.
1050 (neon_two_same): Likewise.
1051 (neon_imm_shift): Likewise.
1052 (neon_mul_mac): Likewise.
1053 (do_neon_abs_neg): Likewise.
1054 (neon_mixed_length): Likewise.
1055 (do_neon_ext): Likewise.
1056 (do_neon_mov): Likewise.
1057 (do_neon_tbl_tbx): Likewise.
1058 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1059 (neon_compare): Likewise.
1060 (do_neon_shll): Likewise.
1061 (do_neon_cvt): Likewise.
1062 (do_neon_mvn): Likewise.
1063 (do_neon_dup): Likewise.
1064 (md_assemble): Call check_neon_suffixes ().
1066 For older changes see ChangeLog-2009
1072 version-control: never