1 2009-05-22 Alan Modra <amodra@bigpond.net.au>
3 * Makefile.am: Run "make dep-am".
4 * Makefile.in: Regenerate.
6 2009-05-20 Kai Tietz <kai.tietz@onevision.com>
7 H.J. Lu <hongjiu.lu@intel.com>
9 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
10 (TARGET_FORMAT): Removed for x86 pe-coff.
11 (COFF_TARGET_FORMAT): Likewise.
13 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
14 (md_parse_option): Likewise.
15 (md_show_usage): Show option --32/--64 for x86 pe-coff.
16 (i386_target_format): Use also for x86 pe-coff.
18 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
21 2009-05-19 DJ Delorie <dj@redhat.com>
23 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
24 (mep_process_saved_insns): Remove debugging printfs.
26 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
28 * NEWS: Mention new feature.
29 * config/obj-coff.c (obj_coff_common_parse): New function.
30 (obj_coff_comm): Likewise.
31 (coff_pseudo_table): Override default ".comm" definition on PE.
32 * doc/as.texinfo: Document new feature.
34 2009-05-17 Kai Tietz <kai.tietz@onevision.com>
36 * config/obj-coff.c (obj_coff_section): Add 'y' as
37 specifier for SEC_COFF_NOREAD section flag.
38 * doc/as.texinfo: Add documentation about .section flag 'y'.
40 2009-05-13 DJ Delorie <dj@redhat.com>
42 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
44 2009-05-13 Andrew Jenner <andrew@codesourcery.com>
46 * config/tc-arm.c: Move as.h to start of file.
48 2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
50 * config/tc-arm.h: Fix typo in comment.
51 (ARM_IS_FUNC): New macro.
52 (MD_APPLY_SYM_VALUE): Define.
54 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
56 (relax_branch): Do not relax for branches to ARM functions.
57 (md_pcrel_from_section): Set up base correctly for
58 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
59 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
60 BFD_RELOC_ARM_PCREL_CALL.
61 (md_apply_fix): Flip bl to blx where possible.
62 Flip blx to bl where possible.
63 (arm_force_relocation): Force relocations for
64 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
65 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
66 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
67 BFD_RELOC_THUMB_PCREL_BRANCH25.
68 (arm_apply_sym_value): New function.
70 2009-05-04 Tristan Gingold <gingold@adacore.com>
72 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
74 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
76 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
77 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
78 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
79 the default FPU from the processor.
81 2009-05-01 Julian Brown <julian@codesourcery.com>
83 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
84 (md_pcrel_from_section): Align address for BLX.
85 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
86 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
88 2009-04-29 DJ Delorie <dj@redhat.com>
90 * config/tc-mep.c (md_begin): Check coprocessor type.
91 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
92 (md_check_parallel32_scheduling): Likewise.
94 (mep_check_ivc2_scheduling): New.
95 (mep_check_parallel_scheduling): Call it.
96 (mep_process_saved_insns): Add IVC2 slot support.
97 (md_assemble): Likewise.
99 2009-04-30 Nick Clifton <nickc@redhat.com>
101 * config/obj-elf.c (obj_elf_type): Add support for a
102 gnu_indirect_function type.
103 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
104 against indirect function symbols.
105 * doc/as.texinfo (.type): Document the support for the
106 gnu_indirect_function symbol type.
107 * NEWS: Mention the new feature.
109 2009-04-24 Cary Coutant <ccoutant@google.com>
111 * NEWS: Add item about discriminator support.
112 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
113 * dwarf2dbg.c (current): Add discriminator field.
114 (dwarf2_where): Copy discriminator value.
115 (dwarf2_consume_line_info): Set discriminator to 0.
116 (dwarf2_directive_loc): Process discriminator sub-op.
117 (out_leb128): New function.
118 (process_entries): Output DW_LNE_set_discriminator.
119 * doc/as.texinfo: Add discriminator operand to .loc directive.
121 2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
123 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
124 as_bad calls to silence compiler warning.
126 2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
128 * config/tc-i386-intel.c (O_XXX): Reorder.
130 2009-04-20 Jan Beulich <jbeulich@novell.com>
132 * Makefile.am: Add explicit dependency of tc-i386.o on
134 * Makefile.in: Likewise.
135 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
136 out from i386_immediate.
137 (i386_immediate): Slightly re-arrange, call
138 i386_finalize_immediate.
139 (i386_finalize_displacement): Declare, broken out from
141 (i386_displacement): Slightly re-arrange, call
142 i386_finalize_displacement.
143 (i386_intel_simplify, i386_intel_parse_name): Declare.
144 (this_operand): Initialize to -1.
145 (set_intel_syntax): Set expression rank for O_full_ptr.
146 (md_assemble): Set this_operand back to -1 after parsing
148 (x86_cons): Negate intel_syntax to indicate state. Call
150 (md_operand): Convert if to switch. Handle '[' for Intel
152 (i386_intel_operand): Delete, including all helper functions
154 * config/tc-i386-intel.c: New file, all new code.
155 * config/tc-i386.h (i386_operator): Declare.
156 (md_operator): Define to i386_operator.
157 (i386_need_index_operator): Declare.
158 (md_need_index_operator): Define to i386_need_index_operator.
159 (O_full_ptr): Define.
161 2009-04-20 Jan Beulich <jbeulich@novell.com>
163 * expr.c (operand): Call md_need_index_operator() and
164 md_operator() if defined. Add unary label.
165 (operator): Call md_operator() if defined.
166 (expr): Adjust assertions on range and rank of op_left and
167 op_right. Don't abort on unhandled operators when reducing
168 expressions with both operands being constant.
169 (expr_set_rank): New.
170 * expr.h (expr_set_rank): Declare.
172 2008-04-15 Anthony Green <green@moxielogic.com>
174 * config/tc-moxie.h: New file.
175 * config/tc-moxie.c: New file.
176 * configure: Add support for moxie.
177 * configure.tgt: Add support for moxie.
179 2009-04-16 Jan Beulich <jbeulich@novell.com>
181 * expr.c: Include limits.h if available, and #define CHAR_BITS
183 (expr): Check range of shift count when evaluating a constant
186 2009-04-15 Jan Beulich <jbeulich@novell.com>
188 * config/tc-i386.c (process_operands): Print operands in
189 correct order depending on intel_syntax.
191 2009-04-09 Catherine Moore <clm@codesourcery.com>
193 * config/tc-mips.c (mips_fix_24k): Declare.
194 (check_for_24k_errata): New.
195 (mips_cleanup): Call check_for_24k_errata.
196 (start_noreorder): Likewise.
197 (md_mips_end): Likewise.
198 (s_change_sec): Likewise.
199 (s_change_section): Likewise.
200 (append_insn): Call check_for_24k_errata. Prevent
201 ERET/DERET instructions from being moved into delay
203 (OPTION_FIX_24K): New.
204 (OPTION_NO_FIX_24k) New.
205 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
206 (md_parse_option): Handle fix-24k options.
207 (md_show_usage): Display fix-24k options.
208 * doc/c-mips.texi: Document.
210 2009-04-09 Adam Nemet <anemet@caviumnetworks.com>
212 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
213 instead of HAVE_64BIT_SYMBOLS.
215 2009-04-07 DJ Delorie <dj@redhat.com>
217 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
218 (md_show_usage): Change default endian to little.
219 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
221 2009-04-06 DJ Delorie <dj@redhat.com>
223 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
225 (build_bytes): Pass insn to do_a_fix_imm.
227 2009-04-02 Daniel Gutson <dgutson@codesourcery.com>
229 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
230 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
233 2009-04-01 Matt Thomas <matt@netbsd.org>
235 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
236 (md_assemble): emit symbol name when used as immediate in PIC mode.
237 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
239 2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
241 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
243 2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
245 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
246 (find_real_start): Likewise.
247 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
249 2009-04-01 Nathan Sidwell <nathan@codesourcery.com>
251 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
252 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
255 2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
257 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
259 2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
261 * doc/internals.texi: Fix trivial syntax errors.
263 2009-03-26 Alan Modra <amodra@bigpond.net.au>
266 * config/tc-i386.c (reloc): Don't abort on lack of required
269 2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
271 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
274 2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
277 * listing.c (listing_newline): Properly handle `\\"' and ';'.
279 * read.c (is_end_of_line): Update comments for line separator.
280 (read_begin): Set line separator in is_end_of_line to 2.
282 2009-03-19 David S. Miller <davem@davemloft.net>
284 * config/tc-sparc.c (md_parse_option): If the user gives
285 us '--64' make sure max_architecture is at least V9.
287 2009-03-18 Andrew Stubbs <ams@codesourcery.com>
289 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
290 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
291 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
293 2009-03-18 Alan Modra <amodra@bigpond.net.au>
295 * as.h: Include alloca-conf.h instead of config.h and remove
296 existing #if's handling alloca.
297 * Makefile.am: Run "make dep-am".
298 * Makefile.in: Regenerate.
300 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
302 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
305 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
307 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
308 "value" from fx_offset. Manually resubtract md_pcrel_from_section
311 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
313 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
314 * configure.in: Likewise.
315 * configure: Regenerate.
317 2009-03-11 Hans-Peter Nilsson <hp@axis.com>
319 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
320 Rename, changing all callers, to...
321 (md_create_short_jump): Adjust head comment. Assert
322 word-sized-branch distance for v32. Bail out calling as_fatal for
323 compatibility mode here.
324 (md_create_long_jump): ...not here.
325 * config/tc-cris.h (md_create_short_jump): Do not define.
327 2009-03-10 Hans-Peter Nilsson <hp@axis.com>
329 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
330 the jump table for multiple overflowing entries with the same
331 target, handle base symbols being different.
332 (relax_segment) <case rs_broken_word, second loop>: Whenever a
333 single entry overflows, arrange to redirect all entries with the
336 2009-03-10 Alan Modra <amodra@bigpond.net.au>
338 * config/tc-ppc.c (parse_cpu): Delete.
339 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
341 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
344 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
345 (LOCAL_LABELS_FB): Undefine befoe define.
347 2009-03-06 Nick Clifton <nickc@redhat.com>
349 * po/es.po: Updated Spanish translation.
351 2009-03-05 Joseph Myers <joseph@codesourcery.com>
353 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
354 s_incbin): Call md_cons_align (1).
356 2009-03-04 Nick Clifton <nickc@redhat.com>
358 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
360 (s_alpha_comm): Only define "temp" and "log_align" local variables
363 2009-03-04 Alan Modra <amodra@bigpond.net.au>
365 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
366 have non-zero addend.
367 (md_assemble): Parse args of __tls_get_addr calls.
368 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
370 2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
373 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
374 local scope for ELF targets.
376 2009-03-04 Alan Modra <amodra@bigpond.net.au>
378 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
380 2009-03-03 Tristan Gingold <gingold@adacore.com>
381 Eric Botcazou <ebotcazou@adacore.com>
382 Douglas B Rupp <rupp@gnat.com>
384 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
386 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
387 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
388 (OBJ_SYMFIELD_TYPE): Remove.
389 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
390 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
391 (tc_frob_file_before_fix): Do not defined on evax.
392 * config/tc-alpha.c: Always includes dwarf2dbg.h.
393 Include vms.h if OBJ_EVAX.
394 (struct alpha_fixup): Add xtrasym and procsym (evax only).
395 (enum alpha_macro_arg): Remove trailing comma.
396 (md_longopts): Add replace and noreplace arguments (evax only).
397 (alpha_evax_proc_hash): New variable.
398 (alpha_link_section): Make it global.
399 (alpha_ctors_section, alpha_dtors_section): Removed.
400 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
401 (alpha_lit8_section): Ifndef'ed on evax.
402 (alpha_lit8_symbol): Ditto.
403 (alpha_prologue_label): New variable.
404 (alpha_linkage_symbol): New variable (evax only).
405 (alpha_flag_replace): Ditto.
406 (struct alpha_evax_procs): Add handler and handler_data field.
407 (alpha_evax_proc): Now of type pointer.
408 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
409 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
410 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
411 (alpha_adjust_relocs): Ifndef'ed on evax.
412 (load_expression): Add opname argument.
413 Implement LDA/BSR optimization for evax.
414 (emit_lda): Adjust for new prototype of load_expression.
415 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
416 (emit_loadstore): Likewise.
417 (emit_ldXu): Likewise.
418 (emit_stX): Likewise.
419 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
420 (emit_ldgp): Avoid warning in evax case.
421 (add_to_link_pool): Make it static. Return symbolic expression rather
422 than number expression for the offset.
423 (s_alpha_text): Create .text symbol for evax if not already created.
424 (s_alpha_comm): Do not create specific section for common symbol.
425 Fill common area with zeros for evax.
426 (s_alpha_prologue): Create alpha_prologue_label.
427 (s_alpha_section_name): New function (evax).
428 (s_alpha_section_word): Likewise.
429 (section_name): New static variabke moved out from ...
430 (s_alpha_section): ... here. Create new sections on demand.
431 (s_alpha_literals): New function (evax).
432 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
433 alpha_evax_proc_hash table.
434 (s_alpha_handler): New function (evax).
435 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
436 (s_alpha_prologue): New function (evax).
437 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
438 handling of procedures with hash table.
439 Add support for condition handlers.
440 (s_alpha_linkage): Create linkage_fixup instance and chain it.
441 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
442 (s_alpha_mask): Likewise.
443 (s_alpha_fmask): Likewise.
444 (s_alpha_end): Clear alpha_evax_proc.
445 (s_alpha_align): Increase max_alignment to 16.
446 (alpha_print_token): Call print_expr_1 instead of print_expr.
447 (md_pseudo_table): Add "section", "literals", "handler" and
448 "handler_data" (evax). Do not ignore "prologue" on evax.
450 (md_begin): Create hash table for alpha_evax_proc_hash.
451 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
452 (md_show_usage): Mention -replace/-noreplace for evax.
453 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
454 (alpha_force_relocation): Likewise.
455 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
456 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
457 (emit_insn): New cases for evax specific relocs.
458 (assemble_insn): Fix indentation.
459 Take care of -MDISP in operand table.
460 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
461 (OBJ_SYMFIELD_TYPE): New macro.
462 (obj_symbol_new_hook): Define.
463 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
464 (obj_frob_file_before_fix): Ditto.
465 (PDSC_S_M_HANDLER_VALID): New macro.
466 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
467 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
468 Add prototypes for functions declared in obj-evax.c
469 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
470 (s_evax_weak): Convert to ansi-C.
471 (evax_symbol_new_hook): New function.
472 (evax_frob_symbol): Ditto.
473 (evax_frob_file_before_adjust): Ditto.
474 (evax_frob_file_before_fix): Ditto.
475 (evax_shorten_name): Ditto.
480 (shorten_identifier): Ditto.
481 (is_truncated_identifier): Ditto.
482 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
483 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
486 2009-03-03 Alan Modra <amodra@bigpond.net.au>
488 * Makefile.am: Run "make dep-am".
489 * Makefile.in: Regenerate.
491 2009-03-02 Nick Clifton <nickc@redhat.com>
494 * config/tc-ia64.c (fix_insn): Fix warning reported by
497 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
499 * config/tc-score7.c: New file.
500 * doc/c-score.texi: New file.
501 * Makefile.am: Update dependencies for tc-score.c.
502 * Makefile.in: Regenerate.
503 * NEWS: Mention support for Score7 architecture.
504 * config/tc-score.c: Add support for Score7 architecture.
505 * config/tc-score.h: Likewise.
506 * doc/Makefile.am: Add c-score.texi.
507 * doc/Makefile.in: Regenerate.
508 * doc/all.texi: Add Score7.
509 * doc/as.texinfo: Add Score7.
511 2009-03-01 Mark Mitchell <mark@codesourcery.com>
513 * config/tc-arm.c (md_assemble): Allow barrier instructions on
516 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
518 * configure: Regenerate.
520 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
522 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
523 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
524 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
526 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
528 * config/tc-i386.c (fits_in_imm4): Removed.
530 2009-02-24 Helge Deller <deller@gmx.de>
532 * config/tc-hppa.c (pa_ip): Add check of immediate values.
533 (SAVE_IMMEDIATE): New define.
535 2009-02-23 Mark Mitchell <mark@codesourcery.com>
537 * config/tc-arm.c (warn_deprecated_sp): New macro.
538 (do_t_mov_cmp): Permit R13 as the second
541 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
543 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
544 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
546 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
548 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
550 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
552 * config/tc-i386.c (vex_imm4): Removed.
553 (VEX_check_operands): Likewise.
554 (match_template): Updated.
556 2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
558 * doc/all.texi: Set S390.
559 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
560 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
561 * doc/Makefile.in: Likewise.
562 * doc/c-s390.texi: New.
564 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
566 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
567 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
568 (mcf5307_ctrl): Add VBR.
569 (no_mac): New variable.
570 (m68k_extensions): Refer to no_mac mask.
571 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
572 52252..52259, 53011..53017.
573 (m68k_ip): Process CPUCR.
574 (init_table): Add cpucr entry.
575 (m68k_set_extension): Allow negated mask to refer to a variable.
576 (md_show_usage): Use '%s' to silence fprintf warning.
577 * config/m68k-parse.h (CPUCR): New control register.
579 2009-02-10 Nathan Sidwell <nathan@codesourcery.com>
581 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
582 as_bad calls to silence compiler warning.
584 2009-02-06 Nick Clifton <nickc@redhat.com>
587 * config/tc-arm.c (MODE_RECORDED): New define.
588 (output_inst): Record the thumb_mode in the current frag.
589 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
590 (arm_init_frag): Only set the tc_frag_data field if it has not
593 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
595 AVX Programming Reference (January, 2009)
596 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
597 (CPU_FLAGS_AVX_MATCH): Updated.
598 (CPU_FLAGS_32BIT_MATCH): Likewise.
599 (cpu_flags_match): Likewise.
601 2009-02-03 Sandip Matte <sandip@rmicorp.com>
603 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
604 M_MSGWAIT and M_MSGWAIT_T.
605 (mips_cpu_info_table): Add XLR entry.
606 * doc/c-mips.texi (-march): Document xlr.
608 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
610 * config/tc-avr.c (mcu_types): Add ata6289.
611 * doc/c-avr.texi: Likewise.
613 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
615 * configure.in: AC_SUBST pdfdir.
616 * Makefile.am: Add install-pdf, install-pdf-am,
617 and install-pdf-recursive targets.
618 * doc/Makefile.am: Define pdf__strip_dir. Add
619 install-pdf and install-pdf-am targets.
620 * po/Make-in: Add install-pdf target.
621 * configure: Regenerate.
622 * Makefile.in: Regenerate.
623 * doc/Makefile.in: Regenerate.
625 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
627 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
629 * config/m68k-parse.y (yylex): Parse TLS relocations.
630 * config/tc-m68k.c (m68k_elf_cons): New static function.
631 (md_pseudo_table): Use it.
632 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
634 (md_apply_fix): Fix to set thread local flag.
635 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
637 2009-02-03 Vince Weaver <vince@csl.cornell.edu>
640 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
641 indexed addressing for symbolic expressions.
643 2009-01-29 Mark Mitchell <mark@codesourcery.com>
645 * config/tc-arm.c (BAD_SP): Define.
646 (s_arm_unwind_fnstart): Use REG_SP.
647 (s_arm_unwind_setfp): Likewise.
648 (reject_bad_reg): New macro.
649 (do_co_reg): Check for bad registers.
650 (do_co_reg2c): Likewise.
651 (do_srs): Use REG_SP.
652 (do_t_add_sub): Check for bad registers.
653 (do_t_adr): Likewise.
654 (do_t_arit3): Likewise.
655 (do_t_arit3c): Likewise.
656 (do_t_bfc): Likewise.
657 (do_t_bfi): Likewise.
658 (do_t_bfx): Likewise.
659 (do_t_blx): Likewise.
661 (do_t_bxj): Likewise.
662 (do_t_clz): Likewise.
663 (do_t_div): Likewise.
664 (do_t_mla): Likewise.
665 (do_t_mlal): Likewise.
666 (do_t_mov_cmp): Likewise.
667 (do_t_mov16): Likewise.
668 (do_t_mvn_tst): Likewise.
669 (do_t_mrs): Likewise.
670 (do_t_msr): Likewise.
671 (do_t_mul): Likewise.
672 (do_t_mull): Likewise.
673 (do_t_orn): Likewise.
674 (do_t_pkhbt): Likewise.
675 (do_t_pld): Likewise.
676 (do_t_rbit): Likewise.
677 (do_t_rev): Likewise.
678 (do_t_rrx): Likewise.
679 (do_t_rsb): Likewise.
680 (do_t_shift): Likewise.
681 (do_t_simd): Likewise.
682 (do_t_ssat): Likewise.
683 (do_t_ssat16): Likewise.
684 (do_t_sxtah): Likewise.
685 (do_t_sxth): Likewise.
687 (do_t_usat): Likewise.
688 (do_t_usat16): Likewise.
689 (nysn_insert_sp): Use REG_SP.
691 2009-01-29 Mark Mitchell <mark@codesourcery.com>
693 * config/tc-arm.c (do_t_orn): New function.
694 (do_t_rrx): Likewise.
695 (insns): Add orn and rrx.
697 2009-01-29 Mark Mitchell <mark@codesourcery.com>
699 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
700 uasx, uhasx, uhsx, uqasx, uqsax, usax.
702 2009-01-29 Mark Mitchell <mark@codesourcery.com>
704 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
705 qdsub in Thumb-2 mode.
707 2009-01-29 Paul Brook <paul@codesourcery.com>
708 Mark Mitchell <mark@codesourcery.com>
710 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
711 of MUL when possible.
713 2009-01-29 Nick Clifton <nickc@redhat.com>
715 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
717 2009-01-29 Nathan Sidwell <nathan@codesourcery.com>
718 Catherine Moore <clm@codesourcery.com?
720 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
721 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
724 2009-01-27 Nick Clifton <nickc@redhat.com>
726 * config/tc-mips.c (append_insn): Cope with a complex reloc
727 sequence containing an unsupported reloc type.
728 (enum options): Replace computed #define's constants for option
729 numbers with this enum.
730 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
732 (md_parse_option): Allow -32 in a non-ELF environment.
734 2009-01-26 Andrew Stubbs <ams@codesourcery.com>
736 * config/tc-arm.c (attributes_set_explicitly): New array.
737 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
738 (cpu_arch): Add ARM_ARCH_V5T.
739 (aeabi_set_attribute_int): New function.
740 (aeabi_set_attribute_string): New function.
741 (aeabi_set_public_attributes): Set attributes according to the user's
742 intentions, rather than the actual state of the binary.
743 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
744 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
745 Support WMMXv2. Use attribute names instead of numbers.
746 * read.c (s_vendor_attribute): Change return type to int.
747 Return the tag number that was set.
748 * read.h (s_vendor_attribute): Change return type to int.
750 2009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
753 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
754 * doc/c-avr.texi: Likewise.
756 2009-01-23 Nathan Sidwell <nathan@codesourcery.com>
758 * doc/c-arm.texi (): Document -mwarn-deprecated.
759 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
760 (warn_on_deprecated): ... this.
761 (opcode_lookup, md_assemble): Check it before warning.
762 (arm_opts): Add m[no-]warn-deprecated.
763 (md_parse_option): Replace WARN_DEPRECATED with
766 2009-01-23 Andreas Schwab <schwab@suse.de>
768 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
769 arguments to macro_build to match format.
771 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
772 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
774 2009-01-19 Nick Clifton <nickc@redhat.com>
776 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
777 ELF format ARM targets.
778 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
780 2009-01-19 Nick Clifton <nickc@redhat.com>
782 * configure.tgt: Restore alpha sorting to object format switch
785 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
787 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
789 2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
791 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
792 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
794 2009-01-16 Andrew Stubbs <ams@codesourcery.com>
795 Daniel Jacobowitz <dan@codesourcery.com>
797 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
798 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
799 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
800 * read.c (s_vendor_attribute): Add support for symbolic tag names.
801 Improve string parser.
802 * doc/c-arm.texi (ARM Machine Directives): Document
803 .eabi_attribute symbolic tag names.
805 2009-01-16 Alan Modra <amodra@bigpond.net.au>
807 * configure.in (commonbfdlib): Delete.
808 * configure: Regenerate.
809 * po/POTFILES.in: Regenerate.
811 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
812 Julian Brown <julian@codesourcery.com>
814 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
816 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
818 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
819 bfd_elf_add_obj_attr_int_string.
821 2009-01-15 Douglas B Rupp <rupp@gnat.com>
823 * configure.tgt(ia64-*-*vms*): New target.
824 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
825 * tc.h (md_number_to_chars): Declare iff undefined.
826 * config/obj-elf.c (obj_elf_change_section): Change type of arg
828 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
829 variables attr, md_attr to bfd_vma.
830 (obj_elf_section_word): Likewise.
831 (obj_elf_section): Change type of variable attr to bfd_vma
832 * config/obj-elf.h (obj_elf_change_section): Change type of arg
834 * config/tc-ia64.c (bfdver.h,time.h): Include.
835 (ia64_elf_section_letter): Now returns a bfd_vma.
836 Handle VMS specific attributes.
837 (ia64_elf_section_flags): Arg attr now a bfd_vma.
838 (ia64_init): Don't turn on dependency checking for VMS.
839 (ia64_target_format): Check for VMS flag bit.
840 (do_alias): Hande decc$ functions.
841 (get_vms_time): New function.
842 (ia64_vms_note): New function.
843 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
844 (ia64_elf_section_flags): Arg attr now a bfd_vma.
845 (tc_init_after_args): Define for VMS.
846 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
847 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
848 * config/tc-alpha.h: Likewise.
849 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
850 (x86_64_section_word): Return a bfd_vma.
851 * config/tc-i386.h: Likewise.
852 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
854 * config/tc-ip2k.h: Likewise.
855 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
856 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
857 * config/tc-mep.h: Likewise.
858 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
859 (ppc_section_word): Return a bfd_vma.
860 (ppc_section_flags): Change type of arg attr to bfd_vma.
861 * config/tc-ppc.h: Likewise.
862 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
863 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
864 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
865 New file with new macros
866 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
869 2009-01-15 Nick Clifton <nickc@redhat.com>
872 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
873 instructions before generating a Thumb2 nop.
875 2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
877 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
879 2009-01-12 Alan Modra <amodra@bigpond.net.au>
881 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
883 (md_assemble): Poke brinfo into branch instructions.
884 (spu_brinfo): New function.
885 (md_apply_fix): Don't assume insn fields start off at zero, mask
886 them to remove possible brinfo.
888 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
890 * doc/c-i386.texi: Reformat.
892 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
894 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
896 (i386_align_code): Handle PROCESSOR_COREI7.
897 (md_show_usage): Add corei7, clflush and syscall.
898 (i386_target_format): Replace cpup4 with cpuclflush.
900 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
902 * doc/c-i386.texi: Document corei7, clflush and syscall.
904 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
906 * config/tc-i386.c (cpu_arch): Add .rdtscp.
907 (md_show_usage): Display rdtscp.
909 * doc/c-i386.texi: Document rdtscp.
911 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
913 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
914 Test the new "deprecated" opcode field.
916 2009-01-07 Sterling Augustine <sterling@tensilica.com>
918 * config/tc-xtensa.c (produce_flix): New.
919 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
920 (md_longopts): Add support for them.
921 (md_parse_option): Likewise.
922 (md_show_usage): Add help message.
923 (finish_vinsn): Don't allow multi-slot flix when produce_flix
924 option is set to FLIX_NONE.
925 * config/xtensa-relax.c (transition_applies): Only relax to
926 flix branches when produce_flix equals FLIX_ALL.
927 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
929 (produce_flix): Declare.
931 2009-01-06 Chao-ying Fu <fu@mips.com>
933 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
934 Use strncmp to match jalr and jalr.hb.
937 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
939 AVX Programming Reference (December, 2008)
940 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
941 support. Don't swap REG and NDS for FMA.
943 2009-01-02 Matthias Klose <doko@ubuntu.com>
945 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
948 For older changes see ChangeLog-2008
954 version-control: never