gas/
[binutils.git] / gas / ChangeLog
blob9caad736039f6f804acaad45740ef61e054b43c1
1 2009-04-20  Jan Beulich  <jbeulich@novell.com>
3         * Makefile.am: Add explicit dependency of tc-i386.o on
4         tc-i386-intel.c.
5         * Makefile.in: Likewise.
6         * config/tc-i386.c (i386_finalize_immediate): Declare, broken
7         out from i386_immediate.
8         (i386_immediate): Slightly re-arrange, call
9         i386_finalize_immediate.
10         (i386_finalize_displacement): Declare, broken out from
11         i386_displacement.
12         (i386_displacement): Slightly re-arrange, call
13         i386_finalize_displacement.
14         (i386_intel_simplify, i386_intel_parse_name): Declare.
15         (this_operand): Initialize to -1.
16         (set_intel_syntax): Set expression rank for O_full_ptr.
17         (md_assemble): Set this_operand back to -1 after parsing
18         operands.
19         (x86_cons): Negate intel_syntax to indicate state. Call
20         i386_intel_simplify.
21         (md_operand): Convert if to switch. Handle '[' for Intel
22         syntax.
23         (i386_intel_operand): Delete, including all helper functions
24         and data.
25         * config/tc-i386-intel.c: New file, all new code.
26         * config/tc-i386.h (i386_operator): Declare.
27         (md_operator): Define to i386_operator.
28         (i386_need_index_operator): Declare.
29         (md_need_index_operator): Define to i386_need_index_operator.
30         (O_full_ptr): Define.
32 2009-04-20  Jan Beulich  <jbeulich@novell.com>
34         * expr.c (operand): Call md_need_index_operator() and
35         md_operator() if defined. Add unary label.
36         (operator): Call md_operator() if defined.
37         (expr): Adjust assertions on range and rank of op_left and
38         op_right. Don't abort on unhandled operators when reducing
39         expressions with both operands being constant.
40         (expr_set_rank): New.
41         * expr.h (expr_set_rank): Declare.
43 2008-04-15  Anthony Green  <green@moxielogic.com>
45         * config/tc-moxie.h: New file.
46         * config/tc-moxie.c: New file.
47         * configure: Add support for moxie.
48         * configure.tgt: Add support for moxie.
50 2009-04-16  Jan Beulich  <jbeulich@novell.com>
52         * expr.c: Include limits.h if available, and #define CHAR_BITS
53         otherwise.
54         (expr): Check range of shift count when evaluating a constant
55         expression.
57 2009-04-15  Jan Beulich  <jbeulich@novell.com>
59         * config/tc-i386.c (process_operands): Print operands in
60         correct order depending on intel_syntax.
62 2009-04-09  Catherine Moore  <clm@codesourcery.com>
64         * config/tc-mips.c (mips_fix_24k): Declare.
65         (check_for_24k_errata): New.
66         (mips_cleanup): Call check_for_24k_errata.
67         (start_noreorder): Likewise.
68         (md_mips_end): Likewise.
69         (s_change_sec): Likewise.
70         (s_change_section): Likewise.
71         (append_insn): Call check_for_24k_errata.  Prevent
72         ERET/DERET instructions from being moved into delay
73         slots.
74         (OPTION_FIX_24K): New.
75         (OPTION_NO_FIX_24k) New.
76         (md_longopts): Add "mfix-24k" and "mno-fix-24k".
77         (md_parse_option): Handle fix-24k options.
78         (md_show_usage): Display fix-24k options.
79         * doc/c-mips.texi: Document.
81 2009-04-09  Adam Nemet  <anemet@caviumnetworks.com>
83         * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
84         instead of HAVE_64BIT_SYMBOLS.
86 2009-04-07  DJ Delorie  <dj@redhat.com>
88         * config/tc-mep.c: Add UCI/DSP instruction support.  Add C5 support.
89         (md_show_usage): Change default endian to little.
90         * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
92 2009-04-06  DJ Delorie  <dj@redhat.com>
94         * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
95         immediates.
96         (build_bytes): Pass insn to do_a_fix_imm.
98 2009-04-02  Daniel Gutson <dgutson@codesourcery.com>
100         * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
101         * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
102         Cortex-M1.
104 2009-04-01  Matt Thomas <matt@netbsd.org>
106         * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
107         (md_assemble): emit symbol name when used as immediate in PIC mode.
108         (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
110 2009-04-01  Sterling Augustine  <sterling@jaw.hq.tensilica.com>
112         * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
114 2009-04-01  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
116         * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
117         (find_real_start): Likewise.
118         * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
120 2009-04-01  Nathan Sidwell  <nathan@codesourcery.com>
122         * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
123         (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
124         whenever possible.
126 2009-03-31  Peter Bergner  <bergner@vnet.ibm.com>
128         * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
130 2009-03-31  Dave Korn  <dave.korn.cygwin@gmail.com>
132         * doc/internals.texi:  Fix trivial syntax errors.
134 2009-03-26  Alan Modra  <amodra@bigpond.net.au>
136         PR 10005
137         * config/tc-i386.c (reloc): Don't abort on lack of required
138         reloc type.
140 2009-03-25  H.J. Lu  <hongjiu.lu@intel.com>
142         * config/tc-i386.c (parse_insn): Use default_arch on unsupported
143         arch.
145 2009-03-23  H.J. Lu  <hongjiu.lu@intel.com>
147         PR gas/9966
148         * listing.c (listing_newline): Properly handle `\\"' and ';'.
150         * read.c (is_end_of_line): Update comments for line separator.
151         (read_begin): Set line separator in is_end_of_line to 2.
153 2009-03-19  David S. Miller  <davem@davemloft.net>
155         * config/tc-sparc.c (md_parse_option): If the user gives
156         us '--64' make sure max_architecture is at least V9.
158 2009-03-18  Andrew Stubbs  <ams@codesourcery.com>
160         * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
161         BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
162         Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
164 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
166         * as.h: Include alloca-conf.h instead of config.h and remove
167         existing #if's handling alloca.
168         * Makefile.am: Run "make dep-am".
169         * Makefile.in: Regenerate.
171 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
173         * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
174         C_AIX_WEAKEXT too.
176 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
178         * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
179         "value" from fx_offset.  Manually resubtract md_pcrel_from_section
180         where necessary.
182 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
184         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
185         * configure.in: Likewise.
186         * configure: Regenerate.
188 2009-03-11  Hans-Peter Nilsson  <hp@axis.com>
190         * config/tc-cris.c (cris_create_short_jump): Remove prototype.
191         Rename, changing all callers, to...
192         (md_create_short_jump): Adjust head comment.  Assert
193         word-sized-branch distance for v32.  Bail out calling as_fatal for
194         compatibility mode here.
195         (md_create_long_jump): ...not here.
196         * config/tc-cris.h (md_create_short_jump): Do not define.
198 2009-03-10  Hans-Peter Nilsson  <hp@axis.com>
200         * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
201         the jump table for multiple overflowing entries with the same
202         target, handle base symbols being different.
203         (relax_segment) <case rs_broken_word, second loop>: Whenever a
204         single entry overflows, arrange to redirect all entries with the
205         same target.
207 2009-03-10  Alan Modra  <amodra@bigpond.net.au>
209         * config/tc-ppc.c (parse_cpu): Delete.
210         (md_parse_option, ppc_machine): Use ppc_parse_cpu.
212 2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
214         PR gas/9915
215         * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New.  Defined as 0.
216         (LOCAL_LABELS_FB): Undefine befoe define.
218 2009-03-06  Nick Clifton  <nickc@redhat.com>
220         * po/es.po: Updated Spanish translation.
222 2009-03-05  Joseph Myers  <joseph@codesourcery.com>
224         * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
225         s_incbin): Call md_cons_align (1).
227 2009-03-04  Nick Clifton  <nickc@redhat.com>
229         * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
230         based targets.
231         (s_alpha_comm): Only define "temp" and "log_align" local variables
232         for EVAX targets.
234 2009-03-04  Alan Modra  <amodra@bigpond.net.au>
236         * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
237         have non-zero addend.
238         (md_assemble): Parse args of __tls_get_addr calls.
239         (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
241 2009-03-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
243         binutils/3807
244         * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
245         local scope for ELF targets.
247 2009-03-04  Alan Modra  <amodra@bigpond.net.au>
249         * config/tc-ppc.c (md_assemble): APUinfo only for e500.
251 2009-03-03  Tristan Gingold  <gingold@adacore.com>
252             Eric Botcazou  <ebotcazou@adacore.com>
253             Douglas B Rupp  <rupp@gnat.com>
255         * doc/as.texinfo (Overview): Mention -replace/-noreplace options
256         for Alpha.
257         * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
258         * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
259         (OBJ_SYMFIELD_TYPE): Remove.
260         (tc_canonicalize_symbol_name): Define to evax_shorten_name.
261         (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
262         (tc_frob_file_before_fix): Do not defined on evax.
263         * config/tc-alpha.c: Always includes dwarf2dbg.h.
264         Include vms.h if OBJ_EVAX.
265         (struct alpha_fixup): Add xtrasym and procsym (evax only).
266         (enum alpha_macro_arg): Remove trailing comma.
267         (md_longopts): Add replace and noreplace arguments (evax only).
268         (alpha_evax_proc_hash): New variable.
269         (alpha_link_section): Make it global.
270         (alpha_ctors_section, alpha_dtors_section): Removed.
271         (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
272         (alpha_lit8_section): Ifndef'ed on evax.
273         (alpha_lit8_symbol): Ditto.
274         (alpha_prologue_label): New variable.
275         (alpha_linkage_symbol): New variable (evax only).
276         (alpha_flag_replace): Ditto.
277         (struct alpha_evax_procs): Add handler and handler_data field.
278         (alpha_evax_proc): Now of type pointer.
279         (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
280         (struct alpha_reloc_tag): Add sym and psym fields (evax only).
281         (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
282         (alpha_adjust_relocs): Ifndef'ed on evax.
283         (load_expression): Add opname argument.
284         Implement LDA/BSR optimization for evax.
285         (emit_lda): Adjust for new prototype of load_expression.
286         (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
287         (emit_loadstore): Likewise.
288         (emit_ldXu): Likewise.
289         (emit_stX): Likewise.
290         (emit_jsrjmp): Likewise.  Implement LDA/BSR optimization for evax.
291         (emit_ldgp): Avoid warning in evax case.
292         (add_to_link_pool): Make it static.  Return symbolic expression rather
293         than number expression for the offset.
294         (s_alpha_text): Create .text symbol for evax if not already created.
295         (s_alpha_comm): Do not create specific section for common symbol.
296         Fill common area with zeros for evax.
297         (s_alpha_prologue): Create alpha_prologue_label.
298         (s_alpha_section_name): New function (evax).
299         (s_alpha_section_word): Likewise.
300         (section_name): New static variabke moved out from ...
301         (s_alpha_section): ... here.  Create new sections on demand.
302         (s_alpha_literals): New function (evax).
303         (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
304         alpha_evax_proc_hash table.
305         (s_alpha_handler): New function (evax).
306         (s_alpha_frame): Adjust for new type of alpha_evax_proc.
307         (s_alpha_prologue): New function (evax).
308         (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
309         handling of procedures with hash table.
310         Add support for condition handlers.
311         (s_alpha_linkage): Create linkage_fixup instance and chain it.
312         (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
313         (s_alpha_mask): Likewise.
314         (s_alpha_fmask): Likewise.
315         (s_alpha_end): Clear alpha_evax_proc.
316         (s_alpha_align): Increase max_alignment to 16.
317         (alpha_print_token): Call print_expr_1 instead of print_expr.
318         (md_pseudo_table): Add "section", "literals", "handler" and
319         "handler_data" (evax).  Do not ignore "prologue" on evax.
320         Fix indentation.
321         (md_begin): Create hash table for alpha_evax_proc_hash.
322         (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
323         (md_show_usage): Mention -replace/-noreplace for evax.
324         (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
325         (alpha_force_relocation): Likewise.
326         (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
327         (tc_gen_reloc): Likewise.  Add BFD_RELOC_ALPHA_LINKAGE for evax.
328         (emit_insn): New cases for evax specific relocs.
329         (assemble_insn): Fix indentation.
330         Take care of -MDISP in operand table.
331         * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
332         (OBJ_SYMFIELD_TYPE): New macro.
333         (obj_symbol_new_hook): Define.
334         (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
335         (obj_frob_file_before_fix): Ditto.
336         (PDSC_S_M_HANDLER_VALID): New macro.
337         (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
338         (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
339         Add prototypes for functions declared in obj-evax.c
340         * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
341         (s_evax_weak): Convert to ansi-C.
342         (evax_symbol_new_hook): New function.
343         (evax_frob_symbol): Ditto.
344         (evax_frob_file_before_adjust): Ditto.
345         (evax_frob_file_before_fix): Ditto.
346         (evax_shorten_name): Ditto.
347         (crc32): Ditto.
348         (encode_32): Ditto.
349         (encode_16): Ditto.
350         (decode_16): Ditto.
351         (shorten_identifier): Ditto.
352         (is_truncated_identifier): Ditto.
353         * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
354         * as.c (close_output_file): Remove #ifndef OBJ_VMS.
355         (main): Ditto.
357 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
359         * Makefile.am: Run "make dep-am".
360         * Makefile.in: Regenerate.
362 2009-03-02  Nick Clifton  <nickc@redhat.com>
364         PR 9874
365         * config/tc-ia64.c (fix_insn): Fix warning reported by
366         -Wformat-security.
368 2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
370         * config/tc-score7.c: New file.
371         * doc/c-score.texi: New file.
372         * Makefile.am: Update dependencies for tc-score.c.
373         * Makefile.in: Regenerate.
374         * NEWS: Mention support for Score7 architecture.
375         * config/tc-score.c: Add support for Score7 architecture.
376         * config/tc-score.h: Likewise.
377         * doc/Makefile.am: Add c-score.texi.
378         * doc/Makefile.in: Regenerate.
379         * doc/all.texi: Add Score7.
380         * doc/as.texinfo: Add Score7.
382 2009-03-01  Mark Mitchell  <mark@codesourcery.com>
384         * config/tc-arm.c (md_assemble): Allow barrier instructions on
385         ARMv6-M cores.
387 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
389         * configure: Regenerate.
391 2009-02-26  Peter Bergner  <bergner@vnet.ibm.com>
393         * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
394         "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
395         (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
397 2009-02-25  H.J. Lu  <hongjiu.lu@intel.com>
399         * config/tc-i386.c (fits_in_imm4): Removed.
401 2009-02-24  Helge Deller <deller@gmx.de>
403         * config/tc-hppa.c (pa_ip): Add check of immediate values.
404         (SAVE_IMMEDIATE): New define.
406 2009-02-23  Mark Mitchell  <mark@codesourcery.com>
408         * config/tc-arm.c (warn_deprecated_sp): New macro.
409         (do_t_mov_cmp): Permit R13 as the second
410         argument to "cmp.n".
412 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
414         * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
415         (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
417 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
419         * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
421 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
423         * config/tc-i386.c (vex_imm4): Removed.
424         (VEX_check_operands): Likewise.
425         (match_template): Updated.
427 2009-02-23  Martin Schwidefsky  <schwidefsky@de.ibm.com>
429         * doc/all.texi: Set S390.
430         * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
431         * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
432         * doc/Makefile.in: Likewise.
433         * doc/c-s390.texi: New.
435 2009-02-12  Nathan Sidwell  <nathan@codesourcery.com>
437         * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
438         (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
439         (mcf5307_ctrl): Add VBR.
440         (no_mac): New variable.
441         (m68k_extensions): Refer to no_mac mask.
442         (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
443         52252..52259, 53011..53017.
444         (m68k_ip): Process CPUCR.
445         (init_table): Add cpucr entry.
446         (m68k_set_extension): Allow negated mask to refer to a variable.
447         (md_show_usage): Use '%s' to silence fprintf warning.
448         * config/m68k-parse.h (CPUCR): New control register.
450 2009-02-10  Nathan Sidwell  <nathan@codesourcery.com>
452         * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
453         as_bad calls to silence compiler warning.
455 2009-02-06  Nick Clifton  <nickc@redhat.com>
457         PR 9814
458         * config/tc-arm.c (MODE_RECORDED): New define.
459         (output_inst): Record the thumb_mode in the current frag.
460         (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
461         (arm_init_frag): Only set the tc_frag_data field if it has not
462         already been set.
464 2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>
466         AVX Programming Reference (January, 2009)
467         * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
468         (CPU_FLAGS_AVX_MATCH): Updated.
469         (CPU_FLAGS_32BIT_MATCH): Likewise.
470         (cpu_flags_match): Likewise.
472 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
474         * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
475         M_MSGWAIT and M_MSGWAIT_T.
476         (mips_cpu_info_table): Add XLR entry.
477         * doc/c-mips.texi (-march): Document xlr.
479 2009-02-03  Eric B. Weddington  <eric.weddington@atmel.com>
481         * config/tc-avr.c (mcu_types): Add ata6289.
482         * doc/c-avr.texi: Likewise.
484 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
486         * configure.in: AC_SUBST pdfdir.
487         * Makefile.am: Add install-pdf, install-pdf-am,
488         and install-pdf-recursive targets.
489         * doc/Makefile.am: Define pdf__strip_dir. Add
490         install-pdf and install-pdf-am targets.
491         * po/Make-in: Add install-pdf target.
492         * configure: Regenerate.
493         * Makefile.in: Regenerate.
494         * doc/Makefile.in: Regenerate.
496 2009-02-03  Maxim Kuvyrkov  <maxim@codesourcery.com>
498         * config/m68k-parse.h (enum pic_relocation): Add values for TLS
499         relocations.
500         * config/m68k-parse.y (yylex): Parse TLS relocations.
501         * config/tc-m68k.c (m68k_elf_cons): New static function.
502         (md_pseudo_table): Use it.
503         (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
504         relocations.
505         (md_apply_fix): Fix to set thread local flag.
506         (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
508 2009-02-03  Vince Weaver <vince@csl.cornell.edu>
510         PR 9779
511         * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
512         indexed addressing for symbolic expressions.
514 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
516         * config/tc-arm.c (BAD_SP): Define.
517         (s_arm_unwind_fnstart): Use REG_SP.
518         (s_arm_unwind_setfp): Likewise.
519         (reject_bad_reg): New macro.
520         (do_co_reg): Check for bad registers.
521         (do_co_reg2c): Likewise.
522         (do_srs): Use REG_SP.
523         (do_t_add_sub): Check for bad registers.
524         (do_t_adr): Likewise.
525         (do_t_arit3): Likewise.
526         (do_t_arit3c): Likewise.
527         (do_t_bfc): Likewise.
528         (do_t_bfi): Likewise.
529         (do_t_bfx): Likewise.
530         (do_t_blx): Likewise.
531         (do_t_bx): Likewise.
532         (do_t_bxj): Likewise.
533         (do_t_clz): Likewise.
534         (do_t_div): Likewise.
535         (do_t_mla): Likewise.
536         (do_t_mlal): Likewise.
537         (do_t_mov_cmp): Likewise.
538         (do_t_mov16): Likewise.
539         (do_t_mvn_tst): Likewise.
540         (do_t_mrs): Likewise.
541         (do_t_msr): Likewise.
542         (do_t_mul): Likewise.
543         (do_t_mull): Likewise.
544         (do_t_orn): Likewise.
545         (do_t_pkhbt): Likewise.
546         (do_t_pld): Likewise.
547         (do_t_rbit): Likewise.
548         (do_t_rev): Likewise.
549         (do_t_rrx): Likewise.
550         (do_t_rsb): Likewise.
551         (do_t_shift): Likewise.
552         (do_t_simd): Likewise.
553         (do_t_ssat): Likewise.
554         (do_t_ssat16): Likewise.
555         (do_t_sxtah): Likewise.
556         (do_t_sxth): Likewise.
557         (do_t_tb): Likewise.
558         (do_t_usat): Likewise.
559         (do_t_usat16): Likewise.
560         (nysn_insert_sp): Use REG_SP.
562 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
564         * config/tc-arm.c (do_t_orn): New function.
565         (do_t_rrx): Likewise.
566         (insns): Add orn and rrx.
568 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
570         * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
571         uasx, uhasx, uhsx, uqasx, uqsax, usax.
573 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
575         * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
576         qdsub in Thumb-2 mode.
578 2009-01-29  Paul Brook  <paul@codesourcery.com>
579             Mark Mitchell  <mark@codesourcery.com>
581         * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
582         of MUL when possible.
584 2009-01-29  Nick Clifton  <nickc@redhat.com>
586         * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
588 2009-01-29  Nathan Sidwell  <nathan@codesourcery.com>
589             Catherine Moore <clm@codesourcery.com?
591         * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
592         .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
593         directives.
595 2009-01-27  Nick Clifton  <nickc@redhat.com>
597         * config/tc-mips.c (append_insn): Cope with a complex reloc
598         sequence containing an unsupported reloc type.
599         (enum options): Replace computed #define's constants for option
600         numbers with this enum.
601         (struct md_longopts): Use the enum.  Allow OPTION_32 in a non-ELF
602         environment.
603         (md_parse_option): Allow -32 in a non-ELF environment.
605 2009-01-26  Andrew Stubbs  <ams@codesourcery.com>
607         * config/tc-arm.c (attributes_set_explicitly): New array.
608         (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
609         (cpu_arch): Add ARM_ARCH_V5T.
610         (aeabi_set_attribute_int): New function.
611         (aeabi_set_attribute_string): New function.
612         (aeabi_set_public_attributes): Set attributes according to the user's
613         intentions, rather than the actual state of the binary.
614         Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
615         bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
616         Support WMMXv2. Use attribute names instead of numbers.
617         * read.c (s_vendor_attribute): Change return type to int.
618         Return the tag number that was set.
619         * read.h (s_vendor_attribute): Change return type to int.
621 2009-01-26  Eric B. Weddington  <eric.weddington@atmel.com>
623         PR 9789
624         * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
625         * doc/c-avr.texi: Likewise.
627 2009-01-23  Nathan Sidwell  <nathan@codesourcery.com>
629         * doc/c-arm.texi (): Document -mwarn-deprecated.
630         * config/tc-arm.c (WARN_DEPRECATED): Remove.  Replace with ...
631         (warn_on_deprecated): ... this.
632         (opcode_lookup, md_assemble): Check it before warning.
633         (arm_opts): Add m[no-]warn-deprecated.
634         (md_parse_option): Replace WARN_DEPRECATED with
635         warn_on_deprecated.
637 2009-01-23  Andreas Schwab  <schwab@suse.de>
639         * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
640         arguments to macro_build to match format.
642         * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
643         * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
645 2009-01-19  Nick Clifton  <nickc@redhat.com>
647         * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
648         ELF format ARM targets.
649         * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
651 2009-01-19  Nick Clifton  <nickc@redhat.com>
653         * configure.tgt: Restore alpha sorting to object format switch
654         statement.
656 2009-01-19  Andrew Stubbs  <ams@codesourcery.com>
658         * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
660 2009-01-16  Mark Shinwell  <shinwell@codesourcery.com>
662         * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
663         * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
665 2009-01-16  Andrew Stubbs  <ams@codesourcery.com>
666             Daniel Jacobowitz  <dan@codesourcery.com>
668         * config/tc-arm.c (arm_copy_symbol_attributes): New function.
669         * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
670         (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
671         * read.c (s_vendor_attribute): Add support for symbolic tag names.
672         Improve string parser.
673         * doc/c-arm.texi (ARM Machine Directives): Document
674         .eabi_attribute symbolic tag names.
676 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
678         * configure.in (commonbfdlib): Delete.
679         * configure: Regenerate.
680         * po/POTFILES.in: Regenerate.
682 2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
683             Julian Brown   <julian@codesourcery.com>
685         * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
687 2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
689         * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
690         bfd_elf_add_obj_attr_int_string.
692 2009-01-15  Douglas B Rupp  <rupp@gnat.com>
694         * configure.tgt(ia64-*-*vms*): New target.
695         * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
696         * tc.h (md_number_to_chars): Declare iff undefined.
697         * config/obj-elf.c (obj_elf_change_section): Change type of arg
698         attr to bfd_vma.
699         (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
700         variables attr, md_attr to bfd_vma.
701         (obj_elf_section_word): Likewise.
702         (obj_elf_section): Change type of variable attr to bfd_vma
703         * config/obj-elf.h (obj_elf_change_section): Change type of arg
704         attr to bfd_vma.
705         * config/tc-ia64.c (bfdver.h,time.h): Include.
706         (ia64_elf_section_letter): Now returns a bfd_vma.
707         Handle VMS specific attributes.
708         (ia64_elf_section_flags): Arg attr now a bfd_vma.
709         (ia64_init): Don't turn on dependency checking for VMS.
710         (ia64_target_format): Check for VMS flag bit.
711         (do_alias): Hande decc$ functions.
712         (get_vms_time): New function.
713         (ia64_vms_note): New function.
714         * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
715         (ia64_elf_section_flags): Arg attr now a bfd_vma.
716         (tc_init_after_args): Define for VMS.
717         * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
718         (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
719         * config/tc-alpha.h: Likewise.
720         * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
721         (x86_64_section_word): Return a bfd_vma.
722         * config/tc-i386.h: Likewise.
723         * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
724         attr to bfd_vma.
725         * config/tc-ip2k.h: Likewise.
726         * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
727         (mep_elf_section_flags): Change type of arg attr to bfd_vma.
728         * config/tc-mep.h: Likewise.
729         * config/tc-ppc.c  (ppc_section_letter): Return a bfd_vma.
730         (ppc_section_word): Return a bfd_vma.
731         (ppc_section_flags): Change type of arg attr to bfd_vma.
732         * config/tc-ppc.h: Likewise.
733         * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
734         * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
735         DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
736         New file with new macros
737         * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
738         macros.
740 2009-01-15  Nick Clifton  <nickc@redhat.com>
742         PR 9722
743         * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
744         instructions before generating a Thumb2 nop.
746 2009-01-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
748         * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
750 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
752         * config/tc-spu.c (md_pseudo_table): Add "brinfo".
753         (brinfo): New var.
754         (md_assemble): Poke brinfo into branch instructions.
755         (spu_brinfo): New function.
756         (md_apply_fix): Don't assume insn fields start off at zero, mask
757         them to remove possible brinfo.
759 2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>
761         * doc/c-i386.texi: Reformat.
763 2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>
765         * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
766         .syscall.
767         (i386_align_code): Handle PROCESSOR_COREI7.
768         (md_show_usage): Add corei7, clflush and syscall.
769         (i386_target_format): Replace cpup4 with cpuclflush.
771         * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
773         * doc/c-i386.texi: Document corei7, clflush and syscall.
775 2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>
777         * config/tc-i386.c (cpu_arch): Add .rdtscp.
778         (md_show_usage): Display rdtscp.
780         * doc/c-i386.texi: Document rdtscp.
782 2009-01-09  Peter Bergner  <bergner@vnet.ibm.com>
784         * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
785         Test the new "deprecated" opcode field.
787 2009-01-07  Sterling Augustine  <sterling@tensilica.com>
789         * config/tc-xtensa.c (produce_flix): New.
790         (option_flix, optoin_no_generate_flix, option_no_flix) Define.
791         (md_longopts): Add support for them.
792         (md_parse_option): Likewise.
793         (md_show_usage): Add help message.
794         (finish_vinsn): Don't allow multi-slot flix when produce_flix
795         option is set to FLIX_NONE.
796         * config/xtensa-relax.c (transition_applies): Only relax to
797         flix branches when produce_flix equals FLIX_ALL.
798         * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
799         FLIX_NONE): New.
800         (produce_flix): Declare.
802 2009-01-06  Chao-ying Fu  <fu@mips.com>
804         * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
805         Use strncmp to match jalr and jalr.hb.
806         Fix a typo.
808 2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>
810         AVX Programming Reference (December, 2008)
811         * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
812         support.  Don't swap REG and NDS for FMA.
814 2009-01-02  Matthias Klose  <doko@ubuntu.com>
816         * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
817         behaviour.
819 For older changes see ChangeLog-2008
821 Local Variables:
822 mode: change-log
823 left-margin: 8
824 fill-column: 74
825 version-control: never
826 End: