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