OSDN Git Service

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