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