Remove CONFIG_OBJS, GENERIC_OBJS and OBJS.
[binutils.git] / gas / ChangeLog
blobc447b221ddbea13815f1184f503d7765c256d0c3
1 2010-07-04  H.J. Lu  <hongjiu.lu@intel.com>
3         * Makefile.am (CONFIG_OBJS): Removed.
4         (GENERIC_OBJS): Likewise.
5         (OBJS): Likewise.
6         * Makefile.in: Regenerated.
8 2010-07-03  Jan Beulich  <jbeulich@novell.com>
10         PR gas/11732
11         * config/tc-i386.c (i386_finalize_displacement): Don't call
12         section_symbol() with expr_section.
14 2010-07-03  Cary Coutant  <ccoutant@google.com>
16         * Makefile.am: Add compress-debug.c and compress-debug.h.
17         * Makefile.in: Regenerate.
18         * config.in: Add HAVE_ZLIB_H.
19         * configure.in: Check for zlib.h.
20         * configure: Regenerate.
22         * as.c (parse_args): Add --compress-debug-sections and
23         --nocompress-debug-sections.
24         * as.h (flag_compress_debug): New variable.
25         * compress-debug.c: New file.
26         * compress-debug.h: New file.
27         * write.c: Include compress-debug.h.
28         (compress_frag): New function.
29         (compress_debug): New function.
30         (write_object_file): Compress debug sections if requested.
32 2010-07-03  Andreas Schwab  <schwab@linux-m68k.org>
34         * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
35         before inverting.
37 2010-07-03  Alan Modra  <amodra@gmail.com>
39         * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
40         (ppc_setup_opcodes): Likewise.  Simplify opcode selection.
42 2010-07-02  DJ Delorie  <dj@redhat.com>
44         * config/tc-rx.h (md_do_align): New.
45         (MAX_MEM_FOR_RS_ALIGN_CODE): New.
46         * config/tc-rx.c (nops): New.
47         (rx_handle_align): Use various sized nops to align code.
49         * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
50         relaxation.
51         (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
53 2010-07-01  H.J. Lu  <hongjiu.lu@intel.com>
55         AVX Programming Reference (June, 2010)
56         * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
57         and .f16c.
59         * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
61 2010-07-01  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
63         * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
64         deprecated mov register instructions.
66 2010-07-01  Alan Modra  <amodra@gmail.com>
68         * config/tc-ppc.c (toc_reloc_types): New variable.
69         (md_assemble): Set it.
70         (ppc_frob_file_before_adjust): Don't warn about toc section size
71         if we have large toc relocs and no small toc relocs.
73 2010-06-29  Alan Modra  <amodra@gmail.com>
75         * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
76         unused variable.
78 2010-06-29  Alan Modra  <amodra@gmail.com>
80         * config/tc-maxq.h: Delete file.
81         * config/tc-maxq.c: Delete file.
82         * Makefile.am: Remove references to maxq.
83         * configure.tgt: Likewise.
84         * config/obj-coff.h: Likewise.
85         * Makefile.in: Regenerate.
86         * configure: Regenerate.
87         * po/POTFILES.in: Regenerate.
89 2010-06-28  Alan Modra  <amodra@gmail.com>
91         * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
92         * config/tc-crx.c (gettrap): Constify arg.
93         (handle_LoadStor, get_cinv_parameters): Likewise.
94         (getreg_image): Fix enum warning
95         (md_assemble): Restore input line char.
96         * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
97         * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
98         * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
99         (build_Mytes): Fix build failure for non-elf targets.
100         * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
101         * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
103         * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
104         * ecoff.c (add_ecoff_symbol): Likewise.
105         * itbl-ops.c (append_insns_as_macros): Likewise.
106         * listing.c (debugging_pseudo): Likewise.
107         * read.c (s_mri_common, stringer): Likewise.
108         * config/obj-coff.c (coff_frob_section): Likewise.
109         * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
110         * config/tc-arm.c (my_get_expression): Likewise.
111         * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
112         * config/tc-m32c.c (md_assemble): Likewise.
113         * config/tc-microblaze.c (md_convert_frag): Likewise.
114         * config/tc-mips.c (s_change_section): Likewise.
115         * config/tc-mt.c (mt_fix_adjustable): Likewise.
116         * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
118         * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
119         unused vars.
120         * config/tc-alpha.c (load_expression): Likewise.
121         (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
122         * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
123         * config/tc-avr.c (extract_word): Likewise.
124         * config/tc-cris.c (cris_get_expression): Likewise.
125         * config/tc-d30v.c (build_insn, find_format): Likewise.
126         * config/tc-dlx.c (machine_ip): Likewise.
127         * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
128         * config/tc-i370.c (md_assemble): Likewise.
129         * config/tc-i960.c (brtab_emit): Likewise.
130         * config/tc-iq2000.c (s_iq2000_ent): Likewise.
131         * config/tc-m32c.c (md_convert_frag): Likewise.
132         * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
133         (md_estimate_size_before_relax, md_apply_fix): Likewise.
134         * config/tc-m68k.c (md_show_usage): Likewise.
135         * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
136         * config/tc-mips.c (s_mips_end): Likewise.
137         * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
138         * config/tc-mn10300.c (md_assemble): Likewise.
139         * config/tc-msp430.c (extract_word): Likewise.
140         * config/tc-mt.c (md_assemble): Likewise.
141         * config/tc-or32.c (machine_ip): Likewise.
142         * config/tc-pj.c (md_apply_fix): Likewise.
143         * config/tc-s390.c (md_gather_operands): Likewise.
144         * config/tc-sh.c (sh_cons_align): Likewise.
145         * config/tc-sparc.c (sparc_cons_align): Likewise.
146         * config/tc-tic4x.c (tic4x_sect): Likewise.
147         * config/tc-tic54x.c (tic54x_stringer): Likewise.
148         * config/tc-vax.c (vip_op): Likewise.
149         * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
150         * config/tc-xtensa.c (md_assemble): Likewise.
151         (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
152         (xtensa_move_literals): Likewise.
154 2010-06-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
156         * config/tc-arm.c (parse_neon_alignment): New function.
157         (parse_address_main): Fix Neon load/store alignment parsing.
159 2010-06-22  Jan Beulich  <jbeulich@novell.com>
161         PR gas/11732
162         * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
163         symbols named "$".
164         (i386_intel_operand): Remove bogus handling of pseudo symbols
165         named "$".
166         * expr.c (current_location): Remove 'static' and local
167         declaration.
168         * expr.h (current_location): Declare.
170 2010-06-21  Sterling Augustine  <sterling@tensilica.com>
172         PR gas/11728
173         * as.c: Globalize keep_it.
174         (main): Remove keep_it. Move conditional from here...
175         (close_output_file): ...to here.
177 2010-06-21  Andreas Schwab  <schwab@redhat.com>
179         * doc/as.texinfo (Overview): Use @itemx for grouped @table
180         items.
181         * doc/c-alpha.texi (Alpha Options): Likewise.
182         * doc/c-arm.texi (ARM Directives): Likewise.
183         * doc/c-bfin.texi (Blackfin Options): Likewise.
184         * doc/c-d10v.texi (D10V-Opts): Likewise.
185         * doc/c-i386.texi (i386-Options): Likewise.
186         * doc/c-ia64.texi (IA-64 Options): Likewise.
187         * doc/c-m68k.texi (M68K-Opts): Likewise.
188         * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
189         * doc/internals.texi (Symbols): Likewise.
191 2010-06-21  Alan Modra  <amodra@gmail.com>
193         PR gas/11733
194         * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
196 2010-06-18  Joseph Myers  <joseph@codesourcery.com>
198         * config/tc-tic6x.h (tic6x_segment_info_type): Add field
199         func_units_used.
200         * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
201         (md_assemble): Clear func_units_used for new execute packet.
202         Check for duplicate functional units and update func_units_used
203         for instructions using a functional unit.
205 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
207         * config/tc-tic6x.c: Include elf/tic6x.h.
208         (tic6x_arch_attribute, tic6x_seen_insns): New.
209         (tic6x_arch_table, tic6x_arches): Add attribute values.
210         (tic6x_use_arch): Handle attribute settings.
211         (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
212         tic6x_attribute_table, tic6x_attributes,
213         tic6x_convert_symbolic_attribute): New.
214         (md_pseudo_table): Add c6xabi_attribute.
215         (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
216         (tic6x_set_attribute_int, tic6x_set_attributes): New.
217         (tic6x_end): Call tic6x_set_attributes.
218         * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
219         (tic6x_convert_symbolic_attribute): Declare.
221 2010-06-14  Alan Modra  <amodra@gmail.com>
223         * config/tc-ppc.c (md_assemble): Emit APUinfo section for
224         PPC_OPCODE_E500.
226 2010-06-11  Jan Beulich  <jbeulich@novell.com>
228         * config/tc-i386.c (md_parse_option): Ignore impossible processor
229         types.
230         (show_arch): New parameter 'check'.
231         (md_show_usage): Adjust calls to show_arch().
233 2010-06-10  H.J. Lu  <hongjiu.lu@intel.com>
235         * config/tc-i386.c (update_code_flag): New.
236         (set_code_flag): Use it.
237         (i386_target_format): Replace set_code_flag with update_code_flag.
239 2010-06-10  Tristan Gingold  <gingold@adacore.com>
241         * config/obj-som.h: Includes som/reloc.h
243 2010-06-10  Jan Beulich  <jbeulich@novell.com>
245         * config/tc-i386.c (cpu_arch): Add comment.
246         (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
247         from the generic entries of cpu_arch[].
249 2010-06-08  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
251         * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
252         value.
253         (parse_operands): Add support for OP_RRnpctw.
254         (insns): Update floating-point load/store multiples so the
255         first register is of type OP_RRnpctw.
257 2010-06-08  Quentin Neill  <quentin.neill@amd.com>
259         * config/tc-i386.c (pi): Rename local loop counter
260         variable i that shadows global static i386_insn i
261         when DEBUG386 is defined.
262         (pte) Ditto.
264 2010-06-08  Nick Clifton  <nickc@redhat.com>
266         * doc/as.texinfo: Replace abbreviated 20th century year numbers
267         with full versions.
269 2010-06-02  Quentin Neill  <quentin.neill@amd.com>
271         * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
273 2010-06-02  Tristan Gingold  <gingold@adacore.com>
275         * as.h: Remove conditionnal definition of HAVE_STDARG_H,
276         USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
277         Remove conditionnal inclusion of stdarg.h and varargs.h.
278         Assume ISO C.
279         * config.in: Regenerate.
280         * configure: Regenerate.
281         * configure.in: Remove stdarg.h and varargs.h from
282         AC_CHECK_HEADERS list.
283         * messages.c (as_tsktsk): Remove non ISO C version.
284         (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
286 2010-05-31  Tristan Gingold  <gingold@adacore.com>
288         * config/tc-alpha.c: Add comments for evax.
289         * config/obj-evax.c: Ditto.
291 2010-05-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
293         * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
294         lsls and not adds.
296 2010-05-27  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
298         * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
299         writeback when base register is in register list an error, and
300         correct check.
301         (do_t_ldmstm): Change warnings.
303 2010-05-26  Catherine Moore  <clm@codesourcery.com>
305         * config/tc-mips.c (is_opcode_valid): Remove expansionp.
306         (macro_build): Change invocation of is_opcode_valid.
307         (mips_ip): Likewise.
309 2010-05-25  Nick Clifton  <nickc@redhat.com>
311         * Makefile.am (MOSTLYCLEANFILES): Fix typo.
312         * Makefile.in: Regenerate.
314 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
315             Joseph Myers  <joseph@codesourcery.com>
316             Andrew Stubbs  <ams@codesourcery.com>
318         * config/tc-sh.c (sh_fdpic): New.
319         (sh_check_fixup): Handle relocations on movi20.
320         (parse_exp): Do not reject PIC operators here.
321         (build_Mytes): Check for unhandled PIC operators here.  Use
322         sh_check_fixup for movi20.
323         (enum options): Add OPTION_FDPIC.
324         (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
325         (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
326         (sh_elf_final_processing): Handle --fdpic.
327         (sh_uclinux_target_format): New.
328         (sh_parse_name): Handle FDPIC relocation operators.
329         * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
330         (sh_uclinux_target_format): Declare for TE_UCLINUX.
331         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
332         em=uclinux.
333         * doc/c-sh.texi (SH Options): Document --fdpic.
335 2010-05-25  Jay Krell  <jay.krell@cornell.edu>
337         PR ld/11621
338         * Makefile.am: Replace all occurences of .o with .@OBJEXT@
339         * Makefile.in: Regenerate.
341 2010-05-25  Alan Modra  <amodra@gmail.com>
343         * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
345 2010-05-19  Nick Clifton  <nickc@redhat.com>
347         * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
348         of known section prefixes.
350 2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
352         PR gas/11600
353         * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
354         (obj_elf_parse_section_letters): Likewise.
355         (obj_elf_section_word): Likewise.
357         * config/tc-ppc.c (ppc_section_letter): Removed.
358         (ppc_section_word): Likewise.
359         * config/tc-ppc.h (ppc_section_letter): Likewise.
360         (ppc_section_word): Likewise.
361         (md_elf_section_letter): Likewise.
362         (md_elf_section_word): Likewise.
364         * doc/as.texinfo: Document `e' and `#exclude'.
366 2010-05-13  Nathan Sidwell  <nathan@codesourcery.com>
368         * config/tc-arm.c (md_assemble): Clarify current mode in error
369         messages about unsupported instructions.
370         (UT): Delete #define.
371         (insns): Adjust cbnz, cbz appropriately.
373 2010-05-11  Andrew Stubbs  <ams@codesourcery.com>
375         * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
377 2010-05-11  Jie Zhang  <jie@codesourcery.com>
379         * config/tc-arm.c (aeabi_set_public_attributes): Set
380         Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
382 2010-05-07  Tristan Gingold  <gingold@adacore.com>
384         * Makefile.in: Regenerate with automake 1.11.1.
385         * aclocal.m4: Ditto.
386         * doc/Makefile.in: Ditto.
388 2010-05-05  Nick Clifton  <nickc@redhat.com>
390         * po/es.po: Updated Spanish translation.
392 2010-05-05  Julian Brown  <julian@codesourcery.com>
394         * read.c (cons_worker): Detect and reject unexpected string argument.
396 2010-05-04  Nick Clifton  <nickc@redhat.com>
398         * write.c (fixup_segment): Revert previous delta.
399         * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
400         generation of relocations for fixups against weak symbols.
402 2010-04-29  Nathan Sidwell  <nathan@codesourcery.com>
404         * write.c (fixup_segment): Do not assume we know the section a
405         defined weak symbol is in.
406         * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
407         weak symbols as not known to be in the same section, even if they
408         are defined.
410 2010-04-27  Joseph Myers  <joseph@codesourcery.com>
412         * config/tc-tic6x.h (tic6x_label_list): New.
413         (tic6x_segment_info_type): Keep a list of labels and a current
414         frag instead of a boolean for whether labels seen and a count of
415         instructions.
416         (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
417         md_do_align, tic6x_do_align, md_end, tic6x_end): New.
418         * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
419         (tic6x_cleanup): Correct comment.
420         (tic6x_free_label_list): New.
421         (tic6x_cons_align): Free label list and update for
422         tic6x_segment_info_type changes.
423         (tic6x_do_align): New.
424         (md_assemble): Handle list of labels and saved frag for execute
425         packet.  Create machine-dependent frag for new execute packet and
426         adjust labels accordingly.
427         (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
428         (md_convert_frag, md_estimate_size_before_relax): Update comments.
430 2010-04-24  H.J. Lu  <hongjiu.lu@intel.com>
432         PR gas/11535
433         * config/tc-i386-intel.c (intel_state): Add is_indirect.
434         (i386_intel_operand): Initialize intel_state.is_indirect.  Check
435         intel_state.is_indirect for "call|jmp [symbol]".
437 2010-04-22  Nick Clifton  <nickc@redhat.com>
439         * po/gas.pot: Updated by the Translation project.
441 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
443         * config/tc-i386.c (i386_is_register): Removed.
444         (x86_cons): Don't use i386_is_register.
445         (parse_register): Likewise.
446         * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
447         (i386_intel_operand): Likewise.
449 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
451         * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
452         i386_is_register.
454 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
456         * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
457         (x86_cons): Updated.
458         (parse_register): Likewise.
459         (tc_x86_parse_to_dw2regnum): Likewise.
460         * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
461         (i386_intel_operand): Likewise.
463 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
465         PR gas/11509
466         * config/tc-i386-intel.c (i386_intel_simplify_register): New.
467         (i386_intel_simplify): Use i386_is_register and
468         i386_intel_simplify_register. Set X_md for O_register and
469         check X_md for O_constant.
470         (i386_intel_operand): Use i386_is_register.
472         * config/tc-i386.c (i386_is_register): New.
473         (x86_cons): Initialize the X_md field.  Use i386_is_register.
474         (parse_register): Use i386_is_register.
475         (tc_x86_parse_to_dw2regnum): Likewise.
477 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
479         * expr.c (expr): Initialize the X_md field.
481 2010-04-20  Joseph Myers  <joseph@codesourcery.com>
483         * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
484         (md_longopts): Add -mgenerate-rel.
485         (tic6x_generate_rela): New.
486         (md_parse_option): Handle -mgenerate-rel.
487         (md_show_usage): Add comment that -mgenerate-rel is undocumented.
488         (tic6x_init_after_args): New.
489         (md_apply_fix): Correct shift calculations for SB-relative
490         relocations.
491         (md_pcrel_from): Change to tic6x_pcrel_from_section.  Do not
492         adjust addresses for relocations referencing symbols in other
493         sections.
494         (tc_gen_reloc): Adjust addend calculations for REL relocations.
495         * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
496         tic6x_pcrel_from_section, tc_init_after_args,
497         tic6x_init_after_args): New.
499 2010-04-20  Nick Clifton  <nickc@redhat.com>
501         PR gas/11507
502         * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
503         altmacro mode if found inside a quoted string.
505 2010-04-20  Mike Frysinger  <vapier@gentoo.org>
507         * config/bfin-lex.l (parse_int): Change index() to strchr().
509 2010-04-16  Nick Clifton  <nickc@redhat.com>
511         PR gas/11395
512         * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
513         matcher to accept and unconditional 32-bit add instruction.
514         (pa_build_unwind_subspace): Cope with error conditions not
515         allowing the start symbol to be set.
517 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
519         * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
520         new tag names in v2.08 of ARM ABI.
521         * doc/c-arm.texi: Document new tag names in ABI.
523 2010-04-14  Tristan Gingold  <gingold@adacore.com>
525         * config/tc-alpha.c: Includes vms/egps.h on EVAX.
526         (s_alpha_comm): Used new EGPS macros from egps.h
527         (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
528         (s_alpha_section_word): Add comments.  Use new EGPS macros.
529         Adjust for modified bfd_vms_set_section_flags function.
531 2010-04-10  Alan Modra  <amodra@gmail.com>
533         PR gas/11486
534         * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
536 2010-04-09  Nick Clifton  <nickc@redhat.com>
538         * as.c (create_obj_attrs_section): Remove unused variable addr.
539         * listing.c (listing_listing): Remove unused variable message.
540         * read.c: Remove unnecessary register type qualifiers.
541         (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
542         defined.
544 2010-04-07  Eric B. Weddington  <eric.weddington@atmel.com>
546         * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
547         atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
548         atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
549         atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
550         atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
551         atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
552         atmega88pa, attiny461a, attiny84a, m3000.
553         Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
554         atmega8hvd, attiny327, m3000f, m3000s, m3001b.
555         * doc/c-avr.texi: Same.
557 2010-04-07  Jie Zhang  <jie@codesourcery.com>
559         * config/tc-arm.c (make_mapping_symbol): Handle the case
560         that multiple mapping symbols have the same value 0.
562 2010-04-07  Alan Modra  <amodra@gmail.com>
564         * configure: Regenerate.
566 2010-04-06  Nick Clifton  <nickc@redhat.com>
568         * po/ru.po: New Russian translation.
569         * configure.in (ALL_LINGUAS): Add ru.
570         * configure: Regenerate.
572 2010-03-30  H.J. Lu  <hongjiu.lu@intel.com>
574         PR gas/11456
575         * input-scrub.c (input_scrub_next_buffer): Use memmove instead
576         of memcpy to copy overlap memory.
578 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
580         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
581         (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
582         * Makefile.in: Regenerate.
583         * NEWS: Add news entry for TI C6X support.
584         * app.c (do_scrub_chars): Handle "||^" for TI C6X.  Handle
585         TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR.  Keep spaces in
586         operands if TC_KEEP_OPERAND_SPACES.
587         * configure.tgt (tic6x-*-*): New.
588         * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
589         TC_PREDICATE_END_CHAR): Define.
590         * config/tc-tic6x.c, config/tc-tic6x.h: New.
591         * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
592         * doc/Makefile.in: Regenerate.
593         * doc/all.texi (TIC6X): Define.
594         * doc/as.texinfo: Add TI C6X documentation.  Include c-tic6x.texi.
595         * doc/c-tic6x.texi: New.
597 2010-03-22  H.J. Lu  <hongjiu.lu@intel.com>
599         * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
601 2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
603         * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
604         with operand_size_mismatch.
605         (operand_size_match): Updated.
606         (match_template): Likewise.
608 2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
610         * config/tc-i386.c (i386_error): New.
611         (_i386_insn): Replace err_msg with error.
612         (operand_size_match): Set error instead of err_msg on failure.
613         (operand_type_match): Likewise.
614         (operand_type_register_match): Likewise.
615         (VEX_check_operands): Likewise.
616         (match_template): Likewise.  Use error instead of err_msg with
617         as_bad.
619 2010-03-19  Jie Zhang  <jie@codesourcery.com>
621         * config/tc-arm.c (make_mapping_symbol): Hanle the case
622         that two mapping symbols have the same value.
624 2010-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
626         * doc/c-arm.texi (.setfp): Correct example.
628 2010-03-18  Wei Guozhi  <carrot@google.com>
630         PR gas/11323
631         * config/tc-arm.c (reloc_names): New relocation names.
632         (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
633         (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
634         * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
636 2010-03-15  Thomas Schwinge  <thomas@codesourcery.com>
638         * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
639         cases, and not only for .eh_frame.
641         * dw2gencfi.c (output_cie): Make it more explicit which code paths
642         belong to .eh_frame only.
644 2010-03-13  Segher Boessenkool  <segher@kernel.crashing.org>
646         * config/tc-v850.c (v850_insert_operand): Handle out-of-range
647         assembler constants on 64-bit hosts.
649 2010-03-10  Mike Frysinger  <michael.frysinger@analog.com>
651         * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
652         Strip trailing whitespace.
654 2010-03-10  Mike Frysinger  <michael.frysinger@analog.com>
656         * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
657         * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
658         BFIN_CPU_BF506.
659         (bfin_cpus[]): Add 0.0 for bf504 and bf506.
661 2010-03-10  Jie Zhang  <jie@codesourcery.com>
663         * doc/as.texinfo: Add Blackfin options.
664         * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
665         * config/tc-bfin.c (md_show_usage): Show usage for all
666         Blackfin specific options.
668 2010-03-09  Alan Modra  <amodra@gmail.com>
670         PR gas/11356
671         * listing.c (listing_newline): Correct backslash quote logic.
673 2010-03-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
675         * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
676         (ELF_TARGET_FORMAT64): Define.
678 2010-03-05  Paul Brook  <paul@codesourcery.com>
680         * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
682 2010-03-02  Andrew Stubbs  <ams@codesourcery.com>
684         * config/tc-sh.c (get_specific): Move overflow checking code to avoid
685         reading uninitialized data.
687 2010-03-01  Tristan Gingold  <gingold@adacore.com>
689         * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
691 2010-02-26  Doug Evans  <dje@sebabeach.org>
693         * configure.tgt: Fix mep cpu case.
695 2010-02-26  Jie Zhang  <jie@codesourcery.com>
697         * config/tc-arm.c (do_t_strexd): Remove
698         operand[1] != operand[2] contraint.
700 2010-02-26  Jie Zhang  <jie@codesourcery.com>
702         * config/tc-arm.c (neon_select_shape): No need to match
703         the remaining operands in the shape when one operand does
704         not match.
706 2010-02-26  Jie Zhang  <jie@codesourcery.com>
708         * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
709         alignment.
711 2010-02-25  Doug Evans  <dje@sebabeach.org>
713         * cgen.c: Whitespace fixes.
714         (weak_operand_overflow_check): Formatting fix.
716 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
718         * config/tc-i386.c (match_template): Update error messages.
720 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
722         * config/tc-i386.c (_i386_insn): Add err_msg.
723         (operand_size_match): Set err_msg on failure.
724         (operand_type_match): Likewise.
725         (operand_type_register_match): Likewise.
726         (VEX_check_operands): Likewise.
727         (match_template): Likewise.  Use i.err_msg with as_bad.
729 2010-02-25  Wu Zhangjin <wuzhangjin@gmail.com>
731         * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
732         mips_fix_loongson2f_jump): New variables.
733         (md_longopts): Add New options -mfix-loongson2f-nop/jump,
734         -mno-fix-loongson2f-nop/jump.
735         (md_parse_option): Initialize variables via above options.
736         (options): New enums for the above options.
737         (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
738         (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
739         New functions.
740         (append_insn): call fix_loongson2f().
741         (mips_handle_align): Replace the implicit nops.
742         * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
743         for the new mips_handle_align().
744         * doc/c-mips.texi: Document the new options.
746 2010-02-23  Daniel Gutson  <dgutson@codesourcery.com>
748         * config/tc-arm.c (do_rd_rm_rn): Added warning
749         for obsolete insns.
751 2010-02-23  Andrew Zabolotny  <anpaza@mail.ru>
753         PR binutils/11297
754         * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
755         (avr_cons_fix_new): Handle fixups of a single byte.
757 2010-02-22  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
759         PR 9861
760         * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
761         compiler's predefines.
763 2010-02-19  Alan Modra  <amodra@gmail.com>
765         * configure.tgt: Whiltespace.  Sort moxie entry.
767 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
769         * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
770         * doc/c-arm.texi: Likewise.
772 2010-02-12  Daniel Gutson <dgutson@codesourcery.com>
774         * config/tc-arm.c (asm_opcode): operands type
775         change.
776         (BAD_PC_ADDRESSING): New macro message.
777         (BAD_PC_WRITEBACK): Likewise.
778         (MIX_ARM_THUMB_OPERANDS): New macro.
779         (operand_parse_code): Added enum values.
780         (parse_operands): Added thumb/arm distinction,
781         plus new enum values handling.
782         (encode_arm_addr_mode_2): Validations enhanced.
783         (encode_arm_addr_mode_3): Likewise.
784         (do_rm_rd_rn): Likewise.
785         (encode_thumb32_addr_mode): Likewise.
786         (do_t_ldrex): Likewise.
787         (do_t_ldst): Likewise.
788         (do_t_strex): Likewise.
789         (md_assemble): Call parse_operands with
790         a new parameter.
791         (OPS_1): New macro.
792         (OPS_2): Likewise.
793         (OPS_3): Likewise.
794         (OPS_4): Likewise.
795         (OPS_5): Likewise.
796         (OPS_6): Likewise.
797         (insns): Updated insns operands.
799 2010-02-12  Tristan Gingold  <gingold@adacore.com>
800             Douglas B Rupp  <rupp@gnat.com>
802         * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
803         (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
804         (pseudo_func): Add an entry for slotcount.
805         (md_begin): Initialize slotcount pseudo symbol.
806         (ia64_parse_name): Handle @slotcount parameter.
807         (ia64_gen_real_reloc_type): Handle slotcount.
808         (md_apply_fix): Ditto.
809         * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
811 2010-02-11  Sterling Augustine  <sterling@jaw.hq.tensilica.com>
813         * config/tc-xtensa.c (istack_init): Don't call memset.
815 2010-02-11  Sterling Augustine  <sterling@tensilica.com>
817         * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
818         well as suffixes.
820 2010-02-11  Sterling Augustine  <sterling@tensilica.com>
822         * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
824 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
826         * config/tc-i386.c (build_modrm_byte): Reformat.
828 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
830         * config/tc-i386.c: Update copyright.
832 2010-02-10  Quentin Neill  <quentin.neill@amd.com>
833             Sebastian Pop  <sebastian.pop@amd.com>
835         * config/tc-i386.c (vec_imm4) New operand type.
836         (fits_in_imm4): New.
837         (VEX_check_operands): New.
838         (check_reverse): Call VEX_check_operands.
839         (build_modrm_byte): Reintroduce code for 5
840         operand insns.  Fix whitespace.
842 2010-02-10  Richard Sandiford  <r.sandiford@uk.ibm.com>
844         * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
845         -mpwr6 and -mpwr7.
847 2010-02-09  Sterling Augustine  <sterling@tensilica.com>
849         * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
850         (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
851         (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
853 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
855         * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
856         non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
857         BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
858         BFD_RELOC_ARM_PCREL_CALL)
860 2010-02-08  Sterling Augustine  <sterling@tensilica.com>
862         * config/tc-xtensa.c (frag_format_size): Generalize logic to
863         handle more instruction sizes and fetch widths.
864         (branch_align_power): Likewise.
865         (text_align_power): Likewise.
866         (bytes_to_stretch): Likewise.
868 2010-02-08  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
870         * config/tc-ppc.c (md_show_usage): Mention -mtitan.  Don't use tabs.
871         (ppc_mach): Handle titan.
872         * doc/c-ppc.texi: Mention -mtitan.
874 2010-02-05  Sterling Augustine  <sterling@tensilica.com>
876         * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
877         replace with...
878         (xtensa_fetch_width) ...this.
880 2010-02-05  Joseph Myers  <joseph@codesourcery.com>
882         * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
883         MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
884         * Makefile.in: Regenerate.
886 2010-02-03  Quentin Neill  <quentin.neill@amd.com>
888         * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
889         (i386_align_code): Rename  PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
890         * config/tc-i386.h (processor_type): Same.
891         * doc/c-i386.texi: Change amdfam15 to bdver1.
893 2010-01-29  Nick Clifton  <nickc@redhat.com>
895         PR 11136
896         * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
897         NS_NULL.
899 2010-01-27  Dave Korn  <dave.korn.cygwin@gmail.com>
901         * NEWS: Mention new feature.
902         * config/obj-coff.c (obj_coff_section): Accept digits and use
903         to override default section alignment power if specified.
904         * doc/as.texinfo (.section directive): Update documentation.
906 2010-01-27  H.J. Lu  <hongjiu.lu@intel.com>
908         * config/tc-i386.c (avxscalar): New.
909         (OPTION_MAVXSCALAR): Likewise.
910         (build_vex_prefix): Select vector_length for scalar instructions
911         based on avxscalar.
912         (md_longopts): Add OPTION_MAVXSCALAR.
913         (md_parse_option): Handle OPTION_MAVXSCALAR.
914         (md_show_usage): Add -mavxscalar=.
916         * doc/c-i386.texi: Document -mavxscalar=.
918 2010-01-24  H.J. Lu  <hongjiu.lu@intel.com>
920         * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
921         0xc4 individually.
923 2010-01-23  Richard Sandiford  <r.sandiford@uk.ibm.com>
925         * write.h (fix_at_start): Declare.
926         * write.c (fix_new_internal): Add at_beginning parameter.
927         Use it instead of REVERSE_SORT_RELOCS.  Fix the handling of
928         seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
929         (fix_new, fix_new_exp): Update accordingly.
930         (fix_at_start): New function.
931         * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
932         (ppc_ref): New function, for OBJ_XCOFF.
933         (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
934         * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
936 2010-01-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
938         * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
939         on 64-bit Solaris/x86.
940         Include obj-format.h earlier.
942 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
944         * config/tc-s390.c (s390_elf_final_processing): New function.
945         * config/tc-s390.h (elf_tc_final_processing): New macro definition.
946         (s390_elf_final_processing): Added prototype.
949 2010-01-20  Nick Clifton  <nickc@redhat.com>
951         PR 11109
952         * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1.  Add
953         code to handle round-to-zero for VCVT conversions.
954         (do_neon_cvt): New.  Call do_neon_cvt_1.
955         (do_neon_cvtr): New.  Call do_neon_cvt_1.
956         (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
957         insn.
959 2010-01-18  Tristan Gingold  <gingold@adacore.com>
961         * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
963 2010-01-15  Sebastian Pop  <sebastian.pop@amd.com>
965         * config/tc-i386.c (md_assemble): Before accessing the IMM field
966         check that it's not an XOP insn.
968 2010-01-14  Jie Zhang  <jie.zhang@analog.com>
970         * config/bfin-aux.h: Remove argument names in function
971         declarations.
972         * config/bfin-lex.l (parse_int): Fix shadowed variable name
973         warning.
974         * config/bfin-parse.y (value_match): Remove argument names
975         in declaration.
976         (notethat): Likewise.
977         (yyerror): Likewise.
979 2010-01-13  Daniel Jacobowitz  <dan@codesourcery.com>
981         * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
983 2010-01-13  Nick Clifton  <nickc@redhat.com>
985         * config/tc-h8300.c (h8300_elf_section): New function - issue a
986         warning message if a new section is created without setting any
987         attributes for it.
988         (md_pseudo_table): Intercept section creation pseudos.
989         (md_pcrel_from): Replace abort with an error message.
990         * config/obj-elf.c (obj_elf_section_name): Export this function.
991         * config/obj-elf.h (obj_elf_section_name): Prototype.
993 2010-01-12  Alan Modra  <amodra@gmail.com>
995         PR 11122
996         * listing.c (print_source): Add one to line number.
998 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1000         * Makefile.in: Regenerate.
1001         * configure: Regenerate.
1002         * doc/Makefile.in: Regenerate.
1004 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1006         * version.c (parse_args): Change to "Copyright 2010".
1008 2010-01-06  Quentin Neill  <quentin.neill@amd.com>
1010         * config/tc-i386.c (cpu_arch): Add amdfam15.
1011         (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1012         * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1013         * doc/c-i386.texi: Add amdfam15.
1015 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
1017         * config/tc-arm.c (do_neon_logic): Accept imm value
1018         in the third operand too.
1019         (operand_parse_code): OP_RNDQ_IMVNb renamed to
1020         OP_RNDQ_Ibig.
1021         (parse_operands): OP_NILO case removed, applied renaming.
1022         (insns): Neon shape changed for some logic instructions.
1024 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
1026         * config/tc-arm.c (do_neon_ldx_stx): Added
1027         validation for vector load/store insns.
1029 2010-01-04  Edmar Wienskoski  <edmar@freescale.com>
1031         * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1033 2010-01-03  Daniel Gutson  <dgutson@codesourcery.com>
1035         * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1036         (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1037         (NEON_ENCODE): New macro.
1038         (check_neon_suffixes): New macro.
1039         (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1040         (do_vfp_nsyn_opcode): Likewise.
1041         (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1042         (do_vfp_nsyn_cmp): Likewise.
1043         (do_neon_shl_imm): Likewise.
1044         (do_neon_qshl_imm): Likewise.
1045         (neon_dyadic_misc): Likewise.
1046         (do_neon_mac_maybe_scalar): Likewise.
1047         (do_neon_qdmulh): Likewise.
1048         (do_neon_qmovn): Likewise.
1049         (do_neon_qmovun): Likewise.
1050         (do_neon_movn): Likewise.
1051         (neon_mac_reg_scalar_long): Likewise.
1052         (do_neon_vmull): Likewise.
1053         (do_neon_trn): Likewise.
1054         (do_neon_ldx_stx): Likewise.
1055         (neon_dp_fixup): Changed signature and set the flag.
1056         (neon_three_same): Call the above with new signature.
1057         (neon_two_same): Likewise.
1058         (neon_imm_shift): Likewise.
1059         (neon_mul_mac): Likewise.
1060         (do_neon_abs_neg): Likewise.
1061         (neon_mixed_length): Likewise.
1062         (do_neon_ext): Likewise.
1063         (do_neon_mov): Likewise.
1064         (do_neon_tbl_tbx): Likewise.
1065         (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1066         (neon_compare): Likewise.
1067         (do_neon_shll): Likewise.
1068         (do_neon_cvt): Likewise.
1069         (do_neon_mvn): Likewise.
1070         (do_neon_dup): Likewise.
1071         (md_assemble): Call check_neon_suffixes ().
1073 For older changes see ChangeLog-2009
1075 Local Variables:
1076 mode: change-log
1077 left-margin: 8
1078 fill-column: 74
1079 version-control: never
1080 End: