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