Change documentation license to FDL v1.3
[platform/upstream/binutils.git] / gas / ChangeLog
1 2008-11-19  Nick Clifton  <nickc@redhat.com>
2
3         * doc/fdl.texi: Update to v1.3
4         * doc/as.texinfo: Change license to v1.3.
5
6 2008-11-18  Catherine Moore  <clm@cm00re.com>
7
8         * config/tc-arm.c (neon_type_mask): Renumber.
9         (type_chk_of_el_type): Handle F_F16.
10         (neon_cvt_flavour): Recognize half-precision conversions.
11         (do_neon_cvt): New shapes NS_QD and
12         NS_DQ.  Encode half-precision conversions.
13         (do_neon_cvtt): Encode the T bit.
14         (asm_opcode_insns): vcvt, vcvtt support.
15         (arm_option_cpu_value): Add neon-fp16 support.
16
17 2008-11-17  Nick Clifton  <nickc@redhat.com>
18
19         * as.c (parse_args): Update copyright year.
20
21 2008-11-14  Mat Hostetter  <mat@lcs.mit.edu>
22
23         * read.c (emit_expr): Grow frag before filling it so that
24         dot_value remains valid.
25
26 2008-11-14  Peter Jansen  <pwjansen@yahoo.com>
27
28         PR 7026
29         * config/tc-arm.c: Ensure that all uses of as_bad have a
30         formatting string.
31
32 2008-11-12  Hans-Peter Nilsson  <hp@axis.com>
33
34         * config/tc-cris.c (cris_number_to_imm): Except for
35         BFD_RELOC_NONE, always set contents.  Where previously this was
36         skipped, set contents to 0.
37
38         PR gas/7025
39         * input-scrub.c (input_scrub_include_sb): Make the position
40         after the input have defined contents, a 0 character.
41
42         * config/tc-cris.c (cris_relax_frag): Add missing case for
43         ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
44
45         PR gas/7020
46         * read.c (read_a_source_file): Rearrange evaluation order when
47         looking for '=' to avoid conditional on undefined contents of
48         input_line_pointer[1].
49
50 2008-11-06  Adam Nemet  <anemet@caviumnetworks.com>
51
52         * config/tc-mips.c (COP_INSN): Change logic to always return false
53         for FP instructions.
54
55 2008-11-06  Chao-ying Fu  <fu@mips.com>
56
57         * config/tc-mips.c (validate_mips_insn): Add case '1'.
58         (mips_ip): Add case '1' to process sync type.
59
60 2008-11-06  Joel Sherrill <joel.sherrill@oarcorp.com>
61
62         * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
63
64 2008-11-04  Sterling Augustine  <sterling@tensilica.com>
65         
66         * config/tc-xtensa.c (tinsn_check_arguments): Check for multiple
67         writes to the same register.
68         
69 2008-11-04  Sterling Augustine  <sterling@tensilica.com>
70         
71         * config/tc-xtensa.c (xtensa_j_opcode): New.
72         (xg_instruction_matches_option_term): Handle "FREEREG" option.
73         (xg_build_to_insn): Likewise.  Update renamed tls_reloc reference.
74         (md_begin): Initialize xtensa_j_opcode.
75         (md_assemble): Update renamed tls_reloc reference.  Handle "j.l".
76         (xg_assemble_vliw_tokens): Save free_reg info in the frag.
77         (tinsn_immed_from_frag): Get free_reg info back out of the frag.
78         (vinsn_to_insnbuf): Update renamed tls_reloc references.
79         Distinguish extra argument for "FREEREG" from extra TLS argument.
80         * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field.
81         * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc
82         field to extra_arg.
83         * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l".
84         (build_transition): Handle "FREEREG" operand.
85         * config/xtensa-relax.h (enum op_type): Add OP_FREEREG.
86         
87 2008-10-31  Alan Modra  <amodra@bigpond.net.au>
88
89         * po/id.po: Update.
90
91 2008-10-24  Maciej W. Rozycki  <macro@linux-mips.org>
92
93         * config/tc-mips.c (mips_cpu_info_table): Move the MIPS64r2
94         comment so that Broadcom SB-1 cores are in the MIPS64 section.
95
96 2008-10-21  Alan Modra  <amodra@bigpond.net.au>
97
98         * config/tc-bfin.c (gencode, allocate): Remove unnecessary cast.
99         * config/tc-ns32k.c (bit_fix_new): Likewise.
100         * config/tc-m68k.c (md_begin): Likewise.
101         * hash.c (hash_insert, hash_jam): Likewise.
102         * symbols.c (symbol_create, local_symbol_make): Likewise.
103         * frags.c (frag_alloc): Likewise.
104
105 2008-10-20  Jay Krell  <jay.krell@cornell.edu>
106
107         * config/bfin-parse.y: Use C style comments.
108         * config/tc-bfin.c: Likewise.
109         * config/tc-m68k.c: Likewise.
110         * config/tc-mips.c: Likewise.
111
112 2008-10-12  H.J. Lu  <hongjiu.lu@intel.com>
113
114         * config/tc-i386.c (processor_type): Moved to tc-i386.h.
115         (cpu_arch_tune): Make it global.
116         (cpu_arch_isa): Likewise.
117         (cpu_arch_isa_flags): Likewise.
118         (i386_align_code): Check fragP->tc_frag_data.isa,
119         fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of
120         cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune,
121         respectively.
122
123         * config/tc-i386.h (processor_type): Moved from tc-i386.c.
124         (cpu_arch_tune): New.
125         (cpu_arch_isa): Likewise.
126         (cpu_arch_isa_flags): Likewise.
127         (i386_tc_frag_data): Likewise.
128         (TC_FRAG_TYPE): Likewise.
129         (TC_FRAG_INIT): Likewise.
130
131 2008-10-09  Bob Wilson  <bob.wilson@acm.org>
132
133         * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.
134         (Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128):
135         Moved into alphabetical order.
136
137 2008-10-09  Bob Wilson  <bob.wilson@acm.org>
138
139         * doc/as.texinfo (Dot): Expand no-space-dir conditional to include
140         a complete sentence.
141         (Pseudo Ops): Put conditionals around Skip and Space menu entries.
142         (Line): Remove conditional declaration of Ln node and section here.
143         Put aout-bout description inside the no-line-dir conditional.
144         (Skip, Space): Use a separate conditional for each node.
145
146 2008-10-09  Bob Wilson  <bob.wilson@acm.org>
147
148         * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional around
149         menu entry for File; remove version-specific .file operands from menu
150         description.  Replace "LNS directives" menu entry with new entries
151         for "Loc" and "Loc_mark_labels".
152         (LNS directives): Split into separate nodes for each directive.
153         (Loc): New node for .loc directive.  Mention that this directive
154         is for DWARF2 and add a missing article.
155         (Loc_mark_labels): Likewise for .loc_mark_labels.
156         (File): Change this node to describe both the default version and
157         the DWARF2 version of .file.  Move the no-file-dir conditional to
158         include only the default version.
159
160 2008-10-09  Eric Botcazou  <ebotcazou@adacore.com>
161
162         * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
163         * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris.
164         (i386_solaris_fix_up_eh_frame): Declare.
165         * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
166
167 2008-10-09  Nick Clifton  <nickc@redhat.com>
168
169         PR 6944
170         * doc/as.texinfo (Dollar Local Labels): Correct description of
171         dollar local labels to show that the colon suffix is still
172         needed.
173
174 2008-10-08  Nick Clifton  <nickc@redhat.com>
175
176         * configure.in (ALL_LINGUAS): Add "id".
177         * configure: Regenerate.
178         * po/id.po: New Indonesian translation.
179
180 2008-10-07  H.J. Lu  <hongjiu.lu@intel.com>
181
182         * read.c (pseudo_set): Don't allow global register symbol only
183         if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined.
184         * symbols.c (S_SET_EXTERNAL): Likewise.
185
186         * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined.
187
188         * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
189
190 2008-10-06  Bob Wilson  <bob.wilson@acm.org>
191
192         * doc/as.texinfo (Local): New description of ELF .local directive.
193
194 2008-10-06  Nick Clifton  <nickc@redhat.com>
195
196         PR 6926
197         * read.c (get_line_sb): Renamed to get_non_macro_line_sb.
198         (_find_end_of_line): Add extra parameter indicating if the line is
199         inside a macro.  If it is then do not allow the @ character to be
200         treated as a line separator character.
201         (read_a_source): Update use of _find_end_of_line.
202         (find_end_of_line): Likewise.
203         (s_irp): Update use of get_line_sb.
204         (s_macro): Likewise.
205         (do_repeat): Likewise.
206         (get_line_sb): New function.  Like the old version of get_line_sb
207         except that it takes an extra parameter indicating whether the
208         line is inside a macro.
209         (get_macro_line_sb): New function.
210
211 2008-10-04  Hans-Peter Nilsson  <hp@axis.com>
212
213         * config/tc-cris.c: Update all comments regarding explicit relocations
214         to, besides PIC, also imply TLS or to say "relocation specifier" or
215         similar.
216         (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR.  Change all callers.
217         (cris_get_reloc_suffix): Rename from cris_get_pic_suffix.  Change all
218         callers.  Also handle TLS relocs.
219         (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
220         Change all callers.  Also handle TLS relocs.
221         (tls): New constant.
222         (cris_process_instruction): Check for non-PIC TLS relocations and
223         adjust message when emitting error message about relocation not
224         fitting.
225         (get_autoinc_prefix_or_indir_op): Also check for relocation suffix
226         when tls is true.
227         (get_3op_or_dip_prefix_op): Ditto.
228         (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
229
230 2008-10-03  Kazu Hirata  <kazu@codesourcery.com>
231
232         * listing.c (buffer_line): Open the source file with FOPEN_RB.
233         Manually process line ends.
234
235 2008-09-30  Wesley W. Terpstra  <wesley@terpstra.ca>
236             Nick Clifton  <nickc@redhat.com>
237
238         * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
239         S_SET_STORAGE_CLASS.
240
241 2008-09-30  Wesley W. Terpstra  <wesley@terpstra.ca>
242             Nick Clifton  <nickc@redhat.com>
243
244         * coffgen.c (coff_write_symbols): Check to see if a symbol's flags
245         do not match it class and if necessary update the class.
246         (null_error_handler): New function.  Suppresses the generation of
247         bfd error messages.
248         * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
249
250 2008-09-30  Alan Modra  <amodra@bigpond.net.au>
251
252         * Makefile.am: Run "make dep-am".
253         * Makefile.in: Regenerate.
254
255 2008-09-29  Nick Clifton  <nickc@redhat.com>
256
257         * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
258         tc_cfi_emit_pcrel_expr macro.
259
260 2008-09-29  Peter O'Gorman  <pogma@thewrittenword.com>
261             Steve Ellcey  <sje@cup.hp.com>
262
263         * configure: Regenerate for new libtool.
264         * aclocal.m4: Ditto.
265         * Makefile.in: Ditto.
266         * doc/Makefile.in: Ditto.
267
268 2008-09-29  Nick Clifton  <nickc@redhat.com>
269
270         PR 6878
271         * app.c (do_scrub_chars): Only issue warnings about tick
272         characters detected in symbol strings if hex ticks are supported.
273
274 2008-09-29  Nick Clifton  <nickc@redhat.com>
275
276         * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
277         tc_cfi_emit_pcrel_expr macro.
278
279 2008-09-28  Daniel Jacobowitz  <dan@codesourcery.com>
280
281         * NEWS: Mention .cfi_val_encoded_addr.
282
283 2008-09-26  Eric Botcazou  <ebotcazou@adacore.com>
284
285         * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
286         * Makefile.in (TARG_ENV_HFILES): Likewise.
287         * configure.tgt (Solaris targets): Set em=solaris.
288         * config/te-solaris.h: New file.
289
290 2008-09-26  Jie Zhang  <jie.zhang@analog.com>
291
292         * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
293
294 2008-09-24  Richard Henderson  <rth@redhat.com>
295
296         * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
297         (struct cfi_insn_data): Add ea member.
298         (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
299         (output_cfi_insn): Handle CFI_val_encoded_addr.
300         (select_cie_for_fde): Don't match CFI_val_encoded_addr.
301         * doc/as.texinfo (.cfi_val_encoded_addr): Document.
302
303 2008-09-25  Alan Modra  <amodra@bigpond.net.au>
304
305         PR 6913
306         * listing.c (print_options): Don't call fprintf without format string.
307
308 2008-09-19  Alan Modra  <amodra@bigpond.net.au>
309
310         * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
311         (TC_VALIDATE_FIX_SUB): Likewise.
312         * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
313         * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
314         * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
315         * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
316         (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
317         * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
318         * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
319         * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
320         TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
321
322         * write.c (md_register_arithmetic): Define.
323         (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
324         Modify error message when registers involved.
325         (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
326         * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
327
328 2008-09-15  Alan Modra  <amodra@bigpond.net.au>
329
330         * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
331
332 2008-09-15  Alan Modra  <amodra@bigpond.net.au>
333
334         * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
335         relocs with no symbol.
336         * config/tc-mmix.c (md_assemble): Mark fake symbol on
337         BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
338         (mmix_md_end): Likewise mark mmix reg contents section symbol.
339
340 2008-09-14  Chris Smith <chris@zxdesign.info>
341
342         * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
343         broken, as the opcode of ld a,(de) was being emitted for both.
344
345 2008-09-12  Sterling Augustine  <sterling@tensilica.com>
346
347         * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
348         operands equal to MAX_INSN_ARGS.
349
350 2008-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
351
352         * configure.in: Call AC_SYS_LARGEFILE.
353         * config.in: Regenerate.
354         * configure: Regenerate.
355
356 2008-09-09  Peter Bergner  <bergner@vnet.ibm.com>
357
358         * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
359         Remove POWER5 and POWER6 tests.
360
361 2008-09-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
362
363         * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
364         number support for 32-bit targets.
365
366 2008-09-08  Tristan Gingold  <gingold@adacore.com>
367
368         * NEWS: Add a marker for the 2.19 features.
369
370 2008-09-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
371
372         * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target.  Revise
373         comment regarding use of difference expressions.
374         (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
375
376         * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
377         (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
378         (dot_cfi_lsda, output_cie, output_fde): Likewise.
379         * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
380
381 2008-09-06  Richard Sandiford  <rdsandiford@googlemail.com>
382
383         * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
384
385 2008-09-03  Nick Clifton  <nickc@redhat.com>
386
387         * config/tc-i386.c (pe_lcomm_internal): New function.  Allows the
388         alignment field of the .lcomm directive to be optional.
389         (pe_lcomm): New function.  Pass pe_lcomm_internal to
390         s_comm_internal.
391         (md_pseudo_table): Implement .lcomm directive for COFF based
392         targets.
393         * doc/c-i386.texi (i386-Directives): New node.  Used to document
394         the .lcomm directive.
395         
396 2008-08-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
397
398         * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
399         and NetBSD.
400
401 2008-08-29  Eric B. Weddington  <eric.weddington@atmel.com>
402
403         * config/tc-avr.c (mcu_types): Add atmega16u4.
404         * doc/c-avr.texi: Likewise.
405
406 2008-08-28  H.J. Lu  <hongjiu.lu@intel.com>
407
408         * config/tc-ia64.c (CR_IIB0): New.
409         (CR_IIB1): Likewise.
410         (cr): Add cr.iib0 and cr.iib1.
411         (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
412
413 2008-08-28  Jan Beulich  <jbeulich@novell.com>
414
415         * config/tc-i386.c (md_assemble): Force number of displacement
416         operands to zero when processing string instruction.
417         (i386_index_check): Special-case string instruction operands. Don't
418         fudge address prefix if there already was a memory operand. Fix
419         error message to correctly reflect the addressing mode used.
420         (i386_att_operand): Fix comment.
421         (i386_intel_operand): Snapshot, clear, and restore base and index
422         reg for each operand processed. Increment count of memory operands
423         later.
424
425 2008-08-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
426
427         * config/tc-hppa.c (is_SB_relative): New macro.
428         (fix_new_hppa): Remove $segrel$ marker.
429         (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
430         segment relative.
431         * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
432
433 2008-08-27  Jan Beulich  <jbeulich@novell.com>
434
435         * config/tc-i386.c (check_string): Use register_prefix for error
436         message.
437         (process_operands): Likewise.
438
439 2008-08-26  Mark Mitchell  <mark@codesourcery.com>
440
441         * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
442
443 2008-08-26  Jie Zhang  <jie.zhang@analog.com>
444
445         * config/bfin-parse.y (check_macfunc_option): Fix instruction
446         mode checking.
447         (asm_1): Check mode for 16-bit multiply instructions.
448
449 2008-08-24  Alan Modra  <amodra@bigpond.net.au>
450
451         * configure.in: Update a number of obsolete autoconf macros.
452         * configure: Regenerate.
453         * aclocal.m4: Regenerate.
454
455 2008-08-22  Nick Clifton  <nickc@redhat.com>
456
457         * config/tc-mcore.c (md_assemble): Increase length of name array
458         to include terminating NUL.
459
460 2008-08-22  Jie Zhang  <jie.zhang@analog.com>
461
462         * config/bfin-lex.l (NUMBER): Protect special `.'.
463
464 2008-08-22  Alan Modra  <amodra@bigpond.net.au>
465
466         * symbols.c (symbol_clone): Ensure clones are not external.
467
468 2008-08-22  Alan Modra  <amodra@bigpond.net.au>
469
470         * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
471
472 2008-08-21  Richard Henderson  <rth@redhat.com>
473
474         * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
475         (output_cie, output_fde): Use it.
476         (DWARF2_EH_FRAME_READ_ONLY): New.
477         (cfi_finish): Use it.
478
479         * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
480         (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
481         (DWARF2_EH_FRAME_READ_ONLY): New.
482         * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
483         from the results of DIFF_EXPR_OK manipulation.
484
485 2008-08-21  Sterling Augustine  <sterling@tensilica.com>
486
487         * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
488
489 2008-08-20  Bob Wilson  <bob.wilson@acm.org>
490
491         * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
492         (O_tpoff, O_dtpoff): Define.
493         (suffix_relocs): Add entries for TLS suffixes.
494         (xtensa_elf_cons): Check for invalid use of TLS relocations.
495         (map_operator_to_reloc): Add is_literal parameter and use it to
496         control translating TLS instruction relocations to the corresponding
497         literal relocations.
498         (xg_valid_literal_expression): Allow TLS operators.
499         (xg_build_to_insn): Copy TLS operators from pseudo-instruction
500         operands to generated literals.
501         (xg_assemble_literal): Handle TLS operators.  Update call to
502         map_operator_to_reloc.
503         (md_assemble): Handle CALLXn.TLS pseudo-instruction.
504         (md_apply_fix): Handle TLS relocations.
505         (emit_single_op): Handle TLS operators.
506         (convert_frag_immed): Update call to map_operator_to_reloc.
507         (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
508         * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
509         * config/xtensa-relax.c (append_literal_op): Add src_op parameter
510         to initialize the op_data field of the BuildOp.
511         (build_transition): Use it here to record the source operand
512         corresponding to a generated literal.
513         * config/xtensa-relax.h (build_op): Comment op_data use for literals.
514
515 2008-08-20  H.J. Lu  <hongjiu.lu@intel.com>
516
517         AVX Programming Reference (August, 2008)
518         * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
519         (CPU_FLAGS_AVX_MATCH): Likewise.
520         (CPU_FLAGS_32BIT_MATCH): Updated.
521         (cpu_flags_match): Likewise.
522
523 2008-08-20  Alan Modra  <amodra@bigpond.net.au>
524
525         PR 6848
526         * write.c (install_reloc): Check that reloc symbols have been
527         written.
528         (set_symtab): Mark symbols with BSF_KEEP.
529
530 2008-08-18  H.J. Lu  <hongjiu.lu@intel.com>
531
532         * config/tc-i386.c (i386_align_code): Fix a comment typo.
533
534 2008-08-15  Alan Modra  <amodra@bigpond.net.au>
535
536         PR 6526
537         * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
538         * Makefile.in: Regenerate.
539         * aclocal.m4: Regenerate.
540         * config.in: Regenerate.
541         * configure: Regenerate.
542         * doc/Makefile.in: Regenerate.
543
544 2008-08-14  Alan Modra  <amodra@bigpond.net.au>
545
546         * config/tc-tic4x.c (tic4x_operands_parse): Make static.
547
548 2008-08-13  Ben Elliston  <bje@au.ibm.com>
549
550         * doc/as.texinfo (Align): Document the PowerPC behaviour.
551
552 2008-08-13  Alan Modra  <amodra@bigpond.net.au>
553
554         * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
555         config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
556         config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
557         config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
558         config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
559         config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
560         config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
561         config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
562         config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
563         and PTR.  Convert to ISO C.  Delete unnecessary forward declarations.
564
565 2008-08-12  Alan Modra  <amodra@bigpond.net.au>
566
567         * config/tc-arm.c (s_unreq): Adjust hash_delete call.
568         * config/tc-ia64.c (dot_rot): Likewise.
569
570 2008-08-11  Alan Modra  <amodra@bigpond.net.au>
571
572         PR 6575
573         * hash.c: Expand PTR to void *.
574         (hash_delete): Add "freeme" parameter.  Call obstack_free.
575         * hash.h: Expand PTR to void *.
576         (hash_delete): Update prototype.
577         * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
578         * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
579         call.
580         (subsym_substitute): Likewise.
581         * doc/internals.texi (hash_delete): Update.
582
583 2008-08-08  Anatoly Sokolov  <aesok@post.ru>
584
585         * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
586         architectures. Reorganize list to put mcu types in correct
587         architectures and to order list same as in GCC. Use new ISA
588         definitions in include/opcode/avr.h.
589         * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
590         descriptions. Reorganize descriptions to put mcu types in correct
591         architectures and to order lists same as in GCC.
592
593 2008-08-08  Richard Sandiford  <rdsandiford@googlemail.com>
594             Daniel Jacobowitz  <dan@codesourcery.com>
595
596         * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
597         (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
598         (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
599         (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
600         (md_longopts): Add -call_nonpic.
601         (md_parse_option): Handle OPTION_CALL_NONPIC.
602         (md_show_usage): Add -call_nonpic.
603
604 2008-08-08  Sterling Augustine  <sterling@tensilica.com>
605
606         * config/tc-xtensa.c (exclude_section_from_property_tables): New.
607         (xtensa_create_property_segments): Use it.
608         (xtensa_create_xproperty_segments): Likewise.
609
610 2008-08-08  Alan Modra  <amodra@bigpond.net.au>
611
612         * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
613
614 2008-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
615
616         * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
617         (lo16_reloc_p): New functions.
618         (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
619         generalize relocation checks.
620         (matching_lo_reloc): New function.
621         (fixup_has_matching_lo_p): Use it.
622         (mips16_mark_labels): Don't clobber a symbol's visibility.
623         (append_insn): Use hi16_reloc_p and lo16_reloc_p.
624         (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
625         (md_apply_fix): Likewise.
626         (mips16_percent_op): Add %got and %call16.
627         (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
628         Use matching_lo_reloc.
629         (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
630         generalize relocation checks.
631         (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
632         checks.
633
634 2008-08-06  DJ Delorie  <dj@redhat.com>
635
636         * NEWS: Mention these changes.
637
638         * config/tc-h8300.h (H_TICK_HEX): Define.
639         * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
640         (md_longopts): Add "-h-tick-hex".
641         (md_parse_option): Support it.
642         * doc/c-h8300.texi (H8/300 Options): Document it.
643         * doc/as.texinfo (Overview): Likewise.
644
645         * config/tc-sh.h (H_TICK_HEX): Define.
646         * config/tc-sh.c (OPTION_H_TICK_HEX): New.
647         (md_longopts): Add "-h-tick-hex".
648         (md_parse_option): Support it.
649         * doc/c-sh.texi (SH Options): Document it.
650         * doc/c-sh64.texi (SH64 Options): Document it.
651         * doc/as.texinfo (Overview): Likewise.
652
653 2008-08-05  Alan Modra  <amodra@bigpond.net.au>
654
655         PR gas/6656
656         * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
657         debug info if we see compiler generated debug info.
658         (dwarf2_directive_loc): Likewise.  Remove redundant debug_type test.
659
660 2008-08-04  Alan Modra  <amodra@bigpond.net.au>
661
662         * dwarf2dbg.c: Remove superfluous forward function declarations.
663         (DWARF2_FORMAT): Add section arg.
664         (out_header): New function, split out from..
665         (out_debug_line): ..here.
666         (out_debug_aranges): Use out_header.
667         (out_debug_abbrev): Add info_seg and line_seg args.  Use
668         DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
669         (out_debug_info): Use out_header.  Output 8 byte DW_AT_stmt_list
670         if line_seg is 64-bit.
671         (dwarf2_finish): Adjust out_debug_abbrev call.
672         * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
673         * config/tc-mips.c (mips_dwarf2_format): Likewise.
674
675 2008-08-04  Alan Modra  <amodra@bigpond.net.au>
676
677         * Makefile.am (POTFILES.in): Set LC_ALL=C.
678         * Makefile.in: Regenerate.
679         * po/POTFILES.in: Regenerate.
680
681 2008-08-01  Peter Bergner  <bergner@vnet.ibm.com>
682
683         * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
684         Handle -mvsx and -mpower7.
685         (md_show_usage): Document -mpower7 and -mvsx.
686         * doc/as.texinfo (Target PowerPC): Document -mvsx.
687         * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
688
689 2008-07-31  Peter Bergner  <bergner@vnet.ibm.com>
690
691         * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
692         <cell>: Likewise.
693
694 2008-07-30  Michael J. Eager  <eager@eagercon.com>
695
696         * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
697         (md_show_usage): Likewise.
698
699 2008-07-30  Alan Modra  <amodra@bigpond.net.au>
700
701         * messages.c, symbols.c, write.c: Silence gcc warnings.
702
703 2008-07-28  Ineiev  <ineiev@yahoo.co.uk>
704
705         * config/tc-i386.c (operand_type_check): Warning fix.
706
707 2008-07-26  Michael Eager <eager@eagercon.com>
708
709         * doc/as.texinfo: Add description of single-precision attribute.
710
711 2008-07-24  Jie Zhang  <jie.zhang@analog.com>
712
713         * config/bfin-parse.y (asm_1): Error if plain symbol is used
714         as load/store offset.
715
716 2008-07-22  Chao-ying Fu  <fu@mips.com>
717
718         * config/tc-mips.c (mips_ip): Reset s to argsStart.
719
720 2008-07-22  Jie Zhang  <jie.zhang@analog.com>
721
722         * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
723
724 2008-07-21  DJ Delorie  <dj@redhat.com>
725
726         * config/tc-h8300.c (fix_operand_size): Use the default size
727         specified by the .lbranch/.sbranch pseudos.
728
729 2008-07-18  DJ Delorie  <dj@redhat.com>
730
731         * config/tc-m32c.h (H_TICK_HEX): Define.
732         * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
733         (md_longopts): Add support for it.
734         (md_parse_option): Likewise.
735         * doc/as.texinfo (Overview): Add new m32c options.
736         * doc/c-m32c.texi (M32C-Modifiers): Likewise
737
738         * as.h: (enable_h_tick_hex): New.
739         * app.c (enable_h_tick_hex): New.
740         (LEX_IS_H): New.
741         (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
742         (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
743         style hex constants and convert the input stream to 0x00 style.
744         (do_scrub_chars): If a 'X style character constant is found after
745         a symbol character (like you're or X'00), warn the user.
746
747 2008-07-10  Richard Sandiford  <rdsandiford@googlemail.com>
748
749         * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
750         (mips_fix_adjustable): Likewise.
751         (mips_frob_file_after_relocs): Likewise.
752
753 2008-07-08  Nathan Sidwell  <nathan@codesourcery.com>
754
755         * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
756         about overriding an earlier setting.
757
758 2008-07-07  Adam Nemet  <anemet@caviumnetworks.com>
759
760         * config/tc-mips.c (NO_ISA_COP): New macro.
761         (COP_INSN): New macro.
762         (is_opcode_valid): Use them.
763         (macro) <ld_st>: Use them.  Don't accept coprocessor load store
764         insns based on the ISA if CPU is NO_ISA_COP.
765         <copz>: Likewise for coprocessor operations.
766
767 2008-07-07  Paul Brook  <paul@codesourcery.com>
768
769         * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
770         relocations.
771
772 2008-07-07  Ralf Corsépius  <ralf.corsepius@rtems.org>
773
774         * configure.tgt: Add bfin-*-rtems*.
775
776 2008-07-04  Alan Modra  <amodra@bigpond.net.au>
777
778         * config/tc-spu.c (md_apply_fix): Handle fully resolved
779         BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
780
781 2008-06-25  Peter Bergner  <bergner@vnet.ibm.com>
782
783         * config/tc-ppc.c (parse_cpu): Handle -m464.
784         (md_show_usage): Likewise.
785
786 2008-06-24  Eric B. Weddington  <eric.weddington@atmel.com>
787
788         Add support for ATtiny13A.
789         * config/tc-avr.c (mcu_types): Add attiny13a.
790         * doc/c-avr.texi: Likewise.
791
792 2008-06-24  Bob Wilson  <bob.wilson@acm.org>
793             Alan Modra  <amodra@bigpond.net.au>
794
795         * write.c (relax_segment <rs_org>): Include current stretch
796         value when calculating whether .org is backwards.
797
798 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
799
800         * configure: Regenerate.
801
802 2008-06-17  Nick Clifton  <nickc@redhat.com>
803
804         * app.c (do_scrub_chars): Do not UNGET an EOF value.
805
806 2008-06-16  Hans-Peter Nilsson  <hp@bitrange.com>
807
808         PR gas/6607
809         * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
810         text_section.  Do the "stepping backwards" test for text_section
811         using unsigned operands.
812
813 2008-06-13  Peter Bergner  <bergner@vnet.ibm.com>
814
815         * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
816         (ppc_insert_operand): Likewise.
817         (ppc_machine): Likewise.
818         * config/tc-ppc.h: #include "opcode/ppc.h"
819         (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
820         (ppc_cpu): Update extern decl.
821
822 2008-06-12  Adam Nemet  <anemet@caviumnetworks.com>
823
824         * config/tc-mips.c (validate_mips_insn): Handle field descriptors
825         +x, +X, +p, +P, +s, +S.
826         (mips_ip): Likewise.
827
828         * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
829         (mips_ip): Likewise.
830         (macro_build): Likewise.
831         (CPU_HAS_SEQ): New macro.
832         (macro2) <M_SEQ_I, M_SNE_I>: Use it.  Emit seq/sne and seqi/snei.
833
834 2008-06-09  Eric B. Weddington  <eric.weddington@atmel.com>
835
836         * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
837         * doc/c-avr.texi: Likewise.
838
839 2008-06-04  Nick Clifton  <nickc@redhat.com>
840
841         * app.c (do_scrub_chars): Do not UNGET an EOF value.
842
843 2008-06-03  H.J. Lu  <hongjiu.lu@intel.com>
844
845         * config/tc-i386.c (set_sse_check): New.
846         (md_pseudo_table): Add "sse_check".
847
848 2008-06-03  Paul Brook  <paul@codesourcery.com>
849
850         * config/tc-arm.c (do_t_rbit): Populate both rm fields.
851
852 2008-05-30  Nick Clifton  <nickc@redhat.com>
853
854         PR 5523
855         * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
856         relocs here.
857
858 2008-05-29  Maxim Kuvyrkov  <maxim@codesourcery.com>
859
860         * config/tc-mips.c (mips_cpu_info_table): Move records for
861         ST Loongson-2E/2F processors to a better place.
862
863 2008-05-23  H.J. Lu  <hongjiu.lu@intel.com>
864
865         PR gas/6518
866         * config/tc-i386.c (match_template): Report ambiguous operand
867         size, not invalid suffix when there is no match in Intel
868         syntax.
869
870 2008-05-22  Paul Brook  <paul@codesourcery.com>
871
872         * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
873
874 2008-05-21  I-Jui Sung  <ijsung@gmail.com>
875
876         * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
877         compatible cores: fa526, fa626, fa626te, fa726te.
878         * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
879         fa726te} options.
880
881 2008-05-14  Alan Modra  <amodra@bigpond.net.au>
882
883         * Makefile.am: Run "make dep-am".
884         * Makefile.in: Regenerate.
885         * doc/Makefile.in: Regenerate.
886         * po/POTFILES.in: Regenerate.
887
888 2008-05-09  Catherine Moore  <clm@codesourcery.com>
889
890         * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
891         with non-MIPS16 relocs.
892
893 2008-05-09  Chao-ying Fu  <fu@mips.com>
894
895         * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
896         case that some characters append at the end of the name.
897         (mips_ip): Likewise.
898         (s_change_sec): Likewise.
899         (md_section_align): Likewise.
900
901 2008-05-07  Bob Wilson  <bob.wilson@acm.org>
902
903         * config/tc-xtensa.c (xtensa_create_property_segments): Use
904         xtensa_make_property_section instead of xtensa_get_property_section.
905         (xtensa_create_xproperty_segments): Likewise.
906
907 2008-05-02  H.J. Lu  <hongjiu.lu@intel.com>
908
909         * NEWS: Mention XSAVE, EPT and MOVBE.
910
911         * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
912         (md_show_usage): Add .movbe and .ept.
913
914         * doc/c-i386.texi: Add movbe and ept to -march=.  Document
915         .movbe and .ept.
916
917 2008-04-29  David S. Miller  <davem@davemloft.net>
918
919         * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
920
921 2008-04-28  Adam Nemet  <anemet@caviumnetworks.com>
922
923         * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
924         New statics.
925         (OPTION_ELF_BASE): Make room for new option macros.
926         (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
927         OPTION_DOUBLE_FLOAT): New option macros.
928         (md_longopts): Add msoft-float, mhard-float, msingle-float and
929         mdouble-float.
930         (md_parse_option): Handle OPTION_SINGLE_FLOAT,
931         OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
932         (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
933         and -mdouble-float.
934         (struct mips_set_options): New fields soft_float and single_float.
935         (mips_opts): Initialized them.  Add comment for each field
936         initializer.
937         (mips_after_parse_args): Set them based on file_mips_soft_float
938         and file_mips_single_float.
939         (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
940         `.set singlefloat' and `.set doublefloat'.
941         (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
942         Handle single-float and soft-float instructions here.
943         (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
944         (is_opcode_valid_16): New function.
945         (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
946         (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
947         M_S_DOB>: Remove special-casing of r4650.
948         * doc/c-mips.texi (-march=): Add Octeon.
949         (MIPS Opts): Document -msoft-float and -mhard-float.  Document
950         -msingle-float and -mdouble-float.
951         (MIPS floating-point): New section.  Document `.set softfloat' and
952         `.set hardfloat'.  Document `.set singlefloat' and `.set
953         doublefloat'.
954
955 2008-04-25  David S. Miller  <davem@davemloft.net>
956
957         * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
958         %asr aliases.
959
960         * doc/c-sparc.texi: Consistently refer to architecture 'versions',
961         rather than occaisionally 'levels'.  Consistently refer to Sun's
962         UNIX variant as SunOS, every version of Solaris is also SunOS.
963         Document new 'softint_clear' and 'softint_set' aliases.  Clarify
964         which architecture versions support '%dcr', '%cq', and '%gl'. Add
965         section on 32-bit/64-bit opcode translations.
966
967 2008-04-23  Mike Frysinger  <vapier@gentoo.org>
968
969         * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
970         (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
971         (obj-fdpicelf.o): Define.
972         * Makefile.in: Regenerate.
973         * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
974         (bfin-*-*): Delete.
975         (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
976         (bfin-*-uclinux*): New; set fmt to elf and em to linux.
977         * config/obj-fdpicelf.c: New.
978         * config/obj-fdpicelf.h: Likewise.
979         * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
980         the OBJ_FDPIC_ELF define.
981         (OPTION_NOPIC): Define.
982         (md_longopts): Add mnopic and mno-fdpic.
983         (md_parse_option): Handle OPTION_NOPIC.
984
985 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
986
987         * aclocal.m4: Regenerate.
988         * configure: Regenerate.
989
990 2008-04-23  David S. Miller  <davem@davemloft.net>
991
992         * config/tc-sparc.c (v9a_asr_table): Add missing
993         'stick' and 'stick_cmpr', and document ordering rules
994         of table.
995         (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
996         BFD_RELOC_SPARC_PC10.
997         * doc/c-sparc.texi: New section on Sparc constants.
998         Add documentation for %stick and %stick_cmpr.
999
1000 2008-04-22  David S. Miller  <davem@davemloft.net>
1001
1002         * config/obj-elf.c (obj_elf_section_type): Add prototype
1003         before obj_elf_section_word and add 'warn' arg.
1004         (obj_elf_section_word): Add type pointer arg, and if no #SECTION
1005         is matched, try checking for #SECTION_TYPE.
1006         (obj_elf_section): Adjust for new args.
1007         (obj_elf_type_name): New function.
1008         (obj_elf_type): Call it, and accept STT_foo number strings
1009         in .type statements as output by SunPRO compiler.
1010
1011 2008-04-22  H.J. Lu  <hongjiu.lu@intel.com>
1012
1013         * config/tc-i386.c (md_assemble): Don't check SSE instructions
1014         if noavx is 0.
1015
1016 2008-04-18  David S. Miller  <davem@davemloft.net>
1017
1018         * doc/c-sparc.texi: Add syntax section.
1019
1020 2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1021
1022         * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
1023         REG and NDS for instructions with immediate operand.
1024
1025 2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1026
1027         * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
1028         FMA.
1029
1030 2008-04-16  David S. Miller  <davem@davemloft.net>
1031
1032         * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
1033         and relocation generation.
1034         (tc_gen_reloc): Likewise.
1035
1036 2008-04-15  Andrew Stubbs  <andrew.stubbs@st.com>
1037
1038         * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
1039         relocations are properly aligned, and not negative.
1040
1041 2008-04-15  Khem Raj  <kraj@mvista.com>
1042
1043         * doc/tc-arm.texi: Fix fnstart and fnend directive names.
1044
1045 2008-04-14  Edmar Wienskoski  <edmar@freescale.com>
1046
1047         * config/tc-ppc.c (parse_cpu): Handle "e500mc".  Extend "e500" to
1048         accept e500mc instructions.
1049         (md_show_usage): Document -me500mc.
1050
1051 2008-04-11  Nick Clifton  <nickc@redhat.com>
1052
1053         * listing.c (print_timestamp): Use localtime rather than
1054         localtime_r since not all build environments provide the latter.
1055
1056 2008-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1057
1058         * NEWS: Mention -msse-check=[none|error|warning].
1059
1060         * config/tc-i386.c (sse_check): New.
1061         (OPTION_MSSE_CHECK): Likewise.
1062         (md_assemble): Check SSE instructions if needed.
1063         (md_longopts): Add -msse-check.
1064         (md_parse_option): Handle OPTION_MSSE_CHECK.
1065         (md_show_usage): Show -msse-check=[none|error|warning].
1066
1067         * doc/c-i386.texi: Document -msse-check=[none|error|warning].
1068
1069 2008-04-10  Santiago Urueña  <suruena@gmail.com>
1070
1071         * listing.c: Add -ag listing flag to show general information in
1072         listings such as gas version, passed options, and time stamp.
1073         (listing_general_info): New function.
1074         (print_options): New function.
1075         (print_single_option): New function.
1076         (print_timestamp): New function.
1077         (MAX_DATELEN): Define.
1078         (listing_print): Add call to listing_general_info.
1079         * listing.h (LISTING_GENERAL): Define.
1080         (listing_print): Add new parameter.
1081         * as.c (show_usage): Print new switch.
1082         (parse_args): Parse new switch.
1083         (main): Pass command line on to listing_print.
1084         * NEWS: Mention this new feature.
1085         * doc/as.texinfo: Document the new sub-option.
1086
1087 2008-04-08  Alan Modra  <amodra@bigpond.net.au>
1088
1089         * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
1090         call.  Delete out of date comment.
1091         (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
1092         (dwarf2_emit_label): Don't emit unless there has been a previous
1093         .file or we are outputting assembler generated debug.
1094         dwarf2_consume_line_info after emitting line info, not before.
1095         (out_debug_info): Simplify files_in_use test.
1096
1097 2008-04-07  H.J. Lu  <hongjiu.lu@intel.com>
1098
1099         * config/tc-i386.c (parse_real_register): Return AVX register
1100         only if AVX is enabled.
1101
1102 2008-04-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1103
1104         PR gas/6043
1105         * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
1106         md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
1107
1108 2008-04-04  Adrian Bunk  <bunk@stusta.de>
1109             Bob Wilson  <bob.wilson@acm.org>
1110
1111         * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
1112         call to decode_reloc.
1113
1114 2008-04-04  H.J. Lu  <hongjiu.lu@intel.com>
1115
1116         * NEWS: Mention XSAVE.  Change CLMUL to PCLMUL.
1117
1118         * config/tc-i386.c (cpu_arch): Add .pclmul.
1119         (md_show_usage): Replace clmul with pclmul.
1120         * doc/c-i386.texi: Likewise.
1121
1122 2008-04-03  H.J. Lu  <hongjiu.lu@intel.com>
1123
1124         * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
1125
1126         * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
1127         Document -msse2avx, .avx, .aes, .clmul and .fma.
1128
1129         * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
1130         (vex_prefix): Likewise.
1131         (sse2avx): Likewise.
1132         (CPU_FLAGS_ARCH_MATCH): Likewise.
1133         (CPU_FLAGS_64BIT_MATCH): Likewise.
1134         (CPU_FLAGS_32BIT_MATCH): Likewise.
1135         (CPU_FLAGS_PERFECT_MATCH): Likewise.
1136         (regymm): Likewise.
1137         (vex_imm4): Likewise.
1138         (fits_in_imm4): Likewise.
1139         (build_vex_prefix): Likewise.
1140         (VEX_check_operands): Likewise.
1141         (bad_implicit_operand): Likewise.
1142         (OPTION_MSSE2AVX): Likewise.
1143         (T_YMMWORD): Likewise.
1144         (_i386_insn): Add vex.
1145         (cpu_arch): Add .avx, .aes, .clmul and .fma.
1146         (cpu_flags_match): Changed to take a pointer to const template.
1147         Enable encoding SSE instructions with VEX prefix for -msse2avx.
1148         (match_mem_size): Also check ymmword.
1149         (operand_type_match): Clear ymmword.
1150         (md_begin): Allow '_' in mnemonic.
1151         (type_names): Add OPERAND_TYPE_VEX_IMM4.
1152         (process_immext): Update assert.
1153         (md_assemble): Don't call process_immext if sse2avx and immext
1154         are true.  Call build_vex_prefix if vex is true.
1155         (parse_insn): Updated for cpu_flags_match.
1156         (swap_operands): Handle 5 operands.
1157         (match_template): Handle 5 operands. Updated for cpu_flags_match.
1158         Check regymm.  Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
1159         (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
1160         (check_byte_reg): Check regymm.
1161         (process_operands): Duplicate the destination register for
1162         -msse2avx if needed.
1163         (build_modrm_byte): Updated for instructions with VEX encoding.
1164         (output_insn): Output VEX prefix if needed.
1165         (md_longopts): Add msse2avx.
1166         (md_parse_option): Handle OPTION_MSSE2AVX.
1167         (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
1168         (intel_e09): Support YMMWORD.
1169         (intel_e11): Likewise.
1170         (intel_get_token): Likewise.
1171
1172 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
1173
1174         * config/tc-avr.c (mcu_types): Add attiny167.
1175         * doc/c-avr.texi: Likewise.
1176
1177 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
1178
1179         * config/tc-avr.c (mcu_types): Add atmega32u4.
1180         * doc/c-avr.texi: Likewise.
1181
1182 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
1183
1184         * config/tc-avr.c (mcu_types): Add atmega32c1.
1185         * doc/c-avr.texi: Likewise.
1186
1187 2008-03-28  Paul Brook  <paul@codesourcery.com>
1188
1189         * config/tc-arm.c (parse_neon_mov): Parse register before immediate
1190         to avoid spurious symbols.
1191
1192 2008-03-28  Nathan Sidwell  <nathan@codesourcery.com>
1193
1194         * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
1195         as_bad_where.
1196
1197 2008-03-27  Eric B. Weddington  <eric.weddington@atmel.com>
1198
1199         * config/tc-avr.c (mcu_types): Add atmega32m1.
1200         * doc/c-avr.texi: Likewise.
1201
1202 2008-03-27  Ineiev  <ineiev@yahoo.co.uk>
1203
1204         * config/tc-arm.c (do_neon_cvt): Move variable declarations to
1205         start of block.
1206         (do_neon_ext): Fix sign of comparison.
1207
1208 2008-03-26  Bernd Schmidt  <bernd.schmidt@analog.com>
1209
1210         From Jie Zhang  <jie.zhang@analog.com>
1211         * config/bfin-parse.y (asm_1): Check AREGS in comparison
1212         instructions. And call yyerror when comparing PREG with
1213         DREG.
1214         (check_macfunc_option): New.
1215         (check_macfuncs): Check option by calling check_macfunc_option.
1216         Fix comparison always true warnings.  Both scalar instructions
1217         of vector instruction must share the same mode option.  Only allow
1218         option mode at the end of the second instruction of the vector.
1219         (asm_1): Check option by calling check_macfunc_option.
1220
1221         * config/bfin-parse.y (check_macfunc_option): Allow (IU)
1222         option for multiply and multiply-accumulate to data register
1223         instruction.
1224         (check_macfuncs): Don't check if accumulator matches the data register
1225         here.
1226         (assign_macfunc): Check if accumulator matches the
1227         data register in each rule that moves to the data
1228         register.
1229
1230         * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
1231         generated for LOOP_BEGIN and LOOP_END instructions.
1232         (bfin_gen_loop): Likewise.
1233
1234 2008-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
1235
1236         * config/tc-s390.c (md_parse_option): z10 option added.
1237
1238 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1239
1240         * aclocal.m4: Regenerate.
1241         * configure: Likewise.
1242         * Makefile.in: Likewise.
1243         * doc/Makefile.in: Likewise.
1244
1245 2008-03-17  Adrian Bunk  <bunk@stusta.de>
1246
1247         PR 5946
1248         * config/tc-hppa.c (is_same_frag): Delete.
1249
1250 2008-03-14  Sterling Augustine  <sterling@tensilica.com>
1251
1252         * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
1253         RELAX_LOOP_END_ADD_NOP.
1254
1255 2008-03-13  Evandro Menezes  <evandro@yahoo.com>
1256
1257         PR gas/5895
1258         * read.c (s_mexit): Warn if attempting to exit a macro when not
1259         inside a macro definition.
1260
1261 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
1262
1263         * Makefile.am: Run "make dep-am".
1264         * Makefile.in: Regenerate.
1265         * configure: Regenerate.
1266
1267 2008-03-09  Paul Brook  <paul@codesourcery.com>
1268
1269         * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
1270         * doc/c-arm.texi: Add cortex-a9.
1271
1272 2008-03-09  Paul Brook  <paul@codesourcery.com>
1273
1274         * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
1275         (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
1276         (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
1277         (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
1278         * doc/c-arm.texi: Document new ARM FPU variants.
1279
1280 2008-03-07  Paul Brook  <paul@codesourcery.com>
1281
1282         * config/tc-arm.c (md_apply_fix): Use correct offset range.
1283
1284 2008-03-07  Alan Modra  <amodra@bigpond.net.au>
1285
1286         * config/tc-ppc.c (ppc_setup_opcodes): Tidy.  Add code to test
1287         for strict ordering of powerpc_opcodes, but disable for now.
1288
1289 2008-03-04  Paul Brook  <paul@codesourcery.com>
1290
1291         * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
1292         (arm_ext_v7m): Rename...
1293         (arm_ext_m): ... to this.  Include v6-M.
1294         (do_t_add_sub): Allow narrow low-reg non flag setting adds.
1295         (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
1296         (md_assemble): Allow wide msr instructions.
1297         (insns): Add classifications for v6-m instructions.
1298         (arm_cpu_option_table): Add cortex-m1.
1299         (arm_arch_option_table): Add armv6-m.
1300         (cpu_arch): Add ARM_ARCH_V6M.  Fix numbering of other v6 variants.
1301
1302 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
1303             Bob Wilson  <bob.wilson@acm.org>
1304
1305         * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
1306         (md_begin): Initialize it.
1307         (resources_conflict): Use it.
1308
1309 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
1310
1311         * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
1312
1313 2008-03-03  Denys Vlasenko <vda.linux@googlemail.com>
1314             H.J. Lu  <hongjiu.lu@intel.com>
1315
1316         PR gas/5543
1317         * read.c (pseudo_set): Don't allow global register symbol.
1318
1319         * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
1320         global.
1321
1322 2008-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1323
1324         PR gas/5543
1325         * write.c (write_object_file): Don't allow symbols which were
1326         equated to register.  Stop if there is an error.
1327
1328 2008-03-01  Alan Modra  <amodra@bigpond.net.au>
1329
1330         * config/tc-ppc.h (struct _ppc_fix_extra): New.
1331         (ppc_cpu): Declare.
1332         (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
1333         * config/tc-ppc.c (ppu_cpu): Make global.
1334         (ppc_insert_operand): Add ppu_cpu parameter.
1335         (md_assemble): Adjust for above change.
1336         (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
1337
1338 2008-02-22  Nick Clifton  <nickc@redhat.com>
1339
1340         * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
1341         targeted ARM ports, otherwise just skip generating the reloc.
1342
1343 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1344
1345         * doc/c-i386.texi: Update -march= and .arch.
1346
1347 2008-02-18  Nick Clifton  <nickc@redhat.com>
1348
1349         * config/tc-mn10300.c (has_known_symbol_location): New function.
1350         Do not regard weak symbols as having a known location.
1351         (md_estimate_size_before_relax): Use new function.
1352         (md_pcrel_from): Do not compute a pcrel against a weak symbol.
1353
1354 2008-02-18  Jan Beulich  <jbeulich@novell.com>
1355
1356         * config/tc-i386.c (match_template): Disallow 'l' suffix when
1357         currently selected CPU has no 32-bit support.
1358         (parse_real_register): Do not return registers not available on
1359         currently selected CPU.
1360
1361 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
1362
1363         * config/tc-i386.c (process_immext): Fix format.
1364
1365 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
1366
1367         * config/tc-i386.c (inoutportreg): New.
1368         (process_immext): New.
1369         (md_assemble): Use it.
1370         (update_imm): Use imm16 and imm32s.
1371         (i386_att_operand): Use inoutportreg.
1372
1373 2008-02-14  H.J. Lu  <hongjiu.lu@intel.com>
1374
1375         * config/tc-i386.c (operand_type_all_zero): New.
1376         (operand_type_set): Likewise.
1377         (operand_type_equal): Likewise.
1378         (cpu_flags_all_zero): Likewise.
1379         (cpu_flags_set): Likewise.
1380         (cpu_flags_equal): Likewise.
1381         (UINTS_ALL_ZERO): Removed.
1382         (UINTS_SET): Likewise.
1383         (UINTS_CLEAR): Likewise.
1384         (UINTS_EQUAL): Likewise.
1385         (cpu_flags_match): Updated.
1386         (smallest_imm_type): Likewise.
1387         (set_cpu_arch): Likewise.
1388         (md_assemble): Likewise.
1389         (optimize_imm): Likewise.
1390         (match_template): Likewise.
1391         (process_suffix): Likewise.
1392         (update_imm): Likewise.
1393         (process_drex): Likewise.
1394         (process_operands): Likewise.
1395         (build_modrm_byte): Likewise.
1396         (i386_immediate): Likewise.
1397         (i386_displacement): Likewise.
1398         (i386_att_operand): Likewise.
1399         (parse_real_register): Likewise.
1400         (md_parse_option): Likewise.
1401         (i386_target_format): Likewise.
1402
1403 2008-02-14  Dimitry Andric  <dimitry@andric.com>
1404
1405         PR gas/5712
1406         * config/tc-arm.c (s_arm_unwind_save): Advance the input line
1407         pointer past the comma after parsing a floating point register
1408         name.
1409
1410 2008-02-14  Hakan Ardo  <hakan@debian.org>
1411
1412         PR gas/2626
1413         * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
1414         to AVR_ISA_2xxe.
1415         (avr_operand): Disallow post-increment addressing in the lpm
1416         instruction for the attiny26.
1417
1418 2008-02-13  Jan Beulich  <jbeulich@novell.com>
1419
1420         * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
1421         if not in Intel mode.
1422         (i386_intel_operand): Ignore segment overrides in immediate and
1423         offset operands.
1424         (intel_e11): Range-check i.mem_operands before use as array
1425         index. Filter out FLAT for uses other than as segment override.
1426         (intel_get_token): Remove broken promotion of "FLAT:" to mean
1427         "offset FLAT:".
1428
1429 2008-02-13  Jan Beulich  <jbeulich@novell.com>
1430
1431         * config/tc-i386.c (intel_e09): Also special-case 'bound'.
1432
1433 2008-02-13  Jan Beulich  <jbeulich@novell.com>
1434
1435         * config/tc-i386.c (allow_pseudo_reg): New.
1436         (parse_real_register): Check for NULL just once. Allow all
1437         register table entries when allow_pseudo_reg is non-zero.
1438         Don't allow any registers without type when allow_pseudo_reg
1439         is zero.
1440         (tc_x86_regname_to_dw2regnum): Replace with ...
1441         (tc_x86_parse_to_dw2regnum): ... this.
1442         (tc_x86_frame_initial_instructions): Adjust for above change.
1443         * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
1444         (tc_parse_to_dw2regnum): New.
1445         (tc_x86_regname_to_dw2regnum): Replace with ...
1446         (tc_x86_parse_to_dw2regnum): ... this.
1447         * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
1448         (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
1449         error handling.
1450
1451 2008-02-12  Nick Clifton  <nickc@redhat.com>
1452
1453         * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
1454         argument.
1455         (tic4x_insn_add): Likewise.
1456         (md_begin): Drop cast that was discarding a const qualifier.
1457         * config/tc-d30v.c (get_reloc): Add const qualifier to op
1458         argument.
1459         (build_insn): Drop cast that was discarding a const qualifier.
1460
1461 2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>
1462
1463         * config/tc-i386.c (cpu_arch): Add .xsave.
1464         (md_show_usage): Add .xsave.
1465
1466         * doc/c-i386.texi: Add xsave to -march=.
1467
1468 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
1469
1470         * read.c (s_weakref): Don't pass unadorned NULL to concat.
1471         * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
1472
1473 2008-02-05  Sterling Augustine  <sterling@tensilica.com>
1474
1475         * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
1476         checks into assertions.  When relaxation produces an operation that
1477         does not fit in the current FLIX instruction, make sure that the
1478         operation is relaxed as needed to account for being placed following
1479         the current instruction.
1480
1481 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
1482
1483         PR 5715
1484         * configure: Regenerated.
1485
1486 2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
1487
1488         * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
1489
1490 2008-01-31  Marc Gauthier  <marc@tensilica.com>
1491
1492         * configure.tgt (xtensa*-*-*): Recognize processor variants.
1493
1494 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
1495
1496         * read.c: (emit_expr): Correct for mingw use of printf size
1497         specifier.
1498
1499 2008-01-24  Bob Wilson  <bob.wilson@acm.org>
1500
1501         * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
1502         can only be encoded in FLIX instructions but are not specified as such.
1503         (Xtensa Automatic Alignment): Remove obsolete comment about debugging
1504         labels.
1505
1506 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1507
1508         * NEWS: Mention new command line options for x86 targets.
1509
1510 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1511
1512         * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
1513
1514 2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>
1515
1516         * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
1517
1518 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1519
1520         * config/tc-i386.c (md_show_usage): Show more processors for
1521         -march=/-mtune=.
1522
1523 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
1524
1525         * config/tc-i386.c (i386_target_format): Remove cpummx2.
1526
1527 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
1528
1529         * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
1530         (XXX_MNEM_SUFFIX): Likewise.
1531         (END_OF_INSN): Likewise.
1532         (templates): Likewise.
1533         (modrm_byte): Likewise.
1534         (rex_byte): Likewise.
1535         (DREX_XXX): Likewise.
1536         (drex_byte): Likewise.
1537         (sib_byte): Likewise.
1538         (processor_type): Likewise.
1539         (arch_entry): Likewise.
1540         (cpu_sub_arch_name): Remove const.
1541         (cpu_arch): Add .vmx and .smx.
1542         (set_cpu_arch): Append cpu_sub_arch_name.
1543         (md_parse_option): Support -march=CPU[,+EXTENSION...].
1544         (md_show_usage): Updated.
1545
1546         * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
1547         (XXX_MNEM_SUFFIX): Likewise.
1548         (END_OF_INSN): Likewise.
1549         (templates): Likewise.
1550         (modrm_byte): Likewise.
1551         (rex_byte): Likewise.
1552         (DREX_XXX): Likewise.
1553         (drex_byte): Likewise.
1554         (sib_byte): Likewise.
1555         (processor_type): Likewise.
1556         (arch_entry): Likewise.
1557
1558         * doc/as.texinfo: Update i386 -march option.
1559
1560         * doc/c-i386.texi: Update -march= for ISA.
1561
1562 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
1563
1564         * config/tc-xtensa.c (xtensa_leb128): New function.
1565         (md_pseudo_table): Use it for sleb128 and uleb128.
1566         (is_leb128_expr): New internal flag.
1567         (xtensa_symbol_new_hook): Check new flag.
1568
1569 2008-01-16  Eric B. Weddington  <eric.weddington@atmel.com>
1570
1571         * config/tc-avr.c (mcu_types): Change opcode set for avr3,
1572         at90usb82, at90usb162.
1573         * doc/c-avr.texi: Change architecture grouping for at90usb82,
1574         at90usb162.
1575         These changes support the new avr35 architecture group in gcc.
1576
1577 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1578
1579         * config/tc-i386.c (md_assemble): Also zap movzx and movsx
1580         suffix for AT&T syntax.
1581
1582 2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1583
1584         * config/tc-i386.c (match_reg_size): New.
1585         (match_mem_size): Likewise.
1586         (operand_size_match): Likewise.
1587         (operand_type_match): Also clear all size fields.
1588         (match_template): Skip Intel syntax when in AT&T syntax.
1589         Call operand_size_match to check operand size.
1590         (i386_att_operand): Set the mem field to 1 for memory
1591         operand.
1592         (i386_intel_operand): Likewise.
1593
1594 2008-01-12  H.J. Lu  <hongjiu.lu@intel.com>
1595
1596         PR gas/5534
1597         * config/tc-i386.c (_i386_insn): Update comment.
1598         (operand_type_match): Also clear unspecified.
1599         (operand_type_register_match): Likewise.
1600         (parse_operands): Initialize unspecified.
1601         (i386_intel_operand): Likewise.
1602         (match_template): Check memory and accumulator operand size.
1603         (i386_att_operand): Clear unspecified on register operand.
1604         (intel_e11): Likewise.
1605         (intel_e09): Set operand size and clean unspecified for
1606         "XXX PTR".
1607
1608 2008-01-11  Andreas Schwab  <schwab@suse.de>
1609
1610         * read.c (s_space): Declare `repeat' as offsetT.
1611
1612 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1613
1614         * config/tc-i386.c (match_template): Check processor support
1615         first.
1616
1617 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1618
1619         * config/tc-i386.c (match_template): Continue if processor
1620         doesn't match.
1621
1622 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
1623
1624         * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
1625         unwind personality function address.
1626
1627 2008-01-09  Bob Wilson  <bob.wilson@acm.org>
1628
1629         * dwarf2dbg.c (out_sleb128): Delete.
1630         (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
1631         (out_fixed_inc_line_addr): Delete.
1632         (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
1633         size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
1634         (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
1635         (process_entries): Remove calls to out_fixed_inc_line_addr.  When
1636         DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
1637         * read.h (emit_expr_fix): New prototype.
1638         * read.c (emit_expr): Move code to emit_expr_fix and use it here.
1639         (emit_expr_fix): New.
1640
1641 2008-01-09  H.J. Lu  <hongjiu.lu@intel.com>
1642
1643         * config/tc-i386.c (match_template): Check register size
1644         only when size of operands can be encoded the canonical way.
1645
1646 2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1647
1648         * config/tc-i386.c (i386_operand): Renamed to ...
1649         (i386_att_operand): This.
1650         (parse_operands): Updated.
1651
1652 2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1653
1654         * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
1655
1656         * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
1657         only.
1658         (md_assemble): Remove Intel mode workaround.
1659         (match_template): Check support for old gcc, AT&T mnemonic
1660         and Intel Syntax.
1661         (md_parse_option): Don't set intel_mnemonic to 0 for
1662         OPTION_MOLD_GCC.
1663
1664 2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1665
1666         * config/tc-i386.h: Update copyright to 2008.
1667
1668 2008-01-04  Nick Clifton  <nickc@redhat.com>
1669
1670         * config/tc-ppc.c (parse_cpu): Preserve the settings of the
1671         PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
1672
1673 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
1674
1675         * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
1676         of SYSV386_COMPAT.
1677
1678 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
1679
1680         * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
1681         (cpu_flags_not): Likewise.
1682         (cpu_flags_match): Updated to check 64bit and arch.
1683         (set_code_flag): Remove cpu_arch_flags_not.
1684         (set_16bit_gcc_code_flag): Likewise.
1685         (set_cpu_arch): Likewise.
1686         (md_begin): Likewise.
1687         (parse_insn): Call cpu_flags_match to check 64bit and arch.
1688         (match_template): Likewise.
1689
1690 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
1691
1692         * config/tc-i386.c (process_drex): Initialize modrm_reg and
1693         modrm_regmem to 0 instead of None.
1694
1695 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
1696
1697         * config/tc-i386.c (match_template): Use the xmmword field
1698         instead of no_xsuf.
1699
1700 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
1701
1702         * config/tc-i386.c (process_suffix): Fix a typo.
1703
1704 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
1705
1706         PR gas/5534
1707         * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1708         Check memory size in Intel mode.
1709         (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1710         (intel_e09): Likewise.
1711
1712         * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1713
1714 2008-01-02  Catherine Moore  <clm@codesourcery.com>
1715
1716         * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1717
1718 For older changes see ChangeLog-2007
1719 \f
1720 Local Variables:
1721 mode: change-log
1722 left-margin: 8
1723 fill-column: 74
1724 version-control: never
1725 End: