* as.h: Fix formatting.
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2002-05-02 Kazu Hirata <kazu@cs.umass.edu>
2
3 * as.h: Fix formatting.
4 * cgen.c: Likewise.
5 * cgen.h: Likewise.
6 * dwarf2dbg.c: Likewise.
7 * frags.h: Likewise.
8 * gasp.c: Likewise.
9 * macro.c: Likewise.
10 * read.c: Likewise.
11 * stabs.c: Likewise.
12 * symbols.c: Likewise.
13
14 2002-05-02 Alan Modra <amodra@bigpond.net.au>
15
16 * app.c (mri_pseudo): Only declare for TC_M68K.
17
18 * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
19 (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
20 BFD_RELOC_16_BASEREL.
21 (md_assemble): Likewise.
22 (md_apply_fix3): Likewise.
23
24 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
25
26 * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
27 zero into an add of zero - it is not the same.
28
29 2002-05-01 Arati Dikey <aratid@kpit.com>
30
31 * tc-sh.c (get_specific): Generate warning if the same
32 destination register is used in parallel instructions.
33
34 2002-05-01 Andrew Macleod <amacleod@cygnus.com>
35
36 * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
37
38 2002-05-01 Alan Modra <amodra@bigpond.net.au>
39
40 * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
41 backwards to prevent cascading errors.
42
43 2002-04-30 Mark Mitchell <mark@codesourcery.com>
44
45 * configure.in: Add support for powerpc-*-windiss.
46 * configure: Regenerated.
47
48 2002-04-28 Alan Modra <amodra@bigpond.net.au>
49
50 * config/tc-s390.c (md_parse_option): Formatting.
51
52 * config/tc-i386.c: Formatting fixes, add missing space in error
53 message.
54
55 2002-04-24 Christian Groessler <chris@groessler.org>
56
57 * config/tc-z8k.c (build_bytes): Add support for new cases:
58 CLASS_IGNORE and ARG_NIM4.
59 (md_assemble): Prevent destruction of input_line_pointer if
60 get_operands returns failure.
61
62 2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
63
64 * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
65 instructions to be generated by macros.
66
67 2002-04-24 Andreas Schwab <schwab@suse.de>
68
69 * config/tc-i386.c (output_jump, output_disp)
70 (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
71 more.
72 (md_apply_fix3): Remember addend value for rela relocations.
73 (tc_gen_reloc): Correctly compute pc-relative relocation addend.
74
75 2002-04-22 Chris Demetriou <cgd@broadcom.com>
76
77 * config/tc-mips.c (macro_build): Add close-parenthesis missing
78 from previous change.
79
80 2002-04-22 Eric Christopher <echristo@redhat.com>
81
82 * config/tc-mips.c (macro_build): Add warning if macro instructions
83 are expanded into a branch delay slot.
84
85 2002-04-17 Geoffrey Keating <geoffk@redhat.com>
86
87 * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
88 numbers, gdb relies on them to detect the start of the prologue.
89
90 2002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
91
92 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
93 symbols in merge sections.
94
95 2002-04-16 Alan Modra <amodra@bigpond.net.au>
96
97 * as.c (main): Don't reference _bfd_chunksize.
98
99 2002-04-15 Tom Rix <trix@redhat.com>
100
101 * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
102 symbols in merge sections.
103
104 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
105
106 * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
107 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
108 argument for the precision.
109 (gen_to_words): Update accordingly.
110
111 2002-04-10 Alan Modra <amodra@bigpond.net.au>
112
113 * as.c (parse_args <OPTION_VERSION>): Use VERSION is
114 BFD_VERSION_STRING unavailable.
115 * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
116
117 Tue Apr 9 16:45:48 2002 J"orn Rennecke <joern.rennecke@superh.com>
118
119 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
120 symbol_used_in_reloc_p is true.
121
122 * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
123 endian hosts.
124
125 2002-04-04 Alan Modra <amodra@bigpond.net.au>
126
127 * dep-in.sed: Cope with absolute paths.
128 * Makefile.am (dep.sed): Subst TOPDIR.
129 Run "make dep-am".
130 * Makefile.in: Regenerate.
131
132 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
133
134 * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
135 (mips_ip): Remove unused variable.
136 (md_apply_fix3): Cast signed/unsignes mismatches. Replace
137 unsigned char with bfd_byte.
138 (s_file): Remove unused variable.
139 (s_mips_ent): Likewise.
140
141 2002-04-03 Tom Rix <trix@redhat.com>
142
143 * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
144 (build_insn): Same.
145 (find_opcode): Fix warning in as_warn.
146 * config/tc-d10v.h: Update Copyright.
147
148 2002-04-03 Alan Matsuoka <alanm@redhat.com>
149 Tom Rix <trix@redhat.com>
150
151 From Jeff Knaggs <jknaggs@redhat.com>
152 * config/tc-d10v.c (check_resource_conflict): New function to
153 check for resource conflicts.
154
155 From Jason Eckhardt <jle@redhat.com>
156 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
157 imm3 fields.
158 * config/tc-d10v.c (find_opcode): Emit a warning if one of the
159 reserved control registers is used.
160 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
161 imm3 fields.
162
163 From 2001-03-28 Diego Novillo <dnovillo@redhat.com>
164 * tc-d10v.c (parallel_ok): Prevent packing only if the first
165 instruction cannot be packed.
166
167 From 2001-03-30 Diego Novillo <dnovillo@redhat.com>
168 * gas/config/tc-d10v.c (check_resource_conflict): Only check
169 write-write conflicts.
170 (md_assemble): Reformat introductory comment.
171 * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
172 arguments.
173
174 2002-04-03 Alan Modra <amodra@bigpond.net.au>
175
176 * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
177 O_logical_not>): Derive final_seg from add_symbol.
178 <O_multiply..O_logical_or>: More final_seg twiddles.
179
180 2002-04-01 Jessica Han <jessica@cup.hp.com>
181
182 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
183 in 32-bit mode.
184
185 2002-03-27 Andreas Schwab <schwab@suse.de>
186
187 * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
188 field for pc-relative fixups.
189 (output_disp): Likewise.
190 (md_estimate_size_before_relax): Likewise.
191 (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
192 pc-relative fixups in 64bit mode.
193
194 2002-03-22 Alan Modra <amodra@bigpond.net.au>
195
196 * config/te-aix5.h: Typo fix.
197
198 2002-03-21 Alan Modra <amodra@bigpond.net.au>
199
200 * Makefile.am: Run "make dep-am".
201 * Makefile.in: Regenerate.
202 * doc/Makefile.in: Regenerate.
203
204 2002-03-20 Albert Chin-A-Young <china@thewrittenword.com>
205
206 * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
207 (vfp_sp_reg_pos -> vfp_dp_reg_pos).
208
209 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
210
211 * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
212 the EXTENDED bit here; report the estimate according to the
213 current size.
214
215 2002-03-18 Tom Rix <trix@redhat.com>
216
217 * configure.in: Add AIX 5 support.
218 * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
219 * config/te-aix5.h: New file. AIX 5 support.
220 * configure: Regenerate.
221
222 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
223
224 * po/fr.po: Updated version.
225
226 2002-03-16 Andreas Jaeger <aj@suse.de>
227
228 * doc/c-mips.texi (Machine Dependencies): Add new node.
229
230 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
231
232 * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
233 (mips_opts): Initialize "ase_mips3d" member.
234 (file_ase_mips3d): New variable.
235 (CPU_HAS_MIPS3D): New macro.
236 (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
237 based on command line options and configuration defaults.
238 (macro_build, mips_ip): Accept MIPS-3D instructions if
239 mips_opts.ase_mips3d is set.
240 (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
241 Add support for "-mips3d" and "-no-mips3d" options.
242 (OPTION_ELF_BASE): Move to accomodate new options.
243 (s_mipsset): Support ".set mips3d" and ".set nomips3d".
244 (mips_elf_final_processing): Add a comment indicating that a
245 MIPS-3D ASE ELF header flag should be set, when one exists.
246 * doc/as.texinfo: Document -mips3d and -no-mips3d options.
247 * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
248 nomips3d" directives.
249
250 2002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
251
252 * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
253 a weak symbol in same section to be within reach.
254
255 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
256
257 * po/fr.po: Updated version.
258
259 2002-03-12 Andreas Schwab <schwab@suse.de>
260
261 * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
262 body record so that an error is given for misplaced .save
263 pseudo-ops.
264
265 2002-03-09 Alan Modra <amodra@bigpond.net.au>
266
267 * config/tc-i386.h (REX_OPCODE): Define.
268 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
269 (rex_byte): typedef to int.
270 * config/tc-i386.c: Group prototypes and vars together.
271 Formatting fixes. Remove occurrences of "register" keyword.
272 (true): Delete.
273 (false): Delete.
274 (mode_from_disp_size): Add INLINE keyword to prototype.
275 (fits_in_signed_byte): Likewise.
276 (fits_in_unsigned_byte): Likewise.
277 (fits_in_unsigned_word): Likewise.
278 (fits_in_signed_word): Likewise.
279 (fits_in_unsigned_long): Likewise.
280 (fits_in_signed_long): Likewise.
281 (type_names): Constify.
282 (intel_float_operand): Constify param.
283 (add_prefix): Use REX_OPCODE.
284 (md_assemble): Likewise. Modify for changed rex_byte.
285 (parse_insn): Split out of md_assemble.
286 (parse_operands): Likewise.
287 (swap_operands): Likewise.
288 (optimize_imm): Likewise.
289 (optimize_disp): Likewise.
290 (match_template): Likewise.
291 (check_string): Likewise.
292 (process_suffix): Likewise.
293 (check_byte_reg): Likewise.
294 (check_long_reg): Likewise.
295 (check_qword_reg): Likewise.
296 (check_word_reg): Likewise.
297 (finalize_imm): Likewise.
298 (process_operands): Likewise.
299 (build_modrm_byte): Likewise.
300 (output_insn): Likewise.
301 (output_branch): Likewise.
302 (output_jump): Likewise.
303 (output_interseg_jump): Likewise.
304 (output_disp): Likewise.
305 (output_imm): Likewise.
306
307 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
308
309 * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
310
311 2002-03-06 Alan Modra <amodra@bigpond.net.au>
312
313 * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
314 relocs except when BFD64.
315
316 * write.c (number_to_chars_bigendian): Don't abort when N is
317 larger than sizeof (VAL).
318 (number_to_chars_littleendian): Likewise.
319
320 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
321
322 * config/tc-hppa.c (md_apply_fix3): Add cast.
323 (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
324 e_rrsel.
325
326 2002-03-05 Paul Koning <pkoning@equallogic.com>
327
328 * tc-pdp11.c: Use VAX float format support for PDP-11 target.
329 (parse_ac5): New function for parsing float regs in float operand.
330 (parse_expression): Remove attempt to make literals be octal.
331 (parse_op_no_deferred): Support float literals.
332 (parse_op): Reject attempts to refer to float regs.
333 (parse_fop): New function, like parse_op but for float operand.
334 (md_assemble): Add cases to parse float operands. Also fix
335 IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
336
337 2002-03-04 H.J. Lu <hjl@gnu.org>
338
339 * config/obj-elf.c (special_section): Add .init_array,
340 .fini_array and .preinit_array.
341
342 * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
343 .init_array and .fini_array.
344
345 2002-03-01 Jakub Jelinek <jakub@redhat.com>
346
347 * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
348 visibility.
349 (obj_frob_symbol): Copy visibility.
350
351 2002-02-28 Jakub Jelinek <jakub@redhat.com>
352
353 * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
354 s_text.
355 (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
356
357 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
358
359 * po/es.po: Updated.
360
361 2002-02-26 Chris Demetriou <cgd@broadcom.com>
362
363 * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
364 only, undo the changes made on 2001-06-08, with the
365 effect being that common or extern symbols are
366 adjusted for embedded-PIC, but weak symbols are not.
367 (md_estimate_size_before_relax: Likewise, with the effect
368 that extern symbols are treated the same as weak symbols
369 only if not embedded-PIC.
370 (mips_fix_adjustable) Likewise, with the effect that
371 weak or extern symbols are not adjusted for embedded-PIC.
372 (md_apply_fix3): Tweak so that the case where value is zero
373 is handled more correctly for embedded-PIC code.
374
375 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
376
377 * doc/as.texinfo (Overview): Add missing @ifset IA64
378
379 * configure.in (LINGUAS): Add es.po.
380 * configure: Regenerate.
381 * po/es.po: New file.
382
383 2002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
384
385 * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
386 (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
387 and NO_PIC cases. Code cleanup.
388 (macro2): Fix handling of 64bit register loads.
389
390 2002-02-25 David Mosberger <davidm@hpl.hp.com>
391
392 * doc/as.texinfo: Add entry for IA64.
393 * doc/c-ia64.texi: New file.
394
395 2002-02-25 Alan Modra <amodra@bigpond.net.au>
396
397 * config/tc-hppa.c: Update copyright date.
398
399 * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
400 Remove references to chip manufacturers.
401 * config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
402 Correct comments.
403 (md_show_usage): Remove references to chip manufacturers. Mention
404 -mpower4.
405 (md_begin): Test power4 opcode flag bits.
406
407 2002-02-22 David Mosberger <davidm@hpl.hp.com>
408
409 * config/tc-ia64.c (dot_restore): Issue error message of epilogue
410 count exceeds prologue count.
411 (md_show_usage): Describe -mconstant-gp and -mauto-pic.
412 (unwind.label_prologue_count): New member.
413
414 Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
415
416 (get_saved_prologue_count): New function.
417 (save_prologue_count): New function.
418 (free_saved_prologue_count): New function.
419 (dot_label_state): Record state label by calling save_prologue_count().
420 (dot_copy_state): Restore prologue count by calling
421 get_saved_prologue_count().
422 (generate_unwind_image): Free up list of saved prologue
423 counts by calling free_saved_prologue_counts().
424
425 2002-02-22 Nick Clifton <nickc@cambridge.redhat.com>
426
427 * config/tc-tic54x.c: Add missing prototypes and remove ANSI style
428 function declarations.
429
430 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
431
432 * NEWS: Note that GASP is now deprecated.
433 * Makefile.am: Do not build gasp-new by default.
434 * Makefile.in: Regenerate.
435 * doc/Makefile.am: Do not install gasp.info.
436 * doc/Makefile.in: Regenerate.
437 * gas/gasp.texi: Note that gasp is now deprecated.
438
439 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
440
441 * NEWS: Mark 2.12 branch.
442
443 2002-02-19 Tom Tromey <tromey@redhat.com>
444
445 * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
446
447 2002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
448
449 * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
450 option input.
451
452 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
453
454 * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
455 Make bit size independent of architecture switch.
456 (md_begin): Add warning for -m64 with -Aesa.
457 (s390_md_end): Use renamed architecture defines.
458
459 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
460
461 * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
462
463 2002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
464
465 * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
466 instead of CRIS.
467
468 2002-02-15 Chris Demetriou <cgd@broadcom.com>
469
470 * config/tc-mips.c (md_estimate_size_before_relax): Really
471 make sure we treat weak like extern only for ELF. (Fixes
472 patch from 2001-07-25.)
473
474 2002-02-15 Ben Elliston <bje@redhat.com>
475
476 * doc/as.texinfo: Add duplicate directory entry so that "info gas"
477 works as expected.
478
479 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
480
481 * NEWS: Mention support for MMIX.
482
483 2002-02-13 Chris Demetriou <cgd@broadcom.com>
484
485 * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
486 a sequence of indpendent 'if' statements for easier debugging
487 and future modification.
488
489 2002-02-13 Matt Fredette <fredette@netbsd.org>
490
491 * config/tc-m68k.c (md_show_usage): No longer display a
492 hard-coded "68020" for the default CPU, instead display the
493 canonical name of the true, configured default CPU.
494 (m68k_elf_final_processing): Mark objects for sub-68020
495 CPUs with the new EF_M68000 flag.
496
497 2002-02-13 Andreas Schwab <schwab@suse.de>
498
499 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
500 pc-relative relocations to merge sections in 64-bit mode.
501
502 2002-02-13 Ben Elliston <bje@redhat.com>
503
504 * NEWS: Document floating point number handling in gasp.
505 * gasp.c: Include <assert.h> and "xregex.h".
506 (is_flonum): New function.
507 (chew_flownum): Likewise.
508 (change_base): Consume flonums from the input, where possible.
509 * doc/gasp.texi (Constants): Document floating point numbers.
510
511 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
512
513 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
514 that implicitly use LR and RR selectors.
515
516 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
517
518 * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
519 and `epsw' as available on AM33 and above only.
520 (other_register_name): Add logic to handle machine type encoded in
521 reg_number.
522
523 2002-02-11 Tom Rix <trix@redhat.com>
524
525 * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
526 xcoff64.
527
528 Mon Feb 11 11:23:38 2002 Alexandre Oliva <aoliva@redhat.com>
529
530 * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
531 Use all over.
532
533 Mon Feb 11 12:59:29 CET 2002 Jan Hubicka <jh@suse.cz>
534
535 * i386.c (md_assemble): Support 32bit address prefix.
536 (i386_displacement): Likewise.
537 (i386_index_check): Accept 32bit addressing in 64bit mode.
538
539 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
540
541 * config/tc-sh.c (dot): Removed unused function.
542
543 2002-02-11 Alan Modra <amodra@bigpond.net.au>
544
545 * Makefile.am: "make dep-am".
546 * Makefile.in: Regenerate.
547 * aclocal.m4: Regenerate.
548 * config.in: Regenerate.
549 * configure: Regenerate.
550 * doc/Makefile.in: Regenerate.
551
552 2002-02-10 Richard Henderson <rth@redhat.com>
553
554 * doc/c-alpha.texi: New file.
555 * doc/Makefile.am (CPU_DOCS): Add it.
556 * doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
557
558 2002-02-09 Richard Henderson <rth@redhat.com>
559
560 * config/tc-alpha.c (O_samegp): New.
561 (USER_RELOC_P): Include it.
562 (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
563 (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
564 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
565 (alpha_validate_fix): New.
566 * config/tc-alpha.h (TC_VALIDATE_FIX): New.
567
568 2002-02-09 Hans-Peter Nilsson <hp@axis.com>
569
570 * doc/c-cris.texi: New.
571 * doc/all.texi: @set CRIS.
572 * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview.
573 Include c-cris.texi.
574 * doc/Makefile.am (CPU_DOCS): Add c-cris.texi
575 * doc/Makefile.in: Regenerate.
576
577 2002-02-08 Chris Demetriou <cgd@broadcom.com>
578
579 * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
580 determine if a number is a sign-extended 32-bit number.
581 (load_register): Use IS_SEXT_32BIT_NUM.
582 (macro): Check if load/store macro handling is using a
583 constant 32-bit address on 64-bit address systems, and if
584 so optimize the generation of that address.
585
586 2002-02-08 Richard Henderson <rth@redhat.com>
587
588 * config/tc-alpha.c (alpha_force_relocation): Don't assert that
589 we've eliminated all foreign relocation types yet.
590 (alpha_fix_adjustable): Likewise.
591
592 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
593
594 Contribute sh64-elf.
595 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
596 Stephen Clarke <Stephen.Clarke@st.com>
597 * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
598 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
599 * config/tc-sh.c (md_relax_table): Added default sizes for
600 non-PC-relative UNDEF_MOVI, and relaxation sequences for
601 MOVI_16, MOVI_32 and MOVI_48.
602 * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
603 (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
604 and MOVI_16.
605 (shmedia_md_estimate_size_before_relax): Remove redundant
606 blocks. Set fragP->fr_var even if relaxation type unchanged.
607 Retain UNDEF_MOVI until expression decays to number.
608 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
609 * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
610 relocation types. Take fixP->fx_addnumber into account too.
611 (shmedia_md_apply_fix): Likewise.
612 (shmedia_md_convert_frag): Likewise.
613 (shmedia_build_Mytes): Likewise.
614 (sh64_consume_datalabel): Complain about nested datalabel.
615 Support PIC relocs. Call sh_parse_name.
616 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
617 in tc-sh.h to SHmedia reloc types.
618 * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
619 MOVI_GOTPC): New relaxation constants.
620 (md_relax_table): Introduce relaxation directives for PIC-related
621 constants.
622 (sh_PIC_related_p): Handle datalabel.
623 (sh_check_fixup): Choose SH5 PIC relocations.
624 (sh_cons_fix_new): Added BDF_RELOC_64.
625 (md_apply_fix3, sh_parse_name): Handle GOTPLT.
626 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
627 * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
628 current ISA is SHmedia, get 7 bytes.
629 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
630 * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
631 void function.
632 * config/tc-sh64.c (shmedia_apply_fix): Rename to
633 shmedia_apply_fix3 and make void.
634 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
635 * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
636 as_bad.
637 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
638 * config/tc-sh64.h (md_parse_name): Take &c as argument.
639 2001-03-14 DJ Delorie <dj@redhat.com>
640 * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
641 * doc/Makefile.in(CPU_DOCS): Ditto.
642 * doc/c-sh64.texi: New file.
643 * doc/as.texinfo: Add SH64 support.
644 2001-03-13 DJ Delorie <dj@redhat.com>
645 * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
646 A_REUSE_PREV so that its purpose is more obvious.
647 (shmedia_build_Mytes): Ditto.
648 2001-03-07 DJ Delorie <dj@redhat.com>
649 * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
650 before processing.
651 (sh64_vtable_inherit): Ditto.
652 (strip_datalabels): New, strip "datalabel" from given line.
653 * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
654 pseudos.
655 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
656 * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
657 call ...
658 (shmedia_build_Mytes): ... to here.
659 2001-03-06 DJ Delorie <dj@redhat.com>
660 * config/tc-sh.c: Remove sh64-specific uaquad now that there
661 is a generic one.
662 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
663 * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
664 * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
665 address by one in call to dwarf2_emit_insn.
666 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
667 Implement ".abi" pseudo and correct .cranges descriptors. Correct
668 alignment handling broken by imported changes.
669 * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
670 (sh64_handle_align): Declare.
671 (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
672 (sh64_max_mem_for_rs_align_code): Declare.
673 (enum sh64_isa_values): Moved here from tc-sh64.c.
674 (md_do_align): Define.
675 (sh64_do_align): Declare.
676 (struct sh64_tc_frag_data): New.
677 (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
678 changed.
679 (TC_FRAG_INIT): Change to set new datatype.
680 (struct sh64_segment_info_type): Rename member
681 last_flushed_location to last_contents_mark. All users changed.
682 (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
683 (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
684 * config/tc-sh.c (md_pseudo_table): Add ".abi".
685 (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
686 of unsetting seen_insn.
687 (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
688 call sh64_update_contents_mark.
689 (sh_handle_align): Remove HAVE_SH64-conditioned code.
690 * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
691 enum sh64_isa_values.
692 (sh64_set_contents_type): Drop segT parameter. All callers changed.
693 (emitting_crange): Boolean guard moved to file scope from function
694 scope in sh64_set_contents_type.
695 (s_sh64_abi): New.
696 (sh64_update_contents_mark): New; most split out from
697 sh64_flush_pending_output.
698 (shmedia_md_end): Call sh64_update_contents_mark. Set
699 sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
700 (sh64_do_align): New function.
701 (sh64_max_mem_for_rs_align_code): New function.
702 (sh64_handle_align): Rename from shmedia_do_align. Make
703 non-static. Add head comment. Emit zero bytes for n bytes modulo
704 four. Change return-type to void.
705 (shmedia_elf_new_section): Remove.
706 (shmedia_md_assemble): Call sh64_update_contents_mark.
707 (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
708 new frag. Call sh64_update_contents_mark after making the new
709 frag.
710 (sh64_flush_pending_output): Just call sh64_update_contents_mark
711 and sh_flush_pending_output.
712 (sh64_flag_output): Also call md_flush_pending_output, but add
713 condition on not emitting_crange.
714 (sh64_tc_cons_fix_new): Remove.
715 2001-01-12 Nick Clifton <nickc@redhat.com>
716 * config/tc-sh64.c (shmedia_do_align): Fix to work with new
717 alignment handling scheme imported from sourceware.
718 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
719 * config/tc-sh64.h (TARGET_FORMAT): Define.
720 (sh64_target_format): Prototype.
721 * config/tc-sh64.c (sh64_target_mach): New function.
722 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
723 * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
724 zero_address_frag instead of copying the frag of the symbol.
725 (shmedia_frob_file_before_adjust): Ditto.
726 (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
727 to valueT to remove signedness.
728 (shmedia_md_convert_frag): Add parameter final. Rename parameter
729 headers to output_bfd. Do not evaluate symbols if final is false;
730 do emit fixups.
731 (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
732 UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
733 to the current frag, call shmedia_md_convert_frag to emit fixups
734 and make frag_wane neutralize the frag. Update comments.
735 * config/tc-sh.c (md_convert_frag): Change caller of
736 shmedia_md_convert_frag.
737 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
738 * config/tc-sh64.h: Tweak comments and correct formatting.
739 * config/tc-sh64.c: Ditto.
740 (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
741 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
742 for the no-relocation case.
743 (shmedia_check_limits): Fix range check being off-by-one for PTA.
744 * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
745 wrappers.
746 (SH64PCREL16_F): Increment for proper max-PTA handling. Update
747 comment.
748 (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
749 (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
750 expansion.
751 (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
752 Correct comment.
753 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
754 * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
755 BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
756 (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
757 al>: Set lowest bit of field to relocate to 1 and rest to empty,
758 if reloc is emitted.
759 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
760 New options plus bugfixes.
761 * config/tc-sh.c (md_longopts): New options "-no-expand" and
762 "-expand-pt32".
763 (md_parse_option): Handle new options.
764 (md_show_usage): Add blurb for new options.
765 * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
766 (sh64_expand, sh64_pt32): New variables.
767 (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
768 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
769 orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
770 BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
771 <resolved previously-pc-relative relocs>: Handle
772 SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
773 (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
774 case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
775 points to SHcompact code.
776 <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
777 SH64PCREL16)>: Check that ISA of what operand points at and
778 PTA/PTB matches, or emit error.
779 (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
780 SHMEDIA_BFD_RELOC_PT.
781 (shmedia_immediate_op): If pcrel, emit fixup also for constant
782 operand.
783 (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
784 condition for MOVI expansion.
785 <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
786 sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
787 sh64_expand.
788 <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
789 fixup.
790 (sh64_target_format): Error-check setting of sh64_pt32 and
791 sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
792 (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
793 SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
794 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
795 * config/tc-sh64.c: Improve comments.
796 (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
797 not say the linker will check correctness of PTA/PTB expansion.
798 (shmedia_md_end): Make non-static.
799 * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
800 prototype.
801 * config/tc-sh.c (sh_finalize): Remove.
802 * config/tc-sh.h (md_end): Do not define.
803 Remove prototype for sh_finalize.
804 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
805 * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
806 sh64_section_data container when storing section type in tdata
807 field in elf_section_data.
808 * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
809 EF_SH5.
810 * Makefile.am: Update dependencies.
811 * Makefile.in: Regenerate.
812 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
813 * config/tc-sh64.c (shmedia_md_assemble): Don't protect
814 dwarf2_emit_insn call with test on debug_type.
815 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
816 * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
817 CRT_SH5_ISA32 sticky for 64-bit.
818 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
819 Generate .crange sections when switching ISA mode or emitting
820 constants in same section as code.
821 * config/tc-sh64.c: Reformat structure definitions.
822 (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
823 variables.
824 (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
825 to emit a .cranges descriptor when contents type changes. Only
826 emit error if changing contents type and -no-mix is in effect.
827 (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
828 sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
829 (shmedia_md_end): Set sh64_end_of_assembly. Pass
830 sh64_flush_last_crange over sections.
831 When checking main symbol of datalabel symbol, check for
832 STO_SH5_ISA32, not ISA type of section in definition.
833 (shmedia_frob_file_before_adjust): Check main symbol for
834 STO_SH5_ISA32; don't check ISA type of section in definition.
835 (shmedia_frob_section_type): Adjust for .cranges; set section flag
836 to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
837 .cranges entries have been output.
838 (shmedia_elf_new_section): Just call md_flush_pending_output.
839 (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
840 fix. Do not set tc_segment_info_data.in_code for section. Call
841 sh64_set_contents_type for SHmedia code.
842 (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
843 false. Call md_flush_pending_output.
844 (sh64_target_format): Check that -no-mix and
845 -shcompact-const-crange are used in sane combination with other
846 options.
847 (shmedia_md_pcrel_from_section): Check type of fix for how to
848 adjust pc-relative.
849 (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
850 not ISA type of section in definition.
851 * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
852 hold contents-type state.
853 (md_flush_pending_output): Redefine to sh64_flush_pending_output.
854 (sh64_flush_pending_output): Declare.
855 (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
856 (sh64_tc_cons_fix_new): Declare.
857 * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
858 call sh64_flag_output.
859 (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
860 call sh64_set_contents_type to mark SHcompact code and set
861 seen_insn.
862 (md_longopts): New options "-no-mix" and
863 "-shcompact-const-crange".
864 (md_parse_option): Handle new options.
865 (md_show_usage): Add blurb for new options.
866 (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
867 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
868 * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
869 (sh64_last_insn_frag): New.
870 (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
871 to get frag for insn opcode for generating fixups; do not assume it
872 is the same frag.
873 (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
874 for new insn.
875 * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
876 section.
877 (TC_FRAG_TYPE): Define as fragS *.
878 (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
879 (sh64_last_insn_frag): Declare.
880 (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
881 not == NULL before dereferencing.
882 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
883 Get rid of BFD section flag and EF_SH64_ABI64.
884 * config/tc-sh64.c (shmedia_frob_section_type): Use
885 elf_section_data (sec)->tdata, not a specific BFD section flag, to
886 communicate the section as containing SHmedia code. Describe why.
887 * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
888 EF_SH64 regardless of ABI.
889 * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
890 in error message. Handle resolved expressions for
891 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
892 BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
893 (shmedia_check_limits): Handle BFD_RELOC_64.
894 (sh64_adjust_symtab): Do not decrement the GAS symbol value for
895 a STO_SH5_ISA32 symbol, only the BFD value.
896 2000-12-11 Ben Elliston <bje@redhat.com>
897 * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
898 dwarf2_generate_asm_lineno.
899 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
900 Handle PC-relative MOVI expansions with assembler relaxation.
901 Generate PC-relative relocs from 16-bit PC-relative expressions.
902 * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
903 (shmedia_md_pcrel_from_section): ...here.
904 (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
905 turned completely resolved. Adjust relocation type for 16-bit
906 immediate operands that has turned PC-relative. Adjust back for
907 MD_PCREL_FROM_SECTION being applied twice.
908 (shmedia_md_convert_frag): Always emit reloc for expression with
909 global or weak symbol. Handle relaxation result for PC-relative
910 expressions.
911 (shmedia_md_estimate_size_before_relax): An expression with a weak
912 or global symbol can not be relaxed. Break out tests for
913 relaxable symbol into variable sym_relaxable.
914 <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
915 UNDEF_MOVI)>: Break out any PC-relative expression and change
916 relaxation type.
917 (shmedia_build_Mytes): CSE &operands->operands[j] into variable
918 opjp.
919 <case A_IMMS16>: Fix typo for initial minor relaxation type of
920 MOVI expansion. If X_op_symbol of the immediate expression is
921 set, make an expression symbol for the argument to frag_var.
922 * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
923 relaxations.
924 (END): Adjust for new relaxations.
925 (md_relax_table): Add entries for new relaxations.
926 2000-12-07 Ben Elliston <bje@redhat.com>
927 * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
928 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
929 * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
930 SHORI operand offsets in PT/PTA/PTB expansions.
931 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
932 Implement DataLabel semantics.
933 * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
934 shmedia_frob_file_before_adjust.
935 * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
936 (DATALABEL_SUFFIX): Define.
937 (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
938 symbol list to update "datalabel" symbols to their main symbol
939 counterparts.
940 (shmedia_frob_file_before_adjust): New.
941 (sh64_adjust_symtab): For remaining datalabel symbols, set to
942 undefined and set STT_DATALABEL.
943 (sh64_frob_label): Initialize TC symbol field.
944 (sh64_consume_datalabel): Actually implement semantics. New
945 parameter operandf, call it instead of expression.
946 (sh64_exclude_symbol): New.
947 * config/tc-sh64.h (md_parse_name): Pass on the function operand
948 to sh64_consume_datalabel.
949 (tc_symbol_new_hook): Define to tc_frob_symbol.
950 (TC_SYMFIELD_TYPE): Define to symbolS *.
951 (tc_frob_symbol): Define to call sh64_exclude_symbol.
952 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
953 * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
954 case.
955 (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
956 generating dwarf2 debug information.
957 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
958 * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
959 elf64-sh64 for the 64-bit ABI.
960 * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
961 option.
962 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
963 * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
964 case-insensitivity.
965 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
966 * config/tc-sh64.c: Tweak comments, formatting and error messages.
967 (enum sh64_abi_values): New type.
968 (enum sh64_isa_values): New type.
969 (sh64_isa_mode): Replace shmedia_mode. All referers changed.
970 (seen_shcompact_mode, seen_shmedia_mode): Delete.
971 (sh64_abi): Replace shmedia_64.
972 (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
973 C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
974 (s_sh64_mode): Check validity for this target.
975 (sh64_target_format): Initialize defaults for ISA and ABI.
976 Fallback to old object format if no SH64 ISA or ABI has been
977 specified.
978 * config/tc-sh.c (md_parse_option): Check combinations for errors.
979 (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
980 ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
981 * config/tc-sh64.h: Fix typo in comment.
982 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
983 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
984 <PT fixups for absolute values>: Size will be longest, not
985 shortest.
986 (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
987 all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
988 * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
989 and l1 to hold lowercase of two first characters. Change all
990 remaining TO_LOWER to tolower.
991 * config/tc-sh64.c (TO_LOWER): Delete.
992 (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
993 (md_parse_name): Define.
994 (sh64_consume_datalabel): Declare.
995 (DOLLAR_DOT): Define.
996 * config/tc-sh64.c (shmedia_parse_exp): New.
997 (sh64_consume_datalabel): New; just ignoring datalabel semantics.
998 (shmedia_parse_reg): Remove const from src
999 parameter.
1000 (shmedia_get_operands): Ditto for args parameter and ptr variable.
1001 (shmedia_md_assemble): Ditto for op_end variable.
1002 (shmedia_get_operand): Ditto for ptr parameter and src variable.
1003 Use shmedia_parse_exp, not parse_exp.
1004 * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
1005 parameter. All callers changed.
1006 (shmedia_get_operand): Add shmedia_arg_type parameter. All
1007 callers changed.
1008 (shmedia_parse_reg): Put first two character in local variables.
1009 Use tolower, not TO_LOWER. If no register is found and argtype
1010 indicates a control register, scan shmedia_creg_table
1011 case-insensitive.
1012 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
1013 * Makefile.am (CPU_TYPES): Add sh64.
1014 (TARGET_CPU_CFILES): Add config/tc-sh64.c.
1015 (TARGET_CPU_HFILES): Add config/tc-sh64.h.
1016 Regenerate dependencies.
1017 * Makefile.in: Regenerate.
1018 * configure.in: Add support for sh64-*-elf*.
1019 * configure: Regenerate.
1020 * config/tc-sh64.h: New.
1021 * config/tc-sh64.c: New.
1022 * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
1023 .mode, .isa and .uaquad.
1024 [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
1025 SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
1026 [HAVE_SH64] (END): Define as 10.
1027 [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
1028 SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
1029 MOVI_64): Define.
1030 [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
1031 SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
1032 SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
1033 MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
1034 Define.
1035 (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
1036 (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
1037 (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
1038 (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
1039 SHmedia instructions. Handle state-change after switching to
1040 SHcompact.
1041 (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
1042 (md_parse_option) [HAVE_SH64]: Parse new options.
1043 (md_show_usage) [HAVE_SH64]: Show usage of new options.
1044 (md_convert_frag) [HAVE_SH64] <default>: Call
1045 shmedia_md_convert_frag instead of abort.
1046 (sh_force_relocation) [HAVE_SH64]: Also force relocation for
1047 BFD_RELOC_SH_SHMEDIA_CODE.
1048 (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
1049 SHcompact or SHmedia code.
1050 (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
1051 shmedia_md_apply_fix instead of abort.
1052 (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
1053 result from calling shmedia_md_estimate_size_before_relax instead
1054 of calling abort.
1055 (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
1056 do the work.
1057 (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
1058 shmedia_init_reloc and do nothing more if it returns non-zero.
1059 (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
1060 * po/POTFILES.in: Regenerate.
1061 * po/gas.pot: Regenerate.
1062
1063 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
1064
1065 * config/tc-sh.c (parse_at): Install the correct version of
1066 2002-02-04's patch.
1067
1068 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
1069 assume fixP->fx_subsy is non-NULL.
1070
1071 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
1072
1073 * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
1074 A_DISP_PC_ABS, and adjust it by -4.
1075 (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
1076 expected.
1077 (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
1078 the operand type is not A_DISP_PC_ABS.
1079
1080 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1081
1082 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
1083 common and weak symbols. Handle common and weak symbols as
1084 undefined symbols with regards to GREG handling and merging.
1085 (mmix_frob_file): Ditto.
1086
1087 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
1088
1089 * configure.in (hppa-*-netbsd*): New target.
1090 * configure: Regenerate.
1091 * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
1092
1093 2002-02-02 Alan Modra <amodra@bigpond.net.au>
1094
1095 * config/tc-v850.c: Add missing prototypes amd use old-style
1096 function definitions.
1097 (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
1098 (sdata_section tdata_section, zdata_section, sbss_section,
1099 tbss_section, zbss_section, rosdata_section, rozdata_section,
1100 scommon_section, tcommon_section, zcommon_section,
1101 call_table_data_section, call_table_text_section): Delete.
1102 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
1103 v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
1104 v850_call_table_data, v850_call_table_text): Delete.
1105 (struct v850_seg_entry): New.
1106 (v850_seg_table): New.
1107 (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
1108 TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
1109 ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
1110 CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
1111 (do_v850_seg): New.
1112 (v850_seg): New.
1113 (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
1114 recording of alignment.
1115 (md_pseudo_table): Use v850_seg.
1116 (md_begin): Don't init .call_table_data and .call_table_text here.
1117 Set v850_seg_table bss entry.
1118
1119 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1120
1121 Support on-demand global register allocation by passing on
1122 base-plus-offset relocs to the linker.
1123 * config/tc-mmix.c: Tweak and fix typos in comments.
1124 (allocate_undefined_gregs_in_linker): New variable.
1125 (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
1126 (md_longopts): Add --linker-allocated-gregs.
1127 (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
1128 <case OPTION_LINKER_ALLOCATED_GREGS>: New.
1129 (md_show_usage): Update text for -x. Add text for
1130 --linker-allocated-gregs.
1131 (tc_gen_reloc): Derive default value for addend from val and
1132 baddsy. Use addsec and bfd_is_abs_section in more places. Don't
1133 emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
1134 GREG if allocate_undefined_gregs_in_linker.
1135 * doc/as.texinfo (Overview) <Target MMIX options>: Add
1136 --linker-allocated-gregs.
1137 * doc/c-mmix.texi (MMIX-Opts): Add blurb about
1138 --linker-allocated-gregs. Mention that it's implied by -x.
1139 (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
1140 (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
1141
1142 * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
1143
1144 2002-02-01 Alan Modra <amodra@bigpond.net.au>
1145
1146 * Makefile.am: Run "make dep-am"
1147 * Makefile.in: Regenerate.
1148
1149 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
1150
1151 * config/tc-or32.c: New file.
1152 * config/tc-or32.h: New file.
1153 * configure.in: Add support for or32 targets.
1154 * configure: Regenerate.
1155 * config/obj-coff.c: Add support for or32 targets.
1156 * config/obj-coff.h: Add support for or32 targets.
1157 * Makefile.am: Add support for or32 targets.
1158 * Makefile.in: Regenerate.
1159 * NEWS: Mention support for OpenRISC.
1160 * doc/Makefile.in: Regenerate.
1161 * po/POTFILES.in: Regenerate.
1162 * po/gas.pot: Regenerate.
1163
1164 2002-01-30 Richard Sandiford <rsandifo@redhat.com>
1165
1166 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
1167 and mod.
1168
1169 2002-01-29 Chris Demetriou <cgd@broadcom.com>
1170
1171 * config/tc-mips.c (tc_gen_reloc): Arrange for
1172 BFD_RELOC_PCREL_HI16_S relocations to be output relative to
1173 their LO16 parts, even for ELF.
1174
1175 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
1176
1177 * config/tc-i386.c: Protect definitions of true and false
1178 from redefinition.
1179
1180 2002-01-28 Jakub Jelinek <jakub@redhat.com>
1181
1182 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
1183 made because of .weak, if they are neither defined nor used in any
1184 way.
1185
1186 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
1187
1188 * configure: Regenerated.
1189
1190 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1191
1192 * doc/Makefile.am (install): Depend on install-info.
1193 * doc/Makefile.in: Regenerate.
1194
1195 2002-01-26 Nick Clifton <nick@redhat.com>
1196
1197 * po/fr.po: Updated version
1198
1199 2002-01-24 Kazu Hirata <kazu@hxi.com>
1200
1201 * config/tc-h8300.c (check_operand): Don't print a warning
1202 when a valid 24-bit address is given to a 16-bit address
1203 operand.
1204
1205 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1206
1207 * config/tc-sh.c (sh_elf_suffix): Removed.
1208 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
1209 sh_end_of_match, sh_parse_name): New functions.
1210 (sh_elf_cons): Simplify.
1211 (parse_exp): Reject misplaced PIC operands.
1212 (md_undefined_symbol): Simplify.
1213 (sh_fix_adjustable): Let @GOTOFF be adjusted.
1214 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
1215 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
1216 Complain if subsy remains at the end.
1217 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
1218 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
1219
1220 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
1221
1222 * config/tc-mn10300.c (xr_registers): Move `pc'...
1223 (other_registers): ... here.
1224
1225 2002-01-22 Alan Modra <amodra@bigpond.net.au>
1226
1227 * Makefile.am: Run "make dep-am".
1228 * Makefile.in: Regenerate.
1229 * gas/po/POTFILES.in: Regenerate.
1230
1231 2002-01-21 DJ Delorie <dj@redhat.com>
1232
1233 * config/obj-coff.c (obj_coff_init_stab_section): Make the
1234 stabstr_name allocation permanent, as it will be referenced from
1235 the section hash.
1236
1237 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1238
1239 * configure.in (ia64-*-netbsd*): New target.
1240 * configure: Regenerate.
1241
1242 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
1243
1244 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
1245 to @dots call.
1246 <Detailed description, ARM options>: Ditto.
1247 * doc/c-arm.texi (ARM Options): Ditto.
1248
1249 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
1250
1251 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
1252 do_mia, do_mar and do_mra respectively.
1253 (do_mav_*): Renamed from do_c_*.
1254 (mav_reg_required_here, mav_parse_offset): Renamed from
1255 cirrus_reg_required_here and cirrus_parse_offset respectively.
1256 (MAV_MODE?): Renamed from CIRRUS_MODE?.
1257
1258 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
1259 Keith Walker <keith.walker@arm.com>
1260
1261 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
1262 (insns): Add pattern for bxj instruction.
1263 (do_bxj): New function.
1264 (arm_cpus): Add arm926ej.
1265 (arm_archs): Add armv5tej.
1266
1267 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
1268
1269 * doc/c-arm.texi: Add new fpe options to list of supported flags.
1270
1271 2002-01-19 Keith Walker <keith.walker@arm.com>
1272
1273 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
1274
1275 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
1276
1277 * NEWS: Mention new ARM command-line options and VFP support.
1278
1279 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
1280 uses changed.
1281 (ARM_CEXT_MAVERICK): Similarly.
1282 (ARM_ANY): Now means any core instruction.
1283 (CPU_DEFAULT): Default to ARM_ANY.
1284 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
1285 (pic_code): Declare for all object types. Make type int.
1286 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
1287 (march_fpu_opt, mfpu_opt): Declare.
1288 (md_longopts): Tidy up conditional definitions.
1289 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
1290 (arm_long_opts): New tables.
1291 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
1292 (arm_parse_extension): New function.
1293 (md_parse_option): Rewrite using new table-driven system.
1294 (md_show_usage): Use new table-driven system.
1295 (md_begin): Calculate cpu_variant from command line option data.
1296 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
1297 command-line options.
1298 * doc/c-arm.texi: Likewise.
1299
1300 2002-01-18 Andreas Jaeger <aj@suse.de>
1301
1302 * as.c (parse_args): Update year.
1303
1304 2002-01-17 Timothy Wall <twall@alum.mit.edu>
1305
1306 * config/tc-tic54x.c (encode_address): Add a more informative
1307 warning about incorrect syntax.
1308
1309 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1310
1311 * po/gas.pot: Regenerate.
1312
1313 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1314
1315 * macro.c (get_any_string): Add no-c-format comment to prevent
1316 confusion when translating string.
1317 * gasp.c (get_any_string): Add no-c-format comment to prevent
1318 confusion when translating string.
1319
1320 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1321 Johannes Stezenbach <js@convergence.de>
1322 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
1323 matched before the shorter ones.
1324 (my_getSmallParser): Fix handling of nested parentheses in
1325 percent_op's. Code cleanup.
1326 (my_getPercentOp): New function, code from my_getSmallParser.
1327 (my_getSmallExpression): Fix handling of closing parentheses.
1328 Code cleanup. Better comments.
1329
1330 2002-01-16 Nick Clifton <nickc@redhat.com>
1331
1332 po/tr.po: New file: Turkish translation.
1333 configure.in (LINGUAS): Add "tr".
1334 configure: Regenerate.
1335
1336 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
1337
1338 Support for VFP instructions
1339 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
1340 (cp_address_required_here): New argument wb_ok. When false, do not
1341 accept write-back forms of addressing. Change all callers.
1342 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
1343 (FPU_VFP_EXT_V2): Define.
1344 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
1345 Define in terms of above.
1346 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
1347 (vfp_reg): New struct.
1348 (vfp_regs): New array of registers.
1349 (insns): Add VFP instructions.
1350 (sn_table): New array of VFP single-precision register names.
1351 (dn_table): New array of VFP double-precision register names.
1352 (all_reg_maps): Add the new register tables.
1353 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
1354 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
1355 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
1356 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
1357 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
1358 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
1359 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
1360 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
1361 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
1362 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
1363 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
1364 (do_vfp_sp_dp_cvt): New functions.
1365 (md_begin): Set soft-float flag for appropriate VFP work.
1366 (md_atof): Handle VFP-format doubles.
1367 (md_parse_option): Handle VFP command-line options.
1368 (md_show_usage): Display VFP command-line options.
1369
1370 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
1371
1372 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
1373 various command line options.
1374
1375 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1376
1377 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
1378 vtinherit relocs.
1379 (xstormy16_md_apply_fix3): Do not return a value.
1380
1381 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1382
1383 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
1384 the -EL/-EB option that matches the target's endianness.
1385 (md_parse_option): Likewise.
1386
1387 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1388
1389 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
1390 is not dependent on ARM_BI_ENDIAN.
1391
1392 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
1393
1394 * tc-arm.c (all error messages): Normalize capitalization of messages.
1395
1396 * tc-arm.h (md_operand): Delete define.
1397 * tc-arm.c (in_my_get_expression): New static variable.
1398 (my_get_expression): Set and clear it.
1399 (md_operand): New function. If called from my_get_expression
1400 put the error in inst.error.
1401 (output_inst): Now takes argument of instruction being assembled.
1402 Print it out with any error message.
1403 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
1404 with '=' syntax.
1405 (end_of_line): Don't update inst.error if it is already set.
1406
1407 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
1408
1409 * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
1410 op that can be translated into a mvn instruction.
1411
1412 2002-01-11 Steve Ellcey <sje@cup.hp.com>
1413
1414 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
1415 setting default md.flags.
1416 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
1417 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
1418 * gas/config/tc-ia64.c (setup_unwind_header): Add support
1419 for 32 bit unwind info blocks.
1420 (generate_unwind_image): Add support for different types
1421 of unwind images (32 bits and/or big-endian).
1422 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
1423 (ia64_target_format): Add support for hpux target formats.
1424 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
1425 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
1426 SHT_FINI_ARRAY elf section types.
1427
1428 2002-01-10 Richard Earnshaw <rearnsha@arm.com>
1429
1430 * tc-arm.c (struct reg_entry): Move before prototypes.
1431 (int_register, cp_register, fp_register): Delete.
1432 (reg_table): Delete. Replaced with ...
1433 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
1434 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
1435 (mav_dspsc_table): ... one table per register set.
1436 (arm_reg_hsh): Delete.
1437 (struct reg_map): New structure.
1438 (all_reg_maps): New array.
1439 (enum arm_reg_type): New enums.
1440 (build_reg_hsh): New function.
1441 (insert_reg_alias): Use hash table passed by caller. Adjust all
1442 callers.
1443 (create_register_alias): New function, split out from ...
1444 (md_assemble): ... here.
1445 (md_begin): Build new register hash tables.
1446 (arm_reg_parse): New argument for the hash table to search. Adjust all
1447 callers.
1448 (arm_reg_parse_any): New function.
1449 (co_proc_number): Look up the processor number in the processor hash
1450 table.
1451 (cirrus_regtype): Delete.
1452 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
1453 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
1454 (ARM_EXT_MAVERICKsc_register): Delete.
1455 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
1456 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
1457 functions.
1458 (do_c_triple_4, do_c_triple_5): Delete.
1459 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
1460 (do_c_quad_6): Delete.
1461 (do_c_quad_6[ab]): New functions.
1462 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
1463 arguments to use new register parsing methods.
1464 (cirrus_reg_required_here): Likewise.
1465 (insns): Reclassify cirrus maverick worker functions.
1466 (cirrus_valid_reg): Delete.
1467
1468 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
1469
1470 * configure.in (sh*le): Set cpu_type=sh and endian=little.
1471 (sh*-*-netbsdelf*): New target.
1472 * configure: Regenerate.
1473 * tc-sh.h: Update copyright years.
1474 (TARGET_FORMAT): Add version for TE_NetBSD.
1475
1476 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1477
1478 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
1479 negative.
1480
1481 2002-01-06 Alan Modra <amodra@bigpond.net.au>
1482
1483 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
1484 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
1485
1486 2002-01-05 Daniel Jacobowitz <drow@mvista.com>
1487
1488 * tc-mips.c (mips_cprestore_valid): New flag.
1489 (mips_frame_reg_valid): New flag.
1490 (macro) [M_JAL_2]: Check both flags.
1491 [M_JAL_A]: Likewise.
1492 (s_cprestore): Set mips_cprestore_valid.
1493 (tc_get_register): If setting mips_frame_reg, set
1494 mips_frame_reg_valid and clear mips_cprestore_valid.
1495 (s_mips_ent): Clear both flags.
1496 (s_mips_end): Clear both flags.
1497
1498 2002-01-05 Alan Modra <amodra@bigpond.net.au>
1499
1500 * write.c (write_object_file): Make use of bfd_section_list_remove.
1501 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
1502 * config/tc-mmix.c (mmix_frob_file): Likewise.
1503
1504 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1505
1506 * configure.in (i386-*-netbsdelf*): Collapse target into...
1507 (i386-*-netbsd*): ...this. Add support for x86-64.
1508 * configure: Regenerated.
1509
1510 2002-01-03 matthew green <mrg@redhat.com>
1511
1512 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
1513
1514 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
1515
1516 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
1517 NULL frag link.
1518
1519 For older changes see ChangeLog-0001
1520 \f
1521 Local Variables:
1522 mode: change-log
1523 left-margin: 8
1524 fill-column: 74
1525 version-control: never
1526 End:
This page took 0.063149 seconds and 4 git commands to generate.