PR gas/11973
[binutils.git] / gas / ChangeLog
blob41c038371a08e09b9e506a060eb3b3587154ab52
1 2010-09-08  Nick Clifton  <nickc@redhat.com>
3         PR gas/11973
4         * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
5         long call instruction's displacement.
7 2010-09-03  H.J. Lu  <hongjiu.lu@intel.com>
9         PR gas/11974
10         * config/tc-i386.c (i386_finalize_immediate): Check flag_code
11         instead of use_rela_relocations for 64bit.
13 2010-09-02  Richard Henderson  <rth@redhat.com>
15         * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
16         (output_fde): Use it.  Make sure to fully init exp before using it.
18 2010-08-31  Kai Tietz  <kai.tietz@onevision.com>
20         * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
21         (obj_coff_seh_stackalloc): Likewise.
23 2010-08-31  Alan Modra  <amodra@gmail.com>
25         * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
27 2010-08-30  Richard Henderson   <rth@redhat.com>
29         * config/obj-coff-seh.c: Rewrite the entire file.
30         (symtab, symptr, reltab, relcount, relsize): Remove.
31         (seh_ctx_root, seh_ctx): Remove.
32         (xdata_seg, xdata_subseg, pdata_seg): New.
33         (switch_xdata, switch_pdata): New.
34         (verify_context, verify_context_and_target, skip_whitespace_and_comma):
35         New parsing functions.  Rewrite all parsing functions to use them.
36         (obj_coff_seh_32): Fix != arm thinko.
37         (obj_coff_seh_handler): For x64, don't accept handler pointer here,
38         only flags.
39         (obj_coff_seh_handlerdata): New.
40         (do_seh_endproc): Split out of ...
41         (obj_coff_seh_endproc): ... here.
42         (obj_coff_seh_proc): Use it, if needed.
43         (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
44         (seh_x64_read_reg): Remove mm_regs alternative.  Tidy integer reg
45         alternatives.  Don't slurp commas.
46         (seh_read_offset): Remove.
47         (obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
48         (obj_coff_seh_scope): Remove.
49         (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
50         (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
51         (out_one, out_two, out_four): New.
52         (seh_x64_write_prologue_data, seh_x64_size_prologue_data,
53         seh_x64_write_function_xdata, write_function_xdata): Rewrite
54         from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
55         seh_getelm_data_size, seh_getsize_of_unwind_entry,
56         seh_make_unwind_entry, seh_getsize_unwind_data, and
57         seh_create_unwind_data.
58         (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
59         (write_function_pdata): Rewrite from make_function_entry_pdata.
60         (seh_write_text_eh_data, make_function_entry_pdata,
61         seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
62         seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
63         seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
64         seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
65         seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
66         seh_getsize_of_unwind_entry, seh_make_unwind_entry,
67         seh_getsize_unwind_data, seh_create_unwind_data,
68         seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
69         * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
70         Add seh_handlerdata.  Adjust function/what arguments for
71         seh_savereg, seh_pushframe, seh_stackalloc.
72         (struct seh_prologue_element): Adjust members to closer match
73         the elements of the UNWIND_CODE structure.
74         (struct seh_scope_elem): Remove.
75         (struct seh_context): Replace char* members with symbolS or
76         expressionS as appropriate.  Sort members by ARM/x64 applicability.
77         Remove obsolete stuff wrt direct symbol and reloc manipulation.
79 2010-08-25  Alan Modra  <amodra@gmail.com>
81         * NEWS: Mention ampersand in macro change.
83 2010-08-25  Gunther Nikl  <gnikl@users.sourceforge.net>
85         * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
87 2010-08-25  Alan Modra  <amodra@gmail.com>
89         * config/tc-d10v.c (do_assemble): Correctly detect overflow of
90         "name" buffer.
91         * config/tc-m68hc11.c (md_assemble): Likewise.
92         * config/tc-microblaze.c (md_assemble): Likewise.  Correct cast
93         of is_end_of_line index.
95 2010-08-25  Jie Zhang  <jie@codesourcery.com>
97         * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
99 2010-08-25  Jie Zhang  <jie@codesourcery.com>
101         * config/tc-arm.c (encode_arm_addr_mode_2): Fix
102         BAD_PC_ADDRESSING condition.
104 2010-08-20  Maciej W. Rozycki  <macro@codesourcery.com>
106         * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
108 2010-08-19  H.J. Lu  <hongjiu.lu@intel.com>
110         * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
112 2010-08-18  H.J. Lu  <hongjiu.lu@intel.com>
114         * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
115         instead of VEXXDS.
117 2010-08-18  Alan Modra  <amodra@gmail.com>
119         * macro.c (sub_actual): Add back ampersand suffix when no
120         substitution.
121         (macro_expand_body): Correct comment.
123 2010-08-17  Roland McGrath  <roland@redhat.com>
125         * config/obj-elf.c (obj_elf_parse_section_letters): Take new
126         boolean result parameter CLONE; set it if '?' flag letter seen.
127         (obj_elf_section): Update caller.  Handle that flag by copying
128         the LINKONCE and GROUP_NAME state from NOW_SEG.
129         * doc/as.texinfo (Section): Document the ? flag.
131 2010-08-09  Cary Coutant  <ccoutant@google.com>
133         * as.c (show_usage): Don't list --compress-debug-sections if zlib not
134         installed.
135         (main): Warn if --compress-debug-sections requested and zlib not
136         installed.
137         * doc/as.texinfo: Add --compress-debug-sections,
138         --nocompress-debug-sections.
140 2010-08-06  H.J. Lu  <hongjiu.lu@intel.com>
142         * config/tc-i386.c (set_cpu_arch): Re-indent.
143         (md_parse_option): Likewise.
145 2010-08-06  Quentin Neill <quentin.neill@amd.com>
147         * config/tc-i386.c (arch_entry): Add negated bit to
148           disambiguate flag names starting with "no".
149           (cpu_arch): Add negated bit definitions.  Add
150           ".nop" CPU extension.
151           (i386_align_code): Use new .cpunop bit to decide
152           when to generate alignment using nops.
153           (set_cpu_arch): Use negated bit instead to decide
154           when to use cpu_flags or vs. cpu_flags_and_not.
155           (md_parse_option): Likewise.
157 2010-08-04  H.J. Lu  <hongjiu.lu@intel.com>
159         * config/tc-i386.c (match_template): Move the first i.error
160         out of the loop.
162 2010-08-04  Alan Modra  <amodra@gmail.com>
164         * configure.tgt (m32c): Set endian=little.
165         * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
166         * config/tc-m32c.c (md_number_to_chars): Revert last change.
168 2010-08-03  Tristan Gingold  <gingold@adacore.com>
170         * makefile.vms (OBJS): Add Add compress-debug.c.
172 2010-08-03  Alan Modra  <amodra@gmail.com>
174         * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
175         * config/tc-m32c.c (md_number_to_chars): Call bigendian
176         form of number_to_chars, not littleendian.
178 2010-08-02  Alan Modra  <amodra@gmail.com>
180         * config/tc-d30v.c (d30v_cons_align): Don't align constants
181         in debug sections.
183 2010-08-02  Alan Modra  <amodra@gmail.com>
185         PR gas/11867
186         * expr.c (operand <'-' and '~'>): Widen bignums.
187         (operand <'!'>): Correct bignum result and convert to O_constant.
188         * read.c (emit_expr): Don't assert on .byte bignum.  Don't display
189         bignum truncated warning for sign extended bignums.
191 2010-08-02  Alan Modra  <amodra@gmail.com>
193         * config/tc-v850.c (md_assemble): Always pass format string to
194         as_warn.
195         (md_apply_fix): Similarly for as_warn_where.
197 2010-07-29  H.J. Lu  <hongjiu.lu@intel.com>
199         * config/tc-i386-intel.c: Reformat.
201 2010-07-29  Alan Modra  <amodra@gmail.com>
203         * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
204         in large toc code.
206 2010-07-28  Alan Modra  <amodra@gmail.com>
208         PR gas/11841
209         * symbols.c (symbol_clone): Correct typo in previous patch.
211 2010-07-28  Alan Modra  <amodra@gmail.com>
213         PR gas/11841
214         * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
216 2010-07-28  Alan Modra  <amodra@gmail.com>
218         * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
219         syntax error message.
221 2010-07-27  Maciej W. Rozycki  <macro@codesourcery.com>
223         * config/tc-mips.c (mips16_macro_build): Pass "args" by
224         reference rather than value.
225         (macro_build): Update accordingly.
227 2010-07-27  Maciej W. Rozycki  <macro@codesourcery.com>
229         * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
230         a fake label.
232 2010-07-24  Maciej W. Rozycki  <macro@codesourcery.com>
234         * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
235         delay slot in the noreorder mode with the o32 ABI.
237 2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
238             Ina Pandit  <ina.pandit@kpitcummins.com>
240         * config/tc-v850.c: Update processor_mask.
241         (reg_name): Update the structure to use processors field.
242         (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
243         SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
244         SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
245         SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
246         SUBYPTE_SA_9_17_22_32.
247         (set_machine): Add support for V850E2 and V850E2V3.
248         (md_pseudo_table): Likewise.
249         (pre_defined_registers): Update pre defined registers suitable
250         for each family of registers.
251         (system_registers): Likewise.
252         (cc_names): Update the condition code.
253         (float_cc_names): Update the condition code for float.
254         (reg_name_search): Update based on current modifications.
255         (register_name): Likewise.
256         (system_register_name): Update to support new system registers
257         and supported families.
258         (cc_name): Update to support new condition codes.
259         (float_cc_name): New function to support float condition codes.
260         (parse_register_list): Update to support newly added registers.
261         (md_show_usage): Define support for V850E2 and V850E2V3 targets.
262         Also support added for disp-size-default-22, disp-size-default-32,
263         mextension, mno-bcond17 and mno-stld23.
264         (md_parse_option): Implement the support for above options defined
265         in md_show-usage.
266         (md_convert_frag): Implement support for subtypes defined in
267         md_relax_table to support branch operations.
268         (md_begin): Add support for V850E2 and V850E2V3.
269         (handle_hi016, handle_hi16): new relocation handling functions
270         (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
271         handle_tdaoff): Updated relocation handling functions for newly
272         added relocations.
273         (v850_reloc_prefix): Update the relocation handling functions.
274         (v850_insert_operand): Updated the functions with error message
275         parameter and modified the function to use it.
276         (md_assemble): Update according to the latest modifications.
277         (md_apply_fix): Updated the functions with error message parameter
278         and modified the function to use it.
279         (v850_force_relocation): Update with newly added relocations.
280         * configure.tgt: Match all v850 targets.
281         * doc/c-v850.texi: Document the newly added targets.
282         * NEWS: Likewise.
284 2010-07-23  Alan Modra  <amodra@gmail.com>
286         PR gas/11834
287         * macro.c (macro_expand): Recover gracefully from named args that
288         don't match params.
290 2010-07-22  Thomas Schwinge  <thomas@codesourcery.com>
292         Switch MIPS to 32-bit DWARF format.
293         * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
294         * config/tc-mips.c (mips_dwarf2_format): Likewise.
296 2010-07-20  Alan Modra  <amodra@gmail.com>
298         * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
300 2010-07-16  Alan Modra  <amodra@gmail.com>
302         * config/tc-rx.c (md_estimate_size_before_relax): Fix format
303         specifier warnings for 32-bit host when --enable-64-bit-bfd.
304         (rx_relax_frag, md_convert_frag): Likewise.
306 2010-07-15  Cary Coutant  <ccoutant@google.com>
308         * gas/NEWS: Add note about --compress-debug-sections.
309         * gas/as.c (show_usage): Add --compress-debug-sections and
310         --nocompress-debug-sections.
312 2010-07-15  Rhonda Wittels  <rhonda@codesourcery.com>
314         * config/obj-elf.c (get_sym_from_input_line_and_check): New
315         function to catch missing pseudo-op arguments.
316         (obj_elf_local): Call new function.
317         (obj_elf_weak): Likewise.
318         (obj_elf_visibility): Likewise.
319         (obj_elf_vtable_entry): Likewise.
320         (obj_elf_type): Likewise.
322 2010-07-15  Kai Tietz  <kai.tietz@onevision.com>
324         * config/obj-coff-seh.c
325         (seh_getelm_data_size): New.
326         (seh_read_offset): Handle negative values.
327         (obj_coff_seh_push): Handle offset for save-register store.
328         (obj_coff_seh_setframe): Add unwind-information for frame.
329         (seh_store_elm_data): New.
330         (seh_getelm_data_size): Return additionally unaligned element count.
331         (seh_make_unwind_entry): Correct tweak about element count.
333 2010-07-12  H.J. Lu  <hongjiu.lu@intel.com>
335         PR gas/11806
336         * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
337         through patch for O_multiply.
339 2010-07-11  Kai Tietz  <kai.tietz@onevision.com>
341         PR ld/11612
342         * config/obj-coff.c (obj_common_parse): Quote symbol-name.
344 2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
346         * tc-arm.c (OP_oBARRIER): Remove.
347         (OP_oBARRIER_I15): Add.
348         (po_barrier_or_imm): Add macro.
349         (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
350         (do_barrier): Check correct immediate range.
351         (do_t_barrier): Likewise.
352         (barrier_opt_names): Add entries for more symbolic operands.
353         (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
355 2010-07-08  Daniel Gutson  <dgutson@codesourcery.com>
357         * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
358         error message.
360 2010-07-06  Maciej W. Rozycki  <macro@codesourcery.com>
362         * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
363         symbols.
365 2010-07-06  Maciej W. Rozycki  <macro@codesourcery.com>
367         * config/tc-mips.c (nops_for_insn_or_target): Replace
368         MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
369         MIPS16_INSN_COND_BRANCH.
371 2010-07-05  Jim Wilson  <wilson@codesourcery.com>
373         PR gas/10531
374         PR gas/11789
375         * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
376         if it isn't empty.
378 2010-07-05  Alan Modra  <amodra@gmail.com>
380         * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
381         unused var.
383 2010-07-04  H.J. Lu  <hongjiu.lu@intel.com>
385         * Makefile.am (CONFIG_OBJS): Removed.
386         (GENERIC_OBJS): Likewise.
387         (OBJS): Likewise.
388         * Makefile.in: Regenerated.
390 2010-07-03  Jan Beulich  <jbeulich@novell.com>
392         PR gas/11732
393         * config/tc-i386.c (i386_finalize_displacement): Don't call
394         section_symbol() with expr_section.
396 2010-07-03  Cary Coutant  <ccoutant@google.com>
398         * Makefile.am: Add compress-debug.c and compress-debug.h.
399         * Makefile.in: Regenerate.
400         * config.in: Add HAVE_ZLIB_H.
401         * configure.in: Check for zlib.h.
402         * configure: Regenerate.
404         * as.c (parse_args): Add --compress-debug-sections and
405         --nocompress-debug-sections.
406         * as.h (flag_compress_debug): New variable.
407         * compress-debug.c: New file.
408         * compress-debug.h: New file.
409         * write.c: Include compress-debug.h.
410         (compress_frag): New function.
411         (compress_debug): New function.
412         (write_object_file): Compress debug sections if requested.
414 2010-07-03  Andreas Schwab  <schwab@linux-m68k.org>
416         * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
417         before inverting.
419 2010-07-03  Alan Modra  <amodra@gmail.com>
421         * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
422         (ppc_setup_opcodes): Likewise.  Simplify opcode selection.
424 2010-07-02  DJ Delorie  <dj@redhat.com>
426         * config/tc-rx.h (md_do_align): New.
427         (MAX_MEM_FOR_RS_ALIGN_CODE): New.
428         * config/tc-rx.c (nops): New.
429         (rx_handle_align): Use various sized nops to align code.
431         * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
432         relaxation.
433         (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
435 2010-07-01  H.J. Lu  <hongjiu.lu@intel.com>
437         AVX Programming Reference (June, 2010)
438         * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
439         and .f16c.
441         * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
443 2010-07-01  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
445         * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
446         deprecated mov register instructions.
448 2010-07-01  Alan Modra  <amodra@gmail.com>
450         * config/tc-ppc.c (toc_reloc_types): New variable.
451         (md_assemble): Set it.
452         (ppc_frob_file_before_adjust): Don't warn about toc section size
453         if we have large toc relocs and no small toc relocs.
455 2010-06-29  Alan Modra  <amodra@gmail.com>
457         * config/tc-maxq.h: Delete file.
458         * config/tc-maxq.c: Delete file.
459         * Makefile.am: Remove references to maxq.
460         * configure.tgt: Likewise.
461         * config/obj-coff.h: Likewise.
462         * Makefile.in: Regenerate.
463         * configure: Regenerate.
464         * po/POTFILES.in: Regenerate.
466 2010-06-28  Alan Modra  <amodra@gmail.com>
468         * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
469         * config/tc-crx.c (gettrap): Constify arg.
470         (handle_LoadStor, get_cinv_parameters): Likewise.
471         (getreg_image): Fix enum warning
472         (md_assemble): Restore input line char.
473         * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
474         * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
475         * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
476         (build_Mytes): Fix build failure for non-elf targets.
477         * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
478         * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
480         * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
481         * ecoff.c (add_ecoff_symbol): Likewise.
482         * itbl-ops.c (append_insns_as_macros): Likewise.
483         * listing.c (debugging_pseudo): Likewise.
484         * read.c (s_mri_common, stringer): Likewise.
485         * config/obj-coff.c (coff_frob_section): Likewise.
486         * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
487         * config/tc-arm.c (my_get_expression): Likewise.
488         * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
489         * config/tc-m32c.c (md_assemble): Likewise.
490         * config/tc-microblaze.c (md_convert_frag): Likewise.
491         * config/tc-mips.c (s_change_section): Likewise.
492         * config/tc-mt.c (mt_fix_adjustable): Likewise.
493         * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
495         * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
496         unused vars.
497         * config/tc-alpha.c (load_expression): Likewise.
498         (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
499         * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
500         * config/tc-avr.c (extract_word): Likewise.
501         * config/tc-cris.c (cris_get_expression): Likewise.
502         * config/tc-d30v.c (build_insn, find_format): Likewise.
503         * config/tc-dlx.c (machine_ip): Likewise.
504         * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
505         * config/tc-i370.c (md_assemble): Likewise.
506         * config/tc-i960.c (brtab_emit): Likewise.
507         * config/tc-iq2000.c (s_iq2000_ent): Likewise.
508         * config/tc-m32c.c (md_convert_frag): Likewise.
509         * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
510         (md_estimate_size_before_relax, md_apply_fix): Likewise.
511         * config/tc-m68k.c (md_show_usage): Likewise.
512         * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
513         * config/tc-mips.c (s_mips_end): Likewise.
514         * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
515         * config/tc-mn10300.c (md_assemble): Likewise.
516         * config/tc-msp430.c (extract_word): Likewise.
517         * config/tc-mt.c (md_assemble): Likewise.
518         * config/tc-or32.c (machine_ip): Likewise.
519         * config/tc-pj.c (md_apply_fix): Likewise.
520         * config/tc-s390.c (md_gather_operands): Likewise.
521         * config/tc-sh.c (sh_cons_align): Likewise.
522         * config/tc-sparc.c (sparc_cons_align): Likewise.
523         * config/tc-tic4x.c (tic4x_sect): Likewise.
524         * config/tc-tic54x.c (tic54x_stringer): Likewise.
525         * config/tc-vax.c (vip_op): Likewise.
526         * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
527         * config/tc-xtensa.c (md_assemble): Likewise.
528         (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
529         (xtensa_move_literals): Likewise.
531 2010-06-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
533         * config/tc-arm.c (parse_neon_alignment): New function.
534         (parse_address_main): Fix Neon load/store alignment parsing.
536 2010-06-22  Jan Beulich  <jbeulich@novell.com>
538         * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
539         symbols named "$".
540         (i386_intel_operand): Remove bogus handling of pseudo symbols
541         named "$".
542         * expr.c (current_location): Remove 'static' and local
543         declaration.
544         * expr.h (current_location): Declare.
546 2010-06-21  Sterling Augustine  <sterling@tensilica.com>
548         PR gas/11728
549         * as.c: Globalize keep_it.
550         (main): Remove keep_it. Move conditional from here...
551         (close_output_file): ...to here.
553 2010-06-21  Andreas Schwab  <schwab@redhat.com>
555         * doc/as.texinfo (Overview): Use @itemx for grouped @table
556         items.
557         * doc/c-alpha.texi (Alpha Options): Likewise.
558         * doc/c-arm.texi (ARM Directives): Likewise.
559         * doc/c-bfin.texi (Blackfin Options): Likewise.
560         * doc/c-d10v.texi (D10V-Opts): Likewise.
561         * doc/c-i386.texi (i386-Options): Likewise.
562         * doc/c-ia64.texi (IA-64 Options): Likewise.
563         * doc/c-m68k.texi (M68K-Opts): Likewise.
564         * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
565         * doc/internals.texi (Symbols): Likewise.
567 2010-06-21  Alan Modra  <amodra@gmail.com>
569         PR gas/11733
570         * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
572 2010-06-18  Joseph Myers  <joseph@codesourcery.com>
574         * config/tc-tic6x.h (tic6x_segment_info_type): Add field
575         func_units_used.
576         * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
577         (md_assemble): Clear func_units_used for new execute packet.
578         Check for duplicate functional units and update func_units_used
579         for instructions using a functional unit.
581 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
583         * config/tc-tic6x.c: Include elf/tic6x.h.
584         (tic6x_arch_attribute, tic6x_seen_insns): New.
585         (tic6x_arch_table, tic6x_arches): Add attribute values.
586         (tic6x_use_arch): Handle attribute settings.
587         (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
588         tic6x_attribute_table, tic6x_attributes,
589         tic6x_convert_symbolic_attribute): New.
590         (md_pseudo_table): Add c6xabi_attribute.
591         (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
592         (tic6x_set_attribute_int, tic6x_set_attributes): New.
593         (tic6x_end): Call tic6x_set_attributes.
594         * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
595         (tic6x_convert_symbolic_attribute): Declare.
597 2010-06-14  Alan Modra  <amodra@gmail.com>
599         * config/tc-ppc.c (md_assemble): Emit APUinfo section for
600         PPC_OPCODE_E500.
602 2010-06-11  Jan Beulich  <jbeulich@novell.com>
604         * config/tc-i386.c (md_parse_option): Ignore impossible processor
605         types.
606         (show_arch): New parameter 'check'.
607         (md_show_usage): Adjust calls to show_arch().
609 2010-06-10  H.J. Lu  <hongjiu.lu@intel.com>
611         * config/tc-i386.c (update_code_flag): New.
612         (set_code_flag): Use it.
613         (i386_target_format): Replace set_code_flag with update_code_flag.
615 2010-06-10  Tristan Gingold  <gingold@adacore.com>
617         * config/obj-som.h: Includes som/reloc.h
619 2010-06-10  Jan Beulich  <jbeulich@novell.com>
621         * config/tc-i386.c (cpu_arch): Add comment.
622         (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
623         from the generic entries of cpu_arch[].
625 2010-06-08  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
627         * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
628         value.
629         (parse_operands): Add support for OP_RRnpctw.
630         (insns): Update floating-point load/store multiples so the
631         first register is of type OP_RRnpctw.
633 2010-06-08  Quentin Neill  <quentin.neill@amd.com>
635         * config/tc-i386.c (pi): Rename local loop counter
636         variable i that shadows global static i386_insn i
637         when DEBUG386 is defined.
638         (pte) Ditto.
640 2010-06-08  Nick Clifton  <nickc@redhat.com>
642         * doc/as.texinfo: Replace abbreviated 20th century year numbers
643         with full versions.
645 2010-06-02  Quentin Neill  <quentin.neill@amd.com>
647         * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
649 2010-06-02  Tristan Gingold  <gingold@adacore.com>
651         * as.h: Remove conditionnal definition of HAVE_STDARG_H,
652         USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
653         Remove conditionnal inclusion of stdarg.h and varargs.h.
654         Assume ISO C.
655         * config.in: Regenerate.
656         * configure: Regenerate.
657         * configure.in: Remove stdarg.h and varargs.h from
658         AC_CHECK_HEADERS list.
659         * messages.c (as_tsktsk): Remove non ISO C version.
660         (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
662 2010-05-31  Tristan Gingold  <gingold@adacore.com>
664         * config/tc-alpha.c: Add comments for evax.
665         * config/obj-evax.c: Ditto.
667 2010-05-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
669         * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
670         lsls and not adds.
672 2010-05-27  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
674         * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
675         writeback when base register is in register list an error, and
676         correct check.
677         (do_t_ldmstm): Change warnings.
679 2010-05-26  Catherine Moore  <clm@codesourcery.com>
681         * config/tc-mips.c (is_opcode_valid): Remove expansionp.
682         (macro_build): Change invocation of is_opcode_valid.
683         (mips_ip): Likewise.
685 2010-05-25  Nick Clifton  <nickc@redhat.com>
687         * Makefile.am (MOSTLYCLEANFILES): Fix typo.
688         * Makefile.in: Regenerate.
690 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
691             Joseph Myers  <joseph@codesourcery.com>
692             Andrew Stubbs  <ams@codesourcery.com>
694         * config/tc-sh.c (sh_fdpic): New.
695         (sh_check_fixup): Handle relocations on movi20.
696         (parse_exp): Do not reject PIC operators here.
697         (build_Mytes): Check for unhandled PIC operators here.  Use
698         sh_check_fixup for movi20.
699         (enum options): Add OPTION_FDPIC.
700         (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
701         (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
702         (sh_elf_final_processing): Handle --fdpic.
703         (sh_uclinux_target_format): New.
704         (sh_parse_name): Handle FDPIC relocation operators.
705         * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
706         (sh_uclinux_target_format): Declare for TE_UCLINUX.
707         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
708         em=uclinux.
709         * doc/c-sh.texi (SH Options): Document --fdpic.
711 2010-05-25  Jay Krell  <jay.krell@cornell.edu>
713         PR ld/11621
714         * Makefile.am: Replace all occurences of .o with .@OBJEXT@
715         * Makefile.in: Regenerate.
717 2010-05-25  Alan Modra  <amodra@gmail.com>
719         * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
721 2010-05-19  Nick Clifton  <nickc@redhat.com>
723         * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
724         of known section prefixes.
726 2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
728         PR gas/11600
729         * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
730         (obj_elf_parse_section_letters): Likewise.
731         (obj_elf_section_word): Likewise.
733         * config/tc-ppc.c (ppc_section_letter): Removed.
734         (ppc_section_word): Likewise.
735         * config/tc-ppc.h (ppc_section_letter): Likewise.
736         (ppc_section_word): Likewise.
737         (md_elf_section_letter): Likewise.
738         (md_elf_section_word): Likewise.
740         * doc/as.texinfo: Document `e' and `#exclude'.
742 2010-05-13  Nathan Sidwell  <nathan@codesourcery.com>
744         * config/tc-arm.c (md_assemble): Clarify current mode in error
745         messages about unsupported instructions.
746         (UT): Delete #define.
747         (insns): Adjust cbnz, cbz appropriately.
749 2010-05-11  Andrew Stubbs  <ams@codesourcery.com>
751         * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
753 2010-05-11  Jie Zhang  <jie@codesourcery.com>
755         * config/tc-arm.c (aeabi_set_public_attributes): Set
756         Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
758 2010-05-07  Tristan Gingold  <gingold@adacore.com>
760         * Makefile.in: Regenerate with automake 1.11.1.
761         * aclocal.m4: Ditto.
762         * doc/Makefile.in: Ditto.
764 2010-05-05  Nick Clifton  <nickc@redhat.com>
766         * po/es.po: Updated Spanish translation.
768 2010-05-05  Julian Brown  <julian@codesourcery.com>
770         * read.c (cons_worker): Detect and reject unexpected string argument.
772 2010-05-04  Nick Clifton  <nickc@redhat.com>
774         * write.c (fixup_segment): Revert previous delta.
775         * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
776         generation of relocations for fixups against weak symbols.
778 2010-04-29  Nathan Sidwell  <nathan@codesourcery.com>
780         * write.c (fixup_segment): Do not assume we know the section a
781         defined weak symbol is in.
782         * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
783         weak symbols as not known to be in the same section, even if they
784         are defined.
786 2010-04-27  Joseph Myers  <joseph@codesourcery.com>
788         * config/tc-tic6x.h (tic6x_label_list): New.
789         (tic6x_segment_info_type): Keep a list of labels and a current
790         frag instead of a boolean for whether labels seen and a count of
791         instructions.
792         (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
793         md_do_align, tic6x_do_align, md_end, tic6x_end): New.
794         * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
795         (tic6x_cleanup): Correct comment.
796         (tic6x_free_label_list): New.
797         (tic6x_cons_align): Free label list and update for
798         tic6x_segment_info_type changes.
799         (tic6x_do_align): New.
800         (md_assemble): Handle list of labels and saved frag for execute
801         packet.  Create machine-dependent frag for new execute packet and
802         adjust labels accordingly.
803         (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
804         (md_convert_frag, md_estimate_size_before_relax): Update comments.
806 2010-04-24  H.J. Lu  <hongjiu.lu@intel.com>
808         PR gas/11535
809         * config/tc-i386-intel.c (intel_state): Add is_indirect.
810         (i386_intel_operand): Initialize intel_state.is_indirect.  Check
811         intel_state.is_indirect for "call|jmp [symbol]".
813 2010-04-22  Nick Clifton  <nickc@redhat.com>
815         * po/gas.pot: Updated by the Translation project.
817 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
819         * config/tc-i386.c (i386_is_register): Removed.
820         (x86_cons): Don't use i386_is_register.
821         (parse_register): Likewise.
822         * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
823         (i386_intel_operand): Likewise.
825 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
827         * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
828         i386_is_register.
830 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
832         * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
833         (x86_cons): Updated.
834         (parse_register): Likewise.
835         (tc_x86_parse_to_dw2regnum): Likewise.
836         * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
837         (i386_intel_operand): Likewise.
839 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
841         PR gas/11509
842         * config/tc-i386-intel.c (i386_intel_simplify_register): New.
843         (i386_intel_simplify): Use i386_is_register and
844         i386_intel_simplify_register. Set X_md for O_register and
845         check X_md for O_constant.
846         (i386_intel_operand): Use i386_is_register.
848         * config/tc-i386.c (i386_is_register): New.
849         (x86_cons): Initialize the X_md field.  Use i386_is_register.
850         (parse_register): Use i386_is_register.
851         (tc_x86_parse_to_dw2regnum): Likewise.
853 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
855         * expr.c (expr): Initialize the X_md field.
857 2010-04-20  Joseph Myers  <joseph@codesourcery.com>
859         * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
860         (md_longopts): Add -mgenerate-rel.
861         (tic6x_generate_rela): New.
862         (md_parse_option): Handle -mgenerate-rel.
863         (md_show_usage): Add comment that -mgenerate-rel is undocumented.
864         (tic6x_init_after_args): New.
865         (md_apply_fix): Correct shift calculations for SB-relative
866         relocations.
867         (md_pcrel_from): Change to tic6x_pcrel_from_section.  Do not
868         adjust addresses for relocations referencing symbols in other
869         sections.
870         (tc_gen_reloc): Adjust addend calculations for REL relocations.
871         * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
872         tic6x_pcrel_from_section, tc_init_after_args,
873         tic6x_init_after_args): New.
875 2010-04-20  Nick Clifton  <nickc@redhat.com>
877         PR gas/11507
878         * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
879         altmacro mode if found inside a quoted string.
881 2010-04-20  Mike Frysinger  <vapier@gentoo.org>
883         * config/bfin-lex.l (parse_int): Change index() to strchr().
885 2010-04-16  Nick Clifton  <nickc@redhat.com>
887         PR gas/11395
888         * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
889         matcher to accept and unconditional 32-bit add instruction.
890         (pa_build_unwind_subspace): Cope with error conditions not
891         allowing the start symbol to be set.
893 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
895         * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
896         new tag names in v2.08 of ARM ABI.
897         * doc/c-arm.texi: Document new tag names in ABI.
899 2010-04-14  Tristan Gingold  <gingold@adacore.com>
901         * config/tc-alpha.c: Includes vms/egps.h on EVAX.
902         (s_alpha_comm): Used new EGPS macros from egps.h
903         (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
904         (s_alpha_section_word): Add comments.  Use new EGPS macros.
905         Adjust for modified bfd_vms_set_section_flags function.
907 2010-04-10  Alan Modra  <amodra@gmail.com>
909         PR gas/11486
910         * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
912 2010-04-09  Nick Clifton  <nickc@redhat.com>
914         * as.c (create_obj_attrs_section): Remove unused variable addr.
915         * listing.c (listing_listing): Remove unused variable message.
916         * read.c: Remove unnecessary register type qualifiers.
917         (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
918         defined.
920 2010-04-07  Eric B. Weddington  <eric.weddington@atmel.com>
922         * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
923         atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
924         atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
925         atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
926         atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
927         atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
928         atmega88pa, attiny461a, attiny84a, m3000.
929         Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
930         atmega8hvd, attiny327, m3000f, m3000s, m3001b.
931         * doc/c-avr.texi: Same.
933 2010-04-07  Jie Zhang  <jie@codesourcery.com>
935         * config/tc-arm.c (make_mapping_symbol): Handle the case
936         that multiple mapping symbols have the same value 0.
938 2010-04-07  Alan Modra  <amodra@gmail.com>
940         * configure: Regenerate.
942 2010-04-06  Nick Clifton  <nickc@redhat.com>
944         * po/ru.po: New Russian translation.
945         * configure.in (ALL_LINGUAS): Add ru.
946         * configure: Regenerate.
948 2010-03-30  H.J. Lu  <hongjiu.lu@intel.com>
950         PR gas/11456
951         * input-scrub.c (input_scrub_next_buffer): Use memmove instead
952         of memcpy to copy overlap memory.
954 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
956         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
957         (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
958         * Makefile.in: Regenerate.
959         * NEWS: Add news entry for TI C6X support.
960         * app.c (do_scrub_chars): Handle "||^" for TI C6X.  Handle
961         TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR.  Keep spaces in
962         operands if TC_KEEP_OPERAND_SPACES.
963         * configure.tgt (tic6x-*-*): New.
964         * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
965         TC_PREDICATE_END_CHAR): Define.
966         * config/tc-tic6x.c, config/tc-tic6x.h: New.
967         * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
968         * doc/Makefile.in: Regenerate.
969         * doc/all.texi (TIC6X): Define.
970         * doc/as.texinfo: Add TI C6X documentation.  Include c-tic6x.texi.
971         * doc/c-tic6x.texi: New.
973 2010-03-22  H.J. Lu  <hongjiu.lu@intel.com>
975         * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
977 2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
979         * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
980         with operand_size_mismatch.
981         (operand_size_match): Updated.
982         (match_template): Likewise.
984 2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
986         * config/tc-i386.c (i386_error): New.
987         (_i386_insn): Replace err_msg with error.
988         (operand_size_match): Set error instead of err_msg on failure.
989         (operand_type_match): Likewise.
990         (operand_type_register_match): Likewise.
991         (VEX_check_operands): Likewise.
992         (match_template): Likewise.  Use error instead of err_msg with
993         as_bad.
995 2010-03-19  Jie Zhang  <jie@codesourcery.com>
997         * config/tc-arm.c (make_mapping_symbol): Hanle the case
998         that two mapping symbols have the same value.
1000 2010-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
1002         * doc/c-arm.texi (.setfp): Correct example.
1004 2010-03-18  Wei Guozhi  <carrot@google.com>
1006         PR gas/11323
1007         * config/tc-arm.c (reloc_names): New relocation names.
1008         (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1009         (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1010         * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1012 2010-03-15  Thomas Schwinge  <thomas@codesourcery.com>
1014         * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1015         cases, and not only for .eh_frame.
1017         * dw2gencfi.c (output_cie): Make it more explicit which code paths
1018         belong to .eh_frame only.
1020 2010-03-13  Segher Boessenkool  <segher@kernel.crashing.org>
1022         * config/tc-v850.c (v850_insert_operand): Handle out-of-range
1023         assembler constants on 64-bit hosts.
1025 2010-03-10  Mike Frysinger  <michael.frysinger@analog.com>
1027         * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1028         Strip trailing whitespace.
1030 2010-03-10  Mike Frysinger  <michael.frysinger@analog.com>
1032         * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1033         * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1034         BFIN_CPU_BF506.
1035         (bfin_cpus[]): Add 0.0 for bf504 and bf506.
1037 2010-03-10  Jie Zhang  <jie@codesourcery.com>
1039         * doc/as.texinfo: Add Blackfin options.
1040         * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1041         * config/tc-bfin.c (md_show_usage): Show usage for all
1042         Blackfin specific options.
1044 2010-03-09  Alan Modra  <amodra@gmail.com>
1046         PR gas/11356
1047         * listing.c (listing_newline): Correct backslash quote logic.
1049 2010-03-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1051         * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1052         (ELF_TARGET_FORMAT64): Define.
1054 2010-03-05  Paul Brook  <paul@codesourcery.com>
1056         * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1058 2010-03-02  Andrew Stubbs  <ams@codesourcery.com>
1060         * config/tc-sh.c (get_specific): Move overflow checking code to avoid
1061         reading uninitialized data.
1063 2010-03-01  Tristan Gingold  <gingold@adacore.com>
1065         * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1067 2010-02-26  Doug Evans  <dje@sebabeach.org>
1069         * configure.tgt: Fix mep cpu case.
1071 2010-02-26  Jie Zhang  <jie@codesourcery.com>
1073         * config/tc-arm.c (do_t_strexd): Remove
1074         operand[1] != operand[2] contraint.
1076 2010-02-26  Jie Zhang  <jie@codesourcery.com>
1078         * config/tc-arm.c (neon_select_shape): No need to match
1079         the remaining operands in the shape when one operand does
1080         not match.
1082 2010-02-26  Jie Zhang  <jie@codesourcery.com>
1084         * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1085         alignment.
1087 2010-02-25  Doug Evans  <dje@sebabeach.org>
1089         * cgen.c: Whitespace fixes.
1090         (weak_operand_overflow_check): Formatting fix.
1092 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
1094         * config/tc-i386.c (match_template): Update error messages.
1096 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
1098         * config/tc-i386.c (_i386_insn): Add err_msg.
1099         (operand_size_match): Set err_msg on failure.
1100         (operand_type_match): Likewise.
1101         (operand_type_register_match): Likewise.
1102         (VEX_check_operands): Likewise.
1103         (match_template): Likewise.  Use i.err_msg with as_bad.
1105 2010-02-25  Wu Zhangjin <wuzhangjin@gmail.com>
1107         * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1108         mips_fix_loongson2f_jump): New variables.
1109         (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1110         -mno-fix-loongson2f-nop/jump.
1111         (md_parse_option): Initialize variables via above options.
1112         (options): New enums for the above options.
1113         (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1114         (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1115         New functions.
1116         (append_insn): call fix_loongson2f().
1117         (mips_handle_align): Replace the implicit nops.
1118         * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1119         for the new mips_handle_align().
1120         * doc/c-mips.texi: Document the new options.
1122 2010-02-23  Daniel Gutson  <dgutson@codesourcery.com>
1124         * config/tc-arm.c (do_rd_rm_rn): Added warning
1125         for obsolete insns.
1127 2010-02-23  Andrew Zabolotny  <anpaza@mail.ru>
1129         PR binutils/11297
1130         * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1131         (avr_cons_fix_new): Handle fixups of a single byte.
1133 2010-02-22  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1135         PR 9861
1136         * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1137         compiler's predefines.
1139 2010-02-19  Alan Modra  <amodra@gmail.com>
1141         * configure.tgt: Whiltespace.  Sort moxie entry.
1143 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1145         * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1146         * doc/c-arm.texi: Likewise.
1148 2010-02-12  Daniel Gutson <dgutson@codesourcery.com>
1150         * config/tc-arm.c (asm_opcode): operands type
1151         change.
1152         (BAD_PC_ADDRESSING): New macro message.
1153         (BAD_PC_WRITEBACK): Likewise.
1154         (MIX_ARM_THUMB_OPERANDS): New macro.
1155         (operand_parse_code): Added enum values.
1156         (parse_operands): Added thumb/arm distinction,
1157         plus new enum values handling.
1158         (encode_arm_addr_mode_2): Validations enhanced.
1159         (encode_arm_addr_mode_3): Likewise.
1160         (do_rm_rd_rn): Likewise.
1161         (encode_thumb32_addr_mode): Likewise.
1162         (do_t_ldrex): Likewise.
1163         (do_t_ldst): Likewise.
1164         (do_t_strex): Likewise.
1165         (md_assemble): Call parse_operands with
1166         a new parameter.
1167         (OPS_1): New macro.
1168         (OPS_2): Likewise.
1169         (OPS_3): Likewise.
1170         (OPS_4): Likewise.
1171         (OPS_5): Likewise.
1172         (OPS_6): Likewise.
1173         (insns): Updated insns operands.
1175 2010-02-12  Tristan Gingold  <gingold@adacore.com>
1176             Douglas B Rupp  <rupp@gnat.com>
1178         * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1179         (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1180         (pseudo_func): Add an entry for slotcount.
1181         (md_begin): Initialize slotcount pseudo symbol.
1182         (ia64_parse_name): Handle @slotcount parameter.
1183         (ia64_gen_real_reloc_type): Handle slotcount.
1184         (md_apply_fix): Ditto.
1185         * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1187 2010-02-11  Sterling Augustine  <sterling@jaw.hq.tensilica.com>
1189         * config/tc-xtensa.c (istack_init): Don't call memset.
1191 2010-02-11  Sterling Augustine  <sterling@tensilica.com>
1193         * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
1194         well as suffixes.
1196 2010-02-11  Sterling Augustine  <sterling@tensilica.com>
1198         * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
1200 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
1202         * config/tc-i386.c (build_modrm_byte): Reformat.
1204 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
1206         * config/tc-i386.c: Update copyright.
1208 2010-02-10  Quentin Neill  <quentin.neill@amd.com>
1209             Sebastian Pop  <sebastian.pop@amd.com>
1211         * config/tc-i386.c (vec_imm4) New operand type.
1212         (fits_in_imm4): New.
1213         (VEX_check_operands): New.
1214         (check_reverse): Call VEX_check_operands.
1215         (build_modrm_byte): Reintroduce code for 5
1216         operand insns.  Fix whitespace.
1218 2010-02-10  Richard Sandiford  <r.sandiford@uk.ibm.com>
1220         * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
1221         -mpwr6 and -mpwr7.
1223 2010-02-09  Sterling Augustine  <sterling@tensilica.com>
1225         * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
1226         (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
1227         (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
1229 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
1231         * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
1232         non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
1233         BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
1234         BFD_RELOC_ARM_PCREL_CALL)
1236 2010-02-08  Sterling Augustine  <sterling@tensilica.com>
1238         * config/tc-xtensa.c (frag_format_size): Generalize logic to
1239         handle more instruction sizes and fetch widths.
1240         (branch_align_power): Likewise.
1241         (text_align_power): Likewise.
1242         (bytes_to_stretch): Likewise.
1244 2010-02-08  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
1246         * config/tc-ppc.c (md_show_usage): Mention -mtitan.  Don't use tabs.
1247         (ppc_mach): Handle titan.
1248         * doc/c-ppc.texi: Mention -mtitan.
1250 2010-02-05  Sterling Augustine  <sterling@tensilica.com>
1252         * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
1253         replace with...
1254         (xtensa_fetch_width) ...this.
1256 2010-02-05  Joseph Myers  <joseph@codesourcery.com>
1258         * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
1259         MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
1260         * Makefile.in: Regenerate.
1262 2010-02-03  Quentin Neill  <quentin.neill@amd.com>
1264         * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
1265         (i386_align_code): Rename  PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
1266         * config/tc-i386.h (processor_type): Same.
1267         * doc/c-i386.texi: Change amdfam15 to bdver1.
1269 2010-01-29  Nick Clifton  <nickc@redhat.com>
1271         PR 11136
1272         * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
1273         NS_NULL.
1275 2010-01-27  Dave Korn  <dave.korn.cygwin@gmail.com>
1277         * NEWS: Mention new feature.
1278         * config/obj-coff.c (obj_coff_section): Accept digits and use
1279         to override default section alignment power if specified.
1280         * doc/as.texinfo (.section directive): Update documentation.
1282 2010-01-27  H.J. Lu  <hongjiu.lu@intel.com>
1284         * config/tc-i386.c (avxscalar): New.
1285         (OPTION_MAVXSCALAR): Likewise.
1286         (build_vex_prefix): Select vector_length for scalar instructions
1287         based on avxscalar.
1288         (md_longopts): Add OPTION_MAVXSCALAR.
1289         (md_parse_option): Handle OPTION_MAVXSCALAR.
1290         (md_show_usage): Add -mavxscalar=.
1292         * doc/c-i386.texi: Document -mavxscalar=.
1294 2010-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1296         * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
1297         0xc4 individually.
1299 2010-01-23  Richard Sandiford  <r.sandiford@uk.ibm.com>
1301         * write.h (fix_at_start): Declare.
1302         * write.c (fix_new_internal): Add at_beginning parameter.
1303         Use it instead of REVERSE_SORT_RELOCS.  Fix the handling of
1304         seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
1305         (fix_new, fix_new_exp): Update accordingly.
1306         (fix_at_start): New function.
1307         * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
1308         (ppc_ref): New function, for OBJ_XCOFF.
1309         (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
1310         * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
1312 2010-01-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1314         * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
1315         on 64-bit Solaris/x86.
1316         Include obj-format.h earlier.
1318 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1320         * config/tc-s390.c (s390_elf_final_processing): New function.
1321         * config/tc-s390.h (elf_tc_final_processing): New macro definition.
1322         (s390_elf_final_processing): Added prototype.
1325 2010-01-20  Nick Clifton  <nickc@redhat.com>
1327         PR 11109
1328         * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1.  Add
1329         code to handle round-to-zero for VCVT conversions.
1330         (do_neon_cvt): New.  Call do_neon_cvt_1.
1331         (do_neon_cvtr): New.  Call do_neon_cvt_1.
1332         (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
1333         insn.
1335 2010-01-18  Tristan Gingold  <gingold@adacore.com>
1337         * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
1339 2010-01-15  Sebastian Pop  <sebastian.pop@amd.com>
1341         * config/tc-i386.c (md_assemble): Before accessing the IMM field
1342         check that it's not an XOP insn.
1344 2010-01-14  Jie Zhang  <jie.zhang@analog.com>
1346         * config/bfin-aux.h: Remove argument names in function
1347         declarations.
1348         * config/bfin-lex.l (parse_int): Fix shadowed variable name
1349         warning.
1350         * config/bfin-parse.y (value_match): Remove argument names
1351         in declaration.
1352         (notethat): Likewise.
1353         (yyerror): Likewise.
1355 2010-01-13  Daniel Jacobowitz  <dan@codesourcery.com>
1357         * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
1359 2010-01-13  Nick Clifton  <nickc@redhat.com>
1361         * config/tc-h8300.c (h8300_elf_section): New function - issue a
1362         warning message if a new section is created without setting any
1363         attributes for it.
1364         (md_pseudo_table): Intercept section creation pseudos.
1365         (md_pcrel_from): Replace abort with an error message.
1366         * config/obj-elf.c (obj_elf_section_name): Export this function.
1367         * config/obj-elf.h (obj_elf_section_name): Prototype.
1369 2010-01-12  Alan Modra  <amodra@gmail.com>
1371         PR 11122
1372         * listing.c (print_source): Add one to line number.
1374 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1376         * Makefile.in: Regenerate.
1377         * configure: Regenerate.
1378         * doc/Makefile.in: Regenerate.
1380 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1382         * version.c (parse_args): Change to "Copyright 2010".
1384 2010-01-06  Quentin Neill  <quentin.neill@amd.com>
1386         * config/tc-i386.c (cpu_arch): Add amdfam15.
1387         (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
1388         * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
1389         * doc/c-i386.texi: Add amdfam15.
1391 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
1393         * config/tc-arm.c (do_neon_logic): Accept imm value
1394         in the third operand too.
1395         (operand_parse_code): OP_RNDQ_IMVNb renamed to
1396         OP_RNDQ_Ibig.
1397         (parse_operands): OP_NILO case removed, applied renaming.
1398         (insns): Neon shape changed for some logic instructions.
1400 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
1402         * config/tc-arm.c (do_neon_ldx_stx): Added
1403         validation for vector load/store insns.
1405 2010-01-04  Edmar Wienskoski  <edmar@freescale.com>
1407         * config/tc-ppc.c (md_show_usage): Document -me500mc64.
1409 2010-01-03  Daniel Gutson  <dgutson@codesourcery.com>
1411         * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
1412         (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
1413         (NEON_ENCODE): New macro.
1414         (check_neon_suffixes): New macro.
1415         (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
1416         (do_vfp_nsyn_opcode): Likewise.
1417         (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
1418         (do_vfp_nsyn_cmp): Likewise.
1419         (do_neon_shl_imm): Likewise.
1420         (do_neon_qshl_imm): Likewise.
1421         (neon_dyadic_misc): Likewise.
1422         (do_neon_mac_maybe_scalar): Likewise.
1423         (do_neon_qdmulh): Likewise.
1424         (do_neon_qmovn): Likewise.
1425         (do_neon_qmovun): Likewise.
1426         (do_neon_movn): Likewise.
1427         (neon_mac_reg_scalar_long): Likewise.
1428         (do_neon_vmull): Likewise.
1429         (do_neon_trn): Likewise.
1430         (do_neon_ldx_stx): Likewise.
1431         (neon_dp_fixup): Changed signature and set the flag.
1432         (neon_three_same): Call the above with new signature.
1433         (neon_two_same): Likewise.
1434         (neon_imm_shift): Likewise.
1435         (neon_mul_mac): Likewise.
1436         (do_neon_abs_neg): Likewise.
1437         (neon_mixed_length): Likewise.
1438         (do_neon_ext): Likewise.
1439         (do_neon_mov): Likewise.
1440         (do_neon_tbl_tbx): Likewise.
1441         (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
1442         (neon_compare): Likewise.
1443         (do_neon_shll): Likewise.
1444         (do_neon_cvt): Likewise.
1445         (do_neon_mvn): Likewise.
1446         (do_neon_dup): Likewise.
1447         (md_assemble): Call check_neon_suffixes ().
1449 For older changes see ChangeLog-2009
1451 Local Variables:
1452 mode: change-log
1453 left-margin: 8
1454 fill-column: 74
1455 version-control: never
1456 End: