<gas changes>
[binutils.git] / gas / ChangeLog
blob4467287cbb4cfa5bec4f03493a888a32b731d25f
1 2009-07-06  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
3         * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
4         (build_modrm_byte): Add support to handle FMA4 instructions.
5         (md_show_usage): Add fma4.
6         
7 2009-07-04  Alan Modra  <amodra@bigpond.net.au>
9         * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
11 2009-07-02  Tristan Gingold  <gingold@adacore.com>
13         * Makefile.am (OBJ_FORMATS): Add macho.
14         (CPU_OBJ_VALID): Ditto.
15         (OBJ_FORMAT_CFILES): Add config/obj-macho.c
16         (OBJ_FORMAT_HFILES): Add config/obj-macho.h
17         (obj-macho.o): New rule.
18         * Makefile.in: Regenerated.
19         * configure.tgt (generic_target): Add i386-*-darwin*.
20         * config/tc-i386.h: Use i386_target_format for Mach-O.
21         * config/tc-i386.c (i386_target_format): Define it for Mach-O.
22         (i386_target_format): Add a case for bfd_target_mach_o_flavour.
23         * config/obj-macho.h: New file.
24         * config/obj-macho.c: New file.
25         
26 2009-07-01  Nick Clifton  <nickc@redhat.com>
28         PR 10168
29         * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
30         PKHBT.
32 2009-07-01  Paul Brook <paul@codesourcery.com>
34         * config/tc-arm.c (MISSING_FNSTART): Define.
35         (s_arm_unwind_fnstart): Diagnose duplicate directive.
36         (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
37         s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
38         s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
39         s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
40         not inside function unwinding region.
42 2009-06-29  H.J. Lu  <hongjiu.lu@intel.com>
44         * config/tc-i386.c: Reformat.
46 2009-06-23  DJ Delorie  <dj@redhat.com>
48         * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
49         32 bits for relaxable branches so that we can relax them later.
50         (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
51         (mep_relax_frag): New.
52         (md_convert_frag): Relax IVC2 branches in-place.
53         * config/tc-mep.h ((mep_relax_frag): New.
55 2009-06-22  Martin Thuresson  <martin@mtme.org>
56         
57         * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
58         gas/config/atof-ieee.c, gas/config/obj-aout.c,
59         gas/config/obj-coff.c, gas/config/obj-ecoff.c,
60         gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
61         gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
62         gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
63         gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
64         gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
65         gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
66         gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
67         gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
68         gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
69         gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
70         gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
71         gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
72         gas/config/tc-s390.c, gas/config/tc-score.c,
73         gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
74         gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
75         gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
76         gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
77         gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
78         gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
79         gas macro `assert' to `gas_assert'.
81 2009-06-22  Daniel Gutson <dgutson@codesourcery.com>
83         * config/tc-arm.c (implicit_it_mode): New enum.
84         (implicit_it_mode): New global.
85         (it_instruction_type): New enum.
86         (arm_parse_it_mode): New function.
87         (arm_long_opts): New option added.
88         (arm_it): New field.
89         (it_state): New enum.
90         (now_it): New macro.
91         (check_it_blocks_finished): New function.
92         (insns[]): Use the IT Thumb opcodes for ARM too.
93         (arm_cleanup): Call check_it_blocks_finished.
94         (now_it_compatible): New function.
95         (conditional_insn): New function.
96         (set_it_insn_type): New macro.
97         (set_it_insn_type_last): New macro.
98         (do_it): Call automatic IT machinery functions.
99         (do_t_add_sub): Likewise
100         (do_t_arit3): Likewise.
101         (do_t_arit3c): Likewise.
102         (do_t_blx): Likewise.
103         (do_t_branch): Likewise.
104         (do_t_bkpt): Likewise.
105         (do_t_branch23): Likewise.
106         (do_t_bx): Likewise.
107         (do_t_bxj): Likewise.
108         (do_t_cps): Likewise.
109         (do_t_cpsi): Likewise.
110         (do_t_cbz): Likewise.
111         (do_t_it): Likewise.
112         (encode_thumb2_ldmstm): Likewise.
113         (do_t_ldst): Likewise.
114         (do_t_mov_cmp): Likewise.
115         (do_t_mvn_tst): Likewise.
116         (do_t_mul): Likewise.
117         (do_t_neg): Likewise.
118         (do_t_setend): Likewise.
119         (do_t_shift): Likewise.
120         (do_t_tb): Likewise.
121         (output_it_inst): New function.
122         (new_automatic_it_block): New function.
123         (close_automatic_it_block): New function.
124         (now_it_add_mask): New function.
125         (it_fsm_pre_encode): New function.
126         (handle_it_state): New function.
127         (it_fsm_post_encode): New function.
128         (force_automatic_it_block_close): New function.
129         (in_it_block): New function.
130         (md_assemble): Call automatic IT block machinery functions.
131         (arm_frob_label): Likewise.
132         (arm_opts): New element.
133         * config/tc-arm.h (it_state): New enum.
134         (current_it): New struct.
135         (arm_segment_info_type): New member added.
136         * doc/c-arm.texi: New option -mimplicit-it documented.
138 2009-06-20  Alan Modra  <amodra@bigpond.net.au>
140         PR 10302
141         * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
143 2009-06-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
145         * config/tc-s390.c (md_gather_operands): Accept an instruction
146         without operands if all operands are tagged as optional.
148 2009-06-18  Nick Clifton  <nickc@redhat.com>
150         PR 10169
151         * gas/tc-arm.c (do_t_ssat): Move common code from here...
152         (do_t_usat): ... and here to...
153         (do_t_ssat_usat): New function: ... here.  Add code to check that
154         the shift value, if present, is in range.
156 2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
158         Merge cegcc and mingw32ce target name changes
159         from CeGCC project:
161         2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
163         * configure.tgt: Add arm*-*-cegcc* target.
165         2007-12-17  Pedro Alves  <pedro_alves@portugalmail.pt>
167         * configure.tgt: Add arm-*-mingw32ce* target.
169 2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
171         * config/tc-vax.c (md_estimate_size_before_relax): Accept
172         indirect symbol references in the PIC mode and emit a
173         PC-relative relocation instead of a GOT/PLT one.  Likewise
174         for symbols known to be hidden at this point.
176 2009-06-15  Nick Clifton  <nickc@redhat.com>
178         PR 10186
179         * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
180         instruction.
182 2009-06-13  H.J. Lu  <hongjiu.lu@intel.com>
184         PR ld/10269
185         * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
186         instead of generic_force_reloc.
188         * config/tc-i386.h (TC_FORCE_RELOCATION): New.
190 2009-06-11  Anthony Green  <green@moxielogic.com>
192         * config/tc-moxie.c (md_chars_to_number): Define.
193         (md_begin): Populate opcode hashtable with more form 3 opcodes.
194         (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
195         (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
196         (tc_gen_reloc): Ditto.
197         (md_pcrel_from): Ditto.
198         (md_chars_to_number): New function.
200 2009-06-10  Anthony Green  <green@moxielogic.com>
202         * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
203         opcodes.
205 2009-06-09  Jakub Jelinek  <jakub@redhat.com>
207         PR gas/10255
208         * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
209         to DW_CFA_advance_loc4.
211 2009-06-08  Dave Korn  <dave.korn.cygwin@gmail.com>
213         PR gas/977
214         * config/tc-i386.c (md_estimate_size_before_relax):  Don't relax
215         branches to weak symbols.
216         (md_apply_fix):  Don't convert fixes against weak symbols to
217         section-relative offsets, but save addend for later reloc emission.
218         (tc_gen_reloc):  When emitting reloc against weak symbol, adjust
219         addend to pre-compensate for bfd_install_relocation.
221 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
223         * dep-in.sed: Don't use \n in replacement part of s command.
224         * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
225         * Makefile.in: Regenerate.
227 2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>
229         PR gas/10198
230         * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
232 2009-05-26  Catherine Moore  <clm@codesourcery.com>
234         * config/tc-mips.c (check_for_24k_errata): Remove.
235         (md_mips_end): Remove call to check_for_24k_errata.
236         (start_noreorder): Likewise.
237         (s_change_sec): Likewise.
238         (s_change_section): Likewise.
239         (insns_between): Add 24k errata checks.
240         (append_insn): Remove declaration and references to nhdx_24k.
241         Remove calls to check_for_24k_errata.
242             
243 2009-05-26  Nick Clifton  <nickc@redhat.com>
245         * po/id.po: Updated Indonesian translation.
246         * po/gas.pot: Updated template file.
248 2009-05-26  Nick Clifton  <nickc@redhat.com>
250         PR 10143
251         * config/bfin-parse.y (error): Use "%s" as format string for error
252         message.
254 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
256         * dep-in.sed: Output one filename per line with all lines having
257         continuation backslash.  Prefix first line with "A", following
258         lines with "B".
259         * Makefile.am (DEP): Don't use dep.sed here.
260         (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
261         sort and uniq.
262         (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
263         Emit multi dependencies on one line.
264         * Makefile.in: Regenerate.
266 2009-05-25  Tristan Gingold  <gingold@adacore.com>
268         * makefile.vms: New file to compile gas on VMS.
270         * configure.com: New file to do configuration on VMS with DCL.
272 2009-05-23  Richard Sandiford  <rdsandiford@googlemail.com>
274         * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
275         (nops_for_insn): Likewise.
277 2009-05-22  H.J. Lu  <hongjiu.lu@intel.com>
279         * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
281 2009-05-22  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
283         * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
284         (build_modrm_byte): Remove DREX handling support.
285         (DREX_*): Delete.
286         (drex_byte): Delete.
287         (md_assemble): Remove DREX handling support.
288         (process_operands): Remove DREX, SSE5 support.
289         (i386_insn): Remove DREX.
290         
291 2009-05-22  Alan Modra  <amodra@bigpond.net.au>
293         * Makefile.am: Run "make dep-am".
294         * Makefile.in: Regenerate.
296 2009-05-20  Kai Tietz  <kai.tietz@onevision.com>
297             H.J. Lu  <hongjiu.lu@intel.com>
299         * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
300         (TARGET_FORMAT): Removed for x86 pe-coff.
301         (COFF_TARGET_FORMAT): Likewise.
303         * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
304         (md_parse_option): Likewise.
305         (md_show_usage): Show option --32/--64 for x86 pe-coff.
306         (i386_target_format): Use also for x86 pe-coff.
308         * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
309         for x86 pe-coff.
311 2009-05-19  DJ Delorie  <dj@redhat.com>
313         * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
314         (mep_process_saved_insns): Remove debugging printfs.
316 2009-05-19  Dave Korn  <dave.korn.cygwin@gmail.com>
318         * NEWS:  Mention new feature.
319         * config/obj-coff.c (obj_coff_common_parse):  New function.
320         (obj_coff_comm):  Likewise.
321         (coff_pseudo_table):  Override default ".comm" definition on PE.
322         * doc/as.texinfo:  Document new feature.
324 2009-05-17  Kai Tietz  <kai.tietz@onevision.com>
326         * config/obj-coff.c (obj_coff_section): Add 'y' as
327         specifier for SEC_COFF_NOREAD section flag.
328         * doc/as.texinfo: Add documentation about .section flag 'y'.
330 2009-05-13  DJ Delorie  <dj@redhat.com>
332         * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
334 2009-05-13  Andrew Jenner  <andrew@codesourcery.com>
336         * config/tc-arm.c: Move as.h to start of file.
338 2009-05-05 Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
340         * config/tc-arm.h: Fix typo in comment.
341         (ARM_IS_FUNC): New macro.
342         (MD_APPLY_SYM_VALUE): Define.
344         * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
345         all versions of EABI.
346         (relax_branch): Do not relax for branches to ARM functions.
347         (md_pcrel_from_section): Set up base correctly for
348         BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
349         BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
350         BFD_RELOC_ARM_PCREL_CALL.
351         (md_apply_fix): Flip bl to blx where possible.
352         Flip blx to bl where possible.
353         (arm_force_relocation): Force relocations for
354         BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
355         BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
356         BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
357         BFD_RELOC_THUMB_PCREL_BRANCH25.
358         (arm_apply_sym_value): New function.
359         
360 2009-05-04  Tristan Gingold  <gingold@adacore.com>
362         * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
364 2009-05-01  Nathan Sidwell  <nathan@codesourcery.com>
366         * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
367         * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
368         * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
369         the default FPU from the processor.
371 2009-05-01  Julian Brown  <julian@codesourcery.com>
373         * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
374         (md_pcrel_from_section): Align address for BLX.
375         (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
376         BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
378 2009-04-29  DJ Delorie  <dj@redhat.com>
380         * config/tc-mep.c (md_begin): Check coprocessor type.
381         (md_check_parallel64_scheduling): Use memset to initialize the buffer.
382         (md_check_parallel32_scheduling): Likewise.
383         (slot_ok): New.
384         (mep_check_ivc2_scheduling): New.
385         (mep_check_parallel_scheduling): Call it.
386         (mep_process_saved_insns): Add IVC2 slot support.
387         (md_assemble): Likewise.
389 2009-04-30  Nick Clifton  <nickc@redhat.com>
391         * config/obj-elf.c (obj_elf_type): Add support for a
392         gnu_indirect_function type.
393         * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
394         against indirect function symbols.
395         * doc/as.texinfo (.type): Document the support for the
396         gnu_indirect_function symbol type.
397         * NEWS: Mention the new feature.
399 2009-04-24  Cary Coutant  <ccoutant@google.com>
401         * NEWS: Add item about discriminator support.
402         * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
403         * dwarf2dbg.c (current): Add discriminator field.
404         (dwarf2_where): Copy discriminator value.
405         (dwarf2_consume_line_info): Set discriminator to 0.
406         (dwarf2_directive_loc): Process discriminator sub-op.
407         (out_leb128): New function.
408         (process_entries): Output DW_LNE_set_discriminator.
409         * doc/as.texinfo: Add discriminator operand to .loc directive.
411 2009-04-22  Nathan Sidwell  <nathan@codesourcery.com>
413         * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
414         as_bad calls to silence compiler warning.
416 2009-04-21  H.J. Lu  <hongjiu.lu@intel.com>
418         * config/tc-i386-intel.c (O_XXX): Reorder.
420 2009-04-20  Jan Beulich  <jbeulich@novell.com>
422         * Makefile.am: Add explicit dependency of tc-i386.o on
423         tc-i386-intel.c.
424         * Makefile.in: Likewise.
425         * config/tc-i386.c (i386_finalize_immediate): Declare, broken
426         out from i386_immediate.
427         (i386_immediate): Slightly re-arrange, call
428         i386_finalize_immediate.
429         (i386_finalize_displacement): Declare, broken out from
430         i386_displacement.
431         (i386_displacement): Slightly re-arrange, call
432         i386_finalize_displacement.
433         (i386_intel_simplify, i386_intel_parse_name): Declare.
434         (this_operand): Initialize to -1.
435         (set_intel_syntax): Set expression rank for O_full_ptr.
436         (md_assemble): Set this_operand back to -1 after parsing
437         operands.
438         (x86_cons): Negate intel_syntax to indicate state. Call
439         i386_intel_simplify.
440         (md_operand): Convert if to switch. Handle '[' for Intel
441         syntax.
442         (i386_intel_operand): Delete, including all helper functions
443         and data.
444         * config/tc-i386-intel.c: New file, all new code.
445         * config/tc-i386.h (i386_operator): Declare.
446         (md_operator): Define to i386_operator.
447         (i386_need_index_operator): Declare.
448         (md_need_index_operator): Define to i386_need_index_operator.
449         (O_full_ptr): Define.
451 2009-04-20  Jan Beulich  <jbeulich@novell.com>
453         * expr.c (operand): Call md_need_index_operator() and
454         md_operator() if defined. Add unary label.
455         (operator): Call md_operator() if defined.
456         (expr): Adjust assertions on range and rank of op_left and
457         op_right. Don't abort on unhandled operators when reducing
458         expressions with both operands being constant.
459         (expr_set_rank): New.
460         * expr.h (expr_set_rank): Declare.
462 2009-04-15  Anthony Green  <green@moxielogic.com>
464         * config/tc-moxie.h: New file.
465         * config/tc-moxie.c: New file.
466         * configure: Add support for moxie.
467         * configure.tgt: Add support for moxie.
469 2009-04-16  Jan Beulich  <jbeulich@novell.com>
471         * expr.c: Include limits.h if available, and #define CHAR_BITS
472         otherwise.
473         (expr): Check range of shift count when evaluating a constant
474         expression.
476 2009-04-15  Jan Beulich  <jbeulich@novell.com>
478         * config/tc-i386.c (process_operands): Print operands in
479         correct order depending on intel_syntax.
481 2009-04-09  Catherine Moore  <clm@codesourcery.com>
483         * config/tc-mips.c (mips_fix_24k): Declare.
484         (check_for_24k_errata): New.
485         (mips_cleanup): Call check_for_24k_errata.
486         (start_noreorder): Likewise.
487         (md_mips_end): Likewise.
488         (s_change_sec): Likewise.
489         (s_change_section): Likewise.
490         (append_insn): Call check_for_24k_errata.  Prevent
491         ERET/DERET instructions from being moved into delay
492         slots.
493         (OPTION_FIX_24K): New.
494         (OPTION_NO_FIX_24k) New.
495         (md_longopts): Add "mfix-24k" and "mno-fix-24k".
496         (md_parse_option): Handle fix-24k options.
497         (md_show_usage): Display fix-24k options.
498         * doc/c-mips.texi: Document.
500 2009-04-09  Adam Nemet  <anemet@caviumnetworks.com>
502         * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
503         instead of HAVE_64BIT_SYMBOLS.
505 2009-04-07  DJ Delorie  <dj@redhat.com>
507         * config/tc-mep.c: Add UCI/DSP instruction support.  Add C5 support.
508         (md_show_usage): Change default endian to little.
509         * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
511 2009-04-06  DJ Delorie  <dj@redhat.com>
513         * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
514         immediates.
515         (build_bytes): Pass insn to do_a_fix_imm.
517 2009-04-02  Daniel Gutson <dgutson@codesourcery.com>
519         * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
520         * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
521         Cortex-M1.
523 2009-04-01  Matt Thomas <matt@netbsd.org>
525         * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
526         (md_assemble): emit symbol name when used as immediate in PIC mode.
527         (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
529 2009-04-01  Sterling Augustine  <sterling@jaw.hq.tensilica.com>
531         * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
533 2009-04-01  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
535         * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
536         (find_real_start): Likewise.
537         * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
539 2009-04-01  Nathan Sidwell  <nathan@codesourcery.com>
541         * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
542         (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
543         whenever possible.
545 2009-03-31  Peter Bergner  <bergner@vnet.ibm.com>
547         * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
549 2009-03-31  Dave Korn  <dave.korn.cygwin@gmail.com>
551         * doc/internals.texi:  Fix trivial syntax errors.
553 2009-03-26  Alan Modra  <amodra@bigpond.net.au>
555         PR 10005
556         * config/tc-i386.c (reloc): Don't abort on lack of required
557         reloc type.
559 2009-03-25  H.J. Lu  <hongjiu.lu@intel.com>
561         * config/tc-i386.c (parse_insn): Use default_arch on unsupported
562         arch.
564 2009-03-23  H.J. Lu  <hongjiu.lu@intel.com>
566         PR gas/9966
567         * listing.c (listing_newline): Properly handle `\\"' and ';'.
569         * read.c (is_end_of_line): Update comments for line separator.
570         (read_begin): Set line separator in is_end_of_line to 2.
572 2009-03-19  David S. Miller  <davem@davemloft.net>
574         * config/tc-sparc.c (md_parse_option): If the user gives
575         us '--64' make sure max_architecture is at least V9.
577 2009-03-18  Andrew Stubbs  <ams@codesourcery.com>
579         * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
580         BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
581         Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
583 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
585         * as.h: Include alloca-conf.h instead of config.h and remove
586         existing #if's handling alloca.
587         * Makefile.am: Run "make dep-am".
588         * Makefile.in: Regenerate.
590 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
592         * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
593         C_AIX_WEAKEXT too.
595 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
597         * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
598         "value" from fx_offset.  Manually resubtract md_pcrel_from_section
599         where necessary.
601 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
603         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
604         * configure.in: Likewise.
605         * configure: Regenerate.
607 2009-03-11  Hans-Peter Nilsson  <hp@axis.com>
609         * config/tc-cris.c (cris_create_short_jump): Remove prototype.
610         Rename, changing all callers, to...
611         (md_create_short_jump): Adjust head comment.  Assert
612         word-sized-branch distance for v32.  Bail out calling as_fatal for
613         compatibility mode here.
614         (md_create_long_jump): ...not here.
615         * config/tc-cris.h (md_create_short_jump): Do not define.
617 2009-03-10  Hans-Peter Nilsson  <hp@axis.com>
619         * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
620         the jump table for multiple overflowing entries with the same
621         target, handle base symbols being different.
622         (relax_segment) <case rs_broken_word, second loop>: Whenever a
623         single entry overflows, arrange to redirect all entries with the
624         same target.
626 2009-03-10  Alan Modra  <amodra@bigpond.net.au>
628         * config/tc-ppc.c (parse_cpu): Delete.
629         (md_parse_option, ppc_machine): Use ppc_parse_cpu.
631 2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
633         PR gas/9915
634         * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New.  Defined as 0.
635         (LOCAL_LABELS_FB): Undefine befoe define.
637 2009-03-06  Nick Clifton  <nickc@redhat.com>
639         * po/es.po: Updated Spanish translation.
641 2009-03-05  Joseph Myers  <joseph@codesourcery.com>
643         * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
644         s_incbin): Call md_cons_align (1).
646 2009-03-04  Nick Clifton  <nickc@redhat.com>
648         * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
649         based targets.
650         (s_alpha_comm): Only define "temp" and "log_align" local variables
651         for EVAX targets.
653 2009-03-04  Alan Modra  <amodra@bigpond.net.au>
655         * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
656         have non-zero addend.
657         (md_assemble): Parse args of __tls_get_addr calls.
658         (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
660 2009-03-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
662         binutils/3807
663         * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
664         local scope for ELF targets.
666 2009-03-04  Alan Modra  <amodra@bigpond.net.au>
668         * config/tc-ppc.c (md_assemble): APUinfo only for e500.
670 2009-03-03  Tristan Gingold  <gingold@adacore.com>
671             Eric Botcazou  <ebotcazou@adacore.com>
672             Douglas B Rupp  <rupp@gnat.com>
674         * doc/as.texinfo (Overview): Mention -replace/-noreplace options
675         for Alpha.
676         * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
677         * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
678         (OBJ_SYMFIELD_TYPE): Remove.
679         (tc_canonicalize_symbol_name): Define to evax_shorten_name.
680         (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
681         (tc_frob_file_before_fix): Do not defined on evax.
682         * config/tc-alpha.c: Always includes dwarf2dbg.h.
683         Include vms.h if OBJ_EVAX.
684         (struct alpha_fixup): Add xtrasym and procsym (evax only).
685         (enum alpha_macro_arg): Remove trailing comma.
686         (md_longopts): Add replace and noreplace arguments (evax only).
687         (alpha_evax_proc_hash): New variable.
688         (alpha_link_section): Make it global.
689         (alpha_ctors_section, alpha_dtors_section): Removed.
690         (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
691         (alpha_lit8_section): Ifndef'ed on evax.
692         (alpha_lit8_symbol): Ditto.
693         (alpha_prologue_label): New variable.
694         (alpha_linkage_symbol): New variable (evax only).
695         (alpha_flag_replace): Ditto.
696         (struct alpha_evax_procs): Add handler and handler_data field.
697         (alpha_evax_proc): Now of type pointer.
698         (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
699         (struct alpha_reloc_tag): Add sym and psym fields (evax only).
700         (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
701         (alpha_adjust_relocs): Ifndef'ed on evax.
702         (load_expression): Add opname argument.
703         Implement LDA/BSR optimization for evax.
704         (emit_lda): Adjust for new prototype of load_expression.
705         (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
706         (emit_loadstore): Likewise.
707         (emit_ldXu): Likewise.
708         (emit_stX): Likewise.
709         (emit_jsrjmp): Likewise.  Implement LDA/BSR optimization for evax.
710         (emit_ldgp): Avoid warning in evax case.
711         (add_to_link_pool): Make it static.  Return symbolic expression rather
712         than number expression for the offset.
713         (s_alpha_text): Create .text symbol for evax if not already created.
714         (s_alpha_comm): Do not create specific section for common symbol.
715         Fill common area with zeros for evax.
716         (s_alpha_prologue): Create alpha_prologue_label.
717         (s_alpha_section_name): New function (evax).
718         (s_alpha_section_word): Likewise.
719         (section_name): New static variabke moved out from ...
720         (s_alpha_section): ... here.  Create new sections on demand.
721         (s_alpha_literals): New function (evax).
722         (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
723         alpha_evax_proc_hash table.
724         (s_alpha_handler): New function (evax).
725         (s_alpha_frame): Adjust for new type of alpha_evax_proc.
726         (s_alpha_prologue): New function (evax).
727         (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
728         handling of procedures with hash table.
729         Add support for condition handlers.
730         (s_alpha_linkage): Create linkage_fixup instance and chain it.
731         (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
732         (s_alpha_mask): Likewise.
733         (s_alpha_fmask): Likewise.
734         (s_alpha_end): Clear alpha_evax_proc.
735         (s_alpha_align): Increase max_alignment to 16.
736         (alpha_print_token): Call print_expr_1 instead of print_expr.
737         (md_pseudo_table): Add "section", "literals", "handler" and
738         "handler_data" (evax).  Do not ignore "prologue" on evax.
739         Fix indentation.
740         (md_begin): Create hash table for alpha_evax_proc_hash.
741         (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
742         (md_show_usage): Mention -replace/-noreplace for evax.
743         (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
744         (alpha_force_relocation): Likewise.
745         (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
746         (tc_gen_reloc): Likewise.  Add BFD_RELOC_ALPHA_LINKAGE for evax.
747         (emit_insn): New cases for evax specific relocs.
748         (assemble_insn): Fix indentation.
749         Take care of -MDISP in operand table.
750         * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
751         (OBJ_SYMFIELD_TYPE): New macro.
752         (obj_symbol_new_hook): Define.
753         (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
754         (obj_frob_file_before_fix): Ditto.
755         (PDSC_S_M_HANDLER_VALID): New macro.
756         (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
757         (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
758         Add prototypes for functions declared in obj-evax.c
759         * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
760         (s_evax_weak): Convert to ansi-C.
761         (evax_symbol_new_hook): New function.
762         (evax_frob_symbol): Ditto.
763         (evax_frob_file_before_adjust): Ditto.
764         (evax_frob_file_before_fix): Ditto.
765         (evax_shorten_name): Ditto.
766         (crc32): Ditto.
767         (encode_32): Ditto.
768         (encode_16): Ditto.
769         (decode_16): Ditto.
770         (shorten_identifier): Ditto.
771         (is_truncated_identifier): Ditto.
772         * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
773         * as.c (close_output_file): Remove #ifndef OBJ_VMS.
774         (main): Ditto.
776 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
778         * Makefile.am: Run "make dep-am".
779         * Makefile.in: Regenerate.
781 2009-03-02  Nick Clifton  <nickc@redhat.com>
783         PR 9874
784         * config/tc-ia64.c (fix_insn): Fix warning reported by
785         -Wformat-security.
787 2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
789         * config/tc-score7.c: New file.
790         * doc/c-score.texi: New file.
791         * Makefile.am: Update dependencies for tc-score.c.
792         * Makefile.in: Regenerate.
793         * NEWS: Mention support for Score7 architecture.
794         * config/tc-score.c: Add support for Score7 architecture.
795         * config/tc-score.h: Likewise.
796         * doc/Makefile.am: Add c-score.texi.
797         * doc/Makefile.in: Regenerate.
798         * doc/all.texi: Add Score7.
799         * doc/as.texinfo: Add Score7.
801 2009-03-01  Mark Mitchell  <mark@codesourcery.com>
803         * config/tc-arm.c (md_assemble): Allow barrier instructions on
804         ARMv6-M cores.
806 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
808         * configure: Regenerate.
810 2009-02-26  Peter Bergner  <bergner@vnet.ibm.com>
812         * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
813         "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
814         (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
816 2009-02-25  H.J. Lu  <hongjiu.lu@intel.com>
818         * config/tc-i386.c (fits_in_imm4): Removed.
820 2009-02-24  Helge Deller <deller@gmx.de>
822         * config/tc-hppa.c (pa_ip): Add check of immediate values.
823         (SAVE_IMMEDIATE): New define.
825 2009-02-23  Mark Mitchell  <mark@codesourcery.com>
827         * config/tc-arm.c (warn_deprecated_sp): New macro.
828         (do_t_mov_cmp): Permit R13 as the second
829         argument to "cmp.n".
831 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
833         * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
834         (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
836 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
838         * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
840 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
842         * config/tc-i386.c (vex_imm4): Removed.
843         (VEX_check_operands): Likewise.
844         (match_template): Updated.
846 2009-02-23  Martin Schwidefsky  <schwidefsky@de.ibm.com>
848         * doc/all.texi: Set S390.
849         * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
850         * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
851         * doc/Makefile.in: Likewise.
852         * doc/c-s390.texi: New.
854 2009-02-12  Nathan Sidwell  <nathan@codesourcery.com>
856         * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
857         (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
858         (mcf5307_ctrl): Add VBR.
859         (no_mac): New variable.
860         (m68k_extensions): Refer to no_mac mask.
861         (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
862         52252..52259, 53011..53017.
863         (m68k_ip): Process CPUCR.
864         (init_table): Add cpucr entry.
865         (m68k_set_extension): Allow negated mask to refer to a variable.
866         (md_show_usage): Use '%s' to silence fprintf warning.
867         * config/m68k-parse.h (CPUCR): New control register.
869 2009-02-10  Nathan Sidwell  <nathan@codesourcery.com>
871         * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
872         as_bad calls to silence compiler warning.
874 2009-02-06  Nick Clifton  <nickc@redhat.com>
876         PR 9814
877         * config/tc-arm.c (MODE_RECORDED): New define.
878         (output_inst): Record the thumb_mode in the current frag.
879         (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
880         (arm_init_frag): Only set the tc_frag_data field if it has not
881         already been set.
883 2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>
885         AVX Programming Reference (January, 2009)
886         * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
887         (CPU_FLAGS_AVX_MATCH): Updated.
888         (CPU_FLAGS_32BIT_MATCH): Likewise.
889         (cpu_flags_match): Likewise.
891 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
893         * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
894         M_MSGWAIT and M_MSGWAIT_T.
895         (mips_cpu_info_table): Add XLR entry.
896         * doc/c-mips.texi (-march): Document xlr.
898 2009-02-03  Eric B. Weddington  <eric.weddington@atmel.com>
900         * config/tc-avr.c (mcu_types): Add ata6289.
901         * doc/c-avr.texi: Likewise.
903 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
905         * configure.in: AC_SUBST pdfdir.
906         * Makefile.am: Add install-pdf, install-pdf-am,
907         and install-pdf-recursive targets.
908         * doc/Makefile.am: Define pdf__strip_dir. Add
909         install-pdf and install-pdf-am targets.
910         * po/Make-in: Add install-pdf target.
911         * configure: Regenerate.
912         * Makefile.in: Regenerate.
913         * doc/Makefile.in: Regenerate.
915 2009-02-03  Maxim Kuvyrkov  <maxim@codesourcery.com>
917         * config/m68k-parse.h (enum pic_relocation): Add values for TLS
918         relocations.
919         * config/m68k-parse.y (yylex): Parse TLS relocations.
920         * config/tc-m68k.c (m68k_elf_cons): New static function.
921         (md_pseudo_table): Use it.
922         (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
923         relocations.
924         (md_apply_fix): Fix to set thread local flag.
925         (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
927 2009-02-03  Vince Weaver <vince@csl.cornell.edu>
929         PR 9779
930         * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
931         indexed addressing for symbolic expressions.
933 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
935         * config/tc-arm.c (BAD_SP): Define.
936         (s_arm_unwind_fnstart): Use REG_SP.
937         (s_arm_unwind_setfp): Likewise.
938         (reject_bad_reg): New macro.
939         (do_co_reg): Check for bad registers.
940         (do_co_reg2c): Likewise.
941         (do_srs): Use REG_SP.
942         (do_t_add_sub): Check for bad registers.
943         (do_t_adr): Likewise.
944         (do_t_arit3): Likewise.
945         (do_t_arit3c): Likewise.
946         (do_t_bfc): Likewise.
947         (do_t_bfi): Likewise.
948         (do_t_bfx): Likewise.
949         (do_t_blx): Likewise.
950         (do_t_bx): Likewise.
951         (do_t_bxj): Likewise.
952         (do_t_clz): Likewise.
953         (do_t_div): Likewise.
954         (do_t_mla): Likewise.
955         (do_t_mlal): Likewise.
956         (do_t_mov_cmp): Likewise.
957         (do_t_mov16): Likewise.
958         (do_t_mvn_tst): Likewise.
959         (do_t_mrs): Likewise.
960         (do_t_msr): Likewise.
961         (do_t_mul): Likewise.
962         (do_t_mull): Likewise.
963         (do_t_orn): Likewise.
964         (do_t_pkhbt): Likewise.
965         (do_t_pld): Likewise.
966         (do_t_rbit): Likewise.
967         (do_t_rev): Likewise.
968         (do_t_rrx): Likewise.
969         (do_t_rsb): Likewise.
970         (do_t_shift): Likewise.
971         (do_t_simd): Likewise.
972         (do_t_ssat): Likewise.
973         (do_t_ssat16): Likewise.
974         (do_t_sxtah): Likewise.
975         (do_t_sxth): Likewise.
976         (do_t_tb): Likewise.
977         (do_t_usat): Likewise.
978         (do_t_usat16): Likewise.
979         (nysn_insert_sp): Use REG_SP.
981 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
983         * config/tc-arm.c (do_t_orn): New function.
984         (do_t_rrx): Likewise.
985         (insns): Add orn and rrx.
987 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
989         * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
990         uasx, uhasx, uhsx, uqasx, uqsax, usax.
992 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
994         * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
995         qdsub in Thumb-2 mode.
997 2009-01-29  Paul Brook  <paul@codesourcery.com>
998             Mark Mitchell  <mark@codesourcery.com>
1000         * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
1001         of MUL when possible.
1003 2009-01-29  Nick Clifton  <nickc@redhat.com>
1005         * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
1007 2009-01-29  Nathan Sidwell  <nathan@codesourcery.com>
1008             Catherine Moore <clm@codesourcery.com?
1010         * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
1011         .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
1012         directives.
1014 2009-01-27  Nick Clifton  <nickc@redhat.com>
1016         * config/tc-mips.c (append_insn): Cope with a complex reloc
1017         sequence containing an unsupported reloc type.
1018         (enum options): Replace computed #define's constants for option
1019         numbers with this enum.
1020         (struct md_longopts): Use the enum.  Allow OPTION_32 in a non-ELF
1021         environment.
1022         (md_parse_option): Allow -32 in a non-ELF environment.
1024 2009-01-26  Andrew Stubbs  <ams@codesourcery.com>
1026         * config/tc-arm.c (attributes_set_explicitly): New array.
1027         (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
1028         (cpu_arch): Add ARM_ARCH_V5T.
1029         (aeabi_set_attribute_int): New function.
1030         (aeabi_set_attribute_string): New function.
1031         (aeabi_set_public_attributes): Set attributes according to the user's
1032         intentions, rather than the actual state of the binary.
1033         Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
1034         bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
1035         Support WMMXv2. Use attribute names instead of numbers.
1036         * read.c (s_vendor_attribute): Change return type to int.
1037         Return the tag number that was set.
1038         * read.h (s_vendor_attribute): Change return type to int.
1040 2009-01-26  Eric B. Weddington  <eric.weddington@atmel.com>
1042         PR 9789
1043         * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
1044         * doc/c-avr.texi: Likewise.
1046 2009-01-23  Nathan Sidwell  <nathan@codesourcery.com>
1048         * doc/c-arm.texi (): Document -mwarn-deprecated.
1049         * config/tc-arm.c (WARN_DEPRECATED): Remove.  Replace with ...
1050         (warn_on_deprecated): ... this.
1051         (opcode_lookup, md_assemble): Check it before warning.
1052         (arm_opts): Add m[no-]warn-deprecated.
1053         (md_parse_option): Replace WARN_DEPRECATED with
1054         warn_on_deprecated.
1056 2009-01-23  Andreas Schwab  <schwab@suse.de>
1058         * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
1059         arguments to macro_build to match format.
1061         * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
1062         * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
1064 2009-01-19  Nick Clifton  <nickc@redhat.com>
1066         * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
1067         ELF format ARM targets.
1068         * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
1070 2009-01-19  Nick Clifton  <nickc@redhat.com>
1072         * configure.tgt: Restore alpha sorting to object format switch
1073         statement.
1075 2009-01-19  Andrew Stubbs  <ams@codesourcery.com>
1077         * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
1079 2009-01-16  Mark Shinwell  <shinwell@codesourcery.com>
1081         * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
1082         * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
1084 2009-01-16  Andrew Stubbs  <ams@codesourcery.com>
1085             Daniel Jacobowitz  <dan@codesourcery.com>
1087         * config/tc-arm.c (arm_copy_symbol_attributes): New function.
1088         * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
1089         (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
1090         * read.c (s_vendor_attribute): Add support for symbolic tag names.
1091         Improve string parser.
1092         * doc/c-arm.texi (ARM Machine Directives): Document
1093         .eabi_attribute symbolic tag names.
1095 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
1097         * configure.in (commonbfdlib): Delete.
1098         * configure: Regenerate.
1099         * po/POTFILES.in: Regenerate.
1101 2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
1102             Julian Brown   <julian@codesourcery.com>
1104         * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
1106 2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
1108         * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
1109         bfd_elf_add_obj_attr_int_string.
1111 2009-01-15  Douglas B Rupp  <rupp@gnat.com>
1113         * configure.tgt(ia64-*-*vms*): New target.
1114         * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
1115         * tc.h (md_number_to_chars): Declare iff undefined.
1116         * config/obj-elf.c (obj_elf_change_section): Change type of arg
1117         attr to bfd_vma.
1118         (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
1119         variables attr, md_attr to bfd_vma.
1120         (obj_elf_section_word): Likewise.
1121         (obj_elf_section): Change type of variable attr to bfd_vma
1122         * config/obj-elf.h (obj_elf_change_section): Change type of arg
1123         attr to bfd_vma.
1124         * config/tc-ia64.c (bfdver.h,time.h): Include.
1125         (ia64_elf_section_letter): Now returns a bfd_vma.
1126         Handle VMS specific attributes.
1127         (ia64_elf_section_flags): Arg attr now a bfd_vma.
1128         (ia64_init): Don't turn on dependency checking for VMS.
1129         (ia64_target_format): Check for VMS flag bit.
1130         (do_alias): Hande decc$ functions.
1131         (get_vms_time): New function.
1132         (ia64_vms_note): New function.
1133         * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
1134         (ia64_elf_section_flags): Arg attr now a bfd_vma.
1135         (tc_init_after_args): Define for VMS.
1136         * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
1137         (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
1138         * config/tc-alpha.h: Likewise.
1139         * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
1140         (x86_64_section_word): Return a bfd_vma.
1141         * config/tc-i386.h: Likewise.
1142         * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
1143         attr to bfd_vma.
1144         * config/tc-ip2k.h: Likewise.
1145         * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
1146         (mep_elf_section_flags): Change type of arg attr to bfd_vma.
1147         * config/tc-mep.h: Likewise.
1148         * config/tc-ppc.c  (ppc_section_letter): Return a bfd_vma.
1149         (ppc_section_word): Return a bfd_vma.
1150         (ppc_section_flags): Change type of arg attr to bfd_vma.
1151         * config/tc-ppc.h: Likewise.
1152         * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
1153         * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
1154         DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
1155         New file with new macros
1156         * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
1157         macros.
1159 2009-01-15  Nick Clifton  <nickc@redhat.com>
1161         PR 9722
1162         * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
1163         instructions before generating a Thumb2 nop.
1165 2009-01-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1167         * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
1169 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
1171         * config/tc-spu.c (md_pseudo_table): Add "brinfo".
1172         (brinfo): New var.
1173         (md_assemble): Poke brinfo into branch instructions.
1174         (spu_brinfo): New function.
1175         (md_apply_fix): Don't assume insn fields start off at zero, mask
1176         them to remove possible brinfo.
1178 2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1180         * doc/c-i386.texi: Reformat.
1182 2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1184         * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
1185         .syscall.
1186         (i386_align_code): Handle PROCESSOR_COREI7.
1187         (md_show_usage): Add corei7, clflush and syscall.
1188         (i386_target_format): Replace cpup4 with cpuclflush.
1190         * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
1192         * doc/c-i386.texi: Document corei7, clflush and syscall.
1194 2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>
1196         * config/tc-i386.c (cpu_arch): Add .rdtscp.
1197         (md_show_usage): Display rdtscp.
1199         * doc/c-i386.texi: Document rdtscp.
1201 2009-01-09  Peter Bergner  <bergner@vnet.ibm.com>
1203         * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
1204         Test the new "deprecated" opcode field.
1206 2009-01-07  Sterling Augustine  <sterling@tensilica.com>
1208         * config/tc-xtensa.c (produce_flix): New.
1209         (option_flix, optoin_no_generate_flix, option_no_flix) Define.
1210         (md_longopts): Add support for them.
1211         (md_parse_option): Likewise.
1212         (md_show_usage): Add help message.
1213         (finish_vinsn): Don't allow multi-slot flix when produce_flix
1214         option is set to FLIX_NONE.
1215         * config/xtensa-relax.c (transition_applies): Only relax to
1216         flix branches when produce_flix equals FLIX_ALL.
1217         * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
1218         FLIX_NONE): New.
1219         (produce_flix): Declare.
1221 2009-01-06  Chao-ying Fu  <fu@mips.com>
1223         * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
1224         Use strncmp to match jalr and jalr.hb.
1225         Fix a typo.
1227 2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1229         AVX Programming Reference (December, 2008)
1230         * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
1231         support.  Don't swap REG and NDS for FMA.
1233 2009-01-02  Matthias Klose  <doko@ubuntu.com>
1235         * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
1236         behaviour.
1238 For older changes see ChangeLog-2008
1240 Local Variables:
1241 mode: change-log
1242 left-margin: 8
1243 fill-column: 74
1244 version-control: never
1245 End: