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