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