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