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