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