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