OSDN Git Service

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