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