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