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