* elf32-m68k.c (bfd_elf_m68k_set_target_options): Don't set GOT
[binutils/kirr.git] / gas / ChangeLog
blob31756669ba00c2c93fc7f9bbec67563d4801d759
1 2010-08-20  Maciej W. Rozycki  <macro@codesourcery.com>
3         * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
5 2010-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7         * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
9 2010-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11         * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
12         instead of VEXXDS.
14 2010-08-18  Alan Modra  <amodra@gmail.com>
16         * macro.c (sub_actual): Add back ampersand suffix when no
17         substitution.
18         (macro_expand_body): Correct comment.
20 2010-08-17  Roland McGrath  <roland@redhat.com>
22         * config/obj-elf.c (obj_elf_parse_section_letters): Take new
23         boolean result parameter CLONE; set it if '?' flag letter seen.
24         (obj_elf_section): Update caller.  Handle that flag by copying
25         the LINKONCE and GROUP_NAME state from NOW_SEG.
26         * doc/as.texinfo (Section): Document the ? flag.
28 2010-08-09  Cary Coutant  <ccoutant@google.com>
30         * as.c (show_usage): Don't list --compress-debug-sections if zlib not
31         installed.
32         (main): Warn if --compress-debug-sections requested and zlib not
33         installed.
34         * doc/as.texinfo: Add --compress-debug-sections,
35         --nocompress-debug-sections.
37 2010-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39         * config/tc-i386.c (set_cpu_arch): Re-indent.
40         (md_parse_option): Likewise.
42 2010-08-06  Quentin Neill <quentin.neill@amd.com>
44         * config/tc-i386.c (arch_entry): Add negated bit to
45           disambiguate flag names starting with "no".
46           (cpu_arch): Add negated bit definitions.  Add
47           ".nop" CPU extension.
48           (i386_align_code): Use new .cpunop bit to decide
49           when to generate alignment using nops.
50           (set_cpu_arch): Use negated bit instead to decide
51           when to use cpu_flags or vs. cpu_flags_and_not.
52           (md_parse_option): Likewise.
54 2010-08-04  H.J. Lu  <hongjiu.lu@intel.com>
56         * config/tc-i386.c (match_template): Move the first i.error
57         out of the loop.
59 2010-08-04  Alan Modra  <amodra@gmail.com>
61         * configure.tgt (m32c): Set endian=little.
62         * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
63         * config/tc-m32c.c (md_number_to_chars): Revert last change.
65 2010-08-03  Tristan Gingold  <gingold@adacore.com>
67         * makefile.vms (OBJS): Add Add compress-debug.c.
69 2010-08-03  Alan Modra  <amodra@gmail.com>
71         * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
72         * config/tc-m32c.c (md_number_to_chars): Call bigendian
73         form of number_to_chars, not littleendian.
75 2010-08-02  Alan Modra  <amodra@gmail.com>
77         * config/tc-d30v.c (d30v_cons_align): Don't align constants
78         in debug sections.
80 2010-08-02  Alan Modra  <amodra@gmail.com>
82         PR gas/11867
83         * expr.c (operand <'-' and '~'>): Widen bignums.
84         (operand <'!'>): Correct bignum result and convert to O_constant.
85         * read.c (emit_expr): Don't assert on .byte bignum.  Don't display
86         bignum truncated warning for sign extended bignums.
88 2010-08-02  Alan Modra  <amodra@gmail.com>
90         * config/tc-v850.c (md_assemble): Always pass format string to
91         as_warn.
92         (md_apply_fix): Similarly for as_warn_where.
94 2010-07-29  H.J. Lu  <hongjiu.lu@intel.com>
96         * config/tc-i386-intel.c: Reformat.
98 2010-07-29  Alan Modra  <amodra@gmail.com>
100         * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
101         in large toc code.
103 2010-07-28  Alan Modra  <amodra@gmail.com>
105         PR gas/11841
106         * symbols.c (symbol_clone): Correct typo in previous patch.
108 2010-07-28  Alan Modra  <amodra@gmail.com>
110         PR gas/11841
111         * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
113 2010-07-28  Alan Modra  <amodra@gmail.com>
115         * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
116         syntax error message.
118 2010-07-27  Maciej W. Rozycki  <macro@codesourcery.com>
120         * config/tc-mips.c (mips16_macro_build): Pass "args" by
121         reference rather than value.
122         (macro_build): Update accordingly.
124 2010-07-27  Maciej W. Rozycki  <macro@codesourcery.com>
126         * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
127         a fake label.
129 2010-07-24  Maciej W. Rozycki  <macro@codesourcery.com>
131         * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
132         delay slot in the noreorder mode with the o32 ABI.
134 2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
135             Ina Pandit  <ina.pandit@kpitcummins.com>
137         * config/tc-v850.c: Update processor_mask.
138         (reg_name): Update the structure to use processors field.
139         (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
140         SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
141         SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
142         SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
143         SUBYPTE_SA_9_17_22_32.
144         (set_machine): Add support for V850E2 and V850E2V3.
145         (md_pseudo_table): Likewise.
146         (pre_defined_registers): Update pre defined registers suitable
147         for each family of registers.
148         (system_registers): Likewise.
149         (cc_names): Update the condition code.
150         (float_cc_names): Update the condition code for float.
151         (reg_name_search): Update based on current modifications.
152         (register_name): Likewise.
153         (system_register_name): Update to support new system registers
154         and supported families.
155         (cc_name): Update to support new condition codes.
156         (float_cc_name): New function to support float condition codes.
157         (parse_register_list): Update to support newly added registers.
158         (md_show_usage): Define support for V850E2 and V850E2V3 targets.
159         Also support added for disp-size-default-22, disp-size-default-32,
160         mextension, mno-bcond17 and mno-stld23.
161         (md_parse_option): Implement the support for above options defined
162         in md_show-usage.
163         (md_convert_frag): Implement support for subtypes defined in
164         md_relax_table to support branch operations.
165         (md_begin): Add support for V850E2 and V850E2V3.
166         (handle_hi016, handle_hi16): new relocation handling functions
167         (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
168         handle_tdaoff): Updated relocation handling functions for newly
169         added relocations.
170         (v850_reloc_prefix): Update the relocation handling functions.
171         (v850_insert_operand): Updated the functions with error message
172         parameter and modified the function to use it.
173         (md_assemble): Update according to the latest modifications.
174         (md_apply_fix): Updated the functions with error message parameter
175         and modified the function to use it.
176         (v850_force_relocation): Update with newly added relocations.
177         * configure.tgt: Match all v850 targets.
178         * doc/c-v850.texi: Document the newly added targets.
179         * NEWS: Likewise.
181 2010-07-23  Alan Modra  <amodra@gmail.com>
183         PR gas/11834
184         * macro.c (macro_expand): Recover gracefully from named args that
185         don't match params.
187 2010-07-22  Thomas Schwinge  <thomas@codesourcery.com>
189         Switch MIPS to 32-bit DWARF format.
190         * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
191         * config/tc-mips.c (mips_dwarf2_format): Likewise.
193 2010-07-20  Alan Modra  <amodra@gmail.com>
195         * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
197 2010-07-16  Alan Modra  <amodra@gmail.com>
199         * config/tc-rx.c (md_estimate_size_before_relax): Fix format
200         specifier warnings for 32-bit host when --enable-64-bit-bfd.
201         (rx_relax_frag, md_convert_frag): Likewise.
203 2010-07-15  Cary Coutant  <ccoutant@google.com>
205         * gas/NEWS: Add note about --compress-debug-sections.
206         * gas/as.c (show_usage): Add --compress-debug-sections and
207         --nocompress-debug-sections.
209 2010-07-15  Rhonda Wittels  <rhonda@codesourcery.com>
211         * config/obj-elf.c (get_sym_from_input_line_and_check): New
212         function to catch missing pseudo-op arguments.
213         (obj_elf_local): Call new function.
214         (obj_elf_weak): Likewise.
215         (obj_elf_visibility): Likewise.
216         (obj_elf_vtable_entry): Likewise.
217         (obj_elf_type): Likewise.
219 2010-07-15  Kai Tietz  <kai.tietz@onevision.com>
221         * config/obj-coff-seh.c
222         (seh_getelm_data_size): New.
223         (seh_read_offset): Handle negative values.
224         (obj_coff_seh_push): Handle offset for save-register store.
225         (obj_coff_seh_setframe): Add unwind-information for frame.
226         (seh_store_elm_data): New.
227         (seh_getelm_data_size): Return additionally unaligned element count.
228         (seh_make_unwind_entry): Correct tweak about element count.
230 2010-07-12  H.J. Lu  <hongjiu.lu@intel.com>
232         PR gas/11806
233         * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
234         through patch for O_multiply.
236 2010-07-11  Kai Tietz  <kai.tietz@onevision.com>
238         PR ld/11612
239         * config/obj-coff.c (obj_common_parse): Quote symbol-name.
241 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
243         * tc-arm.c (OP_oBARRIER): Remove.
244         (OP_oBARRIER_I15): Add.
245         (po_barrier_or_imm): Add macro.
246         (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
247         (do_barrier): Check correct immediate range.
248         (do_t_barrier): Likewise.
249         (barrier_opt_names): Add entries for more symbolic operands.
250         (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
252 2010-07-08  Daniel Gutson  <dgutson@codesourcery.com>
254         * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
255         error message.
257 2010-07-06  Maciej W. Rozycki  <macro@codesourcery.com>
259         * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
260         symbols.
262 2010-07-06  Maciej W. Rozycki  <macro@codesourcery.com>
264         * config/tc-mips.c (nops_for_insn_or_target): Replace
265         MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
266         MIPS16_INSN_COND_BRANCH.
268 2010-07-05  Jim Wilson  <wilson@codesourcery.com>
270         PR gas/10531
271         PR gas/11789
272         * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
273         if it isn't empty.
275 2010-07-05  Alan Modra  <amodra@gmail.com>
277         * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
278         unused var.
280 2010-07-04  H.J. Lu  <hongjiu.lu@intel.com>
282         * Makefile.am (CONFIG_OBJS): Removed.
283         (GENERIC_OBJS): Likewise.
284         (OBJS): Likewise.
285         * Makefile.in: Regenerated.
287 2010-07-03  Jan Beulich  <jbeulich@novell.com>
289         PR gas/11732
290         * config/tc-i386.c (i386_finalize_displacement): Don't call
291         section_symbol() with expr_section.
293 2010-07-03  Cary Coutant  <ccoutant@google.com>
295         * Makefile.am: Add compress-debug.c and compress-debug.h.
296         * Makefile.in: Regenerate.
297         * config.in: Add HAVE_ZLIB_H.
298         * configure.in: Check for zlib.h.
299         * configure: Regenerate.
301         * as.c (parse_args): Add --compress-debug-sections and
302         --nocompress-debug-sections.
303         * as.h (flag_compress_debug): New variable.
304         * compress-debug.c: New file.
305         * compress-debug.h: New file.
306         * write.c: Include compress-debug.h.
307         (compress_frag): New function.
308         (compress_debug): New function.
309         (write_object_file): Compress debug sections if requested.
311 2010-07-03  Andreas Schwab  <schwab@linux-m68k.org>
313         * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
314         before inverting.
316 2010-07-03  Alan Modra  <amodra@gmail.com>
318         * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
319         (ppc_setup_opcodes): Likewise.  Simplify opcode selection.
321 2010-07-02  DJ Delorie  <dj@redhat.com>
323         * config/tc-rx.h (md_do_align): New.
324         (MAX_MEM_FOR_RS_ALIGN_CODE): New.
325         * config/tc-rx.c (nops): New.
326         (rx_handle_align): Use various sized nops to align code.
328         * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
329         relaxation.
330         (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
332 2010-07-01  H.J. Lu  <hongjiu.lu@intel.com>
334         AVX Programming Reference (June, 2010)
335         * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
336         and .f16c.
338         * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
340 2010-07-01  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
342         * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
343         deprecated mov register instructions.
345 2010-07-01  Alan Modra  <amodra@gmail.com>
347         * config/tc-ppc.c (toc_reloc_types): New variable.
348         (md_assemble): Set it.
349         (ppc_frob_file_before_adjust): Don't warn about toc section size
350         if we have large toc relocs and no small toc relocs.
352 2010-06-29  Alan Modra  <amodra@gmail.com>
354         * config/tc-maxq.h: Delete file.
355         * config/tc-maxq.c: Delete file.
356         * Makefile.am: Remove references to maxq.
357         * configure.tgt: Likewise.
358         * config/obj-coff.h: Likewise.
359         * Makefile.in: Regenerate.
360         * configure: Regenerate.
361         * po/POTFILES.in: Regenerate.
363 2010-06-28  Alan Modra  <amodra@gmail.com>
365         * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
366         * config/tc-crx.c (gettrap): Constify arg.
367         (handle_LoadStor, get_cinv_parameters): Likewise.
368         (getreg_image): Fix enum warning
369         (md_assemble): Restore input line char.
370         * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
371         * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
372         * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
373         (build_Mytes): Fix build failure for non-elf targets.
374         * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
375         * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
377         * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
378         * ecoff.c (add_ecoff_symbol): Likewise.
379         * itbl-ops.c (append_insns_as_macros): Likewise.
380         * listing.c (debugging_pseudo): Likewise.
381         * read.c (s_mri_common, stringer): Likewise.
382         * config/obj-coff.c (coff_frob_section): Likewise.
383         * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
384         * config/tc-arm.c (my_get_expression): Likewise.
385         * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
386         * config/tc-m32c.c (md_assemble): Likewise.
387         * config/tc-microblaze.c (md_convert_frag): Likewise.
388         * config/tc-mips.c (s_change_section): Likewise.
389         * config/tc-mt.c (mt_fix_adjustable): Likewise.
390         * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
392         * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
393         unused vars.
394         * config/tc-alpha.c (load_expression): Likewise.
395         (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
396         * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
397         * config/tc-avr.c (extract_word): Likewise.
398         * config/tc-cris.c (cris_get_expression): Likewise.
399         * config/tc-d30v.c (build_insn, find_format): Likewise.
400         * config/tc-dlx.c (machine_ip): Likewise.
401         * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
402         * config/tc-i370.c (md_assemble): Likewise.
403         * config/tc-i960.c (brtab_emit): Likewise.
404         * config/tc-iq2000.c (s_iq2000_ent): Likewise.
405         * config/tc-m32c.c (md_convert_frag): Likewise.
406         * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
407         (md_estimate_size_before_relax, md_apply_fix): Likewise.
408         * config/tc-m68k.c (md_show_usage): Likewise.
409         * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
410         * config/tc-mips.c (s_mips_end): Likewise.
411         * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
412         * config/tc-mn10300.c (md_assemble): Likewise.
413         * config/tc-msp430.c (extract_word): Likewise.
414         * config/tc-mt.c (md_assemble): Likewise.
415         * config/tc-or32.c (machine_ip): Likewise.
416         * config/tc-pj.c (md_apply_fix): Likewise.
417         * config/tc-s390.c (md_gather_operands): Likewise.
418         * config/tc-sh.c (sh_cons_align): Likewise.
419         * config/tc-sparc.c (sparc_cons_align): Likewise.
420         * config/tc-tic4x.c (tic4x_sect): Likewise.
421         * config/tc-tic54x.c (tic54x_stringer): Likewise.
422         * config/tc-vax.c (vip_op): Likewise.
423         * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
424         * config/tc-xtensa.c (md_assemble): Likewise.
425         (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
426         (xtensa_move_literals): Likewise.
428 2010-06-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
430         * config/tc-arm.c (parse_neon_alignment): New function.
431         (parse_address_main): Fix Neon load/store alignment parsing.
433 2010-06-22  Jan Beulich  <jbeulich@novell.com>
435         * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
436         symbols named "$".
437         (i386_intel_operand): Remove bogus handling of pseudo symbols
438         named "$".
439         * expr.c (current_location): Remove 'static' and local
440         declaration.
441         * expr.h (current_location): Declare.
443 2010-06-21  Sterling Augustine  <sterling@tensilica.com>
445         PR gas/11728
446         * as.c: Globalize keep_it.
447         (main): Remove keep_it. Move conditional from here...
448         (close_output_file): ...to here.
450 2010-06-21  Andreas Schwab  <schwab@redhat.com>
452         * doc/as.texinfo (Overview): Use @itemx for grouped @table
453         items.
454         * doc/c-alpha.texi (Alpha Options): Likewise.
455         * doc/c-arm.texi (ARM Directives): Likewise.
456         * doc/c-bfin.texi (Blackfin Options): Likewise.
457         * doc/c-d10v.texi (D10V-Opts): Likewise.
458         * doc/c-i386.texi (i386-Options): Likewise.
459         * doc/c-ia64.texi (IA-64 Options): Likewise.
460         * doc/c-m68k.texi (M68K-Opts): Likewise.
461         * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
462         * doc/internals.texi (Symbols): Likewise.
464 2010-06-21  Alan Modra  <amodra@gmail.com>
466         PR gas/11733
467         * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
469 2010-06-18  Joseph Myers  <joseph@codesourcery.com>
471         * config/tc-tic6x.h (tic6x_segment_info_type): Add field
472         func_units_used.
473         * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
474         (md_assemble): Clear func_units_used for new execute packet.
475         Check for duplicate functional units and update func_units_used
476         for instructions using a functional unit.
478 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
480         * config/tc-tic6x.c: Include elf/tic6x.h.
481         (tic6x_arch_attribute, tic6x_seen_insns): New.
482         (tic6x_arch_table, tic6x_arches): Add attribute values.
483         (tic6x_use_arch): Handle attribute settings.
484         (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
485         tic6x_attribute_table, tic6x_attributes,
486         tic6x_convert_symbolic_attribute): New.
487         (md_pseudo_table): Add c6xabi_attribute.
488         (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
489         (tic6x_set_attribute_int, tic6x_set_attributes): New.
490         (tic6x_end): Call tic6x_set_attributes.
491         * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
492         (tic6x_convert_symbolic_attribute): Declare.
494 2010-06-14  Alan Modra  <amodra@gmail.com>
496         * config/tc-ppc.c (md_assemble): Emit APUinfo section for
497         PPC_OPCODE_E500.
499 2010-06-11  Jan Beulich  <jbeulich@novell.com>
501         * config/tc-i386.c (md_parse_option): Ignore impossible processor
502         types.
503         (show_arch): New parameter 'check'.
504         (md_show_usage): Adjust calls to show_arch().
506 2010-06-10  H.J. Lu  <hongjiu.lu@intel.com>
508         * config/tc-i386.c (update_code_flag): New.
509         (set_code_flag): Use it.
510         (i386_target_format): Replace set_code_flag with update_code_flag.
512 2010-06-10  Tristan Gingold  <gingold@adacore.com>
514         * config/obj-som.h: Includes som/reloc.h
516 2010-06-10  Jan Beulich  <jbeulich@novell.com>
518         * config/tc-i386.c (cpu_arch): Add comment.
519         (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
520         from the generic entries of cpu_arch[].
522 2010-06-08  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
524         * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
525         value.
526         (parse_operands): Add support for OP_RRnpctw.
527         (insns): Update floating-point load/store multiples so the
528         first register is of type OP_RRnpctw.
530 2010-06-08  Quentin Neill  <quentin.neill@amd.com>
532         * config/tc-i386.c (pi): Rename local loop counter
533         variable i that shadows global static i386_insn i
534         when DEBUG386 is defined.
535         (pte) Ditto.
537 2010-06-08  Nick Clifton  <nickc@redhat.com>
539         * doc/as.texinfo: Replace abbreviated 20th century year numbers
540         with full versions.
542 2010-06-02  Quentin Neill  <quentin.neill@amd.com>
544         * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
546 2010-06-02  Tristan Gingold  <gingold@adacore.com>
548         * as.h: Remove conditionnal definition of HAVE_STDARG_H,
549         USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
550         Remove conditionnal inclusion of stdarg.h and varargs.h.
551         Assume ISO C.
552         * config.in: Regenerate.
553         * configure: Regenerate.
554         * configure.in: Remove stdarg.h and varargs.h from
555         AC_CHECK_HEADERS list.
556         * messages.c (as_tsktsk): Remove non ISO C version.
557         (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
559 2010-05-31  Tristan Gingold  <gingold@adacore.com>
561         * config/tc-alpha.c: Add comments for evax.
562         * config/obj-evax.c: Ditto.
564 2010-05-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
566         * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
567         lsls and not adds.
569 2010-05-27  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
571         * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
572         writeback when base register is in register list an error, and
573         correct check.
574         (do_t_ldmstm): Change warnings.
576 2010-05-26  Catherine Moore  <clm@codesourcery.com>
578         * config/tc-mips.c (is_opcode_valid): Remove expansionp.
579         (macro_build): Change invocation of is_opcode_valid.
580         (mips_ip): Likewise.
582 2010-05-25  Nick Clifton  <nickc@redhat.com>
584         * Makefile.am (MOSTLYCLEANFILES): Fix typo.
585         * Makefile.in: Regenerate.
587 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
588             Joseph Myers  <joseph@codesourcery.com>
589             Andrew Stubbs  <ams@codesourcery.com>
591         * config/tc-sh.c (sh_fdpic): New.
592         (sh_check_fixup): Handle relocations on movi20.
593         (parse_exp): Do not reject PIC operators here.
594         (build_Mytes): Check for unhandled PIC operators here.  Use
595         sh_check_fixup for movi20.
596         (enum options): Add OPTION_FDPIC.
597         (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
598         (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
599         (sh_elf_final_processing): Handle --fdpic.
600         (sh_uclinux_target_format): New.
601         (sh_parse_name): Handle FDPIC relocation operators.
602         * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
603         (sh_uclinux_target_format): Declare for TE_UCLINUX.
604         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
605         em=uclinux.
606         * doc/c-sh.texi (SH Options): Document --fdpic.
608 2010-05-25  Jay Krell  <jay.krell@cornell.edu>
610         PR ld/11621
611         * Makefile.am: Replace all occurences of .o with .@OBJEXT@
612         * Makefile.in: Regenerate.
614 2010-05-25  Alan Modra  <amodra@gmail.com>
616         * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
618 2010-05-19  Nick Clifton  <nickc@redhat.com>
620         * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
621         of known section prefixes.
623 2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
625         PR gas/11600
626         * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
627         (obj_elf_parse_section_letters): Likewise.
628         (obj_elf_section_word): Likewise.
630         * config/tc-ppc.c (ppc_section_letter): Removed.
631         (ppc_section_word): Likewise.
632         * config/tc-ppc.h (ppc_section_letter): Likewise.
633         (ppc_section_word): Likewise.
634         (md_elf_section_letter): Likewise.
635         (md_elf_section_word): Likewise.
637         * doc/as.texinfo: Document `e' and `#exclude'.
639 2010-05-13  Nathan Sidwell  <nathan@codesourcery.com>
641         * config/tc-arm.c (md_assemble): Clarify current mode in error
642         messages about unsupported instructions.
643         (UT): Delete #define.
644         (insns): Adjust cbnz, cbz appropriately.
646 2010-05-11  Andrew Stubbs  <ams@codesourcery.com>
648         * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
650 2010-05-11  Jie Zhang  <jie@codesourcery.com>
652         * config/tc-arm.c (aeabi_set_public_attributes): Set
653         Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
655 2010-05-07  Tristan Gingold  <gingold@adacore.com>
657         * Makefile.in: Regenerate with automake 1.11.1.
658         * aclocal.m4: Ditto.
659         * doc/Makefile.in: Ditto.
661 2010-05-05  Nick Clifton  <nickc@redhat.com>
663         * po/es.po: Updated Spanish translation.
665 2010-05-05  Julian Brown  <julian@codesourcery.com>
667         * read.c (cons_worker): Detect and reject unexpected string argument.
669 2010-05-04  Nick Clifton  <nickc@redhat.com>
671         * write.c (fixup_segment): Revert previous delta.
672         * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
673         generation of relocations for fixups against weak symbols.
675 2010-04-29  Nathan Sidwell  <nathan@codesourcery.com>
677         * write.c (fixup_segment): Do not assume we know the section a
678         defined weak symbol is in.
679         * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
680         weak symbols as not known to be in the same section, even if they
681         are defined.
683 2010-04-27  Joseph Myers  <joseph@codesourcery.com>
685         * config/tc-tic6x.h (tic6x_label_list): New.
686         (tic6x_segment_info_type): Keep a list of labels and a current
687         frag instead of a boolean for whether labels seen and a count of
688         instructions.
689         (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
690         md_do_align, tic6x_do_align, md_end, tic6x_end): New.
691         * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
692         (tic6x_cleanup): Correct comment.
693         (tic6x_free_label_list): New.
694         (tic6x_cons_align): Free label list and update for
695         tic6x_segment_info_type changes.
696         (tic6x_do_align): New.
697         (md_assemble): Handle list of labels and saved frag for execute
698         packet.  Create machine-dependent frag for new execute packet and
699         adjust labels accordingly.
700         (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
701         (md_convert_frag, md_estimate_size_before_relax): Update comments.
703 2010-04-24  H.J. Lu  <hongjiu.lu@intel.com>
705         PR gas/11535
706         * config/tc-i386-intel.c (intel_state): Add is_indirect.
707         (i386_intel_operand): Initialize intel_state.is_indirect.  Check
708         intel_state.is_indirect for "call|jmp [symbol]".
710 2010-04-22  Nick Clifton  <nickc@redhat.com>
712         * po/gas.pot: Updated by the Translation project.
714 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
716         * config/tc-i386.c (i386_is_register): Removed.
717         (x86_cons): Don't use i386_is_register.
718         (parse_register): Likewise.
719         * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
720         (i386_intel_operand): Likewise.
722 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
724         * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
725         i386_is_register.
727 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
729         * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
730         (x86_cons): Updated.
731         (parse_register): Likewise.
732         (tc_x86_parse_to_dw2regnum): Likewise.
733         * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
734         (i386_intel_operand): Likewise.
736 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
738         PR gas/11509
739         * config/tc-i386-intel.c (i386_intel_simplify_register): New.
740         (i386_intel_simplify): Use i386_is_register and
741         i386_intel_simplify_register. Set X_md for O_register and
742         check X_md for O_constant.
743         (i386_intel_operand): Use i386_is_register.
745         * config/tc-i386.c (i386_is_register): New.
746         (x86_cons): Initialize the X_md field.  Use i386_is_register.
747         (parse_register): Use i386_is_register.
748         (tc_x86_parse_to_dw2regnum): Likewise.
750 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
752         * expr.c (expr): Initialize the X_md field.
754 2010-04-20  Joseph Myers  <joseph@codesourcery.com>
756         * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
757         (md_longopts): Add -mgenerate-rel.
758         (tic6x_generate_rela): New.
759         (md_parse_option): Handle -mgenerate-rel.
760         (md_show_usage): Add comment that -mgenerate-rel is undocumented.
761         (tic6x_init_after_args): New.
762         (md_apply_fix): Correct shift calculations for SB-relative
763         relocations.
764         (md_pcrel_from): Change to tic6x_pcrel_from_section.  Do not
765         adjust addresses for relocations referencing symbols in other
766         sections.
767         (tc_gen_reloc): Adjust addend calculations for REL relocations.
768         * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
769         tic6x_pcrel_from_section, tc_init_after_args,
770         tic6x_init_after_args): New.
772 2010-04-20  Nick Clifton  <nickc@redhat.com>
774         PR gas/11507
775         * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
776         altmacro mode if found inside a quoted string.
778 2010-04-20  Mike Frysinger  <vapier@gentoo.org>
780         * config/bfin-lex.l (parse_int): Change index() to strchr().
782 2010-04-16  Nick Clifton  <nickc@redhat.com>
784         PR gas/11395
785         * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
786         matcher to accept and unconditional 32-bit add instruction.
787         (pa_build_unwind_subspace): Cope with error conditions not
788         allowing the start symbol to be set.
790 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
792         * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
793         new tag names in v2.08 of ARM ABI.
794         * doc/c-arm.texi: Document new tag names in ABI.
796 2010-04-14  Tristan Gingold  <gingold@adacore.com>
798         * config/tc-alpha.c: Includes vms/egps.h on EVAX.
799         (s_alpha_comm): Used new EGPS macros from egps.h
800         (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
801         (s_alpha_section_word): Add comments.  Use new EGPS macros.
802         Adjust for modified bfd_vms_set_section_flags function.
804 2010-04-10  Alan Modra  <amodra@gmail.com>
806         PR gas/11486
807         * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
809 2010-04-09  Nick Clifton  <nickc@redhat.com>
811         * as.c (create_obj_attrs_section): Remove unused variable addr.
812         * listing.c (listing_listing): Remove unused variable message.
813         * read.c: Remove unnecessary register type qualifiers.
814         (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
815         defined.
817 2010-04-07  Eric B. Weddington  <eric.weddington@atmel.com>
819         * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
820         atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
821         atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
822         atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
823         atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
824         atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
825         atmega88pa, attiny461a, attiny84a, m3000.
826         Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
827         atmega8hvd, attiny327, m3000f, m3000s, m3001b.
828         * doc/c-avr.texi: Same.
830 2010-04-07  Jie Zhang  <jie@codesourcery.com>
832         * config/tc-arm.c (make_mapping_symbol): Handle the case
833         that multiple mapping symbols have the same value 0.
835 2010-04-07  Alan Modra  <amodra@gmail.com>
837         * configure: Regenerate.
839 2010-04-06  Nick Clifton  <nickc@redhat.com>
841         * po/ru.po: New Russian translation.
842         * configure.in (ALL_LINGUAS): Add ru.
843         * configure: Regenerate.
845 2010-03-30  H.J. Lu  <hongjiu.lu@intel.com>
847         PR gas/11456
848         * input-scrub.c (input_scrub_next_buffer): Use memmove instead
849         of memcpy to copy overlap memory.
851 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
853         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
854         (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
855         * Makefile.in: Regenerate.
856         * NEWS: Add news entry for TI C6X support.
857         * app.c (do_scrub_chars): Handle "||^" for TI C6X.  Handle
858         TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR.  Keep spaces in
859         operands if TC_KEEP_OPERAND_SPACES.
860         * configure.tgt (tic6x-*-*): New.
861         * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
862         TC_PREDICATE_END_CHAR): Define.
863         * config/tc-tic6x.c, config/tc-tic6x.h: New.
864         * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
865         * doc/Makefile.in: Regenerate.
866         * doc/all.texi (TIC6X): Define.
867         * doc/as.texinfo: Add TI C6X documentation.  Include c-tic6x.texi.
868         * doc/c-tic6x.texi: New.
870 2010-03-22  H.J. Lu  <hongjiu.lu@intel.com>
872         * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
874 2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
876         * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
877         with operand_size_mismatch.
878         (operand_size_match): Updated.
879         (match_template): Likewise.
881 2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
883         * config/tc-i386.c (i386_error): New.
884         (_i386_insn): Replace err_msg with error.
885         (operand_size_match): Set error instead of err_msg on failure.
886         (operand_type_match): Likewise.
887         (operand_type_register_match): Likewise.
888         (VEX_check_operands): Likewise.
889         (match_template): Likewise.  Use error instead of err_msg with
890         as_bad.
892 2010-03-19  Jie Zhang  <jie@codesourcery.com>
894         * config/tc-arm.c (make_mapping_symbol): Hanle the case
895         that two mapping symbols have the same value.
897 2010-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
899         * doc/c-arm.texi (.setfp): Correct example.
901 2010-03-18  Wei Guozhi  <carrot@google.com>
903         PR gas/11323
904         * config/tc-arm.c (reloc_names): New relocation names.
905         (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
906         (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
907         * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
909 2010-03-15  Thomas Schwinge  <thomas@codesourcery.com>
911         * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
912         cases, and not only for .eh_frame.
914         * dw2gencfi.c (output_cie): Make it more explicit which code paths
915         belong to .eh_frame only.
917 2010-03-13  Segher Boessenkool  <segher@kernel.crashing.org>
919         * config/tc-v850.c (v850_insert_operand): Handle out-of-range
920         assembler constants on 64-bit hosts.
922 2010-03-10  Mike Frysinger  <michael.frysinger@analog.com>
924         * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
925         Strip trailing whitespace.
927 2010-03-10  Mike Frysinger  <michael.frysinger@analog.com>
929         * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
930         * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
931         BFIN_CPU_BF506.
932         (bfin_cpus[]): Add 0.0 for bf504 and bf506.
934 2010-03-10  Jie Zhang  <jie@codesourcery.com>
936         * doc/as.texinfo: Add Blackfin options.
937         * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
938         * config/tc-bfin.c (md_show_usage): Show usage for all
939         Blackfin specific options.
941 2010-03-09  Alan Modra  <amodra@gmail.com>
943         PR gas/11356
944         * listing.c (listing_newline): Correct backslash quote logic.
946 2010-03-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
948         * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
949         (ELF_TARGET_FORMAT64): Define.
951 2010-03-05  Paul Brook  <paul@codesourcery.com>
953         * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
955 2010-03-02  Andrew Stubbs  <ams@codesourcery.com>
957         * config/tc-sh.c (get_specific): Move overflow checking code to avoid
958         reading uninitialized data.
960 2010-03-01  Tristan Gingold  <gingold@adacore.com>
962         * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
964 2010-02-26  Doug Evans  <dje@sebabeach.org>
966         * configure.tgt: Fix mep cpu case.
968 2010-02-26  Jie Zhang  <jie@codesourcery.com>
970         * config/tc-arm.c (do_t_strexd): Remove
971         operand[1] != operand[2] contraint.
973 2010-02-26  Jie Zhang  <jie@codesourcery.com>
975         * config/tc-arm.c (neon_select_shape): No need to match
976         the remaining operands in the shape when one operand does
977         not match.
979 2010-02-26  Jie Zhang  <jie@codesourcery.com>
981         * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
982         alignment.
984 2010-02-25  Doug Evans  <dje@sebabeach.org>
986         * cgen.c: Whitespace fixes.
987         (weak_operand_overflow_check): Formatting fix.
989 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
991         * config/tc-i386.c (match_template): Update error messages.
993 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
995         * config/tc-i386.c (_i386_insn): Add err_msg.
996         (operand_size_match): Set err_msg on failure.
997         (operand_type_match): Likewise.
998         (operand_type_register_match): Likewise.
999         (VEX_check_operands): Likewise.
1000         (match_template): Likewise.  Use i.err_msg with as_bad.
1002 2010-02-25  Wu Zhangjin <wuzhangjin@gmail.com>
1004         * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1005         mips_fix_loongson2f_jump): New variables.
1006         (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1007         -mno-fix-loongson2f-nop/jump.
1008         (md_parse_option): Initialize variables via above options.
1009         (options): New enums for the above options.
1010         (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1011         (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1012         New functions.
1013         (append_insn): call fix_loongson2f().
1014         (mips_handle_align): Replace the implicit nops.
1015         * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1016         for the new mips_handle_align().
1017         * doc/c-mips.texi: Document the new options.
1019 2010-02-23  Daniel Gutson  <dgutson@codesourcery.com>
1021         * config/tc-arm.c (do_rd_rm_rn): Added warning
1022         for obsolete insns.
1024 2010-02-23  Andrew Zabolotny  <anpaza@mail.ru>
1026         PR binutils/11297
1027         * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1028         (avr_cons_fix_new): Handle fixups of a single byte.
1030 2010-02-22  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1032         PR 9861
1033         * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1034         compiler's predefines.
1036 2010-02-19  Alan Modra  <amodra@gmail.com>
1038         * configure.tgt: Whiltespace.  Sort moxie entry.
1040 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1042         * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1043         * doc/c-arm.texi: Likewise.
1045 2010-02-12  Daniel Gutson <dgutson@codesourcery.com>
1047         * config/tc-arm.c (asm_opcode): operands type
1048         change.
1049         (BAD_PC_ADDRESSING): New macro message.
1050         (BAD_PC_WRITEBACK): Likewise.
1051         (MIX_ARM_THUMB_OPERANDS): New macro.
1052         (operand_parse_code): Added enum values.
1053         (parse_operands): Added thumb/arm distinction,
1054         plus new enum values handling.
1055         (encode_arm_addr_mode_2): Validations enhanced.
1056         (encode_arm_addr_mode_3): Likewise.
1057         (do_rm_rd_rn): Likewise.
1058         (encode_thumb32_addr_mode): Likewise.
1059         (do_t_ldrex): Likewise.
1060         (do_t_ldst): Likewise.
1061         (do_t_strex): Likewise.
1062         (md_assemble): Call parse_operands with
1063         a new parameter.
1064         (OPS_1): New macro.
1065         (OPS_2): Likewise.
1066         (OPS_3): Likewise.
1067         (OPS_4): Likewise.
1068         (OPS_5): Likewise.
1069         (OPS_6): Likewise.
1070         (insns): Updated insns operands.
1072 2010-02-12  Tristan Gingold  <gingold@adacore.com>
1073             Douglas B Rupp  <rupp@gnat.com>
1075         * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1076         (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1077         (pseudo_func): Add an entry for slotcount.
1078         (md_begin): Initialize slotcount pseudo symbol.
1079         (ia64_parse_name): Handle @slotcount parameter.
1080         (ia64_gen_real_reloc_type): Handle slotcount.
1081         (md_apply_fix): Ditto.
1082         * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1084 2010-02-11  Sterling Augustine  <sterling@jaw.hq.tensilica.com>
1086         * config/tc-xtensa.c (istack_init): Don't call memset.
1088 2010-02-11  Sterling Augustine  <sterling@tensilica.com>
1090         * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
1091         well as suffixes.
1093 2010-02-11  Sterling Augustine  <sterling@tensilica.com>
1095         * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
1097 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
1099         * config/tc-i386.c (build_modrm_byte): Reformat.
1101 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
1103         * config/tc-i386.c: Update copyright.
1105 2010-02-10  Quentin Neill  <quentin.neill@amd.com>
1106             Sebastian Pop  <sebastian.pop@amd.com>
1108         * config/tc-i386.c (vec_imm4) New operand type.
1109         (fits_in_imm4): New.
1110         (VEX_check_operands): New.
1111         (check_reverse): Call VEX_check_operands.
1112         (build_modrm_byte): Reintroduce code for 5
1113         operand insns.  Fix whitespace.
1115 2010-02-10  Richard Sandiford  <r.sandiford@uk.ibm.com>
1117         * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
1118         -mpwr6 and -mpwr7.
1120 2010-02-09  Sterling Augustine  <sterling@tensilica.com>
1122         * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
1123         (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
1124         (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
1126 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
1128         * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
1129         non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
1130         BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
1131         BFD_RELOC_ARM_PCREL_CALL)
1133 2010-02-08  Sterling Augustine  <sterling@tensilica.com>
1135         * config/tc-xtensa.c (frag_format_size): Generalize logic to
1136         handle more instruction sizes and fetch widths.
1137         (branch_align_power): Likewise.
1138         (text_align_power): Likewise.
1139         (bytes_to_stretch): Likewise.
1141 2010-02-08  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
1143         * config/tc-ppc.c (md_show_usage): Mention -mtitan.  Don't use tabs.
1144         (ppc_mach): Handle titan.
1145         * doc/c-ppc.texi: Mention -mtitan.
1147 2010-02-05  Sterling Augustine  <sterling@tensilica.com>
1149         * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
1150         replace with...
1151         (xtensa_fetch_width) ...this.
1153 2010-02-05  Joseph Myers  <joseph@codesourcery.com>
1155         * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
1156         MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
1157         * Makefile.in: Regenerate.
1159 2010-02-03  Quentin Neill  <quentin.neill@amd.com>
1161         * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
1162         (i386_align_code): Rename  PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
1163         * config/tc-i386.h (processor_type): Same.
1164         * doc/c-i386.texi: Change amdfam15 to bdver1.
1166 2010-01-29  Nick Clifton  <nickc@redhat.com>
1168         PR 11136
1169         * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
1170         NS_NULL.
1172 2010-01-27  Dave Korn  <dave.korn.cygwin@gmail.com>
1174         * NEWS: Mention new feature.
1175         * config/obj-coff.c (obj_coff_section): Accept digits and use
1176         to override default section alignment power if specified.
1177         * doc/as.texinfo (.section directive): Update documentation.
1179 2010-01-27  H.J. Lu  <hongjiu.lu@intel.com>
1181         * config/tc-i386.c (avxscalar): New.
1182         (OPTION_MAVXSCALAR): Likewise.
1183         (build_vex_prefix): Select vector_length for scalar instructions
1184         based on avxscalar.
1185         (md_longopts): Add OPTION_MAVXSCALAR.
1186         (md_parse_option): Handle OPTION_MAVXSCALAR.
1187         (md_show_usage): Add -mavxscalar=.
1189         * doc/c-i386.texi: Document -mavxscalar=.
1191 2010-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1193         * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
1194         0xc4 individually.
1196 2010-01-23  Richard Sandiford  <r.sandiford@uk.ibm.com>
1198         * write.h (fix_at_start): Declare.
1199         * write.c (fix_new_internal): Add at_beginning parameter.
1200         Use it instead of REVERSE_SORT_RELOCS.  Fix the handling of
1201         seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
1202         (fix_new, fix_new_exp): Update accordingly.
1203         (fix_at_start): New function.
1204         * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
1205         (ppc_ref): New function, for OBJ_XCOFF.
1206         (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
1207         * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1209 2010-01-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1211         * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1212         on 64-bit Solaris/x86.
1213         Include obj-format.h earlier.
1215 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1217         * config/tc-s390.c (s390_elf_final_processing): New function.
1218         * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1219         (s390_elf_final_processing): Added prototype.
1222 2010-01-20  Nick Clifton  <nickc@redhat.com>
1224         PR 11109
1225         * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1.  Add
1226         code to handle round-to-zero for VCVT conversions.
1227         (do_neon_cvt): New.  Call do_neon_cvt_1.
1228         (do_neon_cvtr): New.  Call do_neon_cvt_1.
1229         (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1230         insn.
1232 2010-01-18  Tristan Gingold  <gingold@adacore.com>
1234         * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1236 2010-01-15  Sebastian Pop  <sebastian.pop@amd.com>
1238         * config/tc-i386.c (md_assemble): Before accessing the IMM field
1239         check that it's not an XOP insn.
1241 2010-01-14  Jie Zhang  <jie.zhang@analog.com>
1243         * config/bfin-aux.h: Remove argument names in function
1244         declarations.
1245         * config/bfin-lex.l (parse_int): Fix shadowed variable name
1246         warning.
1247         * config/bfin-parse.y (value_match): Remove argument names
1248         in declaration.
1249         (notethat): Likewise.
1250         (yyerror): Likewise.
1252 2010-01-13  Daniel Jacobowitz  <dan@codesourcery.com>
1254         * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1256 2010-01-13  Nick Clifton  <nickc@redhat.com>
1258         * config/tc-h8300.c (h8300_elf_section): New function - issue a
1259         warning message if a new section is created without setting any
1260         attributes for it.
1261         (md_pseudo_table): Intercept section creation pseudos.
1262         (md_pcrel_from): Replace abort with an error message.
1263         * config/obj-elf.c (obj_elf_section_name): Export this function.
1264         * config/obj-elf.h (obj_elf_section_name): Prototype.
1266 2010-01-12  Alan Modra  <amodra@gmail.com>
1268         PR 11122
1269         * listing.c (print_source): Add one to line number.
1271 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1273         * Makefile.in: Regenerate.
1274         * configure: Regenerate.
1275         * doc/Makefile.in: Regenerate.
1277 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1279         * version.c (parse_args): Change to "Copyright 2010".
1281 2010-01-06  Quentin Neill  <quentin.neill@amd.com>
1283         * config/tc-i386.c (cpu_arch): Add amdfam15.
1284         (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1285         * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1286         * doc/c-i386.texi: Add amdfam15.
1288 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
1290         * config/tc-arm.c (do_neon_logic): Accept imm value
1291         in the third operand too.
1292         (operand_parse_code): OP_RNDQ_IMVNb renamed to
1293         OP_RNDQ_Ibig.
1294         (parse_operands): OP_NILO case removed, applied renaming.
1295         (insns): Neon shape changed for some logic instructions.
1297 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
1299         * config/tc-arm.c (do_neon_ldx_stx): Added
1300         validation for vector load/store insns.
1302 2010-01-04  Edmar Wienskoski  <edmar@freescale.com>
1304         * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1306 2010-01-03  Daniel Gutson  <dgutson@codesourcery.com>
1308         * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1309         (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1310         (NEON_ENCODE): New macro.
1311         (check_neon_suffixes): New macro.
1312         (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1313         (do_vfp_nsyn_opcode): Likewise.
1314         (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1315         (do_vfp_nsyn_cmp): Likewise.
1316         (do_neon_shl_imm): Likewise.
1317         (do_neon_qshl_imm): Likewise.
1318         (neon_dyadic_misc): Likewise.
1319         (do_neon_mac_maybe_scalar): Likewise.
1320         (do_neon_qdmulh): Likewise.
1321         (do_neon_qmovn): Likewise.
1322         (do_neon_qmovun): Likewise.
1323         (do_neon_movn): Likewise.
1324         (neon_mac_reg_scalar_long): Likewise.
1325         (do_neon_vmull): Likewise.
1326         (do_neon_trn): Likewise.
1327         (do_neon_ldx_stx): Likewise.
1328         (neon_dp_fixup): Changed signature and set the flag.
1329         (neon_three_same): Call the above with new signature.
1330         (neon_two_same): Likewise.
1331         (neon_imm_shift): Likewise.
1332         (neon_mul_mac): Likewise.
1333         (do_neon_abs_neg): Likewise.
1334         (neon_mixed_length): Likewise.
1335         (do_neon_ext): Likewise.
1336         (do_neon_mov): Likewise.
1337         (do_neon_tbl_tbx): Likewise.
1338         (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1339         (neon_compare): Likewise.
1340         (do_neon_shll): Likewise.
1341         (do_neon_cvt): Likewise.
1342         (do_neon_mvn): Likewise.
1343         (do_neon_dup): Likewise.
1344         (md_assemble): Call check_neon_suffixes ().
1346 For older changes see ChangeLog-2009
1348 Local Variables:
1349 mode: change-log
1350 left-margin: 8
1351 fill-column: 74
1352 version-control: never
1353 End: