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