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