gas/
[binutils.git] / gas / ChangeLog
blob13750e00c4b81dcfef693b44f4635a9049338605
1 2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>
3         PR gas/10198
4         * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
6 2009-05-26  Catherine Moore  <clm@codesourcery.com>
8         * config/tc-mips.c (check_for_24k_errata): Remove.
9         (md_mips_end): Remove call to check_for_24k_errata.
10         (start_noreorder): Likewise.
11         (s_change_sec): Likewise.
12         (s_change_section): Likewise.
13         (insns_between): Add 24k errata checks.
14         (append_insn): Remove declaration and references to nhdx_24k.
15         Remove calls to check_for_24k_errata.
16             
17 2009-05-26  Nick Clifton  <nickc@redhat.com>
19         * po/id.po: Updated Indonesian translation.
20         * po/gas.pot: Updated template file.
22 2009-05-26  Nick Clifton  <nickc@redhat.com>
24         PR 10143
25         * config/bfin-parse.y (error): Use "%s" as format string for error
26         message.
28 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
30         * dep-in.sed: Output one filename per line with all lines having
31         continuation backslash.  Prefix first line with "A", following
32         lines with "B".
33         * Makefile.am (DEP): Don't use dep.sed here.
34         (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
35         sort and uniq.
36         (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
37         Emit multi dependencies on one line.
38         * Makefile.in: Regenerate.
40 2009-05-25  Tristan Gingold  <gingold@adacore.com>
42         * makefile.vms: New file to compile gas on VMS.
44         * configure.com: New file to do configuration on VMS with DCL.
46 2009-05-23  Richard Sandiford  <rdsandiford@googlemail.com>
48         * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
49         (nops_for_insn): Likewise.
51 2009-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53         * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
55 2009-05-22  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
57         * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
58         (build_modrm_byte): Remove DREX handling support.
59         (DREX_*): Delete.
60         (drex_byte): Delete.
61         (md_assemble): Remove DREX handling support.
62         (process_operands): Remove DREX, SSE5 support.
63         (i386_insn): Remove DREX.
64         
65 2009-05-22  Alan Modra  <amodra@bigpond.net.au>
67         * Makefile.am: Run "make dep-am".
68         * Makefile.in: Regenerate.
70 2009-05-20  Kai Tietz  <kai.tietz@onevision.com>
71             H.J. Lu  <hongjiu.lu@intel.com>
73         * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
74         (TARGET_FORMAT): Removed for x86 pe-coff.
75         (COFF_TARGET_FORMAT): Likewise.
77         * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
78         (md_parse_option): Likewise.
79         (md_show_usage): Show option --32/--64 for x86 pe-coff.
80         (i386_target_format): Use also for x86 pe-coff.
82         * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
83         for x86 pe-coff.
85 2009-05-19  DJ Delorie  <dj@redhat.com>
87         * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
88         (mep_process_saved_insns): Remove debugging printfs.
90 2009-05-19  Dave Korn  <dave.korn.cygwin@gmail.com>
92         * NEWS:  Mention new feature.
93         * config/obj-coff.c (obj_coff_common_parse):  New function.
94         (obj_coff_comm):  Likewise.
95         (coff_pseudo_table):  Override default ".comm" definition on PE.
96         * doc/as.texinfo:  Document new feature.
98 2009-05-17  Kai Tietz  <kai.tietz@onevision.com>
100         * config/obj-coff.c (obj_coff_section): Add 'y' as
101         specifier for SEC_COFF_NOREAD section flag.
102         * doc/as.texinfo: Add documentation about .section flag 'y'.
104 2009-05-13  DJ Delorie  <dj@redhat.com>
106         * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
108 2009-05-13  Andrew Jenner  <andrew@codesourcery.com>
110         * config/tc-arm.c: Move as.h to start of file.
112 2009-05-05 Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
114         * config/tc-arm.h: Fix typo in comment.
115         (ARM_IS_FUNC): New macro.
116         (MD_APPLY_SYM_VALUE): Define.
118         * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
119         all versions of EABI.
120         (relax_branch): Do not relax for branches to ARM functions.
121         (md_pcrel_from_section): Set up base correctly for
122         BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
123         BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
124         BFD_RELOC_ARM_PCREL_CALL.
125         (md_apply_fix): Flip bl to blx where possible.
126         Flip blx to bl where possible.
127         (arm_force_relocation): Force relocations for
128         BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
129         BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
130         BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
131         BFD_RELOC_THUMB_PCREL_BRANCH25.
132         (arm_apply_sym_value): New function.
133         
134 2009-05-04  Tristan Gingold  <gingold@adacore.com>
136         * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
138 2009-05-01  Nathan Sidwell  <nathan@codesourcery.com>
140         * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
141         * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
142         * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
143         the default FPU from the processor.
145 2009-05-01  Julian Brown  <julian@codesourcery.com>
147         * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
148         (md_pcrel_from_section): Align address for BLX.
149         (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
150         BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
152 2009-04-29  DJ Delorie  <dj@redhat.com>
154         * config/tc-mep.c (md_begin): Check coprocessor type.
155         (md_check_parallel64_scheduling): Use memset to initialize the buffer.
156         (md_check_parallel32_scheduling): Likewise.
157         (slot_ok): New.
158         (mep_check_ivc2_scheduling): New.
159         (mep_check_parallel_scheduling): Call it.
160         (mep_process_saved_insns): Add IVC2 slot support.
161         (md_assemble): Likewise.
163 2009-04-30  Nick Clifton  <nickc@redhat.com>
165         * config/obj-elf.c (obj_elf_type): Add support for a
166         gnu_indirect_function type.
167         * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
168         against indirect function symbols.
169         * doc/as.texinfo (.type): Document the support for the
170         gnu_indirect_function symbol type.
171         * NEWS: Mention the new feature.
173 2009-04-24  Cary Coutant  <ccoutant@google.com>
175         * NEWS: Add item about discriminator support.
176         * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
177         * dwarf2dbg.c (current): Add discriminator field.
178         (dwarf2_where): Copy discriminator value.
179         (dwarf2_consume_line_info): Set discriminator to 0.
180         (dwarf2_directive_loc): Process discriminator sub-op.
181         (out_leb128): New function.
182         (process_entries): Output DW_LNE_set_discriminator.
183         * doc/as.texinfo: Add discriminator operand to .loc directive.
185 2009-04-22  Nathan Sidwell  <nathan@codesourcery.com>
187         * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
188         as_bad calls to silence compiler warning.
190 2009-04-21  H.J. Lu  <hongjiu.lu@intel.com>
192         * config/tc-i386-intel.c (O_XXX): Reorder.
194 2009-04-20  Jan Beulich  <jbeulich@novell.com>
196         * Makefile.am: Add explicit dependency of tc-i386.o on
197         tc-i386-intel.c.
198         * Makefile.in: Likewise.
199         * config/tc-i386.c (i386_finalize_immediate): Declare, broken
200         out from i386_immediate.
201         (i386_immediate): Slightly re-arrange, call
202         i386_finalize_immediate.
203         (i386_finalize_displacement): Declare, broken out from
204         i386_displacement.
205         (i386_displacement): Slightly re-arrange, call
206         i386_finalize_displacement.
207         (i386_intel_simplify, i386_intel_parse_name): Declare.
208         (this_operand): Initialize to -1.
209         (set_intel_syntax): Set expression rank for O_full_ptr.
210         (md_assemble): Set this_operand back to -1 after parsing
211         operands.
212         (x86_cons): Negate intel_syntax to indicate state. Call
213         i386_intel_simplify.
214         (md_operand): Convert if to switch. Handle '[' for Intel
215         syntax.
216         (i386_intel_operand): Delete, including all helper functions
217         and data.
218         * config/tc-i386-intel.c: New file, all new code.
219         * config/tc-i386.h (i386_operator): Declare.
220         (md_operator): Define to i386_operator.
221         (i386_need_index_operator): Declare.
222         (md_need_index_operator): Define to i386_need_index_operator.
223         (O_full_ptr): Define.
225 2009-04-20  Jan Beulich  <jbeulich@novell.com>
227         * expr.c (operand): Call md_need_index_operator() and
228         md_operator() if defined. Add unary label.
229         (operator): Call md_operator() if defined.
230         (expr): Adjust assertions on range and rank of op_left and
231         op_right. Don't abort on unhandled operators when reducing
232         expressions with both operands being constant.
233         (expr_set_rank): New.
234         * expr.h (expr_set_rank): Declare.
236 2009-04-15  Anthony Green  <green@moxielogic.com>
238         * config/tc-moxie.h: New file.
239         * config/tc-moxie.c: New file.
240         * configure: Add support for moxie.
241         * configure.tgt: Add support for moxie.
243 2009-04-16  Jan Beulich  <jbeulich@novell.com>
245         * expr.c: Include limits.h if available, and #define CHAR_BITS
246         otherwise.
247         (expr): Check range of shift count when evaluating a constant
248         expression.
250 2009-04-15  Jan Beulich  <jbeulich@novell.com>
252         * config/tc-i386.c (process_operands): Print operands in
253         correct order depending on intel_syntax.
255 2009-04-09  Catherine Moore  <clm@codesourcery.com>
257         * config/tc-mips.c (mips_fix_24k): Declare.
258         (check_for_24k_errata): New.
259         (mips_cleanup): Call check_for_24k_errata.
260         (start_noreorder): Likewise.
261         (md_mips_end): Likewise.
262         (s_change_sec): Likewise.
263         (s_change_section): Likewise.
264         (append_insn): Call check_for_24k_errata.  Prevent
265         ERET/DERET instructions from being moved into delay
266         slots.
267         (OPTION_FIX_24K): New.
268         (OPTION_NO_FIX_24k) New.
269         (md_longopts): Add "mfix-24k" and "mno-fix-24k".
270         (md_parse_option): Handle fix-24k options.
271         (md_show_usage): Display fix-24k options.
272         * doc/c-mips.texi: Document.
274 2009-04-09  Adam Nemet  <anemet@caviumnetworks.com>
276         * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
277         instead of HAVE_64BIT_SYMBOLS.
279 2009-04-07  DJ Delorie  <dj@redhat.com>
281         * config/tc-mep.c: Add UCI/DSP instruction support.  Add C5 support.
282         (md_show_usage): Change default endian to little.
283         * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
285 2009-04-06  DJ Delorie  <dj@redhat.com>
287         * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
288         immediates.
289         (build_bytes): Pass insn to do_a_fix_imm.
291 2009-04-02  Daniel Gutson <dgutson@codesourcery.com>
293         * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
294         * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
295         Cortex-M1.
297 2009-04-01  Matt Thomas <matt@netbsd.org>
299         * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
300         (md_assemble): emit symbol name when used as immediate in PIC mode.
301         (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
303 2009-04-01  Sterling Augustine  <sterling@jaw.hq.tensilica.com>
305         * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
307 2009-04-01  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
309         * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
310         (find_real_start): Likewise.
311         * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
313 2009-04-01  Nathan Sidwell  <nathan@codesourcery.com>
315         * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
316         (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
317         whenever possible.
319 2009-03-31  Peter Bergner  <bergner@vnet.ibm.com>
321         * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
323 2009-03-31  Dave Korn  <dave.korn.cygwin@gmail.com>
325         * doc/internals.texi:  Fix trivial syntax errors.
327 2009-03-26  Alan Modra  <amodra@bigpond.net.au>
329         PR 10005
330         * config/tc-i386.c (reloc): Don't abort on lack of required
331         reloc type.
333 2009-03-25  H.J. Lu  <hongjiu.lu@intel.com>
335         * config/tc-i386.c (parse_insn): Use default_arch on unsupported
336         arch.
338 2009-03-23  H.J. Lu  <hongjiu.lu@intel.com>
340         PR gas/9966
341         * listing.c (listing_newline): Properly handle `\\"' and ';'.
343         * read.c (is_end_of_line): Update comments for line separator.
344         (read_begin): Set line separator in is_end_of_line to 2.
346 2009-03-19  David S. Miller  <davem@davemloft.net>
348         * config/tc-sparc.c (md_parse_option): If the user gives
349         us '--64' make sure max_architecture is at least V9.
351 2009-03-18  Andrew Stubbs  <ams@codesourcery.com>
353         * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
354         BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
355         Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
357 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
359         * as.h: Include alloca-conf.h instead of config.h and remove
360         existing #if's handling alloca.
361         * Makefile.am: Run "make dep-am".
362         * Makefile.in: Regenerate.
364 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
366         * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
367         C_AIX_WEAKEXT too.
369 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
371         * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
372         "value" from fx_offset.  Manually resubtract md_pcrel_from_section
373         where necessary.
375 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
377         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
378         * configure.in: Likewise.
379         * configure: Regenerate.
381 2009-03-11  Hans-Peter Nilsson  <hp@axis.com>
383         * config/tc-cris.c (cris_create_short_jump): Remove prototype.
384         Rename, changing all callers, to...
385         (md_create_short_jump): Adjust head comment.  Assert
386         word-sized-branch distance for v32.  Bail out calling as_fatal for
387         compatibility mode here.
388         (md_create_long_jump): ...not here.
389         * config/tc-cris.h (md_create_short_jump): Do not define.
391 2009-03-10  Hans-Peter Nilsson  <hp@axis.com>
393         * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
394         the jump table for multiple overflowing entries with the same
395         target, handle base symbols being different.
396         (relax_segment) <case rs_broken_word, second loop>: Whenever a
397         single entry overflows, arrange to redirect all entries with the
398         same target.
400 2009-03-10  Alan Modra  <amodra@bigpond.net.au>
402         * config/tc-ppc.c (parse_cpu): Delete.
403         (md_parse_option, ppc_machine): Use ppc_parse_cpu.
405 2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
407         PR gas/9915
408         * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New.  Defined as 0.
409         (LOCAL_LABELS_FB): Undefine befoe define.
411 2009-03-06  Nick Clifton  <nickc@redhat.com>
413         * po/es.po: Updated Spanish translation.
415 2009-03-05  Joseph Myers  <joseph@codesourcery.com>
417         * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
418         s_incbin): Call md_cons_align (1).
420 2009-03-04  Nick Clifton  <nickc@redhat.com>
422         * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
423         based targets.
424         (s_alpha_comm): Only define "temp" and "log_align" local variables
425         for EVAX targets.
427 2009-03-04  Alan Modra  <amodra@bigpond.net.au>
429         * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
430         have non-zero addend.
431         (md_assemble): Parse args of __tls_get_addr calls.
432         (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
434 2009-03-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
436         binutils/3807
437         * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
438         local scope for ELF targets.
440 2009-03-04  Alan Modra  <amodra@bigpond.net.au>
442         * config/tc-ppc.c (md_assemble): APUinfo only for e500.
444 2009-03-03  Tristan Gingold  <gingold@adacore.com>
445             Eric Botcazou  <ebotcazou@adacore.com>
446             Douglas B Rupp  <rupp@gnat.com>
448         * doc/as.texinfo (Overview): Mention -replace/-noreplace options
449         for Alpha.
450         * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
451         * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
452         (OBJ_SYMFIELD_TYPE): Remove.
453         (tc_canonicalize_symbol_name): Define to evax_shorten_name.
454         (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
455         (tc_frob_file_before_fix): Do not defined on evax.
456         * config/tc-alpha.c: Always includes dwarf2dbg.h.
457         Include vms.h if OBJ_EVAX.
458         (struct alpha_fixup): Add xtrasym and procsym (evax only).
459         (enum alpha_macro_arg): Remove trailing comma.
460         (md_longopts): Add replace and noreplace arguments (evax only).
461         (alpha_evax_proc_hash): New variable.
462         (alpha_link_section): Make it global.
463         (alpha_ctors_section, alpha_dtors_section): Removed.
464         (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
465         (alpha_lit8_section): Ifndef'ed on evax.
466         (alpha_lit8_symbol): Ditto.
467         (alpha_prologue_label): New variable.
468         (alpha_linkage_symbol): New variable (evax only).
469         (alpha_flag_replace): Ditto.
470         (struct alpha_evax_procs): Add handler and handler_data field.
471         (alpha_evax_proc): Now of type pointer.
472         (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
473         (struct alpha_reloc_tag): Add sym and psym fields (evax only).
474         (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
475         (alpha_adjust_relocs): Ifndef'ed on evax.
476         (load_expression): Add opname argument.
477         Implement LDA/BSR optimization for evax.
478         (emit_lda): Adjust for new prototype of load_expression.
479         (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
480         (emit_loadstore): Likewise.
481         (emit_ldXu): Likewise.
482         (emit_stX): Likewise.
483         (emit_jsrjmp): Likewise.  Implement LDA/BSR optimization for evax.
484         (emit_ldgp): Avoid warning in evax case.
485         (add_to_link_pool): Make it static.  Return symbolic expression rather
486         than number expression for the offset.
487         (s_alpha_text): Create .text symbol for evax if not already created.
488         (s_alpha_comm): Do not create specific section for common symbol.
489         Fill common area with zeros for evax.
490         (s_alpha_prologue): Create alpha_prologue_label.
491         (s_alpha_section_name): New function (evax).
492         (s_alpha_section_word): Likewise.
493         (section_name): New static variabke moved out from ...
494         (s_alpha_section): ... here.  Create new sections on demand.
495         (s_alpha_literals): New function (evax).
496         (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
497         alpha_evax_proc_hash table.
498         (s_alpha_handler): New function (evax).
499         (s_alpha_frame): Adjust for new type of alpha_evax_proc.
500         (s_alpha_prologue): New function (evax).
501         (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
502         handling of procedures with hash table.
503         Add support for condition handlers.
504         (s_alpha_linkage): Create linkage_fixup instance and chain it.
505         (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
506         (s_alpha_mask): Likewise.
507         (s_alpha_fmask): Likewise.
508         (s_alpha_end): Clear alpha_evax_proc.
509         (s_alpha_align): Increase max_alignment to 16.
510         (alpha_print_token): Call print_expr_1 instead of print_expr.
511         (md_pseudo_table): Add "section", "literals", "handler" and
512         "handler_data" (evax).  Do not ignore "prologue" on evax.
513         Fix indentation.
514         (md_begin): Create hash table for alpha_evax_proc_hash.
515         (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
516         (md_show_usage): Mention -replace/-noreplace for evax.
517         (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
518         (alpha_force_relocation): Likewise.
519         (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
520         (tc_gen_reloc): Likewise.  Add BFD_RELOC_ALPHA_LINKAGE for evax.
521         (emit_insn): New cases for evax specific relocs.
522         (assemble_insn): Fix indentation.
523         Take care of -MDISP in operand table.
524         * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
525         (OBJ_SYMFIELD_TYPE): New macro.
526         (obj_symbol_new_hook): Define.
527         (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
528         (obj_frob_file_before_fix): Ditto.
529         (PDSC_S_M_HANDLER_VALID): New macro.
530         (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
531         (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
532         Add prototypes for functions declared in obj-evax.c
533         * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
534         (s_evax_weak): Convert to ansi-C.
535         (evax_symbol_new_hook): New function.
536         (evax_frob_symbol): Ditto.
537         (evax_frob_file_before_adjust): Ditto.
538         (evax_frob_file_before_fix): Ditto.
539         (evax_shorten_name): Ditto.
540         (crc32): Ditto.
541         (encode_32): Ditto.
542         (encode_16): Ditto.
543         (decode_16): Ditto.
544         (shorten_identifier): Ditto.
545         (is_truncated_identifier): Ditto.
546         * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
547         * as.c (close_output_file): Remove #ifndef OBJ_VMS.
548         (main): Ditto.
550 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
552         * Makefile.am: Run "make dep-am".
553         * Makefile.in: Regenerate.
555 2009-03-02  Nick Clifton  <nickc@redhat.com>
557         PR 9874
558         * config/tc-ia64.c (fix_insn): Fix warning reported by
559         -Wformat-security.
561 2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
563         * config/tc-score7.c: New file.
564         * doc/c-score.texi: New file.
565         * Makefile.am: Update dependencies for tc-score.c.
566         * Makefile.in: Regenerate.
567         * NEWS: Mention support for Score7 architecture.
568         * config/tc-score.c: Add support for Score7 architecture.
569         * config/tc-score.h: Likewise.
570         * doc/Makefile.am: Add c-score.texi.
571         * doc/Makefile.in: Regenerate.
572         * doc/all.texi: Add Score7.
573         * doc/as.texinfo: Add Score7.
575 2009-03-01  Mark Mitchell  <mark@codesourcery.com>
577         * config/tc-arm.c (md_assemble): Allow barrier instructions on
578         ARMv6-M cores.
580 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
582         * configure: Regenerate.
584 2009-02-26  Peter Bergner  <bergner@vnet.ibm.com>
586         * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
587         "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
588         (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
590 2009-02-25  H.J. Lu  <hongjiu.lu@intel.com>
592         * config/tc-i386.c (fits_in_imm4): Removed.
594 2009-02-24  Helge Deller <deller@gmx.de>
596         * config/tc-hppa.c (pa_ip): Add check of immediate values.
597         (SAVE_IMMEDIATE): New define.
599 2009-02-23  Mark Mitchell  <mark@codesourcery.com>
601         * config/tc-arm.c (warn_deprecated_sp): New macro.
602         (do_t_mov_cmp): Permit R13 as the second
603         argument to "cmp.n".
605 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
607         * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
608         (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
610 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
612         * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
614 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
616         * config/tc-i386.c (vex_imm4): Removed.
617         (VEX_check_operands): Likewise.
618         (match_template): Updated.
620 2009-02-23  Martin Schwidefsky  <schwidefsky@de.ibm.com>
622         * doc/all.texi: Set S390.
623         * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
624         * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
625         * doc/Makefile.in: Likewise.
626         * doc/c-s390.texi: New.
628 2009-02-12  Nathan Sidwell  <nathan@codesourcery.com>
630         * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
631         (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
632         (mcf5307_ctrl): Add VBR.
633         (no_mac): New variable.
634         (m68k_extensions): Refer to no_mac mask.
635         (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
636         52252..52259, 53011..53017.
637         (m68k_ip): Process CPUCR.
638         (init_table): Add cpucr entry.
639         (m68k_set_extension): Allow negated mask to refer to a variable.
640         (md_show_usage): Use '%s' to silence fprintf warning.
641         * config/m68k-parse.h (CPUCR): New control register.
643 2009-02-10  Nathan Sidwell  <nathan@codesourcery.com>
645         * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
646         as_bad calls to silence compiler warning.
648 2009-02-06  Nick Clifton  <nickc@redhat.com>
650         PR 9814
651         * config/tc-arm.c (MODE_RECORDED): New define.
652         (output_inst): Record the thumb_mode in the current frag.
653         (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
654         (arm_init_frag): Only set the tc_frag_data field if it has not
655         already been set.
657 2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>
659         AVX Programming Reference (January, 2009)
660         * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
661         (CPU_FLAGS_AVX_MATCH): Updated.
662         (CPU_FLAGS_32BIT_MATCH): Likewise.
663         (cpu_flags_match): Likewise.
665 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
667         * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
668         M_MSGWAIT and M_MSGWAIT_T.
669         (mips_cpu_info_table): Add XLR entry.
670         * doc/c-mips.texi (-march): Document xlr.
672 2009-02-03  Eric B. Weddington  <eric.weddington@atmel.com>
674         * config/tc-avr.c (mcu_types): Add ata6289.
675         * doc/c-avr.texi: Likewise.
677 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
679         * configure.in: AC_SUBST pdfdir.
680         * Makefile.am: Add install-pdf, install-pdf-am,
681         and install-pdf-recursive targets.
682         * doc/Makefile.am: Define pdf__strip_dir. Add
683         install-pdf and install-pdf-am targets.
684         * po/Make-in: Add install-pdf target.
685         * configure: Regenerate.
686         * Makefile.in: Regenerate.
687         * doc/Makefile.in: Regenerate.
689 2009-02-03  Maxim Kuvyrkov  <maxim@codesourcery.com>
691         * config/m68k-parse.h (enum pic_relocation): Add values for TLS
692         relocations.
693         * config/m68k-parse.y (yylex): Parse TLS relocations.
694         * config/tc-m68k.c (m68k_elf_cons): New static function.
695         (md_pseudo_table): Use it.
696         (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
697         relocations.
698         (md_apply_fix): Fix to set thread local flag.
699         (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
701 2009-02-03  Vince Weaver <vince@csl.cornell.edu>
703         PR 9779
704         * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
705         indexed addressing for symbolic expressions.
707 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
709         * config/tc-arm.c (BAD_SP): Define.
710         (s_arm_unwind_fnstart): Use REG_SP.
711         (s_arm_unwind_setfp): Likewise.
712         (reject_bad_reg): New macro.
713         (do_co_reg): Check for bad registers.
714         (do_co_reg2c): Likewise.
715         (do_srs): Use REG_SP.
716         (do_t_add_sub): Check for bad registers.
717         (do_t_adr): Likewise.
718         (do_t_arit3): Likewise.
719         (do_t_arit3c): Likewise.
720         (do_t_bfc): Likewise.
721         (do_t_bfi): Likewise.
722         (do_t_bfx): Likewise.
723         (do_t_blx): Likewise.
724         (do_t_bx): Likewise.
725         (do_t_bxj): Likewise.
726         (do_t_clz): Likewise.
727         (do_t_div): Likewise.
728         (do_t_mla): Likewise.
729         (do_t_mlal): Likewise.
730         (do_t_mov_cmp): Likewise.
731         (do_t_mov16): Likewise.
732         (do_t_mvn_tst): Likewise.
733         (do_t_mrs): Likewise.
734         (do_t_msr): Likewise.
735         (do_t_mul): Likewise.
736         (do_t_mull): Likewise.
737         (do_t_orn): Likewise.
738         (do_t_pkhbt): Likewise.
739         (do_t_pld): Likewise.
740         (do_t_rbit): Likewise.
741         (do_t_rev): Likewise.
742         (do_t_rrx): Likewise.
743         (do_t_rsb): Likewise.
744         (do_t_shift): Likewise.
745         (do_t_simd): Likewise.
746         (do_t_ssat): Likewise.
747         (do_t_ssat16): Likewise.
748         (do_t_sxtah): Likewise.
749         (do_t_sxth): Likewise.
750         (do_t_tb): Likewise.
751         (do_t_usat): Likewise.
752         (do_t_usat16): Likewise.
753         (nysn_insert_sp): Use REG_SP.
755 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
757         * config/tc-arm.c (do_t_orn): New function.
758         (do_t_rrx): Likewise.
759         (insns): Add orn and rrx.
761 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
763         * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
764         uasx, uhasx, uhsx, uqasx, uqsax, usax.
766 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
768         * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
769         qdsub in Thumb-2 mode.
771 2009-01-29  Paul Brook  <paul@codesourcery.com>
772             Mark Mitchell  <mark@codesourcery.com>
774         * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
775         of MUL when possible.
777 2009-01-29  Nick Clifton  <nickc@redhat.com>
779         * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
781 2009-01-29  Nathan Sidwell  <nathan@codesourcery.com>
782             Catherine Moore <clm@codesourcery.com?
784         * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
785         .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
786         directives.
788 2009-01-27  Nick Clifton  <nickc@redhat.com>
790         * config/tc-mips.c (append_insn): Cope with a complex reloc
791         sequence containing an unsupported reloc type.
792         (enum options): Replace computed #define's constants for option
793         numbers with this enum.
794         (struct md_longopts): Use the enum.  Allow OPTION_32 in a non-ELF
795         environment.
796         (md_parse_option): Allow -32 in a non-ELF environment.
798 2009-01-26  Andrew Stubbs  <ams@codesourcery.com>
800         * config/tc-arm.c (attributes_set_explicitly): New array.
801         (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
802         (cpu_arch): Add ARM_ARCH_V5T.
803         (aeabi_set_attribute_int): New function.
804         (aeabi_set_attribute_string): New function.
805         (aeabi_set_public_attributes): Set attributes according to the user's
806         intentions, rather than the actual state of the binary.
807         Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
808         bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
809         Support WMMXv2. Use attribute names instead of numbers.
810         * read.c (s_vendor_attribute): Change return type to int.
811         Return the tag number that was set.
812         * read.h (s_vendor_attribute): Change return type to int.
814 2009-01-26  Eric B. Weddington  <eric.weddington@atmel.com>
816         PR 9789
817         * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
818         * doc/c-avr.texi: Likewise.
820 2009-01-23  Nathan Sidwell  <nathan@codesourcery.com>
822         * doc/c-arm.texi (): Document -mwarn-deprecated.
823         * config/tc-arm.c (WARN_DEPRECATED): Remove.  Replace with ...
824         (warn_on_deprecated): ... this.
825         (opcode_lookup, md_assemble): Check it before warning.
826         (arm_opts): Add m[no-]warn-deprecated.
827         (md_parse_option): Replace WARN_DEPRECATED with
828         warn_on_deprecated.
830 2009-01-23  Andreas Schwab  <schwab@suse.de>
832         * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
833         arguments to macro_build to match format.
835         * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
836         * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
838 2009-01-19  Nick Clifton  <nickc@redhat.com>
840         * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
841         ELF format ARM targets.
842         * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
844 2009-01-19  Nick Clifton  <nickc@redhat.com>
846         * configure.tgt: Restore alpha sorting to object format switch
847         statement.
849 2009-01-19  Andrew Stubbs  <ams@codesourcery.com>
851         * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
853 2009-01-16  Mark Shinwell  <shinwell@codesourcery.com>
855         * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
856         * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
858 2009-01-16  Andrew Stubbs  <ams@codesourcery.com>
859             Daniel Jacobowitz  <dan@codesourcery.com>
861         * config/tc-arm.c (arm_copy_symbol_attributes): New function.
862         * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
863         (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
864         * read.c (s_vendor_attribute): Add support for symbolic tag names.
865         Improve string parser.
866         * doc/c-arm.texi (ARM Machine Directives): Document
867         .eabi_attribute symbolic tag names.
869 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
871         * configure.in (commonbfdlib): Delete.
872         * configure: Regenerate.
873         * po/POTFILES.in: Regenerate.
875 2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
876             Julian Brown   <julian@codesourcery.com>
878         * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
880 2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
882         * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
883         bfd_elf_add_obj_attr_int_string.
885 2009-01-15  Douglas B Rupp  <rupp@gnat.com>
887         * configure.tgt(ia64-*-*vms*): New target.
888         * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
889         * tc.h (md_number_to_chars): Declare iff undefined.
890         * config/obj-elf.c (obj_elf_change_section): Change type of arg
891         attr to bfd_vma.
892         (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
893         variables attr, md_attr to bfd_vma.
894         (obj_elf_section_word): Likewise.
895         (obj_elf_section): Change type of variable attr to bfd_vma
896         * config/obj-elf.h (obj_elf_change_section): Change type of arg
897         attr to bfd_vma.
898         * config/tc-ia64.c (bfdver.h,time.h): Include.
899         (ia64_elf_section_letter): Now returns a bfd_vma.
900         Handle VMS specific attributes.
901         (ia64_elf_section_flags): Arg attr now a bfd_vma.
902         (ia64_init): Don't turn on dependency checking for VMS.
903         (ia64_target_format): Check for VMS flag bit.
904         (do_alias): Hande decc$ functions.
905         (get_vms_time): New function.
906         (ia64_vms_note): New function.
907         * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
908         (ia64_elf_section_flags): Arg attr now a bfd_vma.
909         (tc_init_after_args): Define for VMS.
910         * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
911         (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
912         * config/tc-alpha.h: Likewise.
913         * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
914         (x86_64_section_word): Return a bfd_vma.
915         * config/tc-i386.h: Likewise.
916         * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
917         attr to bfd_vma.
918         * config/tc-ip2k.h: Likewise.
919         * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
920         (mep_elf_section_flags): Change type of arg attr to bfd_vma.
921         * config/tc-mep.h: Likewise.
922         * config/tc-ppc.c  (ppc_section_letter): Return a bfd_vma.
923         (ppc_section_word): Return a bfd_vma.
924         (ppc_section_flags): Change type of arg attr to bfd_vma.
925         * config/tc-ppc.h: Likewise.
926         * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
927         * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
928         DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
929         New file with new macros
930         * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
931         macros.
933 2009-01-15  Nick Clifton  <nickc@redhat.com>
935         PR 9722
936         * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
937         instructions before generating a Thumb2 nop.
939 2009-01-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
941         * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
943 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
945         * config/tc-spu.c (md_pseudo_table): Add "brinfo".
946         (brinfo): New var.
947         (md_assemble): Poke brinfo into branch instructions.
948         (spu_brinfo): New function.
949         (md_apply_fix): Don't assume insn fields start off at zero, mask
950         them to remove possible brinfo.
952 2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>
954         * doc/c-i386.texi: Reformat.
956 2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>
958         * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
959         .syscall.
960         (i386_align_code): Handle PROCESSOR_COREI7.
961         (md_show_usage): Add corei7, clflush and syscall.
962         (i386_target_format): Replace cpup4 with cpuclflush.
964         * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
966         * doc/c-i386.texi: Document corei7, clflush and syscall.
968 2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>
970         * config/tc-i386.c (cpu_arch): Add .rdtscp.
971         (md_show_usage): Display rdtscp.
973         * doc/c-i386.texi: Document rdtscp.
975 2009-01-09  Peter Bergner  <bergner@vnet.ibm.com>
977         * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
978         Test the new "deprecated" opcode field.
980 2009-01-07  Sterling Augustine  <sterling@tensilica.com>
982         * config/tc-xtensa.c (produce_flix): New.
983         (option_flix, optoin_no_generate_flix, option_no_flix) Define.
984         (md_longopts): Add support for them.
985         (md_parse_option): Likewise.
986         (md_show_usage): Add help message.
987         (finish_vinsn): Don't allow multi-slot flix when produce_flix
988         option is set to FLIX_NONE.
989         * config/xtensa-relax.c (transition_applies): Only relax to
990         flix branches when produce_flix equals FLIX_ALL.
991         * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
992         FLIX_NONE): New.
993         (produce_flix): Declare.
995 2009-01-06  Chao-ying Fu  <fu@mips.com>
997         * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
998         Use strncmp to match jalr and jalr.hb.
999         Fix a typo.
1001 2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1003         AVX Programming Reference (December, 2008)
1004         * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
1005         support.  Don't swap REG and NDS for FMA.
1007 2009-01-02  Matthias Klose  <doko@ubuntu.com>
1009         * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
1010         behaviour.
1012 For older changes see ChangeLog-2008
1014 Local Variables:
1015 mode: change-log
1016 left-margin: 8
1017 fill-column: 74
1018 version-control: never
1019 End: