OSDN Git Service

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