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