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