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