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