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