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