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