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