Stop if -march=XXX is invalid.
[binutils.git] / gas / ChangeLog
blob4b2a357d0b9323682c5c69da313ca4822c2df07f
1 2010-06-10  H.J. Lu  <hongjiu.lu@intel.com>
3         * config/tc-i386.c (update_code_flag): New.
4         (set_code_flag): Use it.
5         (i386_target_format): Replace set_code_flag with update_code_flag.
7 2010-06-10  Tristan Gingold  <gingold@adacore.com>
9         * config/obj-som.h: Includes som/reloc.h
11 2010-06-10  Jan Beulich  <jbeulich@novell.com>
13         * config/tc-i386.c (cpu_arch): Add comment.
14         (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
15         from the generic entries of cpu_arch[].
17 2010-06-08  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
19         * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
20         value.
21         (parse_operands): Add support for OP_RRnpctw.
22         (insns): Update floating-point load/store multiples so the
23         first register is of type OP_RRnpctw.
25 2010-06-08  Quentin Neill  <quentin.neill@amd.com>
27         * config/tc-i386.c (pi): Rename local loop counter
28         variable i that shadows global static i386_insn i
29         when DEBUG386 is defined.
30         (pte) Ditto.
32 2010-06-08  Nick Clifton  <nickc@redhat.com>
34         * doc/as.texinfo: Replace abbreviated 20th century year numbers
35         with full versions.
37 2010-06-02  Quentin Neill  <quentin.neill@amd.com>
39         * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
41 2010-06-02  Tristan Gingold  <gingold@adacore.com>
43         * as.h: Remove conditionnal definition of HAVE_STDARG_H,
44         USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
45         Remove conditionnal inclusion of stdarg.h and varargs.h.
46         Assume ISO C.
47         * config.in: Regenerate.
48         * configure: Regenerate.
49         * configure.in: Remove stdarg.h and varargs.h from
50         AC_CHECK_HEADERS list.
51         * messages.c (as_tsktsk): Remove non ISO C version.
52         (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
54 2010-05-31  Tristan Gingold  <gingold@adacore.com>
56         * config/tc-alpha.c: Add comments for evax.
57         * config/obj-evax.c: Ditto.
59 2010-05-28  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
61         * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
62         lsls and not adds.
64 2010-05-27  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
66         * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
67         writeback when base register is in register list an error, and
68         correct check.
69         (do_t_ldmstm): Change warnings.
71 2010-05-26  Catherine Moore  <clm@codesourcery.com>
73         * config/tc-mips.c (is_opcode_valid): Remove expansionp.
74         (macro_build): Change invocation of is_opcode_valid.
75         (mips_ip): Likewise.
77 2010-05-25  Nick Clifton  <nickc@redhat.com>
79         * Makefile.am (MOSTLYCLEANFILES): Fix typo.
80         * Makefile.in: Regenerate.
82 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
83             Joseph Myers  <joseph@codesourcery.com>
84             Andrew Stubbs  <ams@codesourcery.com>
86         * config/tc-sh.c (sh_fdpic): New.
87         (sh_check_fixup): Handle relocations on movi20.
88         (parse_exp): Do not reject PIC operators here.
89         (build_Mytes): Check for unhandled PIC operators here.  Use
90         sh_check_fixup for movi20.
91         (enum options): Add OPTION_FDPIC.
92         (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
93         (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
94         (sh_elf_final_processing): Handle --fdpic.
95         (sh_uclinux_target_format): New.
96         (sh_parse_name): Handle FDPIC relocation operators.
97         * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
98         (sh_uclinux_target_format): Declare for TE_UCLINUX.
99         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
100         em=uclinux.
101         * doc/c-sh.texi (SH Options): Document --fdpic.
103 2010-05-25  Jay Krell  <jay.krell@cornell.edu>
105         PR ld/11621
106         * Makefile.am: Replace all occurences of .o with .@OBJEXT@
107         * Makefile.in: Regenerate.
109 2010-05-25  Alan Modra  <amodra@gmail.com>
111         * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
113 2010-05-19  Nick Clifton  <nickc@redhat.com>
115         * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
116         of known section prefixes.
118 2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
120         PR gas/11600
121         * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
122         (obj_elf_parse_section_letters): Likewise.
123         (obj_elf_section_word): Likewise.
125         * config/tc-ppc.c (ppc_section_letter): Removed.
126         (ppc_section_word): Likewise.
127         * config/tc-ppc.h (ppc_section_letter): Likewise.
128         (ppc_section_word): Likewise.
129         (md_elf_section_letter): Likewise.
130         (md_elf_section_word): Likewise.
132         * doc/as.texinfo: Document `e' and `#exclude'.
134 2010-05-13  Nathan Sidwell  <nathan@codesourcery.com>
136         * config/tc-arm.c (md_assemble): Clarify current mode in error
137         messages about unsupported instructions.
138         (UT): Delete #define.
139         (insns): Adjust cbnz, cbz appropriately.
141 2010-05-11  Andrew Stubbs  <ams@codesourcery.com>
143         * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
145 2010-05-11  Jie Zhang  <jie@codesourcery.com>
147         * config/tc-arm.c (aeabi_set_public_attributes): Set
148         Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
150 2010-05-07  Tristan Gingold  <gingold@adacore.com>
152         * Makefile.in: Regenerate with automake 1.11.1.
153         * aclocal.m4: Ditto.
154         * doc/Makefile.in: Ditto.
156 2010-05-05  Nick Clifton  <nickc@redhat.com>
158         * po/es.po: Updated Spanish translation.
160 2010-05-05  Julian Brown  <julian@codesourcery.com>
162         * read.c (cons_worker): Detect and reject unexpected string argument.
164 2010-05-04  Nick Clifton  <nickc@redhat.com>
166         * write.c (fixup_segment): Revert previous delta.
167         * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
168         generation of relocations for fixups against weak symbols.
170 2010-04-29  Nathan Sidwell  <nathan@codesourcery.com>
172         * write.c (fixup_segment): Do not assume we know the section a
173         defined weak symbol is in.
174         * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
175         weak symbols as not known to be in the same section, even if they
176         are defined.
178 2010-04-27  Joseph Myers  <joseph@codesourcery.com>
180         * config/tc-tic6x.h (tic6x_label_list): New.
181         (tic6x_segment_info_type): Keep a list of labels and a current
182         frag instead of a boolean for whether labels seen and a count of
183         instructions.
184         (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
185         md_do_align, tic6x_do_align, md_end, tic6x_end): New.
186         * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
187         (tic6x_cleanup): Correct comment.
188         (tic6x_free_label_list): New.
189         (tic6x_cons_align): Free label list and update for
190         tic6x_segment_info_type changes.
191         (tic6x_do_align): New.
192         (md_assemble): Handle list of labels and saved frag for execute
193         packet.  Create machine-dependent frag for new execute packet and
194         adjust labels accordingly.
195         (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
196         (md_convert_frag, md_estimate_size_before_relax): Update comments.
198 2010-04-24  H.J. Lu  <hongjiu.lu@intel.com>
200         PR gas/11535
201         * config/tc-i386-intel.c (intel_state): Add is_indirect.
202         (i386_intel_operand): Initialize intel_state.is_indirect.  Check
203         intel_state.is_indirect for "call|jmp [symbol]".
205 2010-04-22  Nick Clifton  <nickc@redhat.com>
207         * po/gas.pot: Updated by the Translation project.
209 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
211         * config/tc-i386.c (i386_is_register): Removed.
212         (x86_cons): Don't use i386_is_register.
213         (parse_register): Likewise.
214         * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
215         (i386_intel_operand): Likewise.
217 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
219         * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
220         i386_is_register.
222 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
224         * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
225         (x86_cons): Updated.
226         (parse_register): Likewise.
227         (tc_x86_parse_to_dw2regnum): Likewise.
228         * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
229         (i386_intel_operand): Likewise.
231 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
233         PR gas/11509
234         * config/tc-i386-intel.c (i386_intel_simplify_register): New.
235         (i386_intel_simplify): Use i386_is_register and
236         i386_intel_simplify_register. Set X_md for O_register and
237         check X_md for O_constant.
238         (i386_intel_operand): Use i386_is_register.
240         * config/tc-i386.c (i386_is_register): New.
241         (x86_cons): Initialize the X_md field.  Use i386_is_register.
242         (parse_register): Use i386_is_register.
243         (tc_x86_parse_to_dw2regnum): Likewise.
245 2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
247         * expr.c (expr): Initialize the X_md field.
249 2010-04-20  Joseph Myers  <joseph@codesourcery.com>
251         * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
252         (md_longopts): Add -mgenerate-rel.
253         (tic6x_generate_rela): New.
254         (md_parse_option): Handle -mgenerate-rel.
255         (md_show_usage): Add comment that -mgenerate-rel is undocumented.
256         (tic6x_init_after_args): New.
257         (md_apply_fix): Correct shift calculations for SB-relative
258         relocations.
259         (md_pcrel_from): Change to tic6x_pcrel_from_section.  Do not
260         adjust addresses for relocations referencing symbols in other
261         sections.
262         (tc_gen_reloc): Adjust addend calculations for REL relocations.
263         * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
264         tic6x_pcrel_from_section, tc_init_after_args,
265         tic6x_init_after_args): New.
267 2010-04-20  Nick Clifton  <nickc@redhat.com>
269         PR gas/11507
270         * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
271         altmacro mode if found inside a quoted string.
273 2010-04-20  Mike Frysinger  <vapier@gentoo.org>
275         * config/bfin-lex.l (parse_int): Change index() to strchr().
277 2010-04-16  Nick Clifton  <nickc@redhat.com>
279         PR gas/11395
280         * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
281         matcher to accept and unconditional 32-bit add instruction.
282         (pa_build_unwind_subspace): Cope with error conditions not
283         allowing the start symbol to be set.
285 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
287         * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
288         new tag names in v2.08 of ARM ABI.
289         * doc/c-arm.texi: Document new tag names in ABI.
291 2010-04-14  Tristan Gingold  <gingold@adacore.com>
293         * config/tc-alpha.c: Includes vms/egps.h on EVAX.
294         (s_alpha_comm): Used new EGPS macros from egps.h
295         (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
296         (s_alpha_section_word): Add comments.  Use new EGPS macros.
297         Adjust for modified bfd_vms_set_section_flags function.
299 2010-04-10  Alan Modra  <amodra@gmail.com>
301         PR gas/11486
302         * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
304 2010-04-09  Nick Clifton  <nickc@redhat.com>
306         * as.c (create_obj_attrs_section): Remove unused variable addr.
307         * listing.c (listing_listing): Remove unused variable message.
308         * read.c: Remove unnecessary register type qualifiers.
309         (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
310         defined.
312 2010-04-07  Eric B. Weddington  <eric.weddington@atmel.com>
314         * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
315         atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
316         atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
317         atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
318         atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
319         atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
320         atmega88pa, attiny461a, attiny84a, m3000.
321         Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
322         atmega8hvd, attiny327, m3000f, m3000s, m3001b.
323         * doc/c-avr.texi: Same.
325 2010-04-07  Jie Zhang  <jie@codesourcery.com>
327         * config/tc-arm.c (make_mapping_symbol): Handle the case
328         that multiple mapping symbols have the same value 0.
330 2010-04-07  Alan Modra  <amodra@gmail.com>
332         * configure: Regenerate.
334 2010-04-06  Nick Clifton  <nickc@redhat.com>
336         * po/ru.po: New Russian translation.
337         * configure.in (ALL_LINGUAS): Add ru.
338         * configure: Regenerate.
340 2010-03-30  H.J. Lu  <hongjiu.lu@intel.com>
342         PR gas/11456
343         * input-scrub.c (input_scrub_next_buffer): Use memmove instead
344         of memcpy to copy overlap memory.
346 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
348         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
349         (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
350         * Makefile.in: Regenerate.
351         * NEWS: Add news entry for TI C6X support.
352         * app.c (do_scrub_chars): Handle "||^" for TI C6X.  Handle
353         TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR.  Keep spaces in
354         operands if TC_KEEP_OPERAND_SPACES.
355         * configure.tgt (tic6x-*-*): New.
356         * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
357         TC_PREDICATE_END_CHAR): Define.
358         * config/tc-tic6x.c, config/tc-tic6x.h: New.
359         * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
360         * doc/Makefile.in: Regenerate.
361         * doc/all.texi (TIC6X): Define.
362         * doc/as.texinfo: Add TI C6X documentation.  Include c-tic6x.texi.
363         * doc/c-tic6x.texi: New.
365 2010-03-22  H.J. Lu  <hongjiu.lu@intel.com>
367         * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
369 2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
371         * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
372         with operand_size_mismatch.
373         (operand_size_match): Updated.
374         (match_template): Likewise.
376 2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>
378         * config/tc-i386.c (i386_error): New.
379         (_i386_insn): Replace err_msg with error.
380         (operand_size_match): Set error instead of err_msg on failure.
381         (operand_type_match): Likewise.
382         (operand_type_register_match): Likewise.
383         (VEX_check_operands): Likewise.
384         (match_template): Likewise.  Use error instead of err_msg with
385         as_bad.
387 2010-03-19  Jie Zhang  <jie@codesourcery.com>
389         * config/tc-arm.c (make_mapping_symbol): Hanle the case
390         that two mapping symbols have the same value.
392 2010-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
394         * doc/c-arm.texi (.setfp): Correct example.
396 2010-03-18  Wei Guozhi  <carrot@google.com>
398         PR gas/11323
399         * config/tc-arm.c (reloc_names): New relocation names.
400         (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
401         (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
402         * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
404 2010-03-15  Thomas Schwinge  <thomas@codesourcery.com>
406         * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
407         cases, and not only for .eh_frame.
409         * dw2gencfi.c (output_cie): Make it more explicit which code paths
410         belong to .eh_frame only.
412 2010-03-13  Segher Boessenkool  <segher@kernel.crashing.org>
414         * config/tc-v850.c (v850_insert_operand): Handle out-of-range
415         assembler constants on 64-bit hosts.
417 2010-03-10  Mike Frysinger  <michael.frysinger@analog.com>
419         * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
420         Strip trailing whitespace.
422 2010-03-10  Mike Frysinger  <michael.frysinger@analog.com>
424         * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
425         * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
426         BFIN_CPU_BF506.
427         (bfin_cpus[]): Add 0.0 for bf504 and bf506.
429 2010-03-10  Jie Zhang  <jie@codesourcery.com>
431         * doc/as.texinfo: Add Blackfin options.
432         * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
433         * config/tc-bfin.c (md_show_usage): Show usage for all
434         Blackfin specific options.
436 2010-03-09  Alan Modra  <amodra@gmail.com>
438         PR gas/11356
439         * listing.c (listing_newline): Correct backslash quote logic.
441 2010-03-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
443         * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
444         (ELF_TARGET_FORMAT64): Define.
446 2010-03-05  Paul Brook  <paul@codesourcery.com>
448         * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
450 2010-03-02  Andrew Stubbs  <ams@codesourcery.com>
452         * config/tc-sh.c (get_specific): Move overflow checking code to avoid
453         reading uninitialized data.
455 2010-03-01  Tristan Gingold  <gingold@adacore.com>
457         * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
459 2010-02-26  Doug Evans  <dje@sebabeach.org>
461         * configure.tgt: Fix mep cpu case.
463 2010-02-26  Jie Zhang  <jie@codesourcery.com>
465         * config/tc-arm.c (do_t_strexd): Remove
466         operand[1] != operand[2] contraint.
468 2010-02-26  Jie Zhang  <jie@codesourcery.com>
470         * config/tc-arm.c (neon_select_shape): No need to match
471         the remaining operands in the shape when one operand does
472         not match.
474 2010-02-26  Jie Zhang  <jie@codesourcery.com>
476         * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
477         alignment.
479 2010-02-25  Doug Evans  <dje@sebabeach.org>
481         * cgen.c: Whitespace fixes.
482         (weak_operand_overflow_check): Formatting fix.
484 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
486         * config/tc-i386.c (match_template): Update error messages.
488 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
490         * config/tc-i386.c (_i386_insn): Add err_msg.
491         (operand_size_match): Set err_msg on failure.
492         (operand_type_match): Likewise.
493         (operand_type_register_match): Likewise.
494         (VEX_check_operands): Likewise.
495         (match_template): Likewise.  Use i.err_msg with as_bad.
497 2010-02-25  Wu Zhangjin <wuzhangjin@gmail.com>
499         * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
500         mips_fix_loongson2f_jump): New variables.
501         (md_longopts): Add New options -mfix-loongson2f-nop/jump,
502         -mno-fix-loongson2f-nop/jump.
503         (md_parse_option): Initialize variables via above options.
504         (options): New enums for the above options.
505         (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
506         (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
507         New functions.
508         (append_insn): call fix_loongson2f().
509         (mips_handle_align): Replace the implicit nops.
510         * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
511         for the new mips_handle_align().
512         * doc/c-mips.texi: Document the new options.
514 2010-02-23  Daniel Gutson  <dgutson@codesourcery.com>
516         * config/tc-arm.c (do_rd_rm_rn): Added warning
517         for obsolete insns.
519 2010-02-23  Andrew Zabolotny  <anpaza@mail.ru>
521         PR binutils/11297
522         * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
523         (avr_cons_fix_new): Handle fixups of a single byte.
525 2010-02-22  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
527         PR 9861
528         * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
529         compiler's predefines.
531 2010-02-19  Alan Modra  <amodra@gmail.com>
533         * configure.tgt: Whiltespace.  Sort moxie entry.
535 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
537         * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
538         * doc/c-arm.texi: Likewise.
540 2010-02-12  Daniel Gutson <dgutson@codesourcery.com>
542         * config/tc-arm.c (asm_opcode): operands type
543         change.
544         (BAD_PC_ADDRESSING): New macro message.
545         (BAD_PC_WRITEBACK): Likewise.
546         (MIX_ARM_THUMB_OPERANDS): New macro.
547         (operand_parse_code): Added enum values.
548         (parse_operands): Added thumb/arm distinction,
549         plus new enum values handling.
550         (encode_arm_addr_mode_2): Validations enhanced.
551         (encode_arm_addr_mode_3): Likewise.
552         (do_rm_rd_rn): Likewise.
553         (encode_thumb32_addr_mode): Likewise.
554         (do_t_ldrex): Likewise.
555         (do_t_ldst): Likewise.
556         (do_t_strex): Likewise.
557         (md_assemble): Call parse_operands with
558         a new parameter.
559         (OPS_1): New macro.
560         (OPS_2): Likewise.
561         (OPS_3): Likewise.
562         (OPS_4): Likewise.
563         (OPS_5): Likewise.
564         (OPS_6): Likewise.
565         (insns): Updated insns operands.
567 2010-02-12  Tristan Gingold  <gingold@adacore.com>
568             Douglas B Rupp  <rupp@gnat.com>
570         * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
571         (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
572         (pseudo_func): Add an entry for slotcount.
573         (md_begin): Initialize slotcount pseudo symbol.
574         (ia64_parse_name): Handle @slotcount parameter.
575         (ia64_gen_real_reloc_type): Handle slotcount.
576         (md_apply_fix): Ditto.
577         * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
579 2010-02-11  Sterling Augustine  <sterling@jaw.hq.tensilica.com>
581         * config/tc-xtensa.c (istack_init): Don't call memset.
583 2010-02-11  Sterling Augustine  <sterling@tensilica.com>
585         * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
586         well as suffixes.
588 2010-02-11  Sterling Augustine  <sterling@tensilica.com>
590         * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
592 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
594         * config/tc-i386.c (build_modrm_byte): Reformat.
596 2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
598         * config/tc-i386.c: Update copyright.
600 2010-02-10  Quentin Neill  <quentin.neill@amd.com>
601             Sebastian Pop  <sebastian.pop@amd.com>
603         * config/tc-i386.c (vec_imm4) New operand type.
604         (fits_in_imm4): New.
605         (VEX_check_operands): New.
606         (check_reverse): Call VEX_check_operands.
607         (build_modrm_byte): Reintroduce code for 5
608         operand insns.  Fix whitespace.
610 2010-02-10  Richard Sandiford  <r.sandiford@uk.ibm.com>
612         * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
613         -mpwr6 and -mpwr7.
615 2010-02-09  Sterling Augustine  <sterling@tensilica.com>
617         * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
618         (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
619         (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
621 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
623         * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
624         non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
625         BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
626         BFD_RELOC_ARM_PCREL_CALL)
628 2010-02-08  Sterling Augustine  <sterling@tensilica.com>
630         * config/tc-xtensa.c (frag_format_size): Generalize logic to
631         handle more instruction sizes and fetch widths.
632         (branch_align_power): Likewise.
633         (text_align_power): Likewise.
634         (bytes_to_stretch): Likewise.
636 2010-02-08  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
638         * config/tc-ppc.c (md_show_usage): Mention -mtitan.  Don't use tabs.
639         (ppc_mach): Handle titan.
640         * doc/c-ppc.texi: Mention -mtitan.
642 2010-02-05  Sterling Augustine  <sterling@tensilica.com>
644         * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
645         replace with...
646         (xtensa_fetch_width) ...this.
648 2010-02-05  Joseph Myers  <joseph@codesourcery.com>
650         * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
651         MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
652         * Makefile.in: Regenerate.
654 2010-02-03  Quentin Neill  <quentin.neill@amd.com>
656         * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
657         (i386_align_code): Rename  PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
658         * config/tc-i386.h (processor_type): Same.
659         * doc/c-i386.texi: Change amdfam15 to bdver1.
661 2010-01-29  Nick Clifton  <nickc@redhat.com>
663         PR 11136
664         * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
665         NS_NULL.
667 2010-01-27  Dave Korn  <dave.korn.cygwin@gmail.com>
669         * NEWS: Mention new feature.
670         * config/obj-coff.c (obj_coff_section): Accept digits and use
671         to override default section alignment power if specified.
672         * doc/as.texinfo (.section directive): Update documentation.
674 2010-01-27  H.J. Lu  <hongjiu.lu@intel.com>
676         * config/tc-i386.c (avxscalar): New.
677         (OPTION_MAVXSCALAR): Likewise.
678         (build_vex_prefix): Select vector_length for scalar instructions
679         based on avxscalar.
680         (md_longopts): Add OPTION_MAVXSCALAR.
681         (md_parse_option): Handle OPTION_MAVXSCALAR.
682         (md_show_usage): Add -mavxscalar=.
684         * doc/c-i386.texi: Document -mavxscalar=.
686 2010-01-24  H.J. Lu  <hongjiu.lu@intel.com>
688         * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
689         0xc4 individually.
691 2010-01-23  Richard Sandiford  <r.sandiford@uk.ibm.com>
693         * write.h (fix_at_start): Declare.
694         * write.c (fix_new_internal): Add at_beginning parameter.
695         Use it instead of REVERSE_SORT_RELOCS.  Fix the handling of
696         seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
697         (fix_new, fix_new_exp): Update accordingly.
698         (fix_at_start): New function.
699         * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
700         (ppc_ref): New function, for OBJ_XCOFF.
701         (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
702         * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
704 2010-01-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
706         * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
707         on 64-bit Solaris/x86.
708         Include obj-format.h earlier.
710 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
712         * config/tc-s390.c (s390_elf_final_processing): New function.
713         * config/tc-s390.h (elf_tc_final_processing): New macro definition.
714         (s390_elf_final_processing): Added prototype.
717 2010-01-20  Nick Clifton  <nickc@redhat.com>
719         PR 11109
720         * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1.  Add
721         code to handle round-to-zero for VCVT conversions.
722         (do_neon_cvt): New.  Call do_neon_cvt_1.
723         (do_neon_cvtr): New.  Call do_neon_cvt_1.
724         (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
725         insn.
727 2010-01-18  Tristan Gingold  <gingold@adacore.com>
729         * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
731 2010-01-15  Sebastian Pop  <sebastian.pop@amd.com>
733         * config/tc-i386.c (md_assemble): Before accessing the IMM field
734         check that it's not an XOP insn.
736 2010-01-14  Jie Zhang  <jie.zhang@analog.com>
738         * config/bfin-aux.h: Remove argument names in function
739         declarations.
740         * config/bfin-lex.l (parse_int): Fix shadowed variable name
741         warning.
742         * config/bfin-parse.y (value_match): Remove argument names
743         in declaration.
744         (notethat): Likewise.
745         (yyerror): Likewise.
747 2010-01-13  Daniel Jacobowitz  <dan@codesourcery.com>
749         * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
751 2010-01-13  Nick Clifton  <nickc@redhat.com>
753         * config/tc-h8300.c (h8300_elf_section): New function - issue a
754         warning message if a new section is created without setting any
755         attributes for it.
756         (md_pseudo_table): Intercept section creation pseudos.
757         (md_pcrel_from): Replace abort with an error message.
758         * config/obj-elf.c (obj_elf_section_name): Export this function.
759         * config/obj-elf.h (obj_elf_section_name): Prototype.
761 2010-01-12  Alan Modra  <amodra@gmail.com>
763         PR 11122
764         * listing.c (print_source): Add one to line number.
766 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
768         * Makefile.in: Regenerate.
769         * configure: Regenerate.
770         * doc/Makefile.in: Regenerate.
772 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
774         * version.c (parse_args): Change to "Copyright 2010".
776 2010-01-06  Quentin Neill  <quentin.neill@amd.com>
778         * config/tc-i386.c (cpu_arch): Add amdfam15.
779         (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
780         * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
781         * doc/c-i386.texi: Add amdfam15.
783 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
785         * config/tc-arm.c (do_neon_logic): Accept imm value
786         in the third operand too.
787         (operand_parse_code): OP_RNDQ_IMVNb renamed to
788         OP_RNDQ_Ibig.
789         (parse_operands): OP_NILO case removed, applied renaming.
790         (insns): Neon shape changed for some logic instructions.
792 2010-01-04  Daniel Gutson  <dgutson@codesourcery.com>
794         * config/tc-arm.c (do_neon_ldx_stx): Added
795         validation for vector load/store insns.
797 2010-01-04  Edmar Wienskoski  <edmar@freescale.com>
799         * config/tc-ppc.c (md_show_usage): Document -me500mc64.
801 2010-01-03  Daniel Gutson  <dgutson@codesourcery.com>
803         * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
804         (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
805         (NEON_ENCODE): New macro.
806         (check_neon_suffixes): New macro.
807         (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
808         (do_vfp_nsyn_opcode): Likewise.
809         (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
810         (do_vfp_nsyn_cmp): Likewise.
811         (do_neon_shl_imm): Likewise.
812         (do_neon_qshl_imm): Likewise.
813         (neon_dyadic_misc): Likewise.
814         (do_neon_mac_maybe_scalar): Likewise.
815         (do_neon_qdmulh): Likewise.
816         (do_neon_qmovn): Likewise.
817         (do_neon_qmovun): Likewise.
818         (do_neon_movn): Likewise.
819         (neon_mac_reg_scalar_long): Likewise.
820         (do_neon_vmull): Likewise.
821         (do_neon_trn): Likewise.
822         (do_neon_ldx_stx): Likewise.
823         (neon_dp_fixup): Changed signature and set the flag.
824         (neon_three_same): Call the above with new signature.
825         (neon_two_same): Likewise.
826         (neon_imm_shift): Likewise.
827         (neon_mul_mac): Likewise.
828         (do_neon_abs_neg): Likewise.
829         (neon_mixed_length): Likewise.
830         (do_neon_ext): Likewise.
831         (do_neon_mov): Likewise.
832         (do_neon_tbl_tbx): Likewise.
833         (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
834         (neon_compare): Likewise.
835         (do_neon_shll): Likewise.
836         (do_neon_cvt): Likewise.
837         (do_neon_mvn): Likewise.
838         (do_neon_dup): Likewise.
839         (md_assemble): Call check_neon_suffixes ().
841 For older changes see ChangeLog-2009
843 Local Variables:
844 mode: change-log
845 left-margin: 8
846 fill-column: 74
847 version-control: never
848 End: