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