1 2008-08-04 Alan Modra <amodra@bigpond.net.au>
3 * dwarf2dbg.c: Remove superfluous forward function declarations.
4 (DWARF2_FORMAT): Add section arg.
5 (out_header): New function, split out from..
6 (out_debug_line): ..here.
7 (out_debug_aranges): Use out_header.
8 (out_debug_abbrev): Add info_seg and line_seg args. Use
9 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
10 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
11 if line_seg is 64-bit.
12 (dwarf2_finish): Adjust out_debug_abbrev call.
13 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
14 * config/tc-mips.c (mips_dwarf2_format): Likewise.
16 2008-08-04 Alan Modra <amodra@bigpond.net.au>
18 * Makefile.am (POTFILES.in): Set LC_ALL=C.
19 * Makefile.in: Regenerate.
20 * po/POTFILES.in: Regenerate.
22 2008-08-01 Peter Bergner <bergner@vnet.ibm.com>
24 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
25 Handle -mvsx and -mpower7.
26 (md_show_usage): Document -mpower7 and -mvsx.
27 * doc/as.texinfo (Target PowerPC): Document -mvsx.
28 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
30 2008-07-31 Peter Bergner <bergner@vnet.ibm.com>
32 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
35 2008-07-30 Michael J. Eager <eager@eagercon.com>
37 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
38 (md_show_usage): Likewise.
40 2008-07-30 Alan Modra <amodra@bigpond.net.au>
42 * messages.c, symbols.c, write.c: Silence gcc warnings.
44 2008-07-28 Ineiev <ineiev@yahoo.co.uk>
46 * config/tc-i386.c (operand_type_check): Warning fix.
48 2008-07-26 Michael Eager <eager@eagercon.com>
50 * doc/as.texinfo: Add description of single-precision attribute.
52 2008-07-24 Jie Zhang <jie.zhang@analog.com>
54 * config/bfin-parse.y (asm_1): Error if plain symbol is used
57 2008-07-22 Chao-ying Fu <fu@mips.com>
59 * config/tc-mips.c (mips_ip): Reset s to argsStart.
61 2008-07-22 Jie Zhang <jie.zhang@analog.com>
63 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
65 2008-07-21 DJ Delorie <dj@redhat.com>
67 * config/tc-h8300.c (fix_operand_size): Use the default size
68 specified by the .lbranch/.sbranch pseudos.
70 2008-07-18 DJ Delorie <dj@redhat.com>
72 * config/tc-m32c.h (H_TICK_HEX): Define.
73 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
74 (md_longopts): Add support for it.
75 (md_parse_option): Likewise.
76 * doc/as.texinfo (Overview): Add new m32c options.
77 * doc/c-m32c.texi (M32C-Modifiers): Likewise
79 * as.h: (enable_h_tick_hex): New.
80 * app.c (enable_h_tick_hex): New.
82 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
83 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
84 style hex constants and convert the input stream to 0x00 style.
85 (do_scrub_chars): If a 'X style character constant is found after
86 a symbol character (like you're or X'00), warn the user.
88 2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
90 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
91 (mips_fix_adjustable): Likewise.
92 (mips_frob_file_after_relocs): Likewise.
94 2008-07-08 Nathan Sidwell <nathan@codesourcery.com>
96 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
97 about overriding an earlier setting.
99 2008-07-07 Adam Nemet <anemet@caviumnetworks.com>
101 * config/tc-mips.c (NO_ISA_COP): New macro.
102 (COP_INSN): New macro.
103 (is_opcode_valid): Use them.
104 (macro) <ld_st>: Use them. Don't accept coprocessor load store
105 insns based on the ISA if CPU is NO_ISA_COP.
106 <copz>: Likewise for coprocessor operations.
108 2008-07-07 Paul Brook <paul@codesourcery.com>
110 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
113 2008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
115 * configure.tgt: Add bfin-*-rtems*.
117 2008-07-04 Alan Modra <amodra@bigpond.net.au>
119 * config/tc-spu.c (md_apply_fix): Handle fully resolved
120 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
122 2008-06-25 Peter Bergner <bergner@vnet.ibm.com>
124 * config/tc-ppc.c (parse_cpu): Handle -m464.
125 (md_show_usage): Likewise.
127 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
129 Add support for ATtiny13A.
130 * config/tc-avr.c (mcu_types): Add attiny13a.
131 * doc/c-avr.texi: Likewise.
133 2008-06-24 Bob Wilson <bob.wilson@acm.org>
134 Alan Modra <amodra@bigpond.net.au>
136 * write.c (relax_segment <rs_org>): Include current stretch
137 value when calculating whether .org is backwards.
139 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
141 * configure: Regenerate.
143 2008-06-17 Nick Clifton <nickc@redhat.com>
145 * app.c (do_scrub_chars): Do not UNGET an EOF value.
147 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
150 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
151 text_section. Do the "stepping backwards" test for text_section
152 using unsigned operands.
154 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
156 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
157 (ppc_insert_operand): Likewise.
158 (ppc_machine): Likewise.
159 * config/tc-ppc.h: #include "opcode/ppc.h"
160 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
161 (ppc_cpu): Update extern decl.
163 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
165 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
166 +x, +X, +p, +P, +s, +S.
169 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
171 (macro_build): Likewise.
172 (CPU_HAS_SEQ): New macro.
173 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
175 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
177 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
178 * doc/c-avr.texi: Likewise.
180 2008-06-04 Nick Clifton <nickc@redhat.com>
182 * app.c (do_scrub_chars): Do not UNGET an EOF value.
184 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
186 * config/tc-i386.c (set_sse_check): New.
187 (md_pseudo_table): Add "sse_check".
189 2008-06-03 Paul Brook <paul@codesourcery.com>
191 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
193 2008-05-30 Nick Clifton <nickc@redhat.com>
196 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
199 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
201 * config/tc-mips.c (mips_cpu_info_table): Move records for
202 ST Loongson-2E/2F processors to a better place.
204 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
207 * config/tc-i386.c (match_template): Report ambiguous operand
208 size, not invalid suffix when there is no match in Intel
211 2008-05-22 Paul Brook <paul@codesourcery.com>
213 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
215 2008-05-21 I-Jui Sung <ijsung@gmail.com>
217 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
218 compatible cores: fa526, fa626, fa626te, fa726te.
219 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
222 2008-05-14 Alan Modra <amodra@bigpond.net.au>
224 * Makefile.am: Run "make dep-am".
225 * Makefile.in: Regenerate.
226 * doc/Makefile.in: Regenerate.
227 * po/POTFILES.in: Regenerate.
229 2008-05-09 Catherine Moore <clm@codesourcery.com>
231 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
232 with non-MIPS16 relocs.
234 2008-05-09 Chao-ying Fu <fu@mips.com>
236 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
237 case that some characters append at the end of the name.
239 (s_change_sec): Likewise.
240 (md_section_align): Likewise.
242 2008-05-07 Bob Wilson <bob.wilson@acm.org>
244 * config/tc-xtensa.c (xtensa_create_property_segments): Use
245 xtensa_make_property_section instead of xtensa_get_property_section.
246 (xtensa_create_xproperty_segments): Likewise.
248 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
250 * NEWS: Mention XSAVE, EPT and MOVBE.
252 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
253 (md_show_usage): Add .movbe and .ept.
255 * doc/c-i386.texi: Add movbe and ept to -march=. Document
258 2008-04-29 David S. Miller <davem@davemloft.net>
260 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
262 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
264 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
266 (OPTION_ELF_BASE): Make room for new option macros.
267 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
268 OPTION_DOUBLE_FLOAT): New option macros.
269 (md_longopts): Add msoft-float, mhard-float, msingle-float and
271 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
272 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
273 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
275 (struct mips_set_options): New fields soft_float and single_float.
276 (mips_opts): Initialized them. Add comment for each field
278 (mips_after_parse_args): Set them based on file_mips_soft_float
279 and file_mips_single_float.
280 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
281 `.set singlefloat' and `.set doublefloat'.
282 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
283 Handle single-float and soft-float instructions here.
284 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
285 (is_opcode_valid_16): New function.
286 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
287 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
288 M_S_DOB>: Remove special-casing of r4650.
289 * doc/c-mips.texi (-march=): Add Octeon.
290 (MIPS Opts): Document -msoft-float and -mhard-float. Document
291 -msingle-float and -mdouble-float.
292 (MIPS floating-point): New section. Document `.set softfloat' and
293 `.set hardfloat'. Document `.set singlefloat' and `.set
296 2008-04-25 David S. Miller <davem@davemloft.net>
298 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
301 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
302 rather than occaisionally 'levels'. Consistently refer to Sun's
303 UNIX variant as SunOS, every version of Solaris is also SunOS.
304 Document new 'softint_clear' and 'softint_set' aliases. Clarify
305 which architecture versions support '%dcr', '%cq', and '%gl'. Add
306 section on 32-bit/64-bit opcode translations.
308 2008-04-23 Mike Frysinger <vapier@gentoo.org>
310 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
311 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
312 (obj-fdpicelf.o): Define.
313 * Makefile.in: Regenerate.
314 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
316 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
317 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
318 * config/obj-fdpicelf.c: New.
319 * config/obj-fdpicelf.h: Likewise.
320 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
321 the OBJ_FDPIC_ELF define.
322 (OPTION_NOPIC): Define.
323 (md_longopts): Add mnopic and mno-fdpic.
324 (md_parse_option): Handle OPTION_NOPIC.
326 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
328 * aclocal.m4: Regenerate.
329 * configure: Regenerate.
331 2008-04-23 David S. Miller <davem@davemloft.net>
333 * config/tc-sparc.c (v9a_asr_table): Add missing
334 'stick' and 'stick_cmpr', and document ordering rules
336 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
337 BFD_RELOC_SPARC_PC10.
338 * doc/c-sparc.texi: New section on Sparc constants.
339 Add documentation for %stick and %stick_cmpr.
341 2008-04-22 David S. Miller <davem@davemloft.net>
343 * config/obj-elf.c (obj_elf_section_type): Add prototype
344 before obj_elf_section_word and add 'warn' arg.
345 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
346 is matched, try checking for #SECTION_TYPE.
347 (obj_elf_section): Adjust for new args.
348 (obj_elf_type_name): New function.
349 (obj_elf_type): Call it, and accept STT_foo number strings
350 in .type statements as output by SunPRO compiler.
352 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
354 * config/tc-i386.c (md_assemble): Don't check SSE instructions
357 2008-04-18 David S. Miller <davem@davemloft.net>
359 * doc/c-sparc.texi: Add syntax section.
361 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
363 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
364 REG and NDS for instructions with immediate operand.
366 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
368 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
371 2008-04-16 David S. Miller <davem@davemloft.net>
373 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
374 and relocation generation.
375 (tc_gen_reloc): Likewise.
377 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
379 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
380 relocations are properly aligned, and not negative.
382 2008-04-15 Khem Raj <kraj@mvista.com>
384 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
386 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
388 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
389 accept e500mc instructions.
390 (md_show_usage): Document -me500mc.
392 2008-04-11 Nick Clifton <nickc@redhat.com>
394 * listing.c (print_timestamp): Use localtime rather than
395 localtime_r since not all build environments provide the latter.
397 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
399 * NEWS: Mention -msse-check=[none|error|warning].
401 * config/tc-i386.c (sse_check): New.
402 (OPTION_MSSE_CHECK): Likewise.
403 (md_assemble): Check SSE instructions if needed.
404 (md_longopts): Add -msse-check.
405 (md_parse_option): Handle OPTION_MSSE_CHECK.
406 (md_show_usage): Show -msse-check=[none|error|warning].
408 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
410 2008-04-10 Santiago Urueña <suruena@gmail.com>
412 * listing.c: Add -ag listing flag to show general information in
413 listings such as gas version, passed options, and time stamp.
414 (listing_general_info): New function.
415 (print_options): New function.
416 (print_single_option): New function.
417 (print_timestamp): New function.
418 (MAX_DATELEN): Define.
419 (listing_print): Add call to listing_general_info.
420 * listing.h (LISTING_GENERAL): Define.
421 (listing_print): Add new parameter.
422 * as.c (show_usage): Print new switch.
423 (parse_args): Parse new switch.
424 (main): Pass command line on to listing_print.
425 * NEWS: Mention this new feature.
426 * doc/as.texinfo: Document the new sub-option.
428 2008-04-08 Alan Modra <amodra@bigpond.net.au>
430 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
431 call. Delete out of date comment.
432 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
433 (dwarf2_emit_label): Don't emit unless there has been a previous
434 .file or we are outputting assembler generated debug.
435 dwarf2_consume_line_info after emitting line info, not before.
436 (out_debug_info): Simplify files_in_use test.
438 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
440 * config/tc-i386.c (parse_real_register): Return AVX register
441 only if AVX is enabled.
443 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
446 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
447 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
449 2008-04-04 Adrian Bunk <bunk@stusta.de>
450 Bob Wilson <bob.wilson@acm.org>
452 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
453 call to decode_reloc.
455 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
457 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
459 * config/tc-i386.c (cpu_arch): Add .pclmul.
460 (md_show_usage): Replace clmul with pclmul.
461 * doc/c-i386.texi: Likewise.
463 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
465 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
467 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
468 Document -msse2avx, .avx, .aes, .clmul and .fma.
470 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
471 (vex_prefix): Likewise.
473 (CPU_FLAGS_ARCH_MATCH): Likewise.
474 (CPU_FLAGS_64BIT_MATCH): Likewise.
475 (CPU_FLAGS_32BIT_MATCH): Likewise.
476 (CPU_FLAGS_PERFECT_MATCH): Likewise.
478 (vex_imm4): Likewise.
479 (fits_in_imm4): Likewise.
480 (build_vex_prefix): Likewise.
481 (VEX_check_operands): Likewise.
482 (bad_implicit_operand): Likewise.
483 (OPTION_MSSE2AVX): Likewise.
484 (T_YMMWORD): Likewise.
485 (_i386_insn): Add vex.
486 (cpu_arch): Add .avx, .aes, .clmul and .fma.
487 (cpu_flags_match): Changed to take a pointer to const template.
488 Enable encoding SSE instructions with VEX prefix for -msse2avx.
489 (match_mem_size): Also check ymmword.
490 (operand_type_match): Clear ymmword.
491 (md_begin): Allow '_' in mnemonic.
492 (type_names): Add OPERAND_TYPE_VEX_IMM4.
493 (process_immext): Update assert.
494 (md_assemble): Don't call process_immext if sse2avx and immext
495 are true. Call build_vex_prefix if vex is true.
496 (parse_insn): Updated for cpu_flags_match.
497 (swap_operands): Handle 5 operands.
498 (match_template): Handle 5 operands. Updated for cpu_flags_match.
499 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
500 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
501 (check_byte_reg): Check regymm.
502 (process_operands): Duplicate the destination register for
504 (build_modrm_byte): Updated for instructions with VEX encoding.
505 (output_insn): Output VEX prefix if needed.
506 (md_longopts): Add msse2avx.
507 (md_parse_option): Handle OPTION_MSSE2AVX.
508 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
509 (intel_e09): Support YMMWORD.
510 (intel_e11): Likewise.
511 (intel_get_token): Likewise.
513 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
515 * config/tc-avr.c (mcu_types): Add attiny167.
516 * doc/c-avr.texi: Likewise.
518 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
520 * config/tc-avr.c (mcu_types): Add atmega32u4.
521 * doc/c-avr.texi: Likewise.
523 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
525 * config/tc-avr.c (mcu_types): Add atmega32c1.
526 * doc/c-avr.texi: Likewise.
528 2008-03-28 Paul Brook <paul@codesourcery.com>
530 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
531 to avoid spurious symbols.
533 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
535 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
538 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
540 * config/tc-avr.c (mcu_types): Add atmega32m1.
541 * doc/c-avr.texi: Likewise.
543 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
545 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
547 (do_neon_ext): Fix sign of comparison.
549 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
551 From Jie Zhang <jie.zhang@analog.com>
552 * config/bfin-parse.y (asm_1): Check AREGS in comparison
553 instructions. And call yyerror when comparing PREG with
555 (check_macfunc_option): New.
556 (check_macfuncs): Check option by calling check_macfunc_option.
557 Fix comparison always true warnings. Both scalar instructions
558 of vector instruction must share the same mode option. Only allow
559 option mode at the end of the second instruction of the vector.
560 (asm_1): Check option by calling check_macfunc_option.
562 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
563 option for multiply and multiply-accumulate to data register
565 (check_macfuncs): Don't check if accumulator matches the data register
567 (assign_macfunc): Check if accumulator matches the
568 data register in each rule that moves to the data
571 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
572 generated for LOOP_BEGIN and LOOP_END instructions.
573 (bfin_gen_loop): Likewise.
575 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
577 * config/tc-s390.c (md_parse_option): z10 option added.
579 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
581 * aclocal.m4: Regenerate.
582 * configure: Likewise.
583 * Makefile.in: Likewise.
584 * doc/Makefile.in: Likewise.
586 2008-03-17 Adrian Bunk <bunk@stusta.de>
589 * config/tc-hppa.c (is_same_frag): Delete.
591 2008-03-14 Sterling Augustine <sterling@tensilica.com>
593 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
594 RELAX_LOOP_END_ADD_NOP.
596 2008-03-13 Evandro Menezes <evandro@yahoo.com>
599 * read.c (s_mexit): Warn if attempting to exit a macro when not
600 inside a macro definition.
602 2008-03-13 Alan Modra <amodra@bigpond.net.au>
604 * Makefile.am: Run "make dep-am".
605 * Makefile.in: Regenerate.
606 * configure: Regenerate.
608 2008-03-09 Paul Brook <paul@codesourcery.com>
610 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
611 * doc/c-arm.texi: Add cortex-a9.
613 2008-03-09 Paul Brook <paul@codesourcery.com>
615 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
616 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
617 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
618 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
619 * doc/c-arm.texi: Document new ARM FPU variants.
621 2008-03-07 Paul Brook <paul@codesourcery.com>
623 * config/tc-arm.c (md_apply_fix): Use correct offset range.
625 2008-03-07 Alan Modra <amodra@bigpond.net.au>
627 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
628 for strict ordering of powerpc_opcodes, but disable for now.
630 2008-03-04 Paul Brook <paul@codesourcery.com>
632 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
633 (arm_ext_v7m): Rename...
634 (arm_ext_m): ... to this. Include v6-M.
635 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
636 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
637 (md_assemble): Allow wide msr instructions.
638 (insns): Add classifications for v6-m instructions.
639 (arm_cpu_option_table): Add cortex-m1.
640 (arm_arch_option_table): Add armv6-m.
641 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
643 2008-03-03 Sterling Augustine <sterling@tensilica.com>
644 Bob Wilson <bob.wilson@acm.org>
646 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
647 (md_begin): Initialize it.
648 (resources_conflict): Use it.
650 2008-03-03 Sterling Augustine <sterling@tensilica.com>
652 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
654 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
655 H.J. Lu <hongjiu.lu@intel.com>
658 * read.c (pseudo_set): Don't allow global register symbol.
660 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
663 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
666 * write.c (write_object_file): Don't allow symbols which were
667 equated to register. Stop if there is an error.
669 2008-03-01 Alan Modra <amodra@bigpond.net.au>
671 * config/tc-ppc.h (struct _ppc_fix_extra): New.
673 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
674 * config/tc-ppc.c (ppu_cpu): Make global.
675 (ppc_insert_operand): Add ppu_cpu parameter.
676 (md_assemble): Adjust for above change.
677 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
679 2008-02-22 Nick Clifton <nickc@redhat.com>
681 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
682 targeted ARM ports, otherwise just skip generating the reloc.
684 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
686 * doc/c-i386.texi: Update -march= and .arch.
688 2008-02-18 Nick Clifton <nickc@redhat.com>
690 * config/tc-mn10300.c (has_known_symbol_location): New function.
691 Do not regard weak symbols as having a known location.
692 (md_estimate_size_before_relax): Use new function.
693 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
695 2008-02-18 Jan Beulich <jbeulich@novell.com>
697 * config/tc-i386.c (match_template): Disallow 'l' suffix when
698 currently selected CPU has no 32-bit support.
699 (parse_real_register): Do not return registers not available on
700 currently selected CPU.
702 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
704 * config/tc-i386.c (process_immext): Fix format.
706 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
708 * config/tc-i386.c (inoutportreg): New.
709 (process_immext): New.
710 (md_assemble): Use it.
711 (update_imm): Use imm16 and imm32s.
712 (i386_att_operand): Use inoutportreg.
714 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
716 * config/tc-i386.c (operand_type_all_zero): New.
717 (operand_type_set): Likewise.
718 (operand_type_equal): Likewise.
719 (cpu_flags_all_zero): Likewise.
720 (cpu_flags_set): Likewise.
721 (cpu_flags_equal): Likewise.
722 (UINTS_ALL_ZERO): Removed.
723 (UINTS_SET): Likewise.
724 (UINTS_CLEAR): Likewise.
725 (UINTS_EQUAL): Likewise.
726 (cpu_flags_match): Updated.
727 (smallest_imm_type): Likewise.
728 (set_cpu_arch): Likewise.
729 (md_assemble): Likewise.
730 (optimize_imm): Likewise.
731 (match_template): Likewise.
732 (process_suffix): Likewise.
733 (update_imm): Likewise.
734 (process_drex): Likewise.
735 (process_operands): Likewise.
736 (build_modrm_byte): Likewise.
737 (i386_immediate): Likewise.
738 (i386_displacement): Likewise.
739 (i386_att_operand): Likewise.
740 (parse_real_register): Likewise.
741 (md_parse_option): Likewise.
742 (i386_target_format): Likewise.
744 2008-02-14 Dimitry Andric <dimitry@andric.com>
747 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
748 pointer past the comma after parsing a floating point register
751 2008-02-14 Hakan Ardo <hakan@debian.org>
754 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
756 (avr_operand): Disallow post-increment addressing in the lpm
757 instruction for the attiny26.
759 2008-02-13 Jan Beulich <jbeulich@novell.com>
761 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
762 if not in Intel mode.
763 (i386_intel_operand): Ignore segment overrides in immediate and
765 (intel_e11): Range-check i.mem_operands before use as array
766 index. Filter out FLAT for uses other than as segment override.
767 (intel_get_token): Remove broken promotion of "FLAT:" to mean
770 2008-02-13 Jan Beulich <jbeulich@novell.com>
772 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
774 2008-02-13 Jan Beulich <jbeulich@novell.com>
776 * config/tc-i386.c (allow_pseudo_reg): New.
777 (parse_real_register): Check for NULL just once. Allow all
778 register table entries when allow_pseudo_reg is non-zero.
779 Don't allow any registers without type when allow_pseudo_reg
781 (tc_x86_regname_to_dw2regnum): Replace with ...
782 (tc_x86_parse_to_dw2regnum): ... this.
783 (tc_x86_frame_initial_instructions): Adjust for above change.
784 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
785 (tc_parse_to_dw2regnum): New.
786 (tc_x86_regname_to_dw2regnum): Replace with ...
787 (tc_x86_parse_to_dw2regnum): ... this.
788 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
789 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
792 2008-02-12 Nick Clifton <nickc@redhat.com>
794 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
796 (tic4x_insn_add): Likewise.
797 (md_begin): Drop cast that was discarding a const qualifier.
798 * config/tc-d30v.c (get_reloc): Add const qualifier to op
800 (build_insn): Drop cast that was discarding a const qualifier.
802 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
804 * config/tc-i386.c (cpu_arch): Add .xsave.
805 (md_show_usage): Add .xsave.
807 * doc/c-i386.texi: Add xsave to -march=.
809 2008-02-07 Alan Modra <amodra@bigpond.net.au>
811 * read.c (s_weakref): Don't pass unadorned NULL to concat.
812 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
814 2008-02-05 Sterling Augustine <sterling@tensilica.com>
816 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
817 checks into assertions. When relaxation produces an operation that
818 does not fit in the current FLIX instruction, make sure that the
819 operation is relaxed as needed to account for being placed following
820 the current instruction.
822 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
825 * configure: Regenerated.
827 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
829 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
831 2008-01-31 Marc Gauthier <marc@tensilica.com>
833 * configure.tgt (xtensa*-*-*): Recognize processor variants.
835 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
837 * read.c: (emit_expr): Correct for mingw use of printf size
840 2008-01-24 Bob Wilson <bob.wilson@acm.org>
842 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
843 can only be encoded in FLIX instructions but are not specified as such.
844 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
847 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
849 * NEWS: Mention new command line options for x86 targets.
851 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
853 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
855 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
857 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
859 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
861 * config/tc-i386.c (md_show_usage): Show more processors for
864 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
866 * config/tc-i386.c (i386_target_format): Remove cpummx2.
868 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
870 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
871 (XXX_MNEM_SUFFIX): Likewise.
872 (END_OF_INSN): Likewise.
873 (templates): Likewise.
874 (modrm_byte): Likewise.
875 (rex_byte): Likewise.
876 (DREX_XXX): Likewise.
877 (drex_byte): Likewise.
878 (sib_byte): Likewise.
879 (processor_type): Likewise.
880 (arch_entry): Likewise.
881 (cpu_sub_arch_name): Remove const.
882 (cpu_arch): Add .vmx and .smx.
883 (set_cpu_arch): Append cpu_sub_arch_name.
884 (md_parse_option): Support -march=CPU[,+EXTENSION...].
885 (md_show_usage): Updated.
887 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
888 (XXX_MNEM_SUFFIX): Likewise.
889 (END_OF_INSN): Likewise.
890 (templates): Likewise.
891 (modrm_byte): Likewise.
892 (rex_byte): Likewise.
893 (DREX_XXX): Likewise.
894 (drex_byte): Likewise.
895 (sib_byte): Likewise.
896 (processor_type): Likewise.
897 (arch_entry): Likewise.
899 * doc/as.texinfo: Update i386 -march option.
901 * doc/c-i386.texi: Update -march= for ISA.
903 2008-01-18 Bob Wilson <bob.wilson@acm.org>
905 * config/tc-xtensa.c (xtensa_leb128): New function.
906 (md_pseudo_table): Use it for sleb128 and uleb128.
907 (is_leb128_expr): New internal flag.
908 (xtensa_symbol_new_hook): Check new flag.
910 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
912 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
913 at90usb82, at90usb162.
914 * doc/c-avr.texi: Change architecture grouping for at90usb82,
916 These changes support the new avr35 architecture group in gcc.
918 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
920 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
921 suffix for AT&T syntax.
923 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
925 * config/tc-i386.c (match_reg_size): New.
926 (match_mem_size): Likewise.
927 (operand_size_match): Likewise.
928 (operand_type_match): Also clear all size fields.
929 (match_template): Skip Intel syntax when in AT&T syntax.
930 Call operand_size_match to check operand size.
931 (i386_att_operand): Set the mem field to 1 for memory
933 (i386_intel_operand): Likewise.
935 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
938 * config/tc-i386.c (_i386_insn): Update comment.
939 (operand_type_match): Also clear unspecified.
940 (operand_type_register_match): Likewise.
941 (parse_operands): Initialize unspecified.
942 (i386_intel_operand): Likewise.
943 (match_template): Check memory and accumulator operand size.
944 (i386_att_operand): Clear unspecified on register operand.
945 (intel_e11): Likewise.
946 (intel_e09): Set operand size and clean unspecified for
949 2008-01-11 Andreas Schwab <schwab@suse.de>
951 * read.c (s_space): Declare `repeat' as offsetT.
953 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
955 * config/tc-i386.c (match_template): Check processor support
958 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
960 * config/tc-i386.c (match_template): Continue if processor
963 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
965 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
966 unwind personality function address.
968 2008-01-09 Bob Wilson <bob.wilson@acm.org>
970 * dwarf2dbg.c (out_sleb128): Delete.
971 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
972 (out_fixed_inc_line_addr): Delete.
973 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
974 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
975 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
976 (process_entries): Remove calls to out_fixed_inc_line_addr. When
977 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
978 * read.h (emit_expr_fix): New prototype.
979 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
980 (emit_expr_fix): New.
982 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
984 * config/tc-i386.c (match_template): Check register size
985 only when size of operands can be encoded the canonical way.
987 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
989 * config/tc-i386.c (i386_operand): Renamed to ...
990 (i386_att_operand): This.
991 (parse_operands): Updated.
993 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
995 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
997 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
999 (md_assemble): Remove Intel mode workaround.
1000 (match_template): Check support for old gcc, AT&T mnemonic
1002 (md_parse_option): Don't set intel_mnemonic to 0 for
1005 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
1007 * config/tc-i386.h: Update copyright to 2008.
1009 2008-01-04 Nick Clifton <nickc@redhat.com>
1011 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
1012 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
1014 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1016 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
1019 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1021 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
1022 (cpu_flags_not): Likewise.
1023 (cpu_flags_match): Updated to check 64bit and arch.
1024 (set_code_flag): Remove cpu_arch_flags_not.
1025 (set_16bit_gcc_code_flag): Likewise.
1026 (set_cpu_arch): Likewise.
1027 (md_begin): Likewise.
1028 (parse_insn): Call cpu_flags_match to check 64bit and arch.
1029 (match_template): Likewise.
1031 2008-01-03 Jakub Jelinek <jakub@redhat.com>
1033 * config/tc-i386.c (process_drex): Initialize modrm_reg and
1034 modrm_regmem to 0 instead of None.
1036 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1038 * config/tc-i386.c (match_template): Use the xmmword field
1041 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1043 * config/tc-i386.c (process_suffix): Fix a typo.
1045 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1048 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1049 Check memory size in Intel mode.
1050 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1051 (intel_e09): Likewise.
1053 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1055 2008-01-02 Catherine Moore <clm@codesourcery.com>
1057 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1059 For older changes see ChangeLog-2007
1065 version-control: never