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