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