1 2009-04-01 Nick Clifton <nickc@redhat.com>
5 2008-11-14 Peter Jansen <pwjansen@yahoo.com>
8 * config/tc-arm.c: Ensure that all uses of as_bad have a
11 2009-03-04 Alan Modra <amodra@bigpond.net.au>
13 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
15 2009-03-02 Alan Modra <amodra@bigpond.net.au>
17 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
18 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
19 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
20 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
22 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
23 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
24 Test the new "deprecated" opcode field.
26 2008-12-04 Ben Elliston <bje@au.ibm.com>
27 * config/tc-ppc.c (parse_cpu): Remove booke64 support. Update
29 (ppc_setup_opcodes): Likewise, remove booke64 support.
30 * doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64.
31 * doc/as.texinfo (Overview): Likewise.
33 2008-09-09 Peter Bergner <bergner@vnet.ibm.com>
34 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
35 Remove POWER5 and POWER6 tests.
37 2009-01-14 Jakub Jelinek <jakub@redhat.com>
39 * Makefile.am (ehopt.o): Add struc-symbol.h.
40 * Makefile.in: Regenerated.
41 * ehopt.c: Include struc-symbol.h.
42 (check_eh_frame): For very small O_constant DW_CFA_advance_loc4
43 create correct DW_CFA_advance_loc. Handle O_subtract only
44 for code alignment factor 1, otherwise handle O_divide or
45 O_right_shift of O_subtract and O_constant.
46 (eh_frame_estimate_size_before_relax): Always divide by ca.
47 (eh_frame_convert_frag): Likewise.
49 2009-01-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
51 * dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1,
52 DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs.
54 2009-01-08 Adam Nemet <anemet@caviumnetworks.com>
56 * config/tc-mips.c (NO_ISA_COP): New macro.
57 (COP_INSN): New macro.
58 (is_opcode_valid): Use them.
59 (macro) <ld_st>: Use them. Don't accept coprocessor load store
60 insns based on the ISA if CPU is NO_ISA_COP.
61 <copz>: Likewise for coprocessor operations.
63 2008-10-09 Eric Botcazou <ebotcazou@adacore.com>
65 * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
66 * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris.
67 (i386_solaris_fix_up_eh_frame): Declare.
68 * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
70 2008-09-29 Nick Clifton <nickc@redhat.com>
73 * app.c (do_scrub_chars): Only issue warnings about tick
74 characters detected in symbol strings if hex ticks are supported.
76 2008-09-29 Nick Clifton <nickc@redhat.com>
78 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
79 tc_cfi_emit_pcrel_expr macro.
81 2008-09-28 Daniel Jacobowitz <dan@codesourcery.com>
83 * NEWS: Mention .cfi_val_encoded_addr.
85 2008-09-26 Eric Botcazou <ebotcazou@adacore.com>
87 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
88 * Makefile.in (TARG_ENV_HFILES): Likewise.
89 * configure.tgt (Solaris targets): Set em=solaris.
90 * config/te-solaris.h: New file.
92 2008-09-25 Richard Henderson <rth@redhat.com>
94 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
95 (struct cfi_insn_data): Add ea member.
96 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
97 (output_cfi_insn): Handle CFI_val_encoded_addr.
98 (select_cie_for_fde): Don't match CFI_val_encoded_addr.
99 * doc/as.texinfo (.cfi_val_encoded_addr): Document.
101 2008-09-25 Alan Modra <amodra@bigpond.net.au>
104 * listing.c (print_options): Don't call fprintf without format string.
106 2008-09-19 Alan Modra <amodra@bigpond.net.au>
108 * write.c (md_register_arithmetic): Define.
109 (fixup_segment): Pass segment to TC_FORCE_RELOCATION_SUB_ABS,
110 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB invocations.
111 Modify error message when registers involved.
112 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
113 (TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Likewise.
114 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
115 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
116 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
117 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
118 (TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Likewise.
119 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
120 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
121 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
122 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
124 2008-09-15 Alan Modra <amodra@bigpond.net.au>
126 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
128 2008-09-15 Alan Modra <amodra@bigpond.net.au>
130 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
131 relocs with no symbol.
132 * config/tc-mmix.c (md_assemble): Mark fake symbol on
133 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
134 (mmix_md_end): Likewise mark mmix reg contents section symbol.
136 2008-09-09 Alan Modra <amodra@bigpond.net.au>
138 * Makefile.am: Run "make dep-am".
139 * Makefile.in: Regenerate.
140 * po/gas.pot: Regenerate.
142 2008-09-08 Tristan Gingold <gingold@adacore.com>
144 * NEWS: Add a marker for the 2.19 features.
146 2008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
148 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
149 comment regarding use of difference expressions.
150 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
152 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
153 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
154 (dot_cfi_lsda, output_cie, output_fde): Likewise.
155 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
157 2008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
159 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
161 2008-09-03 Nick Clifton <nickc@redhat.com>
163 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
164 alignment field of the .lcomm directive to be optional.
165 (pe_lcomm): New function. Pass pe_lcomm_internal to
167 (md_pseudo_table): Implement .lcomm directive for COFF based
169 * doc/c-i386.texi (i386-Directives): New node. Used to document
170 the .lcomm directive.
172 2008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
174 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
177 2008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
179 * config/tc-avr.c (mcu_types): Add atmega16u4.
180 * doc/c-avr.texi: Likewise.
182 2008-08-28 H.J. Lu <hongjiu.lu@intel.com>
184 * config/tc-ia64.c (CR_IIB0): New.
186 (cr): Add cr.iib0 and cr.iib1.
187 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
189 2008-08-28 Jan Beulich <jbeulich@novell.com>
191 * config/tc-i386.c (md_assemble): Force number of displacement
192 operands to zero when processing string instruction.
193 (i386_index_check): Special-case string instruction operands. Don't
194 fudge address prefix if there already was a memory operand. Fix
195 error message to correctly reflect the addressing mode used.
196 (i386_att_operand): Fix comment.
197 (i386_intel_operand): Snapshot, clear, and restore base and index
198 reg for each operand processed. Increment count of memory operands
201 2008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
203 * config/tc-hppa.c (is_SB_relative): New macro.
204 (fix_new_hppa): Remove $segrel$ marker.
205 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
207 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
209 2008-08-27 Jan Beulich <jbeulich@novell.com>
211 * config/tc-i386.c (check_string): Use register_prefix for error
213 (process_operands): Likewise.
215 2008-08-26 Mark Mitchell <mark@codesourcery.com>
217 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
219 2008-08-26 Jie Zhang <jie.zhang@analog.com>
221 * config/bfin-parse.y (check_macfunc_option): Fix instruction
223 (asm_1): Check mode for 16-bit multiply instructions.
225 2008-08-24 Alan Modra <amodra@bigpond.net.au>
227 * configure.in: Update a number of obsolete autoconf macros.
228 * configure: Regenerate.
229 * aclocal.m4: Regenerate.
231 2008-08-22 Nick Clifton <nickc@redhat.com>
233 * config/tc-mcore.c (md_assemble): Increase length of name array
234 to include terminating NUL.
236 2008-08-22 Jie Zhang <jie.zhang@analog.com>
238 * config/bfin-lex.l (NUMBER): Protect special `.'.
240 2008-08-22 Alan Modra <amodra@bigpond.net.au>
242 * symbols.c (symbol_clone): Ensure clones are not external.
244 2008-08-22 Alan Modra <amodra@bigpond.net.au>
246 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
248 2008-08-21 Richard Henderson <rth@redhat.com>
250 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
251 (output_cie, output_fde): Use it.
252 (DWARF2_EH_FRAME_READ_ONLY): New.
253 (cfi_finish): Use it.
255 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
256 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
257 (DWARF2_EH_FRAME_READ_ONLY): New.
258 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
259 from the results of DIFF_EXPR_OK manipulation.
261 2008-08-21 Sterling Augustine <sterling@tensilica.com>
263 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
265 2008-08-20 Bob Wilson <bob.wilson@acm.org>
267 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
268 (O_tpoff, O_dtpoff): Define.
269 (suffix_relocs): Add entries for TLS suffixes.
270 (xtensa_elf_cons): Check for invalid use of TLS relocations.
271 (map_operator_to_reloc): Add is_literal parameter and use it to
272 control translating TLS instruction relocations to the corresponding
274 (xg_valid_literal_expression): Allow TLS operators.
275 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
276 operands to generated literals.
277 (xg_assemble_literal): Handle TLS operators. Update call to
278 map_operator_to_reloc.
279 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
280 (md_apply_fix): Handle TLS relocations.
281 (emit_single_op): Handle TLS operators.
282 (convert_frag_immed): Update call to map_operator_to_reloc.
283 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
284 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
285 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
286 to initialize the op_data field of the BuildOp.
287 (build_transition): Use it here to record the source operand
288 corresponding to a generated literal.
289 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
291 2008-08-20 H.J. Lu <hongjiu.lu@intel.com>
293 AVX Programming Reference (August, 2008)
294 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
295 (CPU_FLAGS_AVX_MATCH): Likewise.
296 (CPU_FLAGS_32BIT_MATCH): Updated.
297 (cpu_flags_match): Likewise.
299 2008-08-20 Alan Modra <amodra@bigpond.net.au>
302 * write.c (install_reloc): Check that reloc symbols have been
304 (set_symtab): Mark symbols with BSF_KEEP.
306 2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
308 * config/tc-i386.c (i386_align_code): Fix a comment typo.
310 2008-08-15 Alan Modra <amodra@bigpond.net.au>
313 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
314 * Makefile.in: Regenerate.
315 * aclocal.m4: Regenerate.
316 * config.in: Regenerate.
317 * configure: Regenerate.
318 * doc/Makefile.in: Regenerate.
320 2008-08-14 Alan Modra <amodra@bigpond.net.au>
322 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
324 2008-08-13 Ben Elliston <bje@au.ibm.com>
326 * doc/as.texinfo (Align): Document the PowerPC behaviour.
328 2008-08-13 Alan Modra <amodra@bigpond.net.au>
330 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
331 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
332 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
333 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
334 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
335 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
336 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
337 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
338 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
339 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
341 2008-08-12 Alan Modra <amodra@bigpond.net.au>
343 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
344 * config/tc-ia64.c (dot_rot): Likewise.
346 2008-08-11 Alan Modra <amodra@bigpond.net.au>
349 * hash.c: Expand PTR to void *.
350 (hash_delete): Add "freeme" parameter. Call obstack_free.
351 * hash.h: Expand PTR to void *.
352 (hash_delete): Update prototype.
353 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
354 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
356 (subsym_substitute): Likewise.
357 * doc/internals.texi (hash_delete): Update.
359 2008-08-08 Anatoly Sokolov <aesok@post.ru>
361 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
362 architectures. Reorganize list to put mcu types in correct
363 architectures and to order list same as in GCC. Use new ISA
364 definitions in include/opcode/avr.h.
365 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
366 descriptions. Reorganize descriptions to put mcu types in correct
367 architectures and to order lists same as in GCC.
369 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
370 Daniel Jacobowitz <dan@codesourcery.com>
372 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
373 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
374 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
375 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
376 (md_longopts): Add -call_nonpic.
377 (md_parse_option): Handle OPTION_CALL_NONPIC.
378 (md_show_usage): Add -call_nonpic.
380 2008-08-08 Sterling Augustine <sterling@tensilica.com>
382 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
383 (xtensa_create_property_segments): Use it.
384 (xtensa_create_xproperty_segments): Likewise.
386 2008-08-08 Alan Modra <amodra@bigpond.net.au>
388 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
390 2008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
392 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
393 (lo16_reloc_p): New functions.
394 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
395 generalize relocation checks.
396 (matching_lo_reloc): New function.
397 (fixup_has_matching_lo_p): Use it.
398 (mips16_mark_labels): Don't clobber a symbol's visibility.
399 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
400 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
401 (md_apply_fix): Likewise.
402 (mips16_percent_op): Add %got and %call16.
403 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
404 Use matching_lo_reloc.
405 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
406 generalize relocation checks.
407 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
410 2008-08-06 DJ Delorie <dj@redhat.com>
412 * NEWS: Mention these changes.
414 * config/tc-h8300.h (H_TICK_HEX): Define.
415 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
416 (md_longopts): Add "-h-tick-hex".
417 (md_parse_option): Support it.
418 * doc/c-h8300.texi (H8/300 Options): Document it.
419 * doc/as.texinfo (Overview): Likewise.
421 * config/tc-sh.h (H_TICK_HEX): Define.
422 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
423 (md_longopts): Add "-h-tick-hex".
424 (md_parse_option): Support it.
425 * doc/c-sh.texi (SH Options): Document it.
426 * doc/c-sh64.texi (SH64 Options): Document it.
427 * doc/as.texinfo (Overview): Likewise.
429 2008-08-05 Alan Modra <amodra@bigpond.net.au>
432 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
433 debug info if we see compiler generated debug info.
434 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
436 2008-08-04 Alan Modra <amodra@bigpond.net.au>
438 * dwarf2dbg.c: Remove superfluous forward function declarations.
439 (DWARF2_FORMAT): Add section arg.
440 (out_header): New function, split out from..
441 (out_debug_line): ..here.
442 (out_debug_aranges): Use out_header.
443 (out_debug_abbrev): Add info_seg and line_seg args. Use
444 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
445 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
446 if line_seg is 64-bit.
447 (dwarf2_finish): Adjust out_debug_abbrev call.
448 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
449 * config/tc-mips.c (mips_dwarf2_format): Likewise.
451 2008-08-04 Alan Modra <amodra@bigpond.net.au>
453 * Makefile.am (POTFILES.in): Set LC_ALL=C.
454 * Makefile.in: Regenerate.
455 * po/POTFILES.in: Regenerate.
457 2008-08-01 Peter Bergner <bergner@vnet.ibm.com>
459 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
460 Handle -mvsx and -mpower7.
461 (md_show_usage): Document -mpower7 and -mvsx.
462 * doc/as.texinfo (Target PowerPC): Document -mvsx.
463 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
465 2008-07-31 Peter Bergner <bergner@vnet.ibm.com>
467 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
470 2008-07-30 Michael J. Eager <eager@eagercon.com>
472 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
473 (md_show_usage): Likewise.
475 2008-07-30 Alan Modra <amodra@bigpond.net.au>
477 * messages.c, symbols.c, write.c: Silence gcc warnings.
479 2008-07-28 Ineiev <ineiev@yahoo.co.uk>
481 * config/tc-i386.c (operand_type_check): Warning fix.
483 2008-07-26 Michael Eager <eager@eagercon.com>
485 * doc/as.texinfo: Add description of single-precision attribute.
487 2008-07-24 Jie Zhang <jie.zhang@analog.com>
489 * config/bfin-parse.y (asm_1): Error if plain symbol is used
490 as load/store offset.
492 2008-07-22 Chao-ying Fu <fu@mips.com>
494 * config/tc-mips.c (mips_ip): Reset s to argsStart.
496 2008-07-22 Jie Zhang <jie.zhang@analog.com>
498 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
500 2008-07-21 DJ Delorie <dj@redhat.com>
502 * config/tc-h8300.c (fix_operand_size): Use the default size
503 specified by the .lbranch/.sbranch pseudos.
505 2008-07-18 DJ Delorie <dj@redhat.com>
507 * config/tc-m32c.h (H_TICK_HEX): Define.
508 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
509 (md_longopts): Add support for it.
510 (md_parse_option): Likewise.
511 * doc/as.texinfo (Overview): Add new m32c options.
512 * doc/c-m32c.texi (M32C-Modifiers): Likewise
514 * as.h: (enable_h_tick_hex): New.
515 * app.c (enable_h_tick_hex): New.
517 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
518 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
519 style hex constants and convert the input stream to 0x00 style.
520 (do_scrub_chars): If a 'X style character constant is found after
521 a symbol character (like you're or X'00), warn the user.
523 2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
525 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
526 (mips_fix_adjustable): Likewise.
527 (mips_frob_file_after_relocs): Likewise.
529 2008-07-08 Nathan Sidwell <nathan@codesourcery.com>
531 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
532 about overriding an earlier setting.
534 2008-07-07 Adam Nemet <anemet@caviumnetworks.com>
536 * config/tc-mips.c (NO_ISA_COP): New macro.
537 (COP_INSN): New macro.
538 (is_opcode_valid): Use them.
539 (macro) <ld_st>: Use them. Don't accept coprocessor load store
540 insns based on the ISA if CPU is NO_ISA_COP.
541 <copz>: Likewise for coprocessor operations.
543 2008-07-07 Paul Brook <paul@codesourcery.com>
545 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
548 2008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
550 * configure.tgt: Add bfin-*-rtems*.
552 2008-07-04 Alan Modra <amodra@bigpond.net.au>
554 * config/tc-spu.c (md_apply_fix): Handle fully resolved
555 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
557 2008-06-25 Peter Bergner <bergner@vnet.ibm.com>
559 * config/tc-ppc.c (parse_cpu): Handle -m464.
560 (md_show_usage): Likewise.
562 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
564 Add support for ATtiny13A.
565 * config/tc-avr.c (mcu_types): Add attiny13a.
566 * doc/c-avr.texi: Likewise.
568 2008-06-24 Bob Wilson <bob.wilson@acm.org>
569 Alan Modra <amodra@bigpond.net.au>
571 * write.c (relax_segment <rs_org>): Include current stretch
572 value when calculating whether .org is backwards.
574 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
576 * configure: Regenerate.
578 2008-06-17 Nick Clifton <nickc@redhat.com>
580 * app.c (do_scrub_chars): Do not UNGET an EOF value.
582 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
585 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
586 text_section. Do the "stepping backwards" test for text_section
587 using unsigned operands.
589 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
591 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
592 (ppc_insert_operand): Likewise.
593 (ppc_machine): Likewise.
594 * config/tc-ppc.h: #include "opcode/ppc.h"
595 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
596 (ppc_cpu): Update extern decl.
598 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
600 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
601 +x, +X, +p, +P, +s, +S.
604 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
606 (macro_build): Likewise.
607 (CPU_HAS_SEQ): New macro.
608 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
610 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
612 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
613 * doc/c-avr.texi: Likewise.
615 2008-06-04 Nick Clifton <nickc@redhat.com>
617 * app.c (do_scrub_chars): Do not UNGET an EOF value.
619 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
621 * config/tc-i386.c (set_sse_check): New.
622 (md_pseudo_table): Add "sse_check".
624 2008-06-03 Paul Brook <paul@codesourcery.com>
626 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
628 2008-05-30 Nick Clifton <nickc@redhat.com>
631 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
634 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
636 * config/tc-mips.c (mips_cpu_info_table): Move records for
637 ST Loongson-2E/2F processors to a better place.
639 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
642 * config/tc-i386.c (match_template): Report ambiguous operand
643 size, not invalid suffix when there is no match in Intel
646 2008-05-22 Paul Brook <paul@codesourcery.com>
648 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
650 2008-05-21 I-Jui Sung <ijsung@gmail.com>
652 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
653 compatible cores: fa526, fa626, fa626te, fa726te.
654 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
657 2008-05-14 Alan Modra <amodra@bigpond.net.au>
659 * Makefile.am: Run "make dep-am".
660 * Makefile.in: Regenerate.
661 * doc/Makefile.in: Regenerate.
662 * po/POTFILES.in: Regenerate.
664 2008-05-09 Catherine Moore <clm@codesourcery.com>
666 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
667 with non-MIPS16 relocs.
669 2008-05-09 Chao-ying Fu <fu@mips.com>
671 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
672 case that some characters append at the end of the name.
674 (s_change_sec): Likewise.
675 (md_section_align): Likewise.
677 2008-05-07 Bob Wilson <bob.wilson@acm.org>
679 * config/tc-xtensa.c (xtensa_create_property_segments): Use
680 xtensa_make_property_section instead of xtensa_get_property_section.
681 (xtensa_create_xproperty_segments): Likewise.
683 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
685 * NEWS: Mention XSAVE, EPT and MOVBE.
687 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
688 (md_show_usage): Add .movbe and .ept.
690 * doc/c-i386.texi: Add movbe and ept to -march=. Document
693 2008-04-29 David S. Miller <davem@davemloft.net>
695 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
697 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
699 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
701 (OPTION_ELF_BASE): Make room for new option macros.
702 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
703 OPTION_DOUBLE_FLOAT): New option macros.
704 (md_longopts): Add msoft-float, mhard-float, msingle-float and
706 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
707 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
708 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
710 (struct mips_set_options): New fields soft_float and single_float.
711 (mips_opts): Initialized them. Add comment for each field
713 (mips_after_parse_args): Set them based on file_mips_soft_float
714 and file_mips_single_float.
715 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
716 `.set singlefloat' and `.set doublefloat'.
717 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
718 Handle single-float and soft-float instructions here.
719 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
720 (is_opcode_valid_16): New function.
721 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
722 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
723 M_S_DOB>: Remove special-casing of r4650.
724 * doc/c-mips.texi (-march=): Add Octeon.
725 (MIPS Opts): Document -msoft-float and -mhard-float. Document
726 -msingle-float and -mdouble-float.
727 (MIPS floating-point): New section. Document `.set softfloat' and
728 `.set hardfloat'. Document `.set singlefloat' and `.set
731 2008-04-25 David S. Miller <davem@davemloft.net>
733 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
736 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
737 rather than occaisionally 'levels'. Consistently refer to Sun's
738 UNIX variant as SunOS, every version of Solaris is also SunOS.
739 Document new 'softint_clear' and 'softint_set' aliases. Clarify
740 which architecture versions support '%dcr', '%cq', and '%gl'. Add
741 section on 32-bit/64-bit opcode translations.
743 2008-04-23 Mike Frysinger <vapier@gentoo.org>
745 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
746 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
747 (obj-fdpicelf.o): Define.
748 * Makefile.in: Regenerate.
749 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
751 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
752 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
753 * config/obj-fdpicelf.c: New.
754 * config/obj-fdpicelf.h: Likewise.
755 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
756 the OBJ_FDPIC_ELF define.
757 (OPTION_NOPIC): Define.
758 (md_longopts): Add mnopic and mno-fdpic.
759 (md_parse_option): Handle OPTION_NOPIC.
761 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
763 * aclocal.m4: Regenerate.
764 * configure: Regenerate.
766 2008-04-23 David S. Miller <davem@davemloft.net>
768 * config/tc-sparc.c (v9a_asr_table): Add missing
769 'stick' and 'stick_cmpr', and document ordering rules
771 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
772 BFD_RELOC_SPARC_PC10.
773 * doc/c-sparc.texi: New section on Sparc constants.
774 Add documentation for %stick and %stick_cmpr.
776 2008-04-22 David S. Miller <davem@davemloft.net>
778 * config/obj-elf.c (obj_elf_section_type): Add prototype
779 before obj_elf_section_word and add 'warn' arg.
780 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
781 is matched, try checking for #SECTION_TYPE.
782 (obj_elf_section): Adjust for new args.
783 (obj_elf_type_name): New function.
784 (obj_elf_type): Call it, and accept STT_foo number strings
785 in .type statements as output by SunPRO compiler.
787 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
789 * config/tc-i386.c (md_assemble): Don't check SSE instructions
792 2008-04-18 David S. Miller <davem@davemloft.net>
794 * doc/c-sparc.texi: Add syntax section.
796 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
798 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
799 REG and NDS for instructions with immediate operand.
801 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
803 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
806 2008-04-16 David S. Miller <davem@davemloft.net>
808 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
809 and relocation generation.
810 (tc_gen_reloc): Likewise.
812 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
814 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
815 relocations are properly aligned, and not negative.
817 2008-04-15 Khem Raj <kraj@mvista.com>
819 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
821 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
823 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
824 accept e500mc instructions.
825 (md_show_usage): Document -me500mc.
827 2008-04-11 Nick Clifton <nickc@redhat.com>
829 * listing.c (print_timestamp): Use localtime rather than
830 localtime_r since not all build environments provide the latter.
832 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
834 * NEWS: Mention -msse-check=[none|error|warning].
836 * config/tc-i386.c (sse_check): New.
837 (OPTION_MSSE_CHECK): Likewise.
838 (md_assemble): Check SSE instructions if needed.
839 (md_longopts): Add -msse-check.
840 (md_parse_option): Handle OPTION_MSSE_CHECK.
841 (md_show_usage): Show -msse-check=[none|error|warning].
843 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
845 2008-04-10 Santiago Urueña <suruena@gmail.com>
847 * listing.c: Add -ag listing flag to show general information in
848 listings such as gas version, passed options, and time stamp.
849 (listing_general_info): New function.
850 (print_options): New function.
851 (print_single_option): New function.
852 (print_timestamp): New function.
853 (MAX_DATELEN): Define.
854 (listing_print): Add call to listing_general_info.
855 * listing.h (LISTING_GENERAL): Define.
856 (listing_print): Add new parameter.
857 * as.c (show_usage): Print new switch.
858 (parse_args): Parse new switch.
859 (main): Pass command line on to listing_print.
860 * NEWS: Mention this new feature.
861 * doc/as.texinfo: Document the new sub-option.
863 2008-04-08 Alan Modra <amodra@bigpond.net.au>
865 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
866 call. Delete out of date comment.
867 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
868 (dwarf2_emit_label): Don't emit unless there has been a previous
869 .file or we are outputting assembler generated debug.
870 dwarf2_consume_line_info after emitting line info, not before.
871 (out_debug_info): Simplify files_in_use test.
873 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
875 * config/tc-i386.c (parse_real_register): Return AVX register
876 only if AVX is enabled.
878 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
881 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
882 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
884 2008-04-04 Adrian Bunk <bunk@stusta.de>
885 Bob Wilson <bob.wilson@acm.org>
887 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
888 call to decode_reloc.
890 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
892 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
894 * config/tc-i386.c (cpu_arch): Add .pclmul.
895 (md_show_usage): Replace clmul with pclmul.
896 * doc/c-i386.texi: Likewise.
898 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
900 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
902 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
903 Document -msse2avx, .avx, .aes, .clmul and .fma.
905 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
906 (vex_prefix): Likewise.
908 (CPU_FLAGS_ARCH_MATCH): Likewise.
909 (CPU_FLAGS_64BIT_MATCH): Likewise.
910 (CPU_FLAGS_32BIT_MATCH): Likewise.
911 (CPU_FLAGS_PERFECT_MATCH): Likewise.
913 (vex_imm4): Likewise.
914 (fits_in_imm4): Likewise.
915 (build_vex_prefix): Likewise.
916 (VEX_check_operands): Likewise.
917 (bad_implicit_operand): Likewise.
918 (OPTION_MSSE2AVX): Likewise.
919 (T_YMMWORD): Likewise.
920 (_i386_insn): Add vex.
921 (cpu_arch): Add .avx, .aes, .clmul and .fma.
922 (cpu_flags_match): Changed to take a pointer to const template.
923 Enable encoding SSE instructions with VEX prefix for -msse2avx.
924 (match_mem_size): Also check ymmword.
925 (operand_type_match): Clear ymmword.
926 (md_begin): Allow '_' in mnemonic.
927 (type_names): Add OPERAND_TYPE_VEX_IMM4.
928 (process_immext): Update assert.
929 (md_assemble): Don't call process_immext if sse2avx and immext
930 are true. Call build_vex_prefix if vex is true.
931 (parse_insn): Updated for cpu_flags_match.
932 (swap_operands): Handle 5 operands.
933 (match_template): Handle 5 operands. Updated for cpu_flags_match.
934 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
935 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
936 (check_byte_reg): Check regymm.
937 (process_operands): Duplicate the destination register for
939 (build_modrm_byte): Updated for instructions with VEX encoding.
940 (output_insn): Output VEX prefix if needed.
941 (md_longopts): Add msse2avx.
942 (md_parse_option): Handle OPTION_MSSE2AVX.
943 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
944 (intel_e09): Support YMMWORD.
945 (intel_e11): Likewise.
946 (intel_get_token): Likewise.
948 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
950 * config/tc-avr.c (mcu_types): Add attiny167.
951 * doc/c-avr.texi: Likewise.
953 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
955 * config/tc-avr.c (mcu_types): Add atmega32u4.
956 * doc/c-avr.texi: Likewise.
958 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
960 * config/tc-avr.c (mcu_types): Add atmega32c1.
961 * doc/c-avr.texi: Likewise.
963 2008-03-28 Paul Brook <paul@codesourcery.com>
965 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
966 to avoid spurious symbols.
968 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
970 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
973 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
975 * config/tc-avr.c (mcu_types): Add atmega32m1.
976 * doc/c-avr.texi: Likewise.
978 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
980 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
982 (do_neon_ext): Fix sign of comparison.
984 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
986 From Jie Zhang <jie.zhang@analog.com>
987 * config/bfin-parse.y (asm_1): Check AREGS in comparison
988 instructions. And call yyerror when comparing PREG with
990 (check_macfunc_option): New.
991 (check_macfuncs): Check option by calling check_macfunc_option.
992 Fix comparison always true warnings. Both scalar instructions
993 of vector instruction must share the same mode option. Only allow
994 option mode at the end of the second instruction of the vector.
995 (asm_1): Check option by calling check_macfunc_option.
997 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
998 option for multiply and multiply-accumulate to data register
1000 (check_macfuncs): Don't check if accumulator matches the data register
1002 (assign_macfunc): Check if accumulator matches the
1003 data register in each rule that moves to the data
1006 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
1007 generated for LOOP_BEGIN and LOOP_END instructions.
1008 (bfin_gen_loop): Likewise.
1010 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
1012 * config/tc-s390.c (md_parse_option): z10 option added.
1014 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1016 * aclocal.m4: Regenerate.
1017 * configure: Likewise.
1018 * Makefile.in: Likewise.
1019 * doc/Makefile.in: Likewise.
1021 2008-03-17 Adrian Bunk <bunk@stusta.de>
1024 * config/tc-hppa.c (is_same_frag): Delete.
1026 2008-03-14 Sterling Augustine <sterling@tensilica.com>
1028 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
1029 RELAX_LOOP_END_ADD_NOP.
1031 2008-03-13 Evandro Menezes <evandro@yahoo.com>
1034 * read.c (s_mexit): Warn if attempting to exit a macro when not
1035 inside a macro definition.
1037 2008-03-13 Alan Modra <amodra@bigpond.net.au>
1039 * Makefile.am: Run "make dep-am".
1040 * Makefile.in: Regenerate.
1041 * configure: Regenerate.
1043 2008-03-09 Paul Brook <paul@codesourcery.com>
1045 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
1046 * doc/c-arm.texi: Add cortex-a9.
1048 2008-03-09 Paul Brook <paul@codesourcery.com>
1050 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
1051 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
1052 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
1053 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
1054 * doc/c-arm.texi: Document new ARM FPU variants.
1056 2008-03-07 Paul Brook <paul@codesourcery.com>
1058 * config/tc-arm.c (md_apply_fix): Use correct offset range.
1060 2008-03-07 Alan Modra <amodra@bigpond.net.au>
1062 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
1063 for strict ordering of powerpc_opcodes, but disable for now.
1065 2008-03-04 Paul Brook <paul@codesourcery.com>
1067 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
1068 (arm_ext_v7m): Rename...
1069 (arm_ext_m): ... to this. Include v6-M.
1070 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
1071 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
1072 (md_assemble): Allow wide msr instructions.
1073 (insns): Add classifications for v6-m instructions.
1074 (arm_cpu_option_table): Add cortex-m1.
1075 (arm_arch_option_table): Add armv6-m.
1076 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
1078 2008-03-03 Sterling Augustine <sterling@tensilica.com>
1079 Bob Wilson <bob.wilson@acm.org>
1081 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
1082 (md_begin): Initialize it.
1083 (resources_conflict): Use it.
1085 2008-03-03 Sterling Augustine <sterling@tensilica.com>
1087 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
1089 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
1090 H.J. Lu <hongjiu.lu@intel.com>
1093 * read.c (pseudo_set): Don't allow global register symbol.
1095 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
1098 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
1101 * write.c (write_object_file): Don't allow symbols which were
1102 equated to register. Stop if there is an error.
1104 2008-03-01 Alan Modra <amodra@bigpond.net.au>
1106 * config/tc-ppc.h (struct _ppc_fix_extra): New.
1108 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
1109 * config/tc-ppc.c (ppu_cpu): Make global.
1110 (ppc_insert_operand): Add ppu_cpu parameter.
1111 (md_assemble): Adjust for above change.
1112 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
1114 2008-02-22 Nick Clifton <nickc@redhat.com>
1116 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
1117 targeted ARM ports, otherwise just skip generating the reloc.
1119 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
1121 * doc/c-i386.texi: Update -march= and .arch.
1123 2008-02-18 Nick Clifton <nickc@redhat.com>
1125 * config/tc-mn10300.c (has_known_symbol_location): New function.
1126 Do not regard weak symbols as having a known location.
1127 (md_estimate_size_before_relax): Use new function.
1128 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
1130 2008-02-18 Jan Beulich <jbeulich@novell.com>
1132 * config/tc-i386.c (match_template): Disallow 'l' suffix when
1133 currently selected CPU has no 32-bit support.
1134 (parse_real_register): Do not return registers not available on
1135 currently selected CPU.
1137 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
1139 * config/tc-i386.c (process_immext): Fix format.
1141 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
1143 * config/tc-i386.c (inoutportreg): New.
1144 (process_immext): New.
1145 (md_assemble): Use it.
1146 (update_imm): Use imm16 and imm32s.
1147 (i386_att_operand): Use inoutportreg.
1149 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
1151 * config/tc-i386.c (operand_type_all_zero): New.
1152 (operand_type_set): Likewise.
1153 (operand_type_equal): Likewise.
1154 (cpu_flags_all_zero): Likewise.
1155 (cpu_flags_set): Likewise.
1156 (cpu_flags_equal): Likewise.
1157 (UINTS_ALL_ZERO): Removed.
1158 (UINTS_SET): Likewise.
1159 (UINTS_CLEAR): Likewise.
1160 (UINTS_EQUAL): Likewise.
1161 (cpu_flags_match): Updated.
1162 (smallest_imm_type): Likewise.
1163 (set_cpu_arch): Likewise.
1164 (md_assemble): Likewise.
1165 (optimize_imm): Likewise.
1166 (match_template): Likewise.
1167 (process_suffix): Likewise.
1168 (update_imm): Likewise.
1169 (process_drex): Likewise.
1170 (process_operands): Likewise.
1171 (build_modrm_byte): Likewise.
1172 (i386_immediate): Likewise.
1173 (i386_displacement): Likewise.
1174 (i386_att_operand): Likewise.
1175 (parse_real_register): Likewise.
1176 (md_parse_option): Likewise.
1177 (i386_target_format): Likewise.
1179 2008-02-14 Dimitry Andric <dimitry@andric.com>
1182 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
1183 pointer past the comma after parsing a floating point register
1186 2008-02-14 Hakan Ardo <hakan@debian.org>
1189 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
1191 (avr_operand): Disallow post-increment addressing in the lpm
1192 instruction for the attiny26.
1194 2008-02-13 Jan Beulich <jbeulich@novell.com>
1196 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
1197 if not in Intel mode.
1198 (i386_intel_operand): Ignore segment overrides in immediate and
1200 (intel_e11): Range-check i.mem_operands before use as array
1201 index. Filter out FLAT for uses other than as segment override.
1202 (intel_get_token): Remove broken promotion of "FLAT:" to mean
1205 2008-02-13 Jan Beulich <jbeulich@novell.com>
1207 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
1209 2008-02-13 Jan Beulich <jbeulich@novell.com>
1211 * config/tc-i386.c (allow_pseudo_reg): New.
1212 (parse_real_register): Check for NULL just once. Allow all
1213 register table entries when allow_pseudo_reg is non-zero.
1214 Don't allow any registers without type when allow_pseudo_reg
1216 (tc_x86_regname_to_dw2regnum): Replace with ...
1217 (tc_x86_parse_to_dw2regnum): ... this.
1218 (tc_x86_frame_initial_instructions): Adjust for above change.
1219 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
1220 (tc_parse_to_dw2regnum): New.
1221 (tc_x86_regname_to_dw2regnum): Replace with ...
1222 (tc_x86_parse_to_dw2regnum): ... this.
1223 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
1224 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
1227 2008-02-12 Nick Clifton <nickc@redhat.com>
1229 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
1231 (tic4x_insn_add): Likewise.
1232 (md_begin): Drop cast that was discarding a const qualifier.
1233 * config/tc-d30v.c (get_reloc): Add const qualifier to op
1235 (build_insn): Drop cast that was discarding a const qualifier.
1237 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
1239 * config/tc-i386.c (cpu_arch): Add .xsave.
1240 (md_show_usage): Add .xsave.
1242 * doc/c-i386.texi: Add xsave to -march=.
1244 2008-02-07 Alan Modra <amodra@bigpond.net.au>
1246 * read.c (s_weakref): Don't pass unadorned NULL to concat.
1247 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
1249 2008-02-05 Sterling Augustine <sterling@tensilica.com>
1251 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
1252 checks into assertions. When relaxation produces an operation that
1253 does not fit in the current FLIX instruction, make sure that the
1254 operation is relaxed as needed to account for being placed following
1255 the current instruction.
1257 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
1260 * configure: Regenerated.
1262 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
1264 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
1266 2008-01-31 Marc Gauthier <marc@tensilica.com>
1268 * configure.tgt (xtensa*-*-*): Recognize processor variants.
1270 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
1272 * read.c: (emit_expr): Correct for mingw use of printf size
1275 2008-01-24 Bob Wilson <bob.wilson@acm.org>
1277 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
1278 can only be encoded in FLIX instructions but are not specified as such.
1279 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
1282 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
1284 * NEWS: Mention new command line options for x86 targets.
1286 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
1288 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
1290 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
1292 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
1294 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
1296 * config/tc-i386.c (md_show_usage): Show more processors for
1299 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1301 * config/tc-i386.c (i386_target_format): Remove cpummx2.
1303 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1305 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
1306 (XXX_MNEM_SUFFIX): Likewise.
1307 (END_OF_INSN): Likewise.
1308 (templates): Likewise.
1309 (modrm_byte): Likewise.
1310 (rex_byte): Likewise.
1311 (DREX_XXX): Likewise.
1312 (drex_byte): Likewise.
1313 (sib_byte): Likewise.
1314 (processor_type): Likewise.
1315 (arch_entry): Likewise.
1316 (cpu_sub_arch_name): Remove const.
1317 (cpu_arch): Add .vmx and .smx.
1318 (set_cpu_arch): Append cpu_sub_arch_name.
1319 (md_parse_option): Support -march=CPU[,+EXTENSION...].
1320 (md_show_usage): Updated.
1322 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
1323 (XXX_MNEM_SUFFIX): Likewise.
1324 (END_OF_INSN): Likewise.
1325 (templates): Likewise.
1326 (modrm_byte): Likewise.
1327 (rex_byte): Likewise.
1328 (DREX_XXX): Likewise.
1329 (drex_byte): Likewise.
1330 (sib_byte): Likewise.
1331 (processor_type): Likewise.
1332 (arch_entry): Likewise.
1334 * doc/as.texinfo: Update i386 -march option.
1336 * doc/c-i386.texi: Update -march= for ISA.
1338 2008-01-18 Bob Wilson <bob.wilson@acm.org>
1340 * config/tc-xtensa.c (xtensa_leb128): New function.
1341 (md_pseudo_table): Use it for sleb128 and uleb128.
1342 (is_leb128_expr): New internal flag.
1343 (xtensa_symbol_new_hook): Check new flag.
1345 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
1347 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
1348 at90usb82, at90usb162.
1349 * doc/c-avr.texi: Change architecture grouping for at90usb82,
1351 These changes support the new avr35 architecture group in gcc.
1353 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
1355 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
1356 suffix for AT&T syntax.
1358 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
1360 * config/tc-i386.c (match_reg_size): New.
1361 (match_mem_size): Likewise.
1362 (operand_size_match): Likewise.
1363 (operand_type_match): Also clear all size fields.
1364 (match_template): Skip Intel syntax when in AT&T syntax.
1365 Call operand_size_match to check operand size.
1366 (i386_att_operand): Set the mem field to 1 for memory
1368 (i386_intel_operand): Likewise.
1370 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
1373 * config/tc-i386.c (_i386_insn): Update comment.
1374 (operand_type_match): Also clear unspecified.
1375 (operand_type_register_match): Likewise.
1376 (parse_operands): Initialize unspecified.
1377 (i386_intel_operand): Likewise.
1378 (match_template): Check memory and accumulator operand size.
1379 (i386_att_operand): Clear unspecified on register operand.
1380 (intel_e11): Likewise.
1381 (intel_e09): Set operand size and clean unspecified for
1384 2008-01-11 Andreas Schwab <schwab@suse.de>
1386 * read.c (s_space): Declare `repeat' as offsetT.
1388 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1390 * config/tc-i386.c (match_template): Check processor support
1393 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1395 * config/tc-i386.c (match_template): Continue if processor
1398 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
1400 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
1401 unwind personality function address.
1403 2008-01-09 Bob Wilson <bob.wilson@acm.org>
1405 * dwarf2dbg.c (out_sleb128): Delete.
1406 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
1407 (out_fixed_inc_line_addr): Delete.
1408 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
1409 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
1410 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
1411 (process_entries): Remove calls to out_fixed_inc_line_addr. When
1412 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
1413 * read.h (emit_expr_fix): New prototype.
1414 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
1415 (emit_expr_fix): New.
1417 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
1419 * config/tc-i386.c (match_template): Check register size
1420 only when size of operands can be encoded the canonical way.
1422 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
1424 * config/tc-i386.c (i386_operand): Renamed to ...
1425 (i386_att_operand): This.
1426 (parse_operands): Updated.
1428 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
1430 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
1432 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
1434 (md_assemble): Remove Intel mode workaround.
1435 (match_template): Check support for old gcc, AT&T mnemonic
1437 (md_parse_option): Don't set intel_mnemonic to 0 for
1440 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
1442 * config/tc-i386.h: Update copyright to 2008.
1444 2008-01-04 Nick Clifton <nickc@redhat.com>
1446 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
1447 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
1449 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1451 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
1454 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1456 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
1457 (cpu_flags_not): Likewise.
1458 (cpu_flags_match): Updated to check 64bit and arch.
1459 (set_code_flag): Remove cpu_arch_flags_not.
1460 (set_16bit_gcc_code_flag): Likewise.
1461 (set_cpu_arch): Likewise.
1462 (md_begin): Likewise.
1463 (parse_insn): Call cpu_flags_match to check 64bit and arch.
1464 (match_template): Likewise.
1466 2008-01-03 Jakub Jelinek <jakub@redhat.com>
1468 * config/tc-i386.c (process_drex): Initialize modrm_reg and
1469 modrm_regmem to 0 instead of None.
1471 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1473 * config/tc-i386.c (match_template): Use the xmmword field
1476 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1478 * config/tc-i386.c (process_suffix): Fix a typo.
1480 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1483 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1484 Check memory size in Intel mode.
1485 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1486 (intel_e09): Likewise.
1488 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1490 2008-01-02 Catherine Moore <clm@codesourcery.com>
1492 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1494 For older changes see ChangeLog-2007
1500 version-control: never