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