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