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