1 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3 * macro.c (get_any_string): Add no-c-format comment to prevent
4 confusion when translating string.
5 * gasp.c (get_any_string): Add no-c-format comment to prevent
6 confusion when translating string.
8 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
9 Johannes Stezenbach <js@convergence.de>
10 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
11 matched before the shorter ones.
12 (my_getSmallParser): Fix handling of nested parentheses in
13 percent_op's. Code cleanup.
14 (my_getPercentOp): New function, code from my_getSmallParser.
15 (my_getSmallExpression): Fix handling of closing parentheses.
16 Code cleanup. Better comments.
18 2002-01-16 Nick Clifton <nickc@redhat.com>
20 po/tr.po: New file: Turkish translation.
21 configure.in (LINGUAS): Add "tr".
22 configure: Regenerate.
24 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
26 Support for VFP instructions
27 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
28 (cp_address_required_here): New argument wb_ok. When false, do not
29 accept write-back forms of addressing. Change all callers.
30 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
31 (FPU_VFP_EXT_V2): Define.
32 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
33 Define in terms of above.
34 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
35 (vfp_reg): New struct.
36 (vfp_regs): New array of registers.
37 (insns): Add VFP instructions.
38 (sn_table): New array of VFP single-precision register names.
39 (dn_table): New array of VFP double-precision register names.
40 (all_reg_maps): Add the new register tables.
41 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
42 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
43 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
44 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
45 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
46 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
47 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
48 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
49 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
50 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
51 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
52 (do_vfp_sp_dp_cvt): New functions.
53 (md_begin): Set soft-float flag for appropriate VFP work.
54 (md_atof): Handle VFP-format doubles.
55 (md_parse_option): Handle VFP command-line options.
56 (md_show_usage): Display VFP command-line options.
58 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
60 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
61 various command line options.
63 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
65 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
67 (xstormy16_md_apply_fix3): Do not return a value.
69 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
71 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
72 the -EL/-EB option that matches the target's endianness.
73 (md_parse_option): Likewise.
75 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
77 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
78 is not dependent on ARM_BI_ENDIAN.
80 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
82 * tc-arm.c (all error messages): Normalize capitalization of messages.
84 * tc-arm.h (md_operand): Delete define.
85 * tc-arm.c (in_my_get_expression): New static variable.
86 (my_get_expression): Set and clear it.
87 (md_operand): New function. If called from my_get_expression
88 put the error in inst.error.
89 (output_inst): Now takes argument of instruction being assembled.
90 Print it out with any error message.
91 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
93 (end_of_line): Don't update inst.error if it is already set.
95 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
97 * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
98 op that can be translated into a mvn instruction.
100 2002-01-11 Steve Ellcey <sje@cup.hp.com>
102 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
103 setting default md.flags.
104 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
105 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
106 * gas/config/tc-ia64.c (setup_unwind_header): Add support
107 for 32 bit unwind info blocks.
108 (generate_unwind_image): Add support for different types
109 of unwind images (32 bits and/or big-endian).
110 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
111 (ia64_target_format): Add support for hpux target formats.
112 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
113 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
114 SHT_FINI_ARRAY elf section types.
116 2002-01-10 Richard Earnshaw <rearnsha@arm.com>
118 * tc-arm.c (struct reg_entry): Move before prototypes.
119 (int_register, cp_register, fp_register): Delete.
120 (reg_table): Delete. Replaced with ...
121 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
122 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
123 (mav_dspsc_table): ... one table per register set.
124 (arm_reg_hsh): Delete.
125 (struct reg_map): New structure.
126 (all_reg_maps): New array.
127 (enum arm_reg_type): New enums.
128 (build_reg_hsh): New function.
129 (insert_reg_alias): Use hash table passed by caller. Adjust all
131 (create_register_alias): New function, split out from ...
132 (md_assemble): ... here.
133 (md_begin): Build new register hash tables.
134 (arm_reg_parse): New argument for the hash table to search. Adjust all
136 (arm_reg_parse_any): New function.
137 (co_proc_number): Look up the processor number in the processor hash
139 (cirrus_regtype): Delete.
140 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
141 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
142 (ARM_EXT_MAVERICKsc_register): Delete.
143 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
144 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
146 (do_c_triple_4, do_c_triple_5): Delete.
147 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
148 (do_c_quad_6): Delete.
149 (do_c_quad_6[ab]): New functions.
150 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
151 arguments to use new register parsing methods.
152 (cirrus_reg_required_here): Likewise.
153 (insns): Reclassify cirrus maverick worker functions.
154 (cirrus_valid_reg): Delete.
156 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
158 * configure.in (sh*le): Set cpu_type=sh and endian=little.
159 (sh*-*-netbsdelf*): New target.
160 * configure: Regenerate.
161 * tc-sh.h: Update copyright years.
162 (TARGET_FORMAT): Add version for TE_NetBSD.
164 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
166 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
169 2002-01-06 Alan Modra <amodra@bigpond.net.au>
171 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
172 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
174 2002-01-05 Daniel Jacobowitz <drow@mvista.com>
176 * tc-mips.c (mips_cprestore_valid): New flag.
177 (mips_frame_reg_valid): New flag.
178 (macro) [M_JAL_2]: Check both flags.
180 (s_cprestore): Set mips_cprestore_valid.
181 (tc_get_register): If setting mips_frame_reg, set
182 mips_frame_reg_valid and clear mips_cprestore_valid.
183 (s_mips_ent): Clear both flags.
184 (s_mips_end): Clear both flags.
186 2002-01-05 Alan Modra <amodra@bigpond.net.au>
188 * write.c (write_object_file): Make use of bfd_section_list_remove.
189 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
190 * config/tc-mmix.c (mmix_frob_file): Likewise.
192 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
194 * configure.in (i386-*-netbsdelf*): Collapse target into...
195 (i386-*-netbsd*): ...this. Add support for x86-64.
196 * configure: Regenerated.
198 2002-01-03 matthew green <mrg@redhat.com>
200 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
202 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
204 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
207 For older changes see ChangeLog-0001
213 version-control: never