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