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