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