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