remove maxq-coff port
[binutils.git] / gas / ChangeLog
blobdc6c4ddaa66d967786d94839f432c0934fa4d8db
1 2010-06-29  Alan Modra  <amodra@gmail.com>
3         * config/tc-maxq.h: Delete file.
4         * config/tc-maxq.c: Delete file.
5         * Makefile.am: Remove references to maxq.
6         * configure.tgt: Likewise.
7         * config/obj-coff.h: Likewise.
8         * Makefile.in: Regenerate.
9         * configure: Regenerate.
10         * po/POTFILES.in: Regenerate.
12 2010-06-28  Alan Modra  <amodra@gmail.com>
14         * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
15         * config/tc-crx.c (gettrap): Constify arg.
16         (handle_LoadStor, get_cinv_parameters): Likewise.
17         (getreg_image): Fix enum warning
18         (md_assemble): Restore input line char.
19         * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
20         * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
21         * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
22         (build_Mytes): Fix build failure for non-elf targets.
23         * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
24         * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
26         * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
27         * ecoff.c (add_ecoff_symbol): Likewise.
28         * itbl-ops.c (append_insns_as_macros): Likewise.
29         * listing.c (debugging_pseudo): Likewise.
30         * read.c (s_mri_common, stringer): Likewise.
31         * config/obj-coff.c (coff_frob_section): Likewise.
32         * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
33         * config/tc-arm.c (my_get_expression): Likewise.
34         * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
35         * config/tc-m32c.c (md_assemble): Likewise.
36         * config/tc-microblaze.c (md_convert_frag): Likewise.
37         * config/tc-mips.c (s_change_section): Likewise.
38         * config/tc-mt.c (mt_fix_adjustable): Likewise.
39         * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
41         * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
42         unused vars.
43         * config/tc-alpha.c (load_expression): Likewise.
44         (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
45         * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
46         * config/tc-avr.c (extract_word): Likewise.
47         * config/tc-cris.c (cris_get_expression): Likewise.
48         * config/tc-d30v.c (build_insn, find_format): Likewise.
49         * config/tc-dlx.c (machine_ip): Likewise.
50         * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
51         * config/tc-i370.c (md_assemble): Likewise.
52         * config/tc-i960.c (brtab_emit): Likewise.
53         * config/tc-iq2000.c (s_iq2000_ent): Likewise.
54         * config/tc-m32c.c (md_convert_frag): Likewise.
55         * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
56         (md_estimate_size_before_relax, md_apply_fix): Likewise.
57         * config/tc-m68k.c (md_show_usage): Likewise.
58         * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
59         * config/tc-mips.c (s_mips_end): Likewise.
60         * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
61         * config/tc-mn10300.c (md_assemble): Likewise.
62         * config/tc-msp430.c (extract_word): Likewise.
63         * config/tc-mt.c (md_assemble): Likewise.
64         * config/tc-or32.c (machine_ip): Likewise.
65         * config/tc-pj.c (md_apply_fix): Likewise.
66         * config/tc-s390.c (md_gather_operands): Likewise.
67         * config/tc-sh.c (sh_cons_align): Likewise.
68         * config/tc-sparc.c (sparc_cons_align): Likewise.
69         * config/tc-tic4x.c (tic4x_sect): Likewise.
70         * config/tc-tic54x.c (tic54x_stringer): Likewise.
71         * config/tc-vax.c (vip_op): Likewise.
72         * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
73         * config/tc-xtensa.c (md_assemble): Likewise.
74         (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
75         (xtensa_move_literals): Likewise.
77 2010-06-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
79         * config/tc-arm.c (parse_neon_alignment): New function.
80         (parse_address_main): Fix Neon load/store alignment parsing.
82 2010-06-22  Jan Beulich  <jbeulich@novell.com>
84         PR gas/11732
85         * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
86         symbols named "$".
87         (i386_intel_operand): Remove bogus handling of pseudo symbols
88         named "$".
89         * expr.c (current_location): Remove 'static' and local
90         declaration.
91         * expr.h (current_location): Declare.
93 2010-06-21  Sterling Augustine  <sterling@tensilica.com>
95         PR gas/11728
96         * as.c: Globalize keep_it.
97         (main): Remove keep_it. Move conditional from here...
98         (close_output_file): ...to here.
100 2010-06-21  Andreas Schwab  <schwab@redhat.com>
102         * doc/as.texinfo (Overview): Use @itemx for grouped @table
103         items.
104         * doc/c-alpha.texi (Alpha Options): Likewise.
105         * doc/c-arm.texi (ARM Directives): Likewise.
106         * doc/c-bfin.texi (Blackfin Options): Likewise.
107         * doc/c-d10v.texi (D10V-Opts): Likewise.
108         * doc/c-i386.texi (i386-Options): Likewise.
109         * doc/c-ia64.texi (IA-64 Options): Likewise.
110         * doc/c-m68k.texi (M68K-Opts): Likewise.
111         * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
112         * doc/internals.texi (Symbols): Likewise.
114 2010-06-21  Alan Modra  <amodra@gmail.com>
116         PR gas/11733
117         * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
119 2010-06-18  Joseph Myers  <joseph@codesourcery.com>
121         * config/tc-tic6x.h (tic6x_segment_info_type): Add field
122         func_units_used.
123         * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
124         (md_assemble): Clear func_units_used for new execute packet.
125         Check for duplicate functional units and update func_units_used
126         for instructions using a functional unit.
128 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
130         * config/tc-tic6x.c: Include elf/tic6x.h.
131         (tic6x_arch_attribute, tic6x_seen_insns): New.
132         (tic6x_arch_table, tic6x_arches): Add attribute values.
133         (tic6x_use_arch): Handle attribute settings.
134         (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
135         tic6x_attribute_table, tic6x_attributes,
136         tic6x_convert_symbolic_attribute): New.
137         (md_pseudo_table): Add c6xabi_attribute.
138         (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
139         (tic6x_set_attribute_int, tic6x_set_attributes): New.
140         (tic6x_end): Call tic6x_set_attributes.
141         * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
142         (tic6x_convert_symbolic_attribute): Declare.
144 2010-06-14  Alan Modra  <amodra@gmail.com>
146         * config/tc-ppc.c (md_assemble): Emit APUinfo section for
147         PPC_OPCODE_E500.
149 2010-06-11  Jan Beulich  <jbeulich@novell.com>
151         * config/tc-i386.c (md_parse_option): Ignore impossible processor
152         types.
153         (show_arch): New parameter 'check'.
154         (md_show_usage): Adjust calls to show_arch().
156 2010-06-10  H.J. Lu  <hongjiu.lu@intel.com>
158         * config/tc-i386.c (update_code_flag): New.
159         (set_code_flag): Use it.
160         (i386_target_format): Replace set_code_flag with update_code_flag.
162 2010-06-10  Tristan Gingold  <gingold@adacore.com>
164         * config/obj-som.h: Includes som/reloc.h
166 2010-06-10  Jan Beulich  <jbeulich@novell.com>
168         * config/tc-i386.c (cpu_arch): Add comment.
169         (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
170         from the generic entries of cpu_arch[].
172 2010-06-08  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
174         * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
175         value.
176         (parse_operands): Add support for OP_RRnpctw.
177         (insns): Update floating-point load/store multiples so the
178         first register is of type OP_RRnpctw.
180 2010-06-08  Quentin Neill  <quentin.neill@amd.com>
182         * config/tc-i386.c (pi): Rename local loop counter
183         variable i that shadows global static i386_insn i
184         when DEBUG386 is defined.
185         (pte) Ditto.
187 2010-06-08  Nick Clifton  <nickc@redhat.com>
189         * doc/as.texinfo: Replace abbreviated 20th century year numbers
190         with full versions.
192 2010-06-02  Quentin Neill  <quentin.neill@amd.com>
194         * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
196 2010-06-02  Tristan Gingold  <gingold@adacore.com>
198         * as.h: Remove conditionnal definition of HAVE_STDARG_H,
199         USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
200         Remove conditionnal inclusion of stdarg.h and varargs.h.
201         Assume ISO C.
202         * config.in: Regenerate.
203         * configure: Regenerate.
204         * configure.in: Remove stdarg.h and varargs.h from
205         AC_CHECK_HEADERS list.
206         * messages.c (as_tsktsk): Remove non ISO C version.
207         (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
209 2010-05-31  Tristan Gingold  <gingold@adacore.com>
211         * config/tc-alpha.c: Add comments for evax.
212         * config/obj-evax.c: Ditto.
214 2010-05-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
216         * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
217         lsls and not adds.
219 2010-05-27  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
221         * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
222         writeback when base register is in register list an error, and
223         correct check.
224         (do_t_ldmstm): Change warnings.
226 2010-05-26  Catherine Moore  <clm@codesourcery.com>
228         * config/tc-mips.c (is_opcode_valid): Remove expansionp.
229         (macro_build): Change invocation of is_opcode_valid.
230         (mips_ip): Likewise.
232 2010-05-25  Nick Clifton  <nickc@redhat.com>
234         * Makefile.am (MOSTLYCLEANFILES): Fix typo.
235         * Makefile.in: Regenerate.
237 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
238             Joseph Myers  <joseph@codesourcery.com>
239             Andrew Stubbs  <ams@codesourcery.com>
241         * config/tc-sh.c (sh_fdpic): New.
242         (sh_check_fixup): Handle relocations on movi20.
243         (parse_exp): Do not reject PIC operators here.
244         (build_Mytes): Check for unhandled PIC operators here.  Use
245         sh_check_fixup for movi20.
246         (enum options): Add OPTION_FDPIC.
247         (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
248         (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
249         (sh_elf_final_processing): Handle --fdpic.
250         (sh_uclinux_target_format): New.
251         (sh_parse_name): Handle FDPIC relocation operators.
252         * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
253         (sh_uclinux_target_format): Declare for TE_UCLINUX.
254         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
255         em=uclinux.
256         * doc/c-sh.texi (SH Options): Document --fdpic.
258 2010-05-25  Jay Krell  <jay.krell@cornell.edu>
260         PR ld/11621
261         * Makefile.am: Replace all occurences of .o with .@OBJEXT@
262         * Makefile.in: Regenerate.
264 2010-05-25  Alan Modra  <amodra@gmail.com>
266         * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
268 2010-05-19  Nick Clifton  <nickc@redhat.com>
270         * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
271         of known section prefixes.
273 2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
275         PR gas/11600
276         * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
277         (obj_elf_parse_section_letters): Likewise.
278         (obj_elf_section_word): Likewise.
280         * config/tc-ppc.c (ppc_section_letter): Removed.
281         (ppc_section_word): Likewise.
282         * config/tc-ppc.h (ppc_section_letter): Likewise.
283         (ppc_section_word): Likewise.
284         (md_elf_section_letter): Likewise.
285         (md_elf_section_word): Likewise.
287         * doc/as.texinfo: Document `e' and `#exclude'.
289 2010-05-13  Nathan Sidwell  <nathan@codesourcery.com>
291         * config/tc-arm.c (md_assemble): Clarify current mode in error
292         messages about unsupported instructions.
293         (UT): Delete #define.
294         (insns): Adjust cbnz, cbz appropriately.
296 2010-05-11  Andrew Stubbs  <ams@codesourcery.com>
298         * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
300 2010-05-11  Jie Zhang  <jie@codesourcery.com>
302         * config/tc-arm.c (aeabi_set_public_attributes): Set
303         Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
305 2010-05-07  Tristan Gingold  <gingold@adacore.com>
307         * Makefile.in: Regenerate with automake 1.11.1.
308         * aclocal.m4: Ditto.
309         * doc/Makefile.in: Ditto.
311 2010-05-05  Nick Clifton  <nickc@redhat.com>
313         * po/es.po: Updated Spanish translation.
315 2010-05-05  Julian Brown  <julian@codesourcery.com>
317         * read.c (cons_worker): Detect and reject unexpected string argument.
319 2010-05-04  Nick Clifton  <nickc@redhat.com>
321         * write.c (fixup_segment): Revert previous delta.
322         * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
323         generation of relocations for fixups against weak symbols.
325 2010-04-29  Nathan Sidwell  <nathan@codesourcery.com>
327         * write.c (fixup_segment): Do not assume we know the section a
328         defined weak symbol is in.
329         * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
330         weak symbols as not known to be in the same section, even if they
331         are defined.
333 2010-04-27  Joseph Myers  <joseph@codesourcery.com>
335         * config/tc-tic6x.h (tic6x_label_list): New.
336         (tic6x_segment_info_type): Keep a list of labels and a current
337         frag instead of a boolean for whether labels seen and a count of
338         instructions.
339         (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
340         md_do_align, tic6x_do_align, md_end, tic6x_end): New.
341         * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
342         (tic6x_cleanup): Correct comment.
343         (tic6x_free_label_list): New.
344         (tic6x_cons_align): Free label list and update for
345         tic6x_segment_info_type changes.
346         (tic6x_do_align): New.
347         (md_assemble): Handle list of labels and saved frag for execute
348         packet.  Create machine-dependent frag for new execute packet and
349         adjust labels accordingly.
350         (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
351         (md_convert_frag, md_estimate_size_before_relax): Update comments.
353 2010-04-24  H.J. Lu  <hongjiu.lu@intel.com>
355         PR gas/11535
356         * config/tc-i386-intel.c (intel_state): Add is_indirect.
357         (i386_intel_operand): Initialize intel_state.is_indirect.  Check
358         intel_state.is_indirect for "call|jmp [symbol]".
360 2010-04-22  Nick Clifton  <nickc@redhat.com>
362         * po/gas.pot: Updated by the Translation project.
364 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
366         * config/tc-i386.c (i386_is_register): Removed.
367         (x86_cons): Don't use i386_is_register.
368         (parse_register): Likewise.
369         * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
370         (i386_intel_operand): Likewise.
372 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
374         * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
375         i386_is_register.
377 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
379         * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
380         (x86_cons): Updated.
381         (parse_register): Likewise.
382         (tc_x86_parse_to_dw2regnum): Likewise.
383         * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
384         (i386_intel_operand): Likewise.
386 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
388         PR gas/11509
389         * config/tc-i386-intel.c (i386_intel_simplify_register): New.
390         (i386_intel_simplify): Use i386_is_register and
391         i386_intel_simplify_register. Set X_md for O_register and
392         check X_md for O_constant.
393         (i386_intel_operand): Use i386_is_register.
395         * config/tc-i386.c (i386_is_register): New.
396         (x86_cons): Initialize the X_md field.  Use i386_is_register.
397         (parse_register): Use i386_is_register.
398         (tc_x86_parse_to_dw2regnum): Likewise.
400 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
402         * expr.c (expr): Initialize the X_md field.
404 2010-04-20  Joseph Myers  <joseph@codesourcery.com>
406         * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
407         (md_longopts): Add -mgenerate-rel.
408         (tic6x_generate_rela): New.
409         (md_parse_option): Handle -mgenerate-rel.
410         (md_show_usage): Add comment that -mgenerate-rel is undocumented.
411         (tic6x_init_after_args): New.
412         (md_apply_fix): Correct shift calculations for SB-relative
413         relocations.
414         (md_pcrel_from): Change to tic6x_pcrel_from_section.  Do not
415         adjust addresses for relocations referencing symbols in other
416         sections.
417         (tc_gen_reloc): Adjust addend calculations for REL relocations.
418         * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
419         tic6x_pcrel_from_section, tc_init_after_args,
420         tic6x_init_after_args): New.
422 2010-04-20  Nick Clifton  <nickc@redhat.com>
424         PR gas/11507
425         * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
426         altmacro mode if found inside a quoted string.
428 2010-04-20  Mike Frysinger  <vapier@gentoo.org>
430         * config/bfin-lex.l (parse_int): Change index() to strchr().
432 2010-04-16  Nick Clifton  <nickc@redhat.com>
434         PR gas/11395
435         * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
436         matcher to accept and unconditional 32-bit add instruction.
437         (pa_build_unwind_subspace): Cope with error conditions not
438         allowing the start symbol to be set.
440 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
442         * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
443         new tag names in v2.08 of ARM ABI.
444         * doc/c-arm.texi: Document new tag names in ABI.
446 2010-04-14  Tristan Gingold  <gingold@adacore.com>
448         * config/tc-alpha.c: Includes vms/egps.h on EVAX.
449         (s_alpha_comm): Used new EGPS macros from egps.h
450         (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
451         (s_alpha_section_word): Add comments.  Use new EGPS macros.
452         Adjust for modified bfd_vms_set_section_flags function.
454 2010-04-10  Alan Modra  <amodra@gmail.com>
456         PR gas/11486
457         * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
459 2010-04-09  Nick Clifton  <nickc@redhat.com>
461         * as.c (create_obj_attrs_section): Remove unused variable addr.
462         * listing.c (listing_listing): Remove unused variable message.
463         * read.c: Remove unnecessary register type qualifiers.
464         (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
465         defined.
467 2010-04-07  Eric B. Weddington  <eric.weddington@atmel.com>
469         * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
470         atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
471         atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
472         atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
473         atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
474         atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
475         atmega88pa, attiny461a, attiny84a, m3000.
476         Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
477         atmega8hvd, attiny327, m3000f, m3000s, m3001b.
478         * doc/c-avr.texi: Same.
480 2010-04-07  Jie Zhang  <jie@codesourcery.com>
482         * config/tc-arm.c (make_mapping_symbol): Handle the case
483         that multiple mapping symbols have the same value 0.
485 2010-04-07  Alan Modra  <amodra@gmail.com>
487         * configure: Regenerate.
489 2010-04-06  Nick Clifton  <nickc@redhat.com>
491         * po/ru.po: New Russian translation.
492         * configure.in (ALL_LINGUAS): Add ru.
493         * configure: Regenerate.
495 2010-03-30  H.J. Lu  <hongjiu.lu@intel.com>
497         PR gas/11456
498         * input-scrub.c (input_scrub_next_buffer): Use memmove instead
499         of memcpy to copy overlap memory.
501 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
503         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
504         (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
505         * Makefile.in: Regenerate.
506         * NEWS: Add news entry for TI C6X support.
507         * app.c (do_scrub_chars): Handle "||^" for TI C6X.  Handle
508         TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR.  Keep spaces in
509         operands if TC_KEEP_OPERAND_SPACES.
510         * configure.tgt (tic6x-*-*): New.
511         * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
512         TC_PREDICATE_END_CHAR): Define.
513         * config/tc-tic6x.c, config/tc-tic6x.h: New.
514         * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
515         * doc/Makefile.in: Regenerate.
516         * doc/all.texi (TIC6X): Define.
517         * doc/as.texinfo: Add TI C6X documentation.  Include c-tic6x.texi.
518         * doc/c-tic6x.texi: New.
520 2010-03-22  H.J. Lu  <hongjiu.lu@intel.com>
522         * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
524 2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
526         * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
527         with operand_size_mismatch.
528         (operand_size_match): Updated.
529         (match_template): Likewise.
531 2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
533         * config/tc-i386.c (i386_error): New.
534         (_i386_insn): Replace err_msg with error.
535         (operand_size_match): Set error instead of err_msg on failure.
536         (operand_type_match): Likewise.
537         (operand_type_register_match): Likewise.
538         (VEX_check_operands): Likewise.
539         (match_template): Likewise.  Use error instead of err_msg with
540         as_bad.
542 2010-03-19  Jie Zhang  <jie@codesourcery.com>
544         * config/tc-arm.c (make_mapping_symbol): Hanle the case
545         that two mapping symbols have the same value.
547 2010-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
549         * doc/c-arm.texi (.setfp): Correct example.
551 2010-03-18  Wei Guozhi  <carrot@google.com>
553         PR gas/11323
554         * config/tc-arm.c (reloc_names): New relocation names.
555         (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
556         (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
557         * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
559 2010-03-15  Thomas Schwinge  <thomas@codesourcery.com>
561         * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
562         cases, and not only for .eh_frame.
564         * dw2gencfi.c (output_cie): Make it more explicit which code paths
565         belong to .eh_frame only.
567 2010-03-13  Segher Boessenkool  <segher@kernel.crashing.org>
569         * config/tc-v850.c (v850_insert_operand): Handle out-of-range
570         assembler constants on 64-bit hosts.
572 2010-03-10  Mike Frysinger  <michael.frysinger@analog.com>
574         * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
575         Strip trailing whitespace.
577 2010-03-10  Mike Frysinger  <michael.frysinger@analog.com>
579         * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
580         * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
581         BFIN_CPU_BF506.
582         (bfin_cpus[]): Add 0.0 for bf504 and bf506.
584 2010-03-10  Jie Zhang  <jie@codesourcery.com>
586         * doc/as.texinfo: Add Blackfin options.
587         * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
588         * config/tc-bfin.c (md_show_usage): Show usage for all
589         Blackfin specific options.
591 2010-03-09  Alan Modra  <amodra@gmail.com>
593         PR gas/11356
594         * listing.c (listing_newline): Correct backslash quote logic.
596 2010-03-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
598         * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
599         (ELF_TARGET_FORMAT64): Define.
601 2010-03-05  Paul Brook  <paul@codesourcery.com>
603         * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
605 2010-03-02  Andrew Stubbs  <ams@codesourcery.com>
607         * config/tc-sh.c (get_specific): Move overflow checking code to avoid
608         reading uninitialized data.
610 2010-03-01  Tristan Gingold  <gingold@adacore.com>
612         * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
614 2010-02-26  Doug Evans  <dje@sebabeach.org>
616         * configure.tgt: Fix mep cpu case.
618 2010-02-26  Jie Zhang  <jie@codesourcery.com>
620         * config/tc-arm.c (do_t_strexd): Remove
621         operand[1] != operand[2] contraint.
623 2010-02-26  Jie Zhang  <jie@codesourcery.com>
625         * config/tc-arm.c (neon_select_shape): No need to match
626         the remaining operands in the shape when one operand does
627         not match.
629 2010-02-26  Jie Zhang  <jie@codesourcery.com>
631         * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
632         alignment.
634 2010-02-25  Doug Evans  <dje@sebabeach.org>
636         * cgen.c: Whitespace fixes.
637         (weak_operand_overflow_check): Formatting fix.
639 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
641         * config/tc-i386.c (match_template): Update error messages.
643 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
645         * config/tc-i386.c (_i386_insn): Add err_msg.
646         (operand_size_match): Set err_msg on failure.
647         (operand_type_match): Likewise.
648         (operand_type_register_match): Likewise.
649         (VEX_check_operands): Likewise.
650         (match_template): Likewise.  Use i.err_msg with as_bad.
652 2010-02-25  Wu Zhangjin <wuzhangjin@gmail.com>
654         * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
655         mips_fix_loongson2f_jump): New variables.
656         (md_longopts): Add New options -mfix-loongson2f-nop/jump,
657         -mno-fix-loongson2f-nop/jump.
658         (md_parse_option): Initialize variables via above options.
659         (options): New enums for the above options.
660         (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
661         (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
662         New functions.
663         (append_insn): call fix_loongson2f().
664         (mips_handle_align): Replace the implicit nops.
665         * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
666         for the new mips_handle_align().
667         * doc/c-mips.texi: Document the new options.
669 2010-02-23  Daniel Gutson  <dgutson@codesourcery.com>
671         * config/tc-arm.c (do_rd_rm_rn): Added warning
672         for obsolete insns.
674 2010-02-23  Andrew Zabolotny  <anpaza@mail.ru>
676         PR binutils/11297
677         * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
678         (avr_cons_fix_new): Handle fixups of a single byte.
680 2010-02-22  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
682         PR 9861
683         * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
684         compiler's predefines.
686 2010-02-19  Alan Modra  <amodra@gmail.com>
688         * configure.tgt: Whiltespace.  Sort moxie entry.
690 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
692         * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
693         * doc/c-arm.texi: Likewise.
695 2010-02-12  Daniel Gutson <dgutson@codesourcery.com>
697         * config/tc-arm.c (asm_opcode): operands type
698         change.
699         (BAD_PC_ADDRESSING): New macro message.
700         (BAD_PC_WRITEBACK): Likewise.
701         (MIX_ARM_THUMB_OPERANDS): New macro.
702         (operand_parse_code): Added enum values.
703         (parse_operands): Added thumb/arm distinction,
704         plus new enum values handling.
705         (encode_arm_addr_mode_2): Validations enhanced.
706         (encode_arm_addr_mode_3): Likewise.
707         (do_rm_rd_rn): Likewise.
708         (encode_thumb32_addr_mode): Likewise.
709         (do_t_ldrex): Likewise.
710         (do_t_ldst): Likewise.
711         (do_t_strex): Likewise.
712         (md_assemble): Call parse_operands with
713         a new parameter.
714         (OPS_1): New macro.
715         (OPS_2): Likewise.
716         (OPS_3): Likewise.
717         (OPS_4): Likewise.
718         (OPS_5): Likewise.
719         (OPS_6): Likewise.
720         (insns): Updated insns operands.
722 2010-02-12  Tristan Gingold  <gingold@adacore.com>
723             Douglas B Rupp  <rupp@gnat.com>
725         * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
726         (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
727         (pseudo_func): Add an entry for slotcount.
728         (md_begin): Initialize slotcount pseudo symbol.
729         (ia64_parse_name): Handle @slotcount parameter.
730         (ia64_gen_real_reloc_type): Handle slotcount.
731         (md_apply_fix): Ditto.
732         * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
734 2010-02-11  Sterling Augustine  <sterling@jaw.hq.tensilica.com>
736         * config/tc-xtensa.c (istack_init): Don't call memset.
738 2010-02-11  Sterling Augustine  <sterling@tensilica.com>
740         * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
741         well as suffixes.
743 2010-02-11  Sterling Augustine  <sterling@tensilica.com>
745         * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
747 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
749         * config/tc-i386.c (build_modrm_byte): Reformat.
751 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
753         * config/tc-i386.c: Update copyright.
755 2010-02-10  Quentin Neill  <quentin.neill@amd.com>
756             Sebastian Pop  <sebastian.pop@amd.com>
758         * config/tc-i386.c (vec_imm4) New operand type.
759         (fits_in_imm4): New.
760         (VEX_check_operands): New.
761         (check_reverse): Call VEX_check_operands.
762         (build_modrm_byte): Reintroduce code for 5
763         operand insns.  Fix whitespace.
765 2010-02-10  Richard Sandiford  <r.sandiford@uk.ibm.com>
767         * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
768         -mpwr6 and -mpwr7.
770 2010-02-09  Sterling Augustine  <sterling@tensilica.com>
772         * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
773         (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
774         (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
776 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
778         * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
779         non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
780         BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
781         BFD_RELOC_ARM_PCREL_CALL)
783 2010-02-08  Sterling Augustine  <sterling@tensilica.com>
785         * config/tc-xtensa.c (frag_format_size): Generalize logic to
786         handle more instruction sizes and fetch widths.
787         (branch_align_power): Likewise.
788         (text_align_power): Likewise.
789         (bytes_to_stretch): Likewise.
791 2010-02-08  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
793         * config/tc-ppc.c (md_show_usage): Mention -mtitan.  Don't use tabs.
794         (ppc_mach): Handle titan.
795         * doc/c-ppc.texi: Mention -mtitan.
797 2010-02-05  Sterling Augustine  <sterling@tensilica.com>
799         * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
800         replace with...
801         (xtensa_fetch_width) ...this.
803 2010-02-05  Joseph Myers  <joseph@codesourcery.com>
805         * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
806         MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
807         * Makefile.in: Regenerate.
809 2010-02-03  Quentin Neill  <quentin.neill@amd.com>
811         * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
812         (i386_align_code): Rename  PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
813         * config/tc-i386.h (processor_type): Same.
814         * doc/c-i386.texi: Change amdfam15 to bdver1.
816 2010-01-29  Nick Clifton  <nickc@redhat.com>
818         PR 11136
819         * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
820         NS_NULL.
822 2010-01-27  Dave Korn  <dave.korn.cygwin@gmail.com>
824         * NEWS: Mention new feature.
825         * config/obj-coff.c (obj_coff_section): Accept digits and use
826         to override default section alignment power if specified.
827         * doc/as.texinfo (.section directive): Update documentation.
829 2010-01-27  H.J. Lu  <hongjiu.lu@intel.com>
831         * config/tc-i386.c (avxscalar): New.
832         (OPTION_MAVXSCALAR): Likewise.
833         (build_vex_prefix): Select vector_length for scalar instructions
834         based on avxscalar.
835         (md_longopts): Add OPTION_MAVXSCALAR.
836         (md_parse_option): Handle OPTION_MAVXSCALAR.
837         (md_show_usage): Add -mavxscalar=.
839         * doc/c-i386.texi: Document -mavxscalar=.
841 2010-01-24  H.J. Lu  <hongjiu.lu@intel.com>
843         * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
844         0xc4 individually.
846 2010-01-23  Richard Sandiford  <r.sandiford@uk.ibm.com>
848         * write.h (fix_at_start): Declare.
849         * write.c (fix_new_internal): Add at_beginning parameter.
850         Use it instead of REVERSE_SORT_RELOCS.  Fix the handling of
851         seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
852         (fix_new, fix_new_exp): Update accordingly.
853         (fix_at_start): New function.
854         * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
855         (ppc_ref): New function, for OBJ_XCOFF.
856         (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
857         * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
859 2010-01-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
861         * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
862         on 64-bit Solaris/x86.
863         Include obj-format.h earlier.
865 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
867         * config/tc-s390.c (s390_elf_final_processing): New function.
868         * config/tc-s390.h (elf_tc_final_processing): New macro definition.
869         (s390_elf_final_processing): Added prototype.
872 2010-01-20  Nick Clifton  <nickc@redhat.com>
874         PR 11109
875         * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1.  Add
876         code to handle round-to-zero for VCVT conversions.
877         (do_neon_cvt): New.  Call do_neon_cvt_1.
878         (do_neon_cvtr): New.  Call do_neon_cvt_1.
879         (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
880         insn.
882 2010-01-18  Tristan Gingold  <gingold@adacore.com>
884         * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
886 2010-01-15  Sebastian Pop  <sebastian.pop@amd.com>
888         * config/tc-i386.c (md_assemble): Before accessing the IMM field
889         check that it's not an XOP insn.
891 2010-01-14  Jie Zhang  <jie.zhang@analog.com>
893         * config/bfin-aux.h: Remove argument names in function
894         declarations.
895         * config/bfin-lex.l (parse_int): Fix shadowed variable name
896         warning.
897         * config/bfin-parse.y (value_match): Remove argument names
898         in declaration.
899         (notethat): Likewise.
900         (yyerror): Likewise.
902 2010-01-13  Daniel Jacobowitz  <dan@codesourcery.com>
904         * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
906 2010-01-13  Nick Clifton  <nickc@redhat.com>
908         * config/tc-h8300.c (h8300_elf_section): New function - issue a
909         warning message if a new section is created without setting any
910         attributes for it.
911         (md_pseudo_table): Intercept section creation pseudos.
912         (md_pcrel_from): Replace abort with an error message.
913         * config/obj-elf.c (obj_elf_section_name): Export this function.
914         * config/obj-elf.h (obj_elf_section_name): Prototype.
916 2010-01-12  Alan Modra  <amodra@gmail.com>
918         PR 11122
919         * listing.c (print_source): Add one to line number.
921 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
923         * Makefile.in: Regenerate.
924         * configure: Regenerate.
925         * doc/Makefile.in: Regenerate.
927 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
929         * version.c (parse_args): Change to "Copyright 2010".
931 2010-01-06  Quentin Neill  <quentin.neill@amd.com>
933         * config/tc-i386.c (cpu_arch): Add amdfam15.
934         (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
935         * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
936         * doc/c-i386.texi: Add amdfam15.
938 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
940         * config/tc-arm.c (do_neon_logic): Accept imm value
941         in the third operand too.
942         (operand_parse_code): OP_RNDQ_IMVNb renamed to
943         OP_RNDQ_Ibig.
944         (parse_operands): OP_NILO case removed, applied renaming.
945         (insns): Neon shape changed for some logic instructions.
947 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
949         * config/tc-arm.c (do_neon_ldx_stx): Added
950         validation for vector load/store insns.
952 2010-01-04  Edmar Wienskoski  <edmar@freescale.com>
954         * config/tc-ppc.c (md_show_usage): Document -me500mc64.
956 2010-01-03  Daniel Gutson  <dgutson@codesourcery.com>
958         * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
959         (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
960         (NEON_ENCODE): New macro.
961         (check_neon_suffixes): New macro.
962         (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
963         (do_vfp_nsyn_opcode): Likewise.
964         (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
965         (do_vfp_nsyn_cmp): Likewise.
966         (do_neon_shl_imm): Likewise.
967         (do_neon_qshl_imm): Likewise.
968         (neon_dyadic_misc): Likewise.
969         (do_neon_mac_maybe_scalar): Likewise.
970         (do_neon_qdmulh): Likewise.
971         (do_neon_qmovn): Likewise.
972         (do_neon_qmovun): Likewise.
973         (do_neon_movn): Likewise.
974         (neon_mac_reg_scalar_long): Likewise.
975         (do_neon_vmull): Likewise.
976         (do_neon_trn): Likewise.
977         (do_neon_ldx_stx): Likewise.
978         (neon_dp_fixup): Changed signature and set the flag.
979         (neon_three_same): Call the above with new signature.
980         (neon_two_same): Likewise.
981         (neon_imm_shift): Likewise.
982         (neon_mul_mac): Likewise.
983         (do_neon_abs_neg): Likewise.
984         (neon_mixed_length): Likewise.
985         (do_neon_ext): Likewise.
986         (do_neon_mov): Likewise.
987         (do_neon_tbl_tbx): Likewise.
988         (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
989         (neon_compare): Likewise.
990         (do_neon_shll): Likewise.
991         (do_neon_cvt): Likewise.
992         (do_neon_mvn): Likewise.
993         (do_neon_dup): Likewise.
994         (md_assemble): Call check_neon_suffixes ().
996 For older changes see ChangeLog-2009
998 Local Variables:
999 mode: change-log
1000 left-margin: 8
1001 fill-column: 74
1002 version-control: never
1003 End: