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