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