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