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