OSDN Git Service

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