1 2008-08-20 Bob Wilson <bob.wilson@acm.org>
3 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
4 (O_tpoff, O_dtpoff): Define.
5 (suffix_relocs): Add entries for TLS suffixes.
6 (xtensa_elf_cons): Check for invalid use of TLS relocations.
7 (map_operator_to_reloc): Add is_literal parameter and use it to
8 control translating TLS instruction relocations to the corresponding
10 (xg_valid_literal_expression): Allow TLS operators.
11 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
12 operands to generated literals.
13 (xg_assemble_literal): Handle TLS operators. Update call to
14 map_operator_to_reloc.
15 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
16 (md_apply_fix): Handle TLS relocations.
17 (emit_single_op): Handle TLS operators.
18 (convert_frag_immed): Update call to map_operator_to_reloc.
19 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
20 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
21 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
22 to initialize the op_data field of the BuildOp.
23 (build_transition): Use it here to record the source operand
24 corresponding to a generated literal.
25 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
27 2008-08-20 H.J. Lu <hongjiu.lu@intel.com>
29 AVX Programming Reference (August, 2008)
30 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
31 (CPU_FLAGS_AVX_MATCH): Likewise.
32 (CPU_FLAGS_32BIT_MATCH): Updated.
33 (cpu_flags_match): Likewise.
35 2008-08-20 Alan Modra <amodra@bigpond.net.au>
38 * write.c (install_reloc): Check that reloc symbols have been
40 (set_symtab): Mark symbols with BSF_KEEP.
42 2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
44 * config/tc-i386.c (i386_align_code): Fix a comment typo.
46 2008-08-15 Alan Modra <amodra@bigpond.net.au>
49 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
50 * Makefile.in: Regenerate.
51 * aclocal.m4: Regenerate.
52 * config.in: Regenerate.
53 * configure: Regenerate.
54 * doc/Makefile.in: Regenerate.
56 2008-08-14 Alan Modra <amodra@bigpond.net.au>
58 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
60 2008-08-13 Ben Elliston <bje@au.ibm.com>
62 * doc/as.texinfo (Align): Document the PowerPC behaviour.
64 2008-08-13 Alan Modra <amodra@bigpond.net.au>
66 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
67 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
68 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
69 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
70 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
71 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
72 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
73 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
74 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
75 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
77 2008-08-12 Alan Modra <amodra@bigpond.net.au>
79 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
80 * config/tc-ia64.c (dot_rot): Likewise.
82 2008-08-11 Alan Modra <amodra@bigpond.net.au>
85 * hash.c: Expand PTR to void *.
86 (hash_delete): Add "freeme" parameter. Call obstack_free.
87 * hash.h: Expand PTR to void *.
88 (hash_delete): Update prototype.
89 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
90 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
92 (subsym_substitute): Likewise.
93 * doc/internals.texi (hash_delete): Update.
95 2008-08-08 Anatoly Sokolov <aesok@post.ru>
97 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
98 architectures. Reorganize list to put mcu types in correct
99 architectures and to order list same as in GCC. Use new ISA
100 definitions in include/opcode/avr.h.
101 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
102 descriptions. Reorganize descriptions to put mcu types in correct
103 architectures and to order lists same as in GCC.
105 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
106 Daniel Jacobowitz <dan@codesourcery.com>
108 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
109 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
110 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
111 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
112 (md_longopts): Add -call_nonpic.
113 (md_parse_option): Handle OPTION_CALL_NONPIC.
114 (md_show_usage): Add -call_nonpic.
116 2008-08-08 Sterling Augustine <sterling@tensilica.com>
118 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
119 (xtensa_create_property_segments): Use it.
120 (xtensa_create_xproperty_segments): Likewise.
122 2008-08-08 Alan Modra <amodra@bigpond.net.au>
124 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
126 2008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
128 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
129 (lo16_reloc_p): New functions.
130 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
131 generalize relocation checks.
132 (matching_lo_reloc): New function.
133 (fixup_has_matching_lo_p): Use it.
134 (mips16_mark_labels): Don't clobber a symbol's visibility.
135 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
136 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
137 (md_apply_fix): Likewise.
138 (mips16_percent_op): Add %got and %call16.
139 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
140 Use matching_lo_reloc.
141 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
142 generalize relocation checks.
143 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
146 2008-08-06 DJ Delorie <dj@redhat.com>
148 * NEWS: Mention these changes.
150 * config/tc-h8300.h (H_TICK_HEX): Define.
151 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
152 (md_longopts): Add "-h-tick-hex".
153 (md_parse_option): Support it.
154 * doc/c-h8300.texi (H8/300 Options): Document it.
155 * doc/as.texinfo (Overview): Likewise.
157 * config/tc-sh.h (H_TICK_HEX): Define.
158 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
159 (md_longopts): Add "-h-tick-hex".
160 (md_parse_option): Support it.
161 * doc/c-sh.texi (SH Options): Document it.
162 * doc/c-sh64.texi (SH64 Options): Document it.
163 * doc/as.texinfo (Overview): Likewise.
165 2008-08-05 Alan Modra <amodra@bigpond.net.au>
168 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
169 debug info if we see compiler generated debug info.
170 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
172 2008-08-04 Alan Modra <amodra@bigpond.net.au>
174 * dwarf2dbg.c: Remove superfluous forward function declarations.
175 (DWARF2_FORMAT): Add section arg.
176 (out_header): New function, split out from..
177 (out_debug_line): ..here.
178 (out_debug_aranges): Use out_header.
179 (out_debug_abbrev): Add info_seg and line_seg args. Use
180 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
181 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
182 if line_seg is 64-bit.
183 (dwarf2_finish): Adjust out_debug_abbrev call.
184 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
185 * config/tc-mips.c (mips_dwarf2_format): Likewise.
187 2008-08-04 Alan Modra <amodra@bigpond.net.au>
189 * Makefile.am (POTFILES.in): Set LC_ALL=C.
190 * Makefile.in: Regenerate.
191 * po/POTFILES.in: Regenerate.
193 2008-08-01 Peter Bergner <bergner@vnet.ibm.com>
195 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
196 Handle -mvsx and -mpower7.
197 (md_show_usage): Document -mpower7 and -mvsx.
198 * doc/as.texinfo (Target PowerPC): Document -mvsx.
199 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
201 2008-07-31 Peter Bergner <bergner@vnet.ibm.com>
203 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
206 2008-07-30 Michael J. Eager <eager@eagercon.com>
208 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
209 (md_show_usage): Likewise.
211 2008-07-30 Alan Modra <amodra@bigpond.net.au>
213 * messages.c, symbols.c, write.c: Silence gcc warnings.
215 2008-07-28 Ineiev <ineiev@yahoo.co.uk>
217 * config/tc-i386.c (operand_type_check): Warning fix.
219 2008-07-26 Michael Eager <eager@eagercon.com>
221 * doc/as.texinfo: Add description of single-precision attribute.
223 2008-07-24 Jie Zhang <jie.zhang@analog.com>
225 * config/bfin-parse.y (asm_1): Error if plain symbol is used
226 as load/store offset.
228 2008-07-22 Chao-ying Fu <fu@mips.com>
230 * config/tc-mips.c (mips_ip): Reset s to argsStart.
232 2008-07-22 Jie Zhang <jie.zhang@analog.com>
234 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
236 2008-07-21 DJ Delorie <dj@redhat.com>
238 * config/tc-h8300.c (fix_operand_size): Use the default size
239 specified by the .lbranch/.sbranch pseudos.
241 2008-07-18 DJ Delorie <dj@redhat.com>
243 * config/tc-m32c.h (H_TICK_HEX): Define.
244 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
245 (md_longopts): Add support for it.
246 (md_parse_option): Likewise.
247 * doc/as.texinfo (Overview): Add new m32c options.
248 * doc/c-m32c.texi (M32C-Modifiers): Likewise
250 * as.h: (enable_h_tick_hex): New.
251 * app.c (enable_h_tick_hex): New.
253 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
254 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
255 style hex constants and convert the input stream to 0x00 style.
256 (do_scrub_chars): If a 'X style character constant is found after
257 a symbol character (like you're or X'00), warn the user.
259 2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
261 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
262 (mips_fix_adjustable): Likewise.
263 (mips_frob_file_after_relocs): Likewise.
265 2008-07-08 Nathan Sidwell <nathan@codesourcery.com>
267 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
268 about overriding an earlier setting.
270 2008-07-07 Adam Nemet <anemet@caviumnetworks.com>
272 * config/tc-mips.c (NO_ISA_COP): New macro.
273 (COP_INSN): New macro.
274 (is_opcode_valid): Use them.
275 (macro) <ld_st>: Use them. Don't accept coprocessor load store
276 insns based on the ISA if CPU is NO_ISA_COP.
277 <copz>: Likewise for coprocessor operations.
279 2008-07-07 Paul Brook <paul@codesourcery.com>
281 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
284 2008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
286 * configure.tgt: Add bfin-*-rtems*.
288 2008-07-04 Alan Modra <amodra@bigpond.net.au>
290 * config/tc-spu.c (md_apply_fix): Handle fully resolved
291 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
293 2008-06-25 Peter Bergner <bergner@vnet.ibm.com>
295 * config/tc-ppc.c (parse_cpu): Handle -m464.
296 (md_show_usage): Likewise.
298 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
300 Add support for ATtiny13A.
301 * config/tc-avr.c (mcu_types): Add attiny13a.
302 * doc/c-avr.texi: Likewise.
304 2008-06-24 Bob Wilson <bob.wilson@acm.org>
305 Alan Modra <amodra@bigpond.net.au>
307 * write.c (relax_segment <rs_org>): Include current stretch
308 value when calculating whether .org is backwards.
310 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
312 * configure: Regenerate.
314 2008-06-17 Nick Clifton <nickc@redhat.com>
316 * app.c (do_scrub_chars): Do not UNGET an EOF value.
318 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
321 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
322 text_section. Do the "stepping backwards" test for text_section
323 using unsigned operands.
325 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
327 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
328 (ppc_insert_operand): Likewise.
329 (ppc_machine): Likewise.
330 * config/tc-ppc.h: #include "opcode/ppc.h"
331 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
332 (ppc_cpu): Update extern decl.
334 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
336 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
337 +x, +X, +p, +P, +s, +S.
340 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
342 (macro_build): Likewise.
343 (CPU_HAS_SEQ): New macro.
344 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
346 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
348 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
349 * doc/c-avr.texi: Likewise.
351 2008-06-04 Nick Clifton <nickc@redhat.com>
353 * app.c (do_scrub_chars): Do not UNGET an EOF value.
355 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
357 * config/tc-i386.c (set_sse_check): New.
358 (md_pseudo_table): Add "sse_check".
360 2008-06-03 Paul Brook <paul@codesourcery.com>
362 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
364 2008-05-30 Nick Clifton <nickc@redhat.com>
367 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
370 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
372 * config/tc-mips.c (mips_cpu_info_table): Move records for
373 ST Loongson-2E/2F processors to a better place.
375 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
378 * config/tc-i386.c (match_template): Report ambiguous operand
379 size, not invalid suffix when there is no match in Intel
382 2008-05-22 Paul Brook <paul@codesourcery.com>
384 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
386 2008-05-21 I-Jui Sung <ijsung@gmail.com>
388 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
389 compatible cores: fa526, fa626, fa626te, fa726te.
390 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
393 2008-05-14 Alan Modra <amodra@bigpond.net.au>
395 * Makefile.am: Run "make dep-am".
396 * Makefile.in: Regenerate.
397 * doc/Makefile.in: Regenerate.
398 * po/POTFILES.in: Regenerate.
400 2008-05-09 Catherine Moore <clm@codesourcery.com>
402 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
403 with non-MIPS16 relocs.
405 2008-05-09 Chao-ying Fu <fu@mips.com>
407 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
408 case that some characters append at the end of the name.
410 (s_change_sec): Likewise.
411 (md_section_align): Likewise.
413 2008-05-07 Bob Wilson <bob.wilson@acm.org>
415 * config/tc-xtensa.c (xtensa_create_property_segments): Use
416 xtensa_make_property_section instead of xtensa_get_property_section.
417 (xtensa_create_xproperty_segments): Likewise.
419 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
421 * NEWS: Mention XSAVE, EPT and MOVBE.
423 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
424 (md_show_usage): Add .movbe and .ept.
426 * doc/c-i386.texi: Add movbe and ept to -march=. Document
429 2008-04-29 David S. Miller <davem@davemloft.net>
431 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
433 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
435 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
437 (OPTION_ELF_BASE): Make room for new option macros.
438 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
439 OPTION_DOUBLE_FLOAT): New option macros.
440 (md_longopts): Add msoft-float, mhard-float, msingle-float and
442 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
443 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
444 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
446 (struct mips_set_options): New fields soft_float and single_float.
447 (mips_opts): Initialized them. Add comment for each field
449 (mips_after_parse_args): Set them based on file_mips_soft_float
450 and file_mips_single_float.
451 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
452 `.set singlefloat' and `.set doublefloat'.
453 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
454 Handle single-float and soft-float instructions here.
455 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
456 (is_opcode_valid_16): New function.
457 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
458 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
459 M_S_DOB>: Remove special-casing of r4650.
460 * doc/c-mips.texi (-march=): Add Octeon.
461 (MIPS Opts): Document -msoft-float and -mhard-float. Document
462 -msingle-float and -mdouble-float.
463 (MIPS floating-point): New section. Document `.set softfloat' and
464 `.set hardfloat'. Document `.set singlefloat' and `.set
467 2008-04-25 David S. Miller <davem@davemloft.net>
469 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
472 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
473 rather than occaisionally 'levels'. Consistently refer to Sun's
474 UNIX variant as SunOS, every version of Solaris is also SunOS.
475 Document new 'softint_clear' and 'softint_set' aliases. Clarify
476 which architecture versions support '%dcr', '%cq', and '%gl'. Add
477 section on 32-bit/64-bit opcode translations.
479 2008-04-23 Mike Frysinger <vapier@gentoo.org>
481 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
482 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
483 (obj-fdpicelf.o): Define.
484 * Makefile.in: Regenerate.
485 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
487 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
488 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
489 * config/obj-fdpicelf.c: New.
490 * config/obj-fdpicelf.h: Likewise.
491 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
492 the OBJ_FDPIC_ELF define.
493 (OPTION_NOPIC): Define.
494 (md_longopts): Add mnopic and mno-fdpic.
495 (md_parse_option): Handle OPTION_NOPIC.
497 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
499 * aclocal.m4: Regenerate.
500 * configure: Regenerate.
502 2008-04-23 David S. Miller <davem@davemloft.net>
504 * config/tc-sparc.c (v9a_asr_table): Add missing
505 'stick' and 'stick_cmpr', and document ordering rules
507 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
508 BFD_RELOC_SPARC_PC10.
509 * doc/c-sparc.texi: New section on Sparc constants.
510 Add documentation for %stick and %stick_cmpr.
512 2008-04-22 David S. Miller <davem@davemloft.net>
514 * config/obj-elf.c (obj_elf_section_type): Add prototype
515 before obj_elf_section_word and add 'warn' arg.
516 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
517 is matched, try checking for #SECTION_TYPE.
518 (obj_elf_section): Adjust for new args.
519 (obj_elf_type_name): New function.
520 (obj_elf_type): Call it, and accept STT_foo number strings
521 in .type statements as output by SunPRO compiler.
523 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
525 * config/tc-i386.c (md_assemble): Don't check SSE instructions
528 2008-04-18 David S. Miller <davem@davemloft.net>
530 * doc/c-sparc.texi: Add syntax section.
532 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
534 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
535 REG and NDS for instructions with immediate operand.
537 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
539 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
542 2008-04-16 David S. Miller <davem@davemloft.net>
544 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
545 and relocation generation.
546 (tc_gen_reloc): Likewise.
548 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
550 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
551 relocations are properly aligned, and not negative.
553 2008-04-15 Khem Raj <kraj@mvista.com>
555 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
557 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
559 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
560 accept e500mc instructions.
561 (md_show_usage): Document -me500mc.
563 2008-04-11 Nick Clifton <nickc@redhat.com>
565 * listing.c (print_timestamp): Use localtime rather than
566 localtime_r since not all build environments provide the latter.
568 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
570 * NEWS: Mention -msse-check=[none|error|warning].
572 * config/tc-i386.c (sse_check): New.
573 (OPTION_MSSE_CHECK): Likewise.
574 (md_assemble): Check SSE instructions if needed.
575 (md_longopts): Add -msse-check.
576 (md_parse_option): Handle OPTION_MSSE_CHECK.
577 (md_show_usage): Show -msse-check=[none|error|warning].
579 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
581 2008-04-10 Santiago Urueña <suruena@gmail.com>
583 * listing.c: Add -ag listing flag to show general information in
584 listings such as gas version, passed options, and time stamp.
585 (listing_general_info): New function.
586 (print_options): New function.
587 (print_single_option): New function.
588 (print_timestamp): New function.
589 (MAX_DATELEN): Define.
590 (listing_print): Add call to listing_general_info.
591 * listing.h (LISTING_GENERAL): Define.
592 (listing_print): Add new parameter.
593 * as.c (show_usage): Print new switch.
594 (parse_args): Parse new switch.
595 (main): Pass command line on to listing_print.
596 * NEWS: Mention this new feature.
597 * doc/as.texinfo: Document the new sub-option.
599 2008-04-08 Alan Modra <amodra@bigpond.net.au>
601 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
602 call. Delete out of date comment.
603 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
604 (dwarf2_emit_label): Don't emit unless there has been a previous
605 .file or we are outputting assembler generated debug.
606 dwarf2_consume_line_info after emitting line info, not before.
607 (out_debug_info): Simplify files_in_use test.
609 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
611 * config/tc-i386.c (parse_real_register): Return AVX register
612 only if AVX is enabled.
614 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
617 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
618 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
620 2008-04-04 Adrian Bunk <bunk@stusta.de>
621 Bob Wilson <bob.wilson@acm.org>
623 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
624 call to decode_reloc.
626 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
628 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
630 * config/tc-i386.c (cpu_arch): Add .pclmul.
631 (md_show_usage): Replace clmul with pclmul.
632 * doc/c-i386.texi: Likewise.
634 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
636 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
638 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
639 Document -msse2avx, .avx, .aes, .clmul and .fma.
641 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
642 (vex_prefix): Likewise.
644 (CPU_FLAGS_ARCH_MATCH): Likewise.
645 (CPU_FLAGS_64BIT_MATCH): Likewise.
646 (CPU_FLAGS_32BIT_MATCH): Likewise.
647 (CPU_FLAGS_PERFECT_MATCH): Likewise.
649 (vex_imm4): Likewise.
650 (fits_in_imm4): Likewise.
651 (build_vex_prefix): Likewise.
652 (VEX_check_operands): Likewise.
653 (bad_implicit_operand): Likewise.
654 (OPTION_MSSE2AVX): Likewise.
655 (T_YMMWORD): Likewise.
656 (_i386_insn): Add vex.
657 (cpu_arch): Add .avx, .aes, .clmul and .fma.
658 (cpu_flags_match): Changed to take a pointer to const template.
659 Enable encoding SSE instructions with VEX prefix for -msse2avx.
660 (match_mem_size): Also check ymmword.
661 (operand_type_match): Clear ymmword.
662 (md_begin): Allow '_' in mnemonic.
663 (type_names): Add OPERAND_TYPE_VEX_IMM4.
664 (process_immext): Update assert.
665 (md_assemble): Don't call process_immext if sse2avx and immext
666 are true. Call build_vex_prefix if vex is true.
667 (parse_insn): Updated for cpu_flags_match.
668 (swap_operands): Handle 5 operands.
669 (match_template): Handle 5 operands. Updated for cpu_flags_match.
670 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
671 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
672 (check_byte_reg): Check regymm.
673 (process_operands): Duplicate the destination register for
675 (build_modrm_byte): Updated for instructions with VEX encoding.
676 (output_insn): Output VEX prefix if needed.
677 (md_longopts): Add msse2avx.
678 (md_parse_option): Handle OPTION_MSSE2AVX.
679 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
680 (intel_e09): Support YMMWORD.
681 (intel_e11): Likewise.
682 (intel_get_token): Likewise.
684 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
686 * config/tc-avr.c (mcu_types): Add attiny167.
687 * doc/c-avr.texi: Likewise.
689 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
691 * config/tc-avr.c (mcu_types): Add atmega32u4.
692 * doc/c-avr.texi: Likewise.
694 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
696 * config/tc-avr.c (mcu_types): Add atmega32c1.
697 * doc/c-avr.texi: Likewise.
699 2008-03-28 Paul Brook <paul@codesourcery.com>
701 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
702 to avoid spurious symbols.
704 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
706 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
709 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
711 * config/tc-avr.c (mcu_types): Add atmega32m1.
712 * doc/c-avr.texi: Likewise.
714 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
716 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
718 (do_neon_ext): Fix sign of comparison.
720 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
722 From Jie Zhang <jie.zhang@analog.com>
723 * config/bfin-parse.y (asm_1): Check AREGS in comparison
724 instructions. And call yyerror when comparing PREG with
726 (check_macfunc_option): New.
727 (check_macfuncs): Check option by calling check_macfunc_option.
728 Fix comparison always true warnings. Both scalar instructions
729 of vector instruction must share the same mode option. Only allow
730 option mode at the end of the second instruction of the vector.
731 (asm_1): Check option by calling check_macfunc_option.
733 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
734 option for multiply and multiply-accumulate to data register
736 (check_macfuncs): Don't check if accumulator matches the data register
738 (assign_macfunc): Check if accumulator matches the
739 data register in each rule that moves to the data
742 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
743 generated for LOOP_BEGIN and LOOP_END instructions.
744 (bfin_gen_loop): Likewise.
746 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
748 * config/tc-s390.c (md_parse_option): z10 option added.
750 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
752 * aclocal.m4: Regenerate.
753 * configure: Likewise.
754 * Makefile.in: Likewise.
755 * doc/Makefile.in: Likewise.
757 2008-03-17 Adrian Bunk <bunk@stusta.de>
760 * config/tc-hppa.c (is_same_frag): Delete.
762 2008-03-14 Sterling Augustine <sterling@tensilica.com>
764 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
765 RELAX_LOOP_END_ADD_NOP.
767 2008-03-13 Evandro Menezes <evandro@yahoo.com>
770 * read.c (s_mexit): Warn if attempting to exit a macro when not
771 inside a macro definition.
773 2008-03-13 Alan Modra <amodra@bigpond.net.au>
775 * Makefile.am: Run "make dep-am".
776 * Makefile.in: Regenerate.
777 * configure: Regenerate.
779 2008-03-09 Paul Brook <paul@codesourcery.com>
781 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
782 * doc/c-arm.texi: Add cortex-a9.
784 2008-03-09 Paul Brook <paul@codesourcery.com>
786 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
787 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
788 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
789 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
790 * doc/c-arm.texi: Document new ARM FPU variants.
792 2008-03-07 Paul Brook <paul@codesourcery.com>
794 * config/tc-arm.c (md_apply_fix): Use correct offset range.
796 2008-03-07 Alan Modra <amodra@bigpond.net.au>
798 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
799 for strict ordering of powerpc_opcodes, but disable for now.
801 2008-03-04 Paul Brook <paul@codesourcery.com>
803 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
804 (arm_ext_v7m): Rename...
805 (arm_ext_m): ... to this. Include v6-M.
806 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
807 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
808 (md_assemble): Allow wide msr instructions.
809 (insns): Add classifications for v6-m instructions.
810 (arm_cpu_option_table): Add cortex-m1.
811 (arm_arch_option_table): Add armv6-m.
812 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
814 2008-03-03 Sterling Augustine <sterling@tensilica.com>
815 Bob Wilson <bob.wilson@acm.org>
817 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
818 (md_begin): Initialize it.
819 (resources_conflict): Use it.
821 2008-03-03 Sterling Augustine <sterling@tensilica.com>
823 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
825 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
826 H.J. Lu <hongjiu.lu@intel.com>
829 * read.c (pseudo_set): Don't allow global register symbol.
831 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
834 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
837 * write.c (write_object_file): Don't allow symbols which were
838 equated to register. Stop if there is an error.
840 2008-03-01 Alan Modra <amodra@bigpond.net.au>
842 * config/tc-ppc.h (struct _ppc_fix_extra): New.
844 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
845 * config/tc-ppc.c (ppu_cpu): Make global.
846 (ppc_insert_operand): Add ppu_cpu parameter.
847 (md_assemble): Adjust for above change.
848 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
850 2008-02-22 Nick Clifton <nickc@redhat.com>
852 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
853 targeted ARM ports, otherwise just skip generating the reloc.
855 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
857 * doc/c-i386.texi: Update -march= and .arch.
859 2008-02-18 Nick Clifton <nickc@redhat.com>
861 * config/tc-mn10300.c (has_known_symbol_location): New function.
862 Do not regard weak symbols as having a known location.
863 (md_estimate_size_before_relax): Use new function.
864 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
866 2008-02-18 Jan Beulich <jbeulich@novell.com>
868 * config/tc-i386.c (match_template): Disallow 'l' suffix when
869 currently selected CPU has no 32-bit support.
870 (parse_real_register): Do not return registers not available on
871 currently selected CPU.
873 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
875 * config/tc-i386.c (process_immext): Fix format.
877 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
879 * config/tc-i386.c (inoutportreg): New.
880 (process_immext): New.
881 (md_assemble): Use it.
882 (update_imm): Use imm16 and imm32s.
883 (i386_att_operand): Use inoutportreg.
885 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
887 * config/tc-i386.c (operand_type_all_zero): New.
888 (operand_type_set): Likewise.
889 (operand_type_equal): Likewise.
890 (cpu_flags_all_zero): Likewise.
891 (cpu_flags_set): Likewise.
892 (cpu_flags_equal): Likewise.
893 (UINTS_ALL_ZERO): Removed.
894 (UINTS_SET): Likewise.
895 (UINTS_CLEAR): Likewise.
896 (UINTS_EQUAL): Likewise.
897 (cpu_flags_match): Updated.
898 (smallest_imm_type): Likewise.
899 (set_cpu_arch): Likewise.
900 (md_assemble): Likewise.
901 (optimize_imm): Likewise.
902 (match_template): Likewise.
903 (process_suffix): Likewise.
904 (update_imm): Likewise.
905 (process_drex): Likewise.
906 (process_operands): Likewise.
907 (build_modrm_byte): Likewise.
908 (i386_immediate): Likewise.
909 (i386_displacement): Likewise.
910 (i386_att_operand): Likewise.
911 (parse_real_register): Likewise.
912 (md_parse_option): Likewise.
913 (i386_target_format): Likewise.
915 2008-02-14 Dimitry Andric <dimitry@andric.com>
918 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
919 pointer past the comma after parsing a floating point register
922 2008-02-14 Hakan Ardo <hakan@debian.org>
925 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
927 (avr_operand): Disallow post-increment addressing in the lpm
928 instruction for the attiny26.
930 2008-02-13 Jan Beulich <jbeulich@novell.com>
932 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
933 if not in Intel mode.
934 (i386_intel_operand): Ignore segment overrides in immediate and
936 (intel_e11): Range-check i.mem_operands before use as array
937 index. Filter out FLAT for uses other than as segment override.
938 (intel_get_token): Remove broken promotion of "FLAT:" to mean
941 2008-02-13 Jan Beulich <jbeulich@novell.com>
943 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
945 2008-02-13 Jan Beulich <jbeulich@novell.com>
947 * config/tc-i386.c (allow_pseudo_reg): New.
948 (parse_real_register): Check for NULL just once. Allow all
949 register table entries when allow_pseudo_reg is non-zero.
950 Don't allow any registers without type when allow_pseudo_reg
952 (tc_x86_regname_to_dw2regnum): Replace with ...
953 (tc_x86_parse_to_dw2regnum): ... this.
954 (tc_x86_frame_initial_instructions): Adjust for above change.
955 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
956 (tc_parse_to_dw2regnum): New.
957 (tc_x86_regname_to_dw2regnum): Replace with ...
958 (tc_x86_parse_to_dw2regnum): ... this.
959 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
960 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
963 2008-02-12 Nick Clifton <nickc@redhat.com>
965 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
967 (tic4x_insn_add): Likewise.
968 (md_begin): Drop cast that was discarding a const qualifier.
969 * config/tc-d30v.c (get_reloc): Add const qualifier to op
971 (build_insn): Drop cast that was discarding a const qualifier.
973 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
975 * config/tc-i386.c (cpu_arch): Add .xsave.
976 (md_show_usage): Add .xsave.
978 * doc/c-i386.texi: Add xsave to -march=.
980 2008-02-07 Alan Modra <amodra@bigpond.net.au>
982 * read.c (s_weakref): Don't pass unadorned NULL to concat.
983 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
985 2008-02-05 Sterling Augustine <sterling@tensilica.com>
987 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
988 checks into assertions. When relaxation produces an operation that
989 does not fit in the current FLIX instruction, make sure that the
990 operation is relaxed as needed to account for being placed following
991 the current instruction.
993 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
996 * configure: Regenerated.
998 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
1000 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
1002 2008-01-31 Marc Gauthier <marc@tensilica.com>
1004 * configure.tgt (xtensa*-*-*): Recognize processor variants.
1006 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
1008 * read.c: (emit_expr): Correct for mingw use of printf size
1011 2008-01-24 Bob Wilson <bob.wilson@acm.org>
1013 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
1014 can only be encoded in FLIX instructions but are not specified as such.
1015 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
1018 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
1020 * NEWS: Mention new command line options for x86 targets.
1022 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
1024 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
1026 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
1028 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
1030 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
1032 * config/tc-i386.c (md_show_usage): Show more processors for
1035 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1037 * config/tc-i386.c (i386_target_format): Remove cpummx2.
1039 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1041 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
1042 (XXX_MNEM_SUFFIX): Likewise.
1043 (END_OF_INSN): Likewise.
1044 (templates): Likewise.
1045 (modrm_byte): Likewise.
1046 (rex_byte): Likewise.
1047 (DREX_XXX): Likewise.
1048 (drex_byte): Likewise.
1049 (sib_byte): Likewise.
1050 (processor_type): Likewise.
1051 (arch_entry): Likewise.
1052 (cpu_sub_arch_name): Remove const.
1053 (cpu_arch): Add .vmx and .smx.
1054 (set_cpu_arch): Append cpu_sub_arch_name.
1055 (md_parse_option): Support -march=CPU[,+EXTENSION...].
1056 (md_show_usage): Updated.
1058 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
1059 (XXX_MNEM_SUFFIX): Likewise.
1060 (END_OF_INSN): Likewise.
1061 (templates): Likewise.
1062 (modrm_byte): Likewise.
1063 (rex_byte): Likewise.
1064 (DREX_XXX): Likewise.
1065 (drex_byte): Likewise.
1066 (sib_byte): Likewise.
1067 (processor_type): Likewise.
1068 (arch_entry): Likewise.
1070 * doc/as.texinfo: Update i386 -march option.
1072 * doc/c-i386.texi: Update -march= for ISA.
1074 2008-01-18 Bob Wilson <bob.wilson@acm.org>
1076 * config/tc-xtensa.c (xtensa_leb128): New function.
1077 (md_pseudo_table): Use it for sleb128 and uleb128.
1078 (is_leb128_expr): New internal flag.
1079 (xtensa_symbol_new_hook): Check new flag.
1081 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
1083 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
1084 at90usb82, at90usb162.
1085 * doc/c-avr.texi: Change architecture grouping for at90usb82,
1087 These changes support the new avr35 architecture group in gcc.
1089 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
1091 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
1092 suffix for AT&T syntax.
1094 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
1096 * config/tc-i386.c (match_reg_size): New.
1097 (match_mem_size): Likewise.
1098 (operand_size_match): Likewise.
1099 (operand_type_match): Also clear all size fields.
1100 (match_template): Skip Intel syntax when in AT&T syntax.
1101 Call operand_size_match to check operand size.
1102 (i386_att_operand): Set the mem field to 1 for memory
1104 (i386_intel_operand): Likewise.
1106 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
1109 * config/tc-i386.c (_i386_insn): Update comment.
1110 (operand_type_match): Also clear unspecified.
1111 (operand_type_register_match): Likewise.
1112 (parse_operands): Initialize unspecified.
1113 (i386_intel_operand): Likewise.
1114 (match_template): Check memory and accumulator operand size.
1115 (i386_att_operand): Clear unspecified on register operand.
1116 (intel_e11): Likewise.
1117 (intel_e09): Set operand size and clean unspecified for
1120 2008-01-11 Andreas Schwab <schwab@suse.de>
1122 * read.c (s_space): Declare `repeat' as offsetT.
1124 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1126 * config/tc-i386.c (match_template): Check processor support
1129 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1131 * config/tc-i386.c (match_template): Continue if processor
1134 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
1136 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
1137 unwind personality function address.
1139 2008-01-09 Bob Wilson <bob.wilson@acm.org>
1141 * dwarf2dbg.c (out_sleb128): Delete.
1142 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
1143 (out_fixed_inc_line_addr): Delete.
1144 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
1145 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
1146 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
1147 (process_entries): Remove calls to out_fixed_inc_line_addr. When
1148 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
1149 * read.h (emit_expr_fix): New prototype.
1150 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
1151 (emit_expr_fix): New.
1153 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
1155 * config/tc-i386.c (match_template): Check register size
1156 only when size of operands can be encoded the canonical way.
1158 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
1160 * config/tc-i386.c (i386_operand): Renamed to ...
1161 (i386_att_operand): This.
1162 (parse_operands): Updated.
1164 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
1166 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
1168 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
1170 (md_assemble): Remove Intel mode workaround.
1171 (match_template): Check support for old gcc, AT&T mnemonic
1173 (md_parse_option): Don't set intel_mnemonic to 0 for
1176 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
1178 * config/tc-i386.h: Update copyright to 2008.
1180 2008-01-04 Nick Clifton <nickc@redhat.com>
1182 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
1183 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
1185 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1187 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
1190 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1192 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
1193 (cpu_flags_not): Likewise.
1194 (cpu_flags_match): Updated to check 64bit and arch.
1195 (set_code_flag): Remove cpu_arch_flags_not.
1196 (set_16bit_gcc_code_flag): Likewise.
1197 (set_cpu_arch): Likewise.
1198 (md_begin): Likewise.
1199 (parse_insn): Call cpu_flags_match to check 64bit and arch.
1200 (match_template): Likewise.
1202 2008-01-03 Jakub Jelinek <jakub@redhat.com>
1204 * config/tc-i386.c (process_drex): Initialize modrm_reg and
1205 modrm_regmem to 0 instead of None.
1207 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1209 * config/tc-i386.c (match_template): Use the xmmword field
1212 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1214 * config/tc-i386.c (process_suffix): Fix a typo.
1216 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1219 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1220 Check memory size in Intel mode.
1221 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1222 (intel_e09): Likewise.
1224 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1226 2008-01-02 Catherine Moore <clm@codesourcery.com>
1228 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1230 For older changes see ChangeLog-2007
1236 version-control: never