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