OSDN Git Service

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