1 2002-01-24 Kazu Hirata <kazu@hxi.com>
3 * config/tc-h8300.c (check_operand): Don't print a warning
4 when a valid 24-bit address is given to a 16-bit address
7 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
9 * config/tc-sh.c (sh_elf_suffix): Removed.
10 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
11 sh_end_of_match, sh_parse_name): New functions.
12 (sh_elf_cons): Simplify.
13 (parse_exp): Reject misplaced PIC operands.
14 (md_undefined_symbol): Simplify.
15 (sh_fix_adjustable): Let @GOTOFF be adjusted.
16 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
17 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
18 Complain if subsy remains at the end.
19 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
20 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
22 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
24 * config/tc-mn10300.c (xr_registers): Move `pc'...
25 (other_registers): ... here.
27 2002-01-22 Alan Modra <amodra@bigpond.net.au>
29 * Makefile.am: Run "make dep-am".
30 * Makefile.in: Regenerate.
31 * gas/po/POTFILES.in: Regenerate.
33 2002-01-21 DJ Delorie <dj@redhat.com>
35 * config/obj-coff.c (obj_coff_init_stab_section): Make the
36 stabstr_name allocation permanent, as it will be referenced from
39 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
41 * configure.in (ia64-*-netbsd*): New target.
42 * configure: Regenerate.
44 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
46 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
48 <Detailed description, ARM options>: Ditto.
49 * doc/c-arm.texi (ARM Options): Ditto.
51 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
53 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
54 do_mia, do_mar and do_mra respectively.
55 (do_mav_*): Renamed from do_c_*.
56 (mav_reg_required_here, mav_parse_offset): Renamed from
57 cirrus_reg_required_here and cirrus_parse_offset respectively.
58 (MAV_MODE?): Renamed from CIRRUS_MODE?.
60 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
61 Keith Walker <keith.walker@arm.com>
63 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
64 (insns): Add pattern for bxj instruction.
65 (do_bxj): New function.
66 (arm_cpus): Add arm926ej.
67 (arm_archs): Add armv5tej.
69 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
71 * doc/c-arm.texi: Add new fpe options to list of supported flags.
73 2002-01-19 Keith Walker <keith.walker@arm.com>
75 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
77 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
79 * NEWS: Mention new ARM command-line options and VFP support.
81 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
83 (ARM_CEXT_MAVERICK): Similarly.
84 (ARM_ANY): Now means any core instruction.
85 (CPU_DEFAULT): Default to ARM_ANY.
86 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
87 (pic_code): Declare for all object types. Make type int.
88 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
89 (march_fpu_opt, mfpu_opt): Declare.
90 (md_longopts): Tidy up conditional definitions.
91 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
92 (arm_long_opts): New tables.
93 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
94 (arm_parse_extension): New function.
95 (md_parse_option): Rewrite using new table-driven system.
96 (md_show_usage): Use new table-driven system.
97 (md_begin): Calculate cpu_variant from command line option data.
98 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
100 * doc/c-arm.texi: Likewise.
102 2002-01-18 Andreas Jaeger <aj@suse.de>
104 * as.c (parse_args): Update year.
106 2002-01-17 Timothy Wall <twall@alum.mit.edu>
108 * config/tc-tic54x.c (encode_address): Add a more informative
109 warning about incorrect syntax.
111 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
113 * po/gas.pot: Regenerate.
115 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
117 * macro.c (get_any_string): Add no-c-format comment to prevent
118 confusion when translating string.
119 * gasp.c (get_any_string): Add no-c-format comment to prevent
120 confusion when translating string.
122 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
123 Johannes Stezenbach <js@convergence.de>
124 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
125 matched before the shorter ones.
126 (my_getSmallParser): Fix handling of nested parentheses in
127 percent_op's. Code cleanup.
128 (my_getPercentOp): New function, code from my_getSmallParser.
129 (my_getSmallExpression): Fix handling of closing parentheses.
130 Code cleanup. Better comments.
132 2002-01-16 Nick Clifton <nickc@redhat.com>
134 po/tr.po: New file: Turkish translation.
135 configure.in (LINGUAS): Add "tr".
136 configure: Regenerate.
138 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
140 Support for VFP instructions
141 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
142 (cp_address_required_here): New argument wb_ok. When false, do not
143 accept write-back forms of addressing. Change all callers.
144 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
145 (FPU_VFP_EXT_V2): Define.
146 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
147 Define in terms of above.
148 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
149 (vfp_reg): New struct.
150 (vfp_regs): New array of registers.
151 (insns): Add VFP instructions.
152 (sn_table): New array of VFP single-precision register names.
153 (dn_table): New array of VFP double-precision register names.
154 (all_reg_maps): Add the new register tables.
155 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
156 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
157 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
158 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
159 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
160 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
161 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
162 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
163 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
164 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
165 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
166 (do_vfp_sp_dp_cvt): New functions.
167 (md_begin): Set soft-float flag for appropriate VFP work.
168 (md_atof): Handle VFP-format doubles.
169 (md_parse_option): Handle VFP command-line options.
170 (md_show_usage): Display VFP command-line options.
172 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
174 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
175 various command line options.
177 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
179 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
181 (xstormy16_md_apply_fix3): Do not return a value.
183 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
185 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
186 the -EL/-EB option that matches the target's endianness.
187 (md_parse_option): Likewise.
189 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
191 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
192 is not dependent on ARM_BI_ENDIAN.
194 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
196 * tc-arm.c (all error messages): Normalize capitalization of messages.
198 * tc-arm.h (md_operand): Delete define.
199 * tc-arm.c (in_my_get_expression): New static variable.
200 (my_get_expression): Set and clear it.
201 (md_operand): New function. If called from my_get_expression
202 put the error in inst.error.
203 (output_inst): Now takes argument of instruction being assembled.
204 Print it out with any error message.
205 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
207 (end_of_line): Don't update inst.error if it is already set.
209 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
211 * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
212 op that can be translated into a mvn instruction.
214 2002-01-11 Steve Ellcey <sje@cup.hp.com>
216 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
217 setting default md.flags.
218 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
219 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
220 * gas/config/tc-ia64.c (setup_unwind_header): Add support
221 for 32 bit unwind info blocks.
222 (generate_unwind_image): Add support for different types
223 of unwind images (32 bits and/or big-endian).
224 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
225 (ia64_target_format): Add support for hpux target formats.
226 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
227 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
228 SHT_FINI_ARRAY elf section types.
230 2002-01-10 Richard Earnshaw <rearnsha@arm.com>
232 * tc-arm.c (struct reg_entry): Move before prototypes.
233 (int_register, cp_register, fp_register): Delete.
234 (reg_table): Delete. Replaced with ...
235 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
236 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
237 (mav_dspsc_table): ... one table per register set.
238 (arm_reg_hsh): Delete.
239 (struct reg_map): New structure.
240 (all_reg_maps): New array.
241 (enum arm_reg_type): New enums.
242 (build_reg_hsh): New function.
243 (insert_reg_alias): Use hash table passed by caller. Adjust all
245 (create_register_alias): New function, split out from ...
246 (md_assemble): ... here.
247 (md_begin): Build new register hash tables.
248 (arm_reg_parse): New argument for the hash table to search. Adjust all
250 (arm_reg_parse_any): New function.
251 (co_proc_number): Look up the processor number in the processor hash
253 (cirrus_regtype): Delete.
254 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
255 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
256 (ARM_EXT_MAVERICKsc_register): Delete.
257 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
258 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
260 (do_c_triple_4, do_c_triple_5): Delete.
261 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
262 (do_c_quad_6): Delete.
263 (do_c_quad_6[ab]): New functions.
264 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
265 arguments to use new register parsing methods.
266 (cirrus_reg_required_here): Likewise.
267 (insns): Reclassify cirrus maverick worker functions.
268 (cirrus_valid_reg): Delete.
270 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
272 * configure.in (sh*le): Set cpu_type=sh and endian=little.
273 (sh*-*-netbsdelf*): New target.
274 * configure: Regenerate.
275 * tc-sh.h: Update copyright years.
276 (TARGET_FORMAT): Add version for TE_NetBSD.
278 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
280 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
283 2002-01-06 Alan Modra <amodra@bigpond.net.au>
285 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
286 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
288 2002-01-05 Daniel Jacobowitz <drow@mvista.com>
290 * tc-mips.c (mips_cprestore_valid): New flag.
291 (mips_frame_reg_valid): New flag.
292 (macro) [M_JAL_2]: Check both flags.
294 (s_cprestore): Set mips_cprestore_valid.
295 (tc_get_register): If setting mips_frame_reg, set
296 mips_frame_reg_valid and clear mips_cprestore_valid.
297 (s_mips_ent): Clear both flags.
298 (s_mips_end): Clear both flags.
300 2002-01-05 Alan Modra <amodra@bigpond.net.au>
302 * write.c (write_object_file): Make use of bfd_section_list_remove.
303 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
304 * config/tc-mmix.c (mmix_frob_file): Likewise.
306 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
308 * configure.in (i386-*-netbsdelf*): Collapse target into...
309 (i386-*-netbsd*): ...this. Add support for x86-64.
310 * configure: Regenerated.
312 2002-01-03 matthew green <mrg@redhat.com>
314 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
316 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
318 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
321 For older changes see ChangeLog-0001
327 version-control: never