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