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