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