Banish PARAMS and PTR. Convert to ISO C.
[platform/upstream/binutils.git] / gas / ChangeLog
1 2008-08-13  Alan Modra  <amodra@bigpond.net.au>
2
3         * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
4         config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
5         config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
6         config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
7         config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
8         config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
9         config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
10         config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
11         config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
12         and PTR.  Convert to ISO C.  Delete unnecessary forward declarations.
13
14 2008-08-12  Alan Modra  <amodra@bigpond.net.au>
15
16         * config/tc-arm.c (s_unreq): Adjust hash_delete call.
17         * config/tc-ia64.c (dot_rot): Likewise.
18
19 2008-08-11  Alan Modra  <amodra@bigpond.net.au>
20
21         PR 6575
22         * hash.c: Expand PTR to void *.
23         (hash_delete): Add "freeme" parameter.  Call obstack_free.
24         * hash.h: Expand PTR to void *.
25         (hash_delete): Update prototype.
26         * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
27         * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
28         call.
29         (subsym_substitute): Likewise.
30         * doc/internals.texi (hash_delete): Update.
31
32 2008-08-08  Anatoly Sokolov  <aesok@post.ru>
33
34         * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
35         architectures. Reorganize list to put mcu types in correct
36         architectures and to order list same as in GCC. Use new ISA
37         definitions in include/opcode/avr.h.
38         * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
39         descriptions. Reorganize descriptions to put mcu types in correct
40         architectures and to order lists same as in GCC.
41
42 2008-08-08  Richard Sandiford  <rdsandiford@googlemail.com>
43             Daniel Jacobowitz  <dan@codesourcery.com>
44
45         * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
46         (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
47         (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
48         (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
49         (md_longopts): Add -call_nonpic.
50         (md_parse_option): Handle OPTION_CALL_NONPIC.
51         (md_show_usage): Add -call_nonpic.
52
53 2008-08-08  Sterling Augustine  <sterling@tensilica.com>
54
55         * config/tc-xtensa.c (exclude_section_from_property_tables): New.
56         (xtensa_create_property_segments): Use it.
57         (xtensa_create_xproperty_segments): Likewise.
58
59 2008-08-08  Alan Modra  <amodra@bigpond.net.au>
60
61         * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
62
63 2008-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
64
65         * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
66         (lo16_reloc_p): New functions.
67         (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
68         generalize relocation checks.
69         (matching_lo_reloc): New function.
70         (fixup_has_matching_lo_p): Use it.
71         (mips16_mark_labels): Don't clobber a symbol's visibility.
72         (append_insn): Use hi16_reloc_p and lo16_reloc_p.
73         (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
74         (md_apply_fix): Likewise.
75         (mips16_percent_op): Add %got and %call16.
76         (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
77         Use matching_lo_reloc.
78         (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
79         generalize relocation checks.
80         (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
81         checks.
82
83 2008-08-06  DJ Delorie  <dj@redhat.com>
84
85         * NEWS: Mention these changes.
86
87         * config/tc-h8300.h (H_TICK_HEX): Define.
88         * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
89         (md_longopts): Add "-h-tick-hex".
90         (md_parse_option): Support it.
91         * doc/c-h8300.texi (H8/300 Options): Document it.
92         * doc/as.texinfo (Overview): Likewise.
93
94         * config/tc-sh.h (H_TICK_HEX): Define.
95         * config/tc-sh.c (OPTION_H_TICK_HEX): New.
96         (md_longopts): Add "-h-tick-hex".
97         (md_parse_option): Support it.
98         * doc/c-sh.texi (SH Options): Document it.
99         * doc/c-sh64.texi (SH64 Options): Document it.
100         * doc/as.texinfo (Overview): Likewise.
101
102 2008-08-05  Alan Modra  <amodra@bigpond.net.au>
103
104         PR gas/6656
105         * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
106         debug info if we see compiler generated debug info.
107         (dwarf2_directive_loc): Likewise.  Remove redundant debug_type test.
108
109 2008-08-04  Alan Modra  <amodra@bigpond.net.au>
110
111         * dwarf2dbg.c: Remove superfluous forward function declarations.
112         (DWARF2_FORMAT): Add section arg.
113         (out_header): New function, split out from..
114         (out_debug_line): ..here.
115         (out_debug_aranges): Use out_header.
116         (out_debug_abbrev): Add info_seg and line_seg args.  Use
117         DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
118         (out_debug_info): Use out_header.  Output 8 byte DW_AT_stmt_list
119         if line_seg is 64-bit.
120         (dwarf2_finish): Adjust out_debug_abbrev call.
121         * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
122         * config/tc-mips.c (mips_dwarf2_format): Likewise.
123
124 2008-08-04  Alan Modra  <amodra@bigpond.net.au>
125
126         * Makefile.am (POTFILES.in): Set LC_ALL=C.
127         * Makefile.in: Regenerate.
128         * po/POTFILES.in: Regenerate.
129
130 2008-08-01  Peter Bergner  <bergner@vnet.ibm.com>
131
132         * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
133         Handle -mvsx and -mpower7.
134         (md_show_usage): Document -mpower7 and -mvsx.
135         * doc/as.texinfo (Target PowerPC): Document -mvsx.
136         * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
137
138 2008-07-31  Peter Bergner  <bergner@vnet.ibm.com>
139
140         * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
141         <cell>: Likewise.
142
143 2008-07-30  Michael J. Eager  <eager@eagercon.com>
144
145         * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
146         (md_show_usage): Likewise.
147
148 2008-07-30  Alan Modra  <amodra@bigpond.net.au>
149
150         * messages.c, symbols.c, write.c: Silence gcc warnings.
151
152 2008-07-28  Ineiev  <ineiev@yahoo.co.uk>
153
154         * config/tc-i386.c (operand_type_check): Warning fix.
155
156 2008-07-26  Michael Eager <eager@eagercon.com>
157
158         * doc/as.texinfo: Add description of single-precision attribute.
159
160 2008-07-24  Jie Zhang  <jie.zhang@analog.com>
161
162         * config/bfin-parse.y (asm_1): Error if plain symbol is used
163         as load/store offset.
164
165 2008-07-22  Chao-ying Fu  <fu@mips.com>
166
167         * config/tc-mips.c (mips_ip): Reset s to argsStart.
168
169 2008-07-22  Jie Zhang  <jie.zhang@analog.com>
170
171         * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
172
173 2008-07-21  DJ Delorie  <dj@redhat.com>
174
175         * config/tc-h8300.c (fix_operand_size): Use the default size
176         specified by the .lbranch/.sbranch pseudos.
177
178 2008-07-18  DJ Delorie  <dj@redhat.com>
179
180         * config/tc-m32c.h (H_TICK_HEX): Define.
181         * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
182         (md_longopts): Add support for it.
183         (md_parse_option): Likewise.
184         * doc/as.texinfo (Overview): Add new m32c options.
185         * doc/c-m32c.texi (M32C-Modifiers): Likewise
186
187         * as.h: (enable_h_tick_hex): New.
188         * app.c (enable_h_tick_hex): New.
189         (LEX_IS_H): New.
190         (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
191         (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
192         style hex constants and convert the input stream to 0x00 style.
193         (do_scrub_chars): If a 'X style character constant is found after
194         a symbol character (like you're or X'00), warn the user.
195
196 2008-07-10  Richard Sandiford  <rdsandiford@googlemail.com>
197
198         * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
199         (mips_fix_adjustable): Likewise.
200         (mips_frob_file_after_relocs): Likewise.
201
202 2008-07-08  Nathan Sidwell  <nathan@codesourcery.com>
203
204         * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
205         about overriding an earlier setting.
206
207 2008-07-07  Adam Nemet  <anemet@caviumnetworks.com>
208
209         * config/tc-mips.c (NO_ISA_COP): New macro.
210         (COP_INSN): New macro.
211         (is_opcode_valid): Use them.
212         (macro) <ld_st>: Use them.  Don't accept coprocessor load store
213         insns based on the ISA if CPU is NO_ISA_COP.
214         <copz>: Likewise for coprocessor operations.
215
216 2008-07-07  Paul Brook  <paul@codesourcery.com>
217
218         * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
219         relocations.
220
221 2008-07-07  Ralf Corsépius  <ralf.corsepius@rtems.org>
222
223         * configure.tgt: Add bfin-*-rtems*.
224
225 2008-07-04  Alan Modra  <amodra@bigpond.net.au>
226
227         * config/tc-spu.c (md_apply_fix): Handle fully resolved
228         BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
229
230 2008-06-25  Peter Bergner  <bergner@vnet.ibm.com>
231
232         * config/tc-ppc.c (parse_cpu): Handle -m464.
233         (md_show_usage): Likewise.
234
235 2008-06-24  Eric B. Weddington  <eric.weddington@atmel.com>
236
237         Add support for ATtiny13A.
238         * config/tc-avr.c (mcu_types): Add attiny13a.
239         * doc/c-avr.texi: Likewise.
240
241 2008-06-24  Bob Wilson  <bob.wilson@acm.org>
242             Alan Modra  <amodra@bigpond.net.au>
243
244         * write.c (relax_segment <rs_org>): Include current stretch
245         value when calculating whether .org is backwards.
246
247 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
248
249         * configure: Regenerate.
250
251 2008-06-17  Nick Clifton  <nickc@redhat.com>
252
253         * app.c (do_scrub_chars): Do not UNGET an EOF value.
254
255 2008-06-16  Hans-Peter Nilsson  <hp@bitrange.com>
256
257         PR gas/6607
258         * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
259         text_section.  Do the "stepping backwards" test for text_section
260         using unsigned operands.
261
262 2008-06-13  Peter Bergner  <bergner@vnet.ibm.com>
263
264         * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
265         (ppc_insert_operand): Likewise.
266         (ppc_machine): Likewise.
267         * config/tc-ppc.h: #include "opcode/ppc.h"
268         (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
269         (ppc_cpu): Update extern decl.
270
271 2008-06-12  Adam Nemet  <anemet@caviumnetworks.com>
272
273         * config/tc-mips.c (validate_mips_insn): Handle field descriptors
274         +x, +X, +p, +P, +s, +S.
275         (mips_ip): Likewise.
276
277         * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
278         (mips_ip): Likewise.
279         (macro_build): Likewise.
280         (CPU_HAS_SEQ): New macro.
281         (macro2) <M_SEQ_I, M_SNE_I>: Use it.  Emit seq/sne and seqi/snei.
282
283 2008-06-09  Eric B. Weddington  <eric.weddington@atmel.com>
284
285         * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
286         * doc/c-avr.texi: Likewise.
287
288 2008-06-04  Nick Clifton  <nickc@redhat.com>
289
290         * app.c (do_scrub_chars): Do not UNGET an EOF value.
291
292 2008-06-03  H.J. Lu  <hongjiu.lu@intel.com>
293
294         * config/tc-i386.c (set_sse_check): New.
295         (md_pseudo_table): Add "sse_check".
296
297 2008-06-03  Paul Brook  <paul@codesourcery.com>
298
299         * config/tc-arm.c (do_t_rbit): Populate both rm fields.
300
301 2008-05-30  Nick Clifton  <nickc@redhat.com>
302
303         PR 5523
304         * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
305         relocs here.
306
307 2008-05-29  Maxim Kuvyrkov  <maxim@codesourcery.com>
308
309         * config/tc-mips.c (mips_cpu_info_table): Move records for
310         ST Loongson-2E/2F processors to a better place.
311
312 2008-05-23  H.J. Lu  <hongjiu.lu@intel.com>
313
314         PR gas/6518
315         * config/tc-i386.c (match_template): Report ambiguous operand
316         size, not invalid suffix when there is no match in Intel
317         syntax.
318
319 2008-05-22  Paul Brook  <paul@codesourcery.com>
320
321         * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
322
323 2008-05-21  I-Jui Sung  <ijsung@gmail.com>
324
325         * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
326         compatible cores: fa526, fa626, fa626te, fa726te.
327         * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
328         fa726te} options.
329
330 2008-05-14  Alan Modra  <amodra@bigpond.net.au>
331
332         * Makefile.am: Run "make dep-am".
333         * Makefile.in: Regenerate.
334         * doc/Makefile.in: Regenerate.
335         * po/POTFILES.in: Regenerate.
336
337 2008-05-09  Catherine Moore  <clm@codesourcery.com>
338
339         * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
340         with non-MIPS16 relocs.
341
342 2008-05-09  Chao-ying Fu  <fu@mips.com>
343
344         * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
345         case that some characters append at the end of the name.
346         (mips_ip): Likewise.
347         (s_change_sec): Likewise.
348         (md_section_align): Likewise.
349
350 2008-05-07  Bob Wilson  <bob.wilson@acm.org>
351
352         * config/tc-xtensa.c (xtensa_create_property_segments): Use
353         xtensa_make_property_section instead of xtensa_get_property_section.
354         (xtensa_create_xproperty_segments): Likewise.
355
356 2008-05-02  H.J. Lu  <hongjiu.lu@intel.com>
357
358         * NEWS: Mention XSAVE, EPT and MOVBE.
359
360         * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
361         (md_show_usage): Add .movbe and .ept.
362
363         * doc/c-i386.texi: Add movbe and ept to -march=.  Document
364         .movbe and .ept.
365
366 2008-04-29  David S. Miller  <davem@davemloft.net>
367
368         * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
369
370 2008-04-28  Adam Nemet  <anemet@caviumnetworks.com>
371
372         * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
373         New statics.
374         (OPTION_ELF_BASE): Make room for new option macros.
375         (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
376         OPTION_DOUBLE_FLOAT): New option macros.
377         (md_longopts): Add msoft-float, mhard-float, msingle-float and
378         mdouble-float.
379         (md_parse_option): Handle OPTION_SINGLE_FLOAT,
380         OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
381         (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
382         and -mdouble-float.
383         (struct mips_set_options): New fields soft_float and single_float.
384         (mips_opts): Initialized them.  Add comment for each field
385         initializer.
386         (mips_after_parse_args): Set them based on file_mips_soft_float
387         and file_mips_single_float.
388         (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
389         `.set singlefloat' and `.set doublefloat'.
390         (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
391         Handle single-float and soft-float instructions here.
392         (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
393         (is_opcode_valid_16): New function.
394         (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
395         (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
396         M_S_DOB>: Remove special-casing of r4650.
397         * doc/c-mips.texi (-march=): Add Octeon.
398         (MIPS Opts): Document -msoft-float and -mhard-float.  Document
399         -msingle-float and -mdouble-float.
400         (MIPS floating-point): New section.  Document `.set softfloat' and
401         `.set hardfloat'.  Document `.set singlefloat' and `.set
402         doublefloat'.
403
404 2008-04-25  David S. Miller  <davem@davemloft.net>
405
406         * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
407         %asr aliases.
408
409         * doc/c-sparc.texi: Consistently refer to architecture 'versions',
410         rather than occaisionally 'levels'.  Consistently refer to Sun's
411         UNIX variant as SunOS, every version of Solaris is also SunOS.
412         Document new 'softint_clear' and 'softint_set' aliases.  Clarify
413         which architecture versions support '%dcr', '%cq', and '%gl'. Add
414         section on 32-bit/64-bit opcode translations.
415
416 2008-04-23  Mike Frysinger  <vapier@gentoo.org>
417
418         * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
419         (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
420         (obj-fdpicelf.o): Define.
421         * Makefile.in: Regenerate.
422         * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
423         (bfin-*-*): Delete.
424         (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
425         (bfin-*-uclinux*): New; set fmt to elf and em to linux.
426         * config/obj-fdpicelf.c: New.
427         * config/obj-fdpicelf.h: Likewise.
428         * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
429         the OBJ_FDPIC_ELF define.
430         (OPTION_NOPIC): Define.
431         (md_longopts): Add mnopic and mno-fdpic.
432         (md_parse_option): Handle OPTION_NOPIC.
433
434 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
435
436         * aclocal.m4: Regenerate.
437         * configure: Regenerate.
438
439 2008-04-23  David S. Miller  <davem@davemloft.net>
440
441         * config/tc-sparc.c (v9a_asr_table): Add missing
442         'stick' and 'stick_cmpr', and document ordering rules
443         of table.
444         (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
445         BFD_RELOC_SPARC_PC10.
446         * doc/c-sparc.texi: New section on Sparc constants.
447         Add documentation for %stick and %stick_cmpr.
448
449 2008-04-22  David S. Miller  <davem@davemloft.net>
450
451         * config/obj-elf.c (obj_elf_section_type): Add prototype
452         before obj_elf_section_word and add 'warn' arg.
453         (obj_elf_section_word): Add type pointer arg, and if no #SECTION
454         is matched, try checking for #SECTION_TYPE.
455         (obj_elf_section): Adjust for new args.
456         (obj_elf_type_name): New function.
457         (obj_elf_type): Call it, and accept STT_foo number strings
458         in .type statements as output by SunPRO compiler.
459
460 2008-04-22  H.J. Lu  <hongjiu.lu@intel.com>
461
462         * config/tc-i386.c (md_assemble): Don't check SSE instructions
463         if noavx is 0.
464
465 2008-04-18  David S. Miller  <davem@davemloft.net>
466
467         * doc/c-sparc.texi: Add syntax section.
468
469 2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>
470
471         * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
472         REG and NDS for instructions with immediate operand.
473
474 2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>
475
476         * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
477         FMA.
478
479 2008-04-16  David S. Miller  <davem@davemloft.net>
480
481         * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
482         and relocation generation.
483         (tc_gen_reloc): Likewise.
484
485 2008-04-15  Andrew Stubbs  <andrew.stubbs@st.com>
486
487         * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
488         relocations are properly aligned, and not negative.
489
490 2008-04-15  Khem Raj  <kraj@mvista.com>
491
492         * doc/tc-arm.texi: Fix fnstart and fnend directive names.
493
494 2008-04-14  Edmar Wienskoski  <edmar@freescale.com>
495
496         * config/tc-ppc.c (parse_cpu): Handle "e500mc".  Extend "e500" to
497         accept e500mc instructions.
498         (md_show_usage): Document -me500mc.
499
500 2008-04-11  Nick Clifton  <nickc@redhat.com>
501
502         * listing.c (print_timestamp): Use localtime rather than
503         localtime_r since not all build environments provide the latter.
504
505 2008-04-10  H.J. Lu  <hongjiu.lu@intel.com>
506
507         * NEWS: Mention -msse-check=[none|error|warning].
508
509         * config/tc-i386.c (sse_check): New.
510         (OPTION_MSSE_CHECK): Likewise.
511         (md_assemble): Check SSE instructions if needed.
512         (md_longopts): Add -msse-check.
513         (md_parse_option): Handle OPTION_MSSE_CHECK.
514         (md_show_usage): Show -msse-check=[none|error|warning].
515
516         * doc/c-i386.texi: Document -msse-check=[none|error|warning].
517
518 2008-04-10  Santiago Urueña  <suruena@gmail.com>
519
520         * listing.c: Add -ag listing flag to show general information in
521         listings such as gas version, passed options, and time stamp.
522         (listing_general_info): New function.
523         (print_options): New function.
524         (print_single_option): New function.
525         (print_timestamp): New function.
526         (MAX_DATELEN): Define.
527         (listing_print): Add call to listing_general_info.
528         * listing.h (LISTING_GENERAL): Define.
529         (listing_print): Add new parameter.
530         * as.c (show_usage): Print new switch.
531         (parse_args): Parse new switch.
532         (main): Pass command line on to listing_print.
533         * NEWS: Mention this new feature.
534         * doc/as.texinfo: Document the new sub-option.
535
536 2008-04-08  Alan Modra  <amodra@bigpond.net.au>
537
538         * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
539         call.  Delete out of date comment.
540         (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
541         (dwarf2_emit_label): Don't emit unless there has been a previous
542         .file or we are outputting assembler generated debug.
543         dwarf2_consume_line_info after emitting line info, not before.
544         (out_debug_info): Simplify files_in_use test.
545
546 2008-04-07  H.J. Lu  <hongjiu.lu@intel.com>
547
548         * config/tc-i386.c (parse_real_register): Return AVX register
549         only if AVX is enabled.
550
551 2008-04-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
552
553         PR gas/6043
554         * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
555         md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
556
557 2008-04-04  Adrian Bunk  <bunk@stusta.de>
558             Bob Wilson  <bob.wilson@acm.org>
559
560         * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
561         call to decode_reloc.
562
563 2008-04-04  H.J. Lu  <hongjiu.lu@intel.com>
564
565         * NEWS: Mention XSAVE.  Change CLMUL to PCLMUL.
566
567         * config/tc-i386.c (cpu_arch): Add .pclmul.
568         (md_show_usage): Replace clmul with pclmul.
569         * doc/c-i386.texi: Likewise.
570
571 2008-04-03  H.J. Lu  <hongjiu.lu@intel.com>
572
573         * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
574
575         * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
576         Document -msse2avx, .avx, .aes, .clmul and .fma.
577
578         * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
579         (vex_prefix): Likewise.
580         (sse2avx): Likewise.
581         (CPU_FLAGS_ARCH_MATCH): Likewise.
582         (CPU_FLAGS_64BIT_MATCH): Likewise.
583         (CPU_FLAGS_32BIT_MATCH): Likewise.
584         (CPU_FLAGS_PERFECT_MATCH): Likewise.
585         (regymm): Likewise.
586         (vex_imm4): Likewise.
587         (fits_in_imm4): Likewise.
588         (build_vex_prefix): Likewise.
589         (VEX_check_operands): Likewise.
590         (bad_implicit_operand): Likewise.
591         (OPTION_MSSE2AVX): Likewise.
592         (T_YMMWORD): Likewise.
593         (_i386_insn): Add vex.
594         (cpu_arch): Add .avx, .aes, .clmul and .fma.
595         (cpu_flags_match): Changed to take a pointer to const template.
596         Enable encoding SSE instructions with VEX prefix for -msse2avx.
597         (match_mem_size): Also check ymmword.
598         (operand_type_match): Clear ymmword.
599         (md_begin): Allow '_' in mnemonic.
600         (type_names): Add OPERAND_TYPE_VEX_IMM4.
601         (process_immext): Update assert.
602         (md_assemble): Don't call process_immext if sse2avx and immext
603         are true.  Call build_vex_prefix if vex is true.
604         (parse_insn): Updated for cpu_flags_match.
605         (swap_operands): Handle 5 operands.
606         (match_template): Handle 5 operands. Updated for cpu_flags_match.
607         Check regymm.  Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
608         (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
609         (check_byte_reg): Check regymm.
610         (process_operands): Duplicate the destination register for
611         -msse2avx if needed.
612         (build_modrm_byte): Updated for instructions with VEX encoding.
613         (output_insn): Output VEX prefix if needed.
614         (md_longopts): Add msse2avx.
615         (md_parse_option): Handle OPTION_MSSE2AVX.
616         (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
617         (intel_e09): Support YMMWORD.
618         (intel_e11): Likewise.
619         (intel_get_token): Likewise.
620
621 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
622
623         * config/tc-avr.c (mcu_types): Add attiny167.
624         * doc/c-avr.texi: Likewise.
625
626 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
627
628         * config/tc-avr.c (mcu_types): Add atmega32u4.
629         * doc/c-avr.texi: Likewise.
630
631 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
632
633         * config/tc-avr.c (mcu_types): Add atmega32c1.
634         * doc/c-avr.texi: Likewise.
635
636 2008-03-28  Paul Brook  <paul@codesourcery.com>
637
638         * config/tc-arm.c (parse_neon_mov): Parse register before immediate
639         to avoid spurious symbols.
640
641 2008-03-28  Nathan Sidwell  <nathan@codesourcery.com>
642
643         * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
644         as_bad_where.
645
646 2008-03-27  Eric B. Weddington  <eric.weddington@atmel.com>
647
648         * config/tc-avr.c (mcu_types): Add atmega32m1.
649         * doc/c-avr.texi: Likewise.
650
651 2008-03-27  Ineiev  <ineiev@yahoo.co.uk>
652
653         * config/tc-arm.c (do_neon_cvt): Move variable declarations to
654         start of block.
655         (do_neon_ext): Fix sign of comparison.
656
657 2008-03-26  Bernd Schmidt  <bernd.schmidt@analog.com>
658
659         From Jie Zhang  <jie.zhang@analog.com>
660         * config/bfin-parse.y (asm_1): Check AREGS in comparison
661         instructions. And call yyerror when comparing PREG with
662         DREG.
663         (check_macfunc_option): New.
664         (check_macfuncs): Check option by calling check_macfunc_option.
665         Fix comparison always true warnings.  Both scalar instructions
666         of vector instruction must share the same mode option.  Only allow
667         option mode at the end of the second instruction of the vector.
668         (asm_1): Check option by calling check_macfunc_option.
669
670         * config/bfin-parse.y (check_macfunc_option): Allow (IU)
671         option for multiply and multiply-accumulate to data register
672         instruction.
673         (check_macfuncs): Don't check if accumulator matches the data register
674         here.
675         (assign_macfunc): Check if accumulator matches the
676         data register in each rule that moves to the data
677         register.
678
679         * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
680         generated for LOOP_BEGIN and LOOP_END instructions.
681         (bfin_gen_loop): Likewise.
682
683 2008-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
684
685         * config/tc-s390.c (md_parse_option): z10 option added.
686
687 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
688
689         * aclocal.m4: Regenerate.
690         * configure: Likewise.
691         * Makefile.in: Likewise.
692         * doc/Makefile.in: Likewise.
693
694 2008-03-17  Adrian Bunk  <bunk@stusta.de>
695
696         PR 5946
697         * config/tc-hppa.c (is_same_frag): Delete.
698
699 2008-03-14  Sterling Augustine  <sterling@tensilica.com>
700
701         * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
702         RELAX_LOOP_END_ADD_NOP.
703
704 2008-03-13  Evandro Menezes  <evandro@yahoo.com>
705
706         PR gas/5895
707         * read.c (s_mexit): Warn if attempting to exit a macro when not
708         inside a macro definition.
709
710 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
711
712         * Makefile.am: Run "make dep-am".
713         * Makefile.in: Regenerate.
714         * configure: Regenerate.
715
716 2008-03-09  Paul Brook  <paul@codesourcery.com>
717
718         * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
719         * doc/c-arm.texi: Add cortex-a9.
720
721 2008-03-09  Paul Brook  <paul@codesourcery.com>
722
723         * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
724         (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
725         (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
726         (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
727         * doc/c-arm.texi: Document new ARM FPU variants.
728
729 2008-03-07  Paul Brook  <paul@codesourcery.com>
730
731         * config/tc-arm.c (md_apply_fix): Use correct offset range.
732
733 2008-03-07  Alan Modra  <amodra@bigpond.net.au>
734
735         * config/tc-ppc.c (ppc_setup_opcodes): Tidy.  Add code to test
736         for strict ordering of powerpc_opcodes, but disable for now.
737
738 2008-03-04  Paul Brook  <paul@codesourcery.com>
739
740         * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
741         (arm_ext_v7m): Rename...
742         (arm_ext_m): ... to this.  Include v6-M.
743         (do_t_add_sub): Allow narrow low-reg non flag setting adds.
744         (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
745         (md_assemble): Allow wide msr instructions.
746         (insns): Add classifications for v6-m instructions.
747         (arm_cpu_option_table): Add cortex-m1.
748         (arm_arch_option_table): Add armv6-m.
749         (cpu_arch): Add ARM_ARCH_V6M.  Fix numbering of other v6 variants.
750
751 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
752             Bob Wilson  <bob.wilson@acm.org>
753
754         * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
755         (md_begin): Initialize it.
756         (resources_conflict): Use it.
757
758 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
759
760         * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
761
762 2008-03-03  Denys Vlasenko <vda.linux@googlemail.com>
763             H.J. Lu  <hongjiu.lu@intel.com>
764
765         PR gas/5543
766         * read.c (pseudo_set): Don't allow global register symbol.
767
768         * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
769         global.
770
771 2008-03-03  H.J. Lu  <hongjiu.lu@intel.com>
772
773         PR gas/5543
774         * write.c (write_object_file): Don't allow symbols which were
775         equated to register.  Stop if there is an error.
776
777 2008-03-01  Alan Modra  <amodra@bigpond.net.au>
778
779         * config/tc-ppc.h (struct _ppc_fix_extra): New.
780         (ppc_cpu): Declare.
781         (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
782         * config/tc-ppc.c (ppu_cpu): Make global.
783         (ppc_insert_operand): Add ppu_cpu parameter.
784         (md_assemble): Adjust for above change.
785         (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
786
787 2008-02-22  Nick Clifton  <nickc@redhat.com>
788
789         * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
790         targeted ARM ports, otherwise just skip generating the reloc.
791
792 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
793
794         * doc/c-i386.texi: Update -march= and .arch.
795
796 2008-02-18  Nick Clifton  <nickc@redhat.com>
797
798         * config/tc-mn10300.c (has_known_symbol_location): New function.
799         Do not regard weak symbols as having a known location.
800         (md_estimate_size_before_relax): Use new function.
801         (md_pcrel_from): Do not compute a pcrel against a weak symbol.
802
803 2008-02-18  Jan Beulich  <jbeulich@novell.com>
804
805         * config/tc-i386.c (match_template): Disallow 'l' suffix when
806         currently selected CPU has no 32-bit support.
807         (parse_real_register): Do not return registers not available on
808         currently selected CPU.
809
810 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
811
812         * config/tc-i386.c (process_immext): Fix format.
813
814 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
815
816         * config/tc-i386.c (inoutportreg): New.
817         (process_immext): New.
818         (md_assemble): Use it.
819         (update_imm): Use imm16 and imm32s.
820         (i386_att_operand): Use inoutportreg.
821
822 2008-02-14  H.J. Lu  <hongjiu.lu@intel.com>
823
824         * config/tc-i386.c (operand_type_all_zero): New.
825         (operand_type_set): Likewise.
826         (operand_type_equal): Likewise.
827         (cpu_flags_all_zero): Likewise.
828         (cpu_flags_set): Likewise.
829         (cpu_flags_equal): Likewise.
830         (UINTS_ALL_ZERO): Removed.
831         (UINTS_SET): Likewise.
832         (UINTS_CLEAR): Likewise.
833         (UINTS_EQUAL): Likewise.
834         (cpu_flags_match): Updated.
835         (smallest_imm_type): Likewise.
836         (set_cpu_arch): Likewise.
837         (md_assemble): Likewise.
838         (optimize_imm): Likewise.
839         (match_template): Likewise.
840         (process_suffix): Likewise.
841         (update_imm): Likewise.
842         (process_drex): Likewise.
843         (process_operands): Likewise.
844         (build_modrm_byte): Likewise.
845         (i386_immediate): Likewise.
846         (i386_displacement): Likewise.
847         (i386_att_operand): Likewise.
848         (parse_real_register): Likewise.
849         (md_parse_option): Likewise.
850         (i386_target_format): Likewise.
851
852 2008-02-14  Dimitry Andric  <dimitry@andric.com>
853
854         PR gas/5712
855         * config/tc-arm.c (s_arm_unwind_save): Advance the input line
856         pointer past the comma after parsing a floating point register
857         name.
858
859 2008-02-14  Hakan Ardo  <hakan@debian.org>
860
861         PR gas/2626
862         * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
863         to AVR_ISA_2xxe.
864         (avr_operand): Disallow post-increment addressing in the lpm
865         instruction for the attiny26.
866
867 2008-02-13  Jan Beulich  <jbeulich@novell.com>
868
869         * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
870         if not in Intel mode.
871         (i386_intel_operand): Ignore segment overrides in immediate and
872         offset operands.
873         (intel_e11): Range-check i.mem_operands before use as array
874         index. Filter out FLAT for uses other than as segment override.
875         (intel_get_token): Remove broken promotion of "FLAT:" to mean
876         "offset FLAT:".
877
878 2008-02-13  Jan Beulich  <jbeulich@novell.com>
879
880         * config/tc-i386.c (intel_e09): Also special-case 'bound'.
881
882 2008-02-13  Jan Beulich  <jbeulich@novell.com>
883
884         * config/tc-i386.c (allow_pseudo_reg): New.
885         (parse_real_register): Check for NULL just once. Allow all
886         register table entries when allow_pseudo_reg is non-zero.
887         Don't allow any registers without type when allow_pseudo_reg
888         is zero.
889         (tc_x86_regname_to_dw2regnum): Replace with ...
890         (tc_x86_parse_to_dw2regnum): ... this.
891         (tc_x86_frame_initial_instructions): Adjust for above change.
892         * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
893         (tc_parse_to_dw2regnum): New.
894         (tc_x86_regname_to_dw2regnum): Replace with ...
895         (tc_x86_parse_to_dw2regnum): ... this.
896         * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
897         (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
898         error handling.
899
900 2008-02-12  Nick Clifton  <nickc@redhat.com>
901
902         * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
903         argument.
904         (tic4x_insn_add): Likewise.
905         (md_begin): Drop cast that was discarding a const qualifier.
906         * config/tc-d30v.c (get_reloc): Add const qualifier to op
907         argument.
908         (build_insn): Drop cast that was discarding a const qualifier.
909
910 2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>
911
912         * config/tc-i386.c (cpu_arch): Add .xsave.
913         (md_show_usage): Add .xsave.
914
915         * doc/c-i386.texi: Add xsave to -march=.
916
917 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
918
919         * read.c (s_weakref): Don't pass unadorned NULL to concat.
920         * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
921
922 2008-02-05  Sterling Augustine  <sterling@tensilica.com>
923
924         * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
925         checks into assertions.  When relaxation produces an operation that
926         does not fit in the current FLIX instruction, make sure that the
927         operation is relaxed as needed to account for being placed following
928         the current instruction.
929
930 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
931
932         PR 5715
933         * configure: Regenerated.
934
935 2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
936
937         * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
938
939 2008-01-31  Marc Gauthier  <marc@tensilica.com>
940
941         * configure.tgt (xtensa*-*-*): Recognize processor variants.
942
943 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
944
945         * read.c: (emit_expr): Correct for mingw use of printf size
946         specifier.
947
948 2008-01-24  Bob Wilson  <bob.wilson@acm.org>
949
950         * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
951         can only be encoded in FLIX instructions but are not specified as such.
952         (Xtensa Automatic Alignment): Remove obsolete comment about debugging
953         labels.
954
955 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
956
957         * NEWS: Mention new command line options for x86 targets.
958
959 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
960
961         * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
962
963 2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>
964
965         * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
966
967 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
968
969         * config/tc-i386.c (md_show_usage): Show more processors for
970         -march=/-mtune=.
971
972 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
973
974         * config/tc-i386.c (i386_target_format): Remove cpummx2.
975
976 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
977
978         * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
979         (XXX_MNEM_SUFFIX): Likewise.
980         (END_OF_INSN): Likewise.
981         (templates): Likewise.
982         (modrm_byte): Likewise.
983         (rex_byte): Likewise.
984         (DREX_XXX): Likewise.
985         (drex_byte): Likewise.
986         (sib_byte): Likewise.
987         (processor_type): Likewise.
988         (arch_entry): Likewise.
989         (cpu_sub_arch_name): Remove const.
990         (cpu_arch): Add .vmx and .smx.
991         (set_cpu_arch): Append cpu_sub_arch_name.
992         (md_parse_option): Support -march=CPU[,+EXTENSION...].
993         (md_show_usage): Updated.
994
995         * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
996         (XXX_MNEM_SUFFIX): Likewise.
997         (END_OF_INSN): Likewise.
998         (templates): Likewise.
999         (modrm_byte): Likewise.
1000         (rex_byte): Likewise.
1001         (DREX_XXX): Likewise.
1002         (drex_byte): Likewise.
1003         (sib_byte): Likewise.
1004         (processor_type): Likewise.
1005         (arch_entry): Likewise.
1006
1007         * doc/as.texinfo: Update i386 -march option.
1008
1009         * doc/c-i386.texi: Update -march= for ISA.
1010
1011 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
1012
1013         * config/tc-xtensa.c (xtensa_leb128): New function.
1014         (md_pseudo_table): Use it for sleb128 and uleb128.
1015         (is_leb128_expr): New internal flag.
1016         (xtensa_symbol_new_hook): Check new flag.
1017
1018 2008-01-16  Eric B. Weddington  <eric.weddington@atmel.com>
1019
1020         * config/tc-avr.c (mcu_types): Change opcode set for avr3,
1021         at90usb82, at90usb162.
1022         * doc/c-avr.texi: Change architecture grouping for at90usb82,
1023         at90usb162.
1024         These changes support the new avr35 architecture group in gcc.
1025
1026 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1027
1028         * config/tc-i386.c (md_assemble): Also zap movzx and movsx
1029         suffix for AT&T syntax.
1030
1031 2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1032
1033         * config/tc-i386.c (match_reg_size): New.
1034         (match_mem_size): Likewise.
1035         (operand_size_match): Likewise.
1036         (operand_type_match): Also clear all size fields.
1037         (match_template): Skip Intel syntax when in AT&T syntax.
1038         Call operand_size_match to check operand size.
1039         (i386_att_operand): Set the mem field to 1 for memory
1040         operand.
1041         (i386_intel_operand): Likewise.
1042
1043 2008-01-12  H.J. Lu  <hongjiu.lu@intel.com>
1044
1045         PR gas/5534
1046         * config/tc-i386.c (_i386_insn): Update comment.
1047         (operand_type_match): Also clear unspecified.
1048         (operand_type_register_match): Likewise.
1049         (parse_operands): Initialize unspecified.
1050         (i386_intel_operand): Likewise.
1051         (match_template): Check memory and accumulator operand size.
1052         (i386_att_operand): Clear unspecified on register operand.
1053         (intel_e11): Likewise.
1054         (intel_e09): Set operand size and clean unspecified for
1055         "XXX PTR".
1056
1057 2008-01-11  Andreas Schwab  <schwab@suse.de>
1058
1059         * read.c (s_space): Declare `repeat' as offsetT.
1060
1061 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1062
1063         * config/tc-i386.c (match_template): Check processor support
1064         first.
1065
1066 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1067
1068         * config/tc-i386.c (match_template): Continue if processor
1069         doesn't match.
1070
1071 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
1072
1073         * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
1074         unwind personality function address.
1075
1076 2008-01-09  Bob Wilson  <bob.wilson@acm.org>
1077
1078         * dwarf2dbg.c (out_sleb128): Delete.
1079         (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
1080         (out_fixed_inc_line_addr): Delete.
1081         (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
1082         size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
1083         (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
1084         (process_entries): Remove calls to out_fixed_inc_line_addr.  When
1085         DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
1086         * read.h (emit_expr_fix): New prototype.
1087         * read.c (emit_expr): Move code to emit_expr_fix and use it here.
1088         (emit_expr_fix): New.
1089
1090 2008-01-09  H.J. Lu  <hongjiu.lu@intel.com>
1091
1092         * config/tc-i386.c (match_template): Check register size
1093         only when size of operands can be encoded the canonical way.
1094
1095 2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1096
1097         * config/tc-i386.c (i386_operand): Renamed to ...
1098         (i386_att_operand): This.
1099         (parse_operands): Updated.
1100
1101 2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1102
1103         * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
1104
1105         * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
1106         only.
1107         (md_assemble): Remove Intel mode workaround.
1108         (match_template): Check support for old gcc, AT&T mnemonic
1109         and Intel Syntax.
1110         (md_parse_option): Don't set intel_mnemonic to 0 for
1111         OPTION_MOLD_GCC.
1112
1113 2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1114
1115         * config/tc-i386.h: Update copyright to 2008.
1116
1117 2008-01-04  Nick Clifton  <nickc@redhat.com>
1118
1119         * config/tc-ppc.c (parse_cpu): Preserve the settings of the
1120         PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
1121
1122 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
1123
1124         * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
1125         of SYSV386_COMPAT.
1126
1127 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
1128
1129         * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
1130         (cpu_flags_not): Likewise.
1131         (cpu_flags_match): Updated to check 64bit and arch.
1132         (set_code_flag): Remove cpu_arch_flags_not.
1133         (set_16bit_gcc_code_flag): Likewise.
1134         (set_cpu_arch): Likewise.
1135         (md_begin): Likewise.
1136         (parse_insn): Call cpu_flags_match to check 64bit and arch.
1137         (match_template): Likewise.
1138
1139 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
1140
1141         * config/tc-i386.c (process_drex): Initialize modrm_reg and
1142         modrm_regmem to 0 instead of None.
1143
1144 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
1145
1146         * config/tc-i386.c (match_template): Use the xmmword field
1147         instead of no_xsuf.
1148
1149 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
1150
1151         * config/tc-i386.c (process_suffix): Fix a typo.
1152
1153 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
1154
1155         PR gas/5534
1156         * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1157         Check memory size in Intel mode.
1158         (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1159         (intel_e09): Likewise.
1160
1161         * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1162
1163 2008-01-02  Catherine Moore  <clm@codesourcery.com>
1164
1165         * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1166
1167 For older changes see ChangeLog-2007
1168 \f
1169 Local Variables:
1170 mode: change-log
1171 left-margin: 8
1172 fill-column: 74
1173 version-control: never
1174 End: