OSDN Git Service

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