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