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