2001-02-11 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
9117d219
NC
12001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2
3 * config/tc-mips.c (macro): For M_LA_AB emit a
4 BFD_RELOC_MIPS_CALL16 relocation or a
5 BFD_RELOC_MIPS_CALL_HI16/BFD_RELOC_MIPS_CALL_LO16 pair instead of
6 BFD_RELOC_MIPS_GOT16 and
7 BFD_RELOC_MIPS_GOT_HI16/BFD_RELOC_MIPS_GOT_LO16, respectively for
8 loading the jump register when generating SVR4_PIC code.
9
97238fbd
CD
102001-02-10 Chris Demetriou <cgd@broadcom.com>
11
12 * configure.in: Make 'mipself' and 'mipsecoff' emulations
13 map to MIPS-specific files, as they used to do before the
14 change on 2000-05-21.
15 * configure: Regerate.
16
0f074f60
CD
172001-02-10 Chris Demetriou <cgd@broadcom.com>
18
19 * config/tc-mips.c (md_parse_option): Don't try to compile
20 ELF-only option code if not ELF.
21
91a2ae2a
RH
222001-02-08 David Mosberger <davidm@hpl.hp.com>
23
24 * config/tc-ia64.h (md_elf_section_type): New macro.
25 (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info
26 (they're now handled via ia64_elf_section_type.
27
28 * config/tc-ia64.c (unwind): New members saved_text_seg,
29 saved_text_subseg, and force_unwind_entry.
30 (optimize_unw_records): New function to optimize away unnecessary
31 unwind directives.
32 (ia64_elf_section_type): New function.
33 (output_unw_records): Generate unwind info only if the size is
34 non-zero or if it's forced for some other reason (e.g.,
35 handlerdata or a personality routine).
36 (generate_unwind_image): Don't switch back to previous
37 section---stay inside the unwind info section instead so that
38 handlerdata that may follow goes into the right place.
39 (dot_handlerdata): Force generation of unwind entry and save the
40 current active text segment before generating unwind image.
41 (dot_unwentry): Force generation of unwind entry.
42 (dot_personality): Ditto.
43 (dot_endp): Generate unwind table entry only if there is
44 some unwind info or the unwind entry was forced.
45
46 * config/tc-ia64.c (make_unw_section_name): New macro to form
47 unwind section name.
48 (generate_unwind_image): Add "text_name" argument. Use it to
49 form unwind section name.
50 (dot_handlerdata): Determine current segment (section) name and
51 pass it to generate_unwind_image().
52 (dot_endp): Determine current segment (section) name and use
53 it to determine the appropriate unwind section name.
54 (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to
55 n, fill, and max arguments.
56
a85d7ed0
NC
572001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
58
59 * Makefile.am: Add linux target for S/390.
60 * configure.in: Likewise.
61 * config/tc-s390.c: New file.
62 * config/tc-s390.h: New file.
63
de68de20
AO
642001-02-09 Alexandre Oliva <aoliva@redhat.com>
65
66 * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for
67 2byte, 4byte and 8byte.
68
8ea46bbd
AM
692001-02-08 Alan Modra <alan@linuxcare.com.au>
70
71 * config/tc-hppa.c (pa_build_unwind_subspace): Don't call
72 md_number_to_chars with size > sizeof (valueT).
73
a99746f4
L
742001-02-06 H.J. Lu <hjl@gnu.org>
75
76 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
77 there is no relocation.
78
f4e17b3d
L
792001-02-06 H.J. Lu <hjl@gnu.org>
80
81 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.
82
83 * config/tc-ia64.c (md_parse_option): Only accept the valid
84 ia64 options on "-axxx".
85
3557da92
JW
862001-02-05 Jim Wilson <wilson@redhat.com>
87
88 * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of
89 aborting for invalid operands.
90
da6c73e0
AM
912001-02-06 Alan Modra <alan@linuxcare.com.au>
92
93 * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather
94 than via pointer. Update all callers.
95 (UNWIND_LOW32): Define.
96 (UNWIND_HIGH32): Define.
97 (pa_build_unwind_subspace): Use the above macros instead of dumping
98 bitfields directly. Call frag_more once rather than multiple times.
99 (md_assemble): Use UNWIND_LOW32.
100 (pa_entry): Likewise
101 (pa_procend): Likewise.
102 (process_exit): Use UNWIND_HIGH32.
103
986c6f4b
SC
1042001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
105
106 * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
107 function to select the header according to the cpu.
108 (md_after_pass_hook, md_do_align): Remove.
109 (md_cleanup, m68hc11_cleanup): Remove.
110 (md_pcrel_from_section): Declare.
111 * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size.
112 (build_jump_insn, build_insn): Likewise.
113 (m68hc11_listing_header): New function.
114 (m68hc11_cleanup): Remove.
115
dbb8ad49
SC
1162001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
117
328dc123
SC
118 * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible
119 symbols because there is no support for shared libraries and these
120 symbols can't be overridden (unless they are weak).
dbb8ad49 121
a987bfc9
RH
1222001-02-01 Momchil Velikov <velco@fadata.bg>
123
124 * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
125 for the compilation unit with a zero byte.
126
22862cde
AM
1272001-01-30 Alan Modra <alan@linuxcare.com.au>
128
129 * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute
130 destinations. Correct range check for 17 and 22 bit branches.
131
8ec6253e
NC
1322001-01-25 Nick Clifton <nickc@redhat.com>
133
134 * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is
135 still set. Issue an error message instead.
136 (md_estimate_size_before_relax): Delete unused variable
137 'buffer_address'. Fixup parentheses around if statement.
138
43ad3147
KH
1392001-01-23 Kazu Hirata <kazu@hxi.com>
140
141 * as.c: Fix formatting.
142 * ehopt.c: Likewise.
143 * messages.c: Likewise.
144 * stabs.c: Likewise.
145 * symbols.c: Likewise.
146
015c05c1
AM
1472001-01-23 Ben Elliston <bje@redhat.com>
148
149 * config/tc-m32r.c (m32r_handle_align): Declare type of fragp.
150
66498417
KH
1512001-01-22 Kazu Hirata <kazu@hxi.com>
152
153 * config/tc-alpha.c: Fix formatting.
154
1aad8cf8
KH
1552001-01-19 Kazu Hirata <kazu@hxi.com>
156
157 * config/tc-alpha.c: Fix formatting.
158
32ff5c2e
KH
1592001-01-18 Kazu Hirata <kazu@hxi.com>
160
161 * config/tc-alpha.c: Fix formatting.
162
cd17328a
NC
1632001-01-18 Nick Clifton <nickc@redhat.com>
164
165 * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and
166 "da" flags.
167 (stm_flags): Remove redundant bit from "ed" and "da" flags.
168
81c425d1
AO
1692001-01-18 Alexandre Oliva <aoliva@redhat.com>
170
171 * configure.in (cpu_type, arch): Match i386 too.
172 * configure: Rebuilt.
173
e5cb08ac
KH
1742001-01-16 Kazu Hirata <kazu@hxi.com>
175
176 * config/tc-i386.c: Fix formatting.
177
1d3d5051
AM
1782001-01-16 Alan Modra <alan@linuxcare.com.au>
179
64afeba3
AM
180 * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32
181 relocs for .PARISC.unwind section.
182
1d3d5051
AM
183 * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind
184 depending on section flags, not just for .text.
185
b44b1b85
JW
1862001-01-15 Jim Wilson <wilson@redhat.com>
187
188 * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives
189 not immediately followed by an instruction.
190
098f2ec3
KH
1912001-01-15 Kazu Hirata <kazu@hxi.com>
192
193 * config/tc-m68hc11.c: Fix formatting.
194
d4887adc
NC
1952001-01-15 Nick Clifton <nickc@redhat.com>
196
197 * symbols.c (colon): Change 'already defined symbol' from a
198 fatal error to an ordinary error. There is no reason why this
199 error should be fatal.
200
201 * message.c (as_fatal): Delete output file, if one has been
015c05c1 202 created.
d4887adc 203
fcfd4916
AM
2042001-01-14 Alan Modra <alan@linuxcare.com.au>
205
206 * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants.
207
bfb32b52
KH
2082001-01-14 Kazu Hirata <kazu@hxi.com>
209
210 * config/tc-alpha.c: Fix formatting.
211 * config/tc-arc.c: Likewise.
212 * config/tc-arc.h: Likewise.
213 * config/tc-d10v.c: Likewise.
214 * config/tc-i370.c: Likewise.
215 * config/tc-i386.c: Likewise.
216 * config/tc-i960.c: Likewise.
217 * config/tc-m68k.c: Likewise.
218 * config/tc-ppc.c: Likewise.
219 * config/tc-sparc.c: Likewise.
220 * config/tc-tahoe.c: Likewise.
221 * config/tc-vax.c: Likewise.
222
1e07b820
KH
223 * config/tc-arc.c: Fix formatting.
224
19203624
KH
225 * config/tc-arc.c: Fix formatting.
226
1328dc98
AM
2272001-01-14 Alan Modra <alan@linuxcare.com.au>
228
c46b7515
AM
229 * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for
230 both 32 and 64 bit ELF.
231
1328dc98
AM
232 * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand
233 and don't bother storing `m' for "ce" completer. Tidy handling of
234 'J' and 'K' operands to suit. Handle '<' and '>' operands.
235
b9d79e03
JH
236Sun Jan 14 00:36:42 MET 2001 Jan Hubicka <jh@suse.cz>
237
238 * tc-i386.h (TARGET_MACH): New macro.
239 (i386_mach): Declare.
240 * tc-i386.c (i386_mach): New function.
241
a349d9dd
PB
2422001-01-13 Philip Blundell <philb@gnu.org>
243
244 * doc/as.texinfo: Fix spelling and cross-references.
245
246 * doc/c-arm.texi: Fix typos. Say that `;' is a line separator
247 character for all systems, not just GNU/Linux. Make it explicit
248 that `-k' doesn't affect code generation, just ELF flags.
249
e2914f48
JH
250Sat Jan 13 01:47:35 MET 2001 Jan Hubicka <jh@suse.cz>
251
252 * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary
253 instructions.
254
272d76e0
FCE
2552001-01-12 Frank Ch. Eigler <fche@redhat.com>
256
257 * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn.
258
d0398d6a
NC
2592001-01-12 Nick Clifton <nickc@redhat.com>
260
261 * as.c (print_args): Update copyright date to 2001.
262
2d73a4ca
NC
2632001-01-12 Peter Targett <peter.targett@arccores.com>
264
265 * doc/c-arc.texi: New file.
266 Some sections to be expanded.
267
6e0b89ee
AM
2682001-01-12 Alan Modra <alan@linuxcare.com.au>
269
270 * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF.
271 (md_parse_option): Always accept "--32".
272
0d2bcfaf
NC
2732001-01-11 Peter Targett <peter.targett@arccores.com>
274
275 * as.h (TC_ARC): Ensure struc-symbol.h included.
276 * as.c (dwarf2dbg.h): Include to remove implicit declaration
277 warnings.
278 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define.
279 (TARGET_SYMBOL_FIELDS) added.
280
281 * doc/Makefile.am (CPU_DOCS): Added c-arc.texi.
282 * doc/c-arc.texi: New file.
283 Some sections to be expanded.
284 * doc/as.texinfo: Update command-line options.
285 Removed outdated text for ARC dependant features, instead include
286 text from above file.
287
288 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag.
289 (TARGET_SYMBOL_FIELDS): Alias to previous definition.
290 (targ-cpu.h) header.
291 * config/tc-arc.h:
292 * config/tc-arc.c: New updated configuration for
293 ARC, including selection of core variants, and extensibility of
294 instructions, registers etc. through directives.
295
296 * config/tc-arc.c (arc_extinst): Minor corrections for
297 error messages.
298 (arc_common) Likewise. Make alignment argument optional for local
299 symbols also, with default of zero.
300
88051039
SC
3012001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
302
303 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix
304 STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset).
305 (build_indexed_byte): Don't relax indexed byte, use 16-bit offset
306 and fix_new_exp() instead.
307 (md_convert_frag): For indexed post byte use the symbol value
308 rather than the displacement.
309 (md_relax_table): Fix indexed offset relax.
310
d8273f3b
SC
3112001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
312
313 * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't
314 relax weak symbols.
015c05c1 315 (relaxable_symbol): New function.
d8273f3b 316
eea2ad45
AJ
3172001-01-11 Andreas Jaeger <aj@suse.de>
318
319 * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
320 not used anywhere.
321
7a91e76a
NC
3222001-01-10 Nick Clifton <nickc@redhat.com>
323
324 * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF.
325 * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF
326
aa257fcd
NC
3272001-01-10 Nick Clifton <nickc@redhat.com>
328
329 * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic
330 character used to dollar local symbols.
331 (LOCAL_LABEL_CHAR): New constant - the magic character used to
332 local label symbols.
333 (dollar_label_name): Use DOLLAR_LABEL_CHAR.
334 (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX,
335 if defined.
336 Use LOCAL_LABEL_CHAR.
337 (decode_local_label_name): Skip LOCAL_LABEL_PREFIX.
338 Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
339 (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
340
b77a7acd
AJ
3412001-01-08 Bo Thorsen <bo@suse.de>
342
015c05c1
AM
343 * config/tc-i386.c (i386_immediate, i386_displacement):
344 GOTPCREL check fix.
b77a7acd 345
5c2bd011
ILT
3462001-01-07 Ian Lance Taylor <ian@zembu.com>
347
348 * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
349 in last change.
350
46a04e3a
PB
3512001-01-07 Philip Blundell <philb@gnu.org>
352
353 * doc/as.texinfo (Bug Reporting): Update email address for
354 reports.
355 * README: Likewise.
356
b96d3a20
JH
357Sat Jan 6 13:33:10 MET 2001 Jan Hubicka <jh@suse.cz>
358
359 * configure.in: Define DEFAULT_ARCH for i386.
360 * tc-i386.c (md_assemble): Return after the error message;
361 move testing for 64bit operands to proper place.
362
55b62671
AJ
3632001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
364
365 * doc/as.texinfo: Document '#' as comment character for i386 and
366 x86_64. Add AMD x86-64 into menu of machine dependent information.
367
368 * doc/c-i386.texi: Document x86_64 extensions.
369
7bc70a8e
JH
370Fri Jan 5 13:26:42 MET 2001 Jan Hubicka <jh@suse.cz>
371
372 * tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
373
a167610d
JH
374Thu Jan 4 22:25:26 MET 2001 Jan Hubicka <jh@suse.cz>
375
376 * tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
377 * NEWS: Add note about Pentium4 support.
378
09f131f2
JH
379Wed Jan 3 17:26:32 MET 2001 Jan Hubicka <jh@suse.cz>
380
381 * tc-i387.c (pi, pte, pt): Update.
382 (type_names): Add new types.
383
6f8c0c4c
JH
384Wed Jan 3 16:26:52 MET 2001 Jan Hubicka <jh@suse.cz>
385
386 * tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
387 CpuUnknown): Renumber
388 (CpuP4, CpuSSE2): New.
389 (CpuUnknownFlags): Add CpuP4 and CpuSSE2
390
b96ed59a
PB
3912001-01-03 Philip Blundell <pb@futuretv.com>
392
393 * config/tc-alpha.c (alpha_force_relocation): Handle vtable
394 relocs.
395 (alpha_fix_adjustable): Likewise.
396 (md_apply_fix): Likewise.
397
a735d1cd
L
3982000-12-31 H.J. Lu <hjl@gnu.org>
399
400 * listing.c (listing_message): Allocate string only if it is
401 used.
402
403 * configure: Rebuild.
404
67db5ab4
HPN
4052000-12-31 Hans-Peter Nilsson <hp@bitrange.com>
406
407 * doc/internals.texi (Relaxing with a table) <after relaxation>:
408 Point out caveats with generating fixups for the opcode in a frag.
409
c0d8940f
JH
410Sat Dec 30 19:02:48 MET 2000 Jan Hubicka <jh@suse.cz>
411
412 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
413 * NEWS: Add x86_64.
414
087f563c
L
4152000-12-29 H.J. Lu <hjl@gnu.org>
416
417 * listing.c (calc_hex): Print the variable part only if the
418 fragment type is rs_fill.
419
8108ad8e
HPN
4202000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
421
422 * doc/internals.texi (tc_conditional_pseudoop,
423 TC_LINKRELAX_FIXUP): Fix typos.
424
799051fc
RH
4252000-12-28 Richard Henderson <rth@redhat.com>
426
427 * write.c (subsegs_finish): Fix thinko last change -- don't
428 "optimize" the alignment == 0 case.
429
0a9ef439
RH
4302000-12-28 Richard Henderson <rth@redhat.com>
431
432 * as.h (rs_align_test): New.
433 * frags.c (NOP_OPCODE): Move default from read.c.
434 (MAX_MEM_FOR_RS_ALIGN_CODE): New default.
435 (frag_align_code): New.
436 * frags.h (frag_align_code): Declare.
437 * read.c (NOP_OPCODE): Remove.
438 (do_align): Use frag_align_code.
439 * write.c (NOP_OPCODE): Remove.
440 (get_recorded_alignment): New.
441 (cvt_frag_to_fill): Handle rs_align_test.
442 (relax_segment): Likewise.
443 (subsegs_finish): Align last subseg in section to the
444 section alignment. Use frag_align_code.
445 * write.h (get_recorded_alignment): Declare.
446 * config/obj-coff.c (size_section): Handle rs_align_test.
447 (fill_section, fixup_mdeps): Likewise.
448 (write_object_file): Use frag_align_code.
449
450 * config/tc-alpha.c (alpha_align): Use frag_align_code.
451 (alpha_handle_align): New.
452 * config/tc-alpha.h (HANDLE_ALIGN): New.
453 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
454
455 * config/tc-i386.h (md_do_align): Use frag_align_code.
456 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
457
458 * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
459 (ia64_handle_align): New.
460 * config/tc-ia64.h (HANDLE_ALIGN): New.
461 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
462
463 * config/tc-m32r.c (m32r_do_align): Remove.
464 (m32r_handle_align): New.
465 (fill_insn): Use frag_align_code.
466 * config/tc-m32r.h (md_do_align): Remove.
467 (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
468 * config/tc-m88k.c, config/tc-m88k.h: Similarly.
469 * config/tc-mips.c, config/tc-mips.h: Similarly.
470
471 * config/tc-sh.c (sh_cons_align): Use rs_align_test.
472 (sh_handle_align): Likewise. Handle rs_align_code.
473 (sh_do_align): Remove.
474 * config/tc-sh.h (md_do_align): Remove.
475 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
476
477 * config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
478 (sparc_handle_align): Likewise. Handle rs_align_code.
479 * config/tc-sparc.h (md_do_align): Remove.
480 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
481
3cd4dda7
DD
4822000-12-22 DJ Delorie <dj@redhat.com>
483
484 * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
485 when we assemble the first half of a pair.
486
ec56dfb4
L
4872000-12-22 H.J. Lu <hjl@gnu.org>
488
489 * config/tc-i386.c (reloc): Update the macro for non-bfd
490 assembler.
491 (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
492
ad1172d4
L
4932000-12-22 H.J. Lu <hjl@gnu.org>
494
495 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
496
3e73aa7c
JH
497Wed Dec 20 14:21:22 MET 2000 Jan Hubicka <jh@suse.cz>
498
499 * tc-i386.h (i386_target_format): Define even for ELFs.
500 (QWORD_MNEM_SUFFIX): New macro.
501 (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
502 New macros
503 (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
504 (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
505 ImmExt): Renumber.
506 (Size64, No_qSuf, NoRex64, Rex64): New macros.
507 (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
508 (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
509 InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
510 SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem):
511 Renumber.
512 (Reg, WordReg): Add Reg64.
513 (Imm): Add Imm32S and Imm64.
514 (EncImm): New.
515 (Disp): Add Disp64 and Disp32S.
516 (AnyMem): Add Disp32S.
517 (RegRex, RegRex64): New macros.
518 (rex_byte): New type.
519 * tc-i386.c (set_16bit_code_flag): Kill.
520 (fits_in_unsigned_long, fits_in_signed_long): New functions.
521 (reloc): New parameter "signed"; support x86_64.
522 (set_code_flag): New.
523 (DEFAULT_ARCH): New macro; default to "i386".
524 (default_arch): New static variable.
525 (struct _i386_insn): New fields Operand_PCrel; rex.
526 (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"
527 (flag_code): New enum and static variable.
528 (use_rela_relocations): New static variable.
529 (flag_code_names): New static variable.
530 (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
531 (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
532 K6 and Athlon.
533 (i386_align_code): Return plain "nop" for x86_64.
534 (mode_from_disp_size): Support Disp32S.
535 (smallest_imm_type): Support Imm32S and Imm64.
536 (offset_in_range): Support size of 8.
537 (set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
538 (md_pseudo_table): Add "code64"; use set_code_flat.
539 (md_begin): Emit sane error message on hash failure.
540 (tc_i386_fix_adjustable): Support x86_64 relocations.
541 (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
542 instructions supported on particular arch just partially,
543 output of 64bit immediates, handling of Imm32S and Disp32S type.
544 (i386_immedaite): Support x86_64 relocations; support 64bit constants.
545 (i386_displacement): Likewise.
546 (i386_index_check): Cleanup; support 64bit addresses.
547 (md_apply_fix3): Support x86_64 relocation and rela.
548 (md_longopts): Add "32" and "64".
549 (md_parse_option): Add OPTION_32 and OPTION_64.
550 (i386_target_format): Call even for ELFs; choose between
551 elf64-x86-64 and elf32-i386.
552 (i386_validate_fix): Refuse GOTOFF in 64bit mode.
553 (tc_gen_reloc): Support rela relocations and x86_64.
554 (intel_e09_1): Support QWORD.
555
21d6c4af
DN
5562000-12-15 Diego Novillo <dnovillo@redhat.com>
557
558 * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
55b62671 559 it's not an offset expression.
21d6c4af
DN
560 (intel_e10_1): Ditto. Also, if the operand is an offset expression,
561 keep the braces '[' and ']' in the output string.
562 (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
563 != FLAT. There is no such op_modifier.
564
6717891c
NC
5652000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
566
567 * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
568 if we have it.
569
ee515fb7
KH
5702000-12-13 Kazu Hirata <kazu@hxi.com>
571
572 * as.h: Fix formatting.
573 * cgen.h: Likewise.
574 * dwarf2dbg.c: Likewise.
575 * input-scrub.c: Likewise.
576 * read.h: Likewise.
577
349a994c
DD
5782000-12-13 Mark Elbrecht <snowball3@bigfoot.com>
579
580 * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
581 configure: Regenerate.
582
42dbf88c
NC
5832000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
584
585 * dwarf2dbg.c: #include <limits.h> only if it exists.
586
0485cba3
AM
5872000-12-13 Rodney Brown <RodneyBrown@mynd.com>
588
589 * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
590 (md_apply_fix): Here too.
591
514829c3
JW
5922000-12-12 Jim Wilson <wilson@redhat.com>
593
594 * config/tc-ia64.h (ia64_init): Add prototype.
595
92eb7b32
L
5962000-12-12 H.J. Lu <hjl@gnu.org>
597
598 * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
599
600 * read.h (outputting_stabs_line_debug): Change it to int.
601 * stabs.c (outputting_stabs_line_debug): Likewise.
602
8141c27d
GK
6032000-12-12 Geoffrey Keating <geoffk@redhat.com>
604
605 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
606 the address of a function result.
607
5d6f4f16
GK
6082000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
609
610 * config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
611 (md_assemble): Call dwarf2_emit_insn.
612 (shlib): Fix typo SHILB -> SHLIB.
613 (md_parse_option): Likewise.
614 (ppc_elf_validate_fix): Likewise:
615 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
616
d4c0c039
NC
6172000-12-12 Nick Clifton <nickc@redhat.com>
618
619 * cgen.h: Fix formatting.
620 * input-scrub.c: Fix formatting.
621 * macro.c: Fix formatting.
e972090a 622 * config/tc-mips.c: Fix formatting.
584da044 623 * doc/c-mips.texi: Fix formatting.
55b62671 624
f16b83df
JH
625Mon Dec 11 14:35:42 MET 2000 Jan hubicka <jh@suse.cz>
626
627 * tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
628 mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
629 references.
630 (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
631 otherwise.
632 * tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
633 (No_dSuf): Kill.
634
635 * i386.h (*_Suf): Remove No_dSuf.
636 (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
637 Remove.
638 (i386_optab): Remove 'd' in the suffixes.
639
50705ef4
AM
6402000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
641
642 * config/tc-i386.c (T_SHORT): Undefine before defining.
643
beae10d5
KH
6442000-12-05 Kazu Hirata <kazu@hxi.com>
645
646 * config/tc-mips.c: Fix formatting.
647
bccba5f0 6482000-12-04 Matthew Hiller <hiller@redhat.com>
50705ef4
AM
649
650 * config/tc-d10v.c (flag_allow_gstabs_packing): New variable.
651 (md_longopts): New options --gstabs-packing, --no-gstabs-packing.
652 (md_show_usage): Ditto.
653 (md_parse_option): Ditto.
654 (d10v_cleanup): Writes pending instruction only if
655 ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing.
bccba5f0 656 Fix compile time warning messages.
50705ef4
AM
657
658 * doc/c-d10v.texi: Documents new options.
bccba5f0
NC
659
6602000-12-04 Matthew Hiller <hiller@redhat.com>
661
50705ef4 662 * stabs.c (outputting_stabs_line_debug): New variable.
bccba5f0
NC
663 (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at
664 function entry and unset at function exit.
665
50705ef4 666 * read.h (outputting_stabs_line_debug): New extern declaration.
bccba5f0
NC
667
668 * as.c: Include dwarf2dbg.h for definition of dwarf2_finish.
669
670 * dwarf2dbg.c: Fix compile time warning messages.
671
bc805888
KH
6722000-12-03 Kazu Hirata <kazu@hxi.com>
673
674 * config/tc-a29k.c: Fix formatting.
675 * config/tc-alpha.c: Likewise.
676 * config/tc-arm.c: Likewise.
677 * config/tc-cris.c: Likewise.
678 * config/tc-hppa.c: Likewise.
679 * config/tc-i370.c: Likewise.
680 * config/tc-i386.c: Likewise.
681 * config/tc-i860.c: Likewise.
682 * config/tc-i960.c: Likewise.
683 * config/tc-ia64.c: Likewise.
684 * config/tc-m68hc11.c: Likewise.
685 * config/tc-m68k.c: Likewise.
686 * config/tc-m88k.c: Likewise.
687 * config/tc-pj.c: Likewise.
688 * config/tc-ppc.c: Likewise.
689 * config/tc-sh.c: Likewise.
690 * config/tc-sparc.c: Likewise.
691 * config/tc-tahoe.c: Likewise.
692 * config/tc-vax.c: Likewise.
693
3dacdf2e
NC
6942000-12-01 Chris Demetriou <cgd@sibyte.com>
695
50705ef4
AM
696 * config/tc-mips.c (mips_ip): When calculating offsets,
697 don't accept as constant the difference between the
698 addresses of symbols in two different sections.
699
700 * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand
701 specifiers.
702 (validate_mips_insn): Likewise. Also, update 'B' operand
703 specifier to use OP_*_CODE20 constants and delete 'm' operand
704 specifier.
705 (mips_ip): Remove 'm' operand specifier, add 'U' and 'J'
706 operand specifiers. Change warning generated by 'B' operand
707 specifier to reflect its new multi-purpose usage.
708
709 * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than
710 -1, and update comment.
711 (file_mips_isa): Likewise.
712 (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment.
713 (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use
714 ISA_* constants rather than hard-coded numbers.
715 (mips_cpu_info): New structure.
716 (mips_cpu_info_table): New table describing CPU and ISA names
717 and numbers.
718 (mips_cpu_info_from_name, mips_cpu_info_from_isa,
719 mips_cpu_info_from_cpu): New functions.
720 (mips_isa_to_str): New function to get string for ISA name.
721 (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and
722 return const char *.
723 (md_begin): Redo CPU and ISA selection logic, using
724 mips_cpu_info_from_*. Convert to use ISA_* constants rather
725 than hard-coded numbers.
726 (append_insn, mips_emit_delays, macro, macro2): Convert to use
727 ISA_* constants rather than hard-coded numbers.
728 (mips_ip): Convert to use mips_isa_to_str to get ISA name.
729 (md_longopts): Delete OPTION_NO_MIPS32.
730 (md_parse_option): Convert to use ISA_* constants rather than
731 hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32
732 as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU
733 to use strcasecmp to recognize "default" and to use
734 mips_cpu_info_from_name to get CPU numbers from argument.
735 (md_show_usage): Move -mips32 so it's with the rest of the ISA
736 flags. Change 4Kc, 4Kp and 4Km CPU entries to just be
737 mips32-4k.
738 (s_mipsset): Accept ISA value 32.
739 * doc/as.texinfo: Clean up MIPS options summary slightly,
740 remove -no-mips32. Add note about -mips4 and -mips32
741 specifying those ISA levels. Delete -mips32 and -no-mips32
742 cpu flag descriptions.
743 * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean
744 up the supported CPU switch list, and replace 4Kc, 4Km, and
745 4Kp entries with a single mips32-4k entry. Note that you can
746 use ".set mips32".
747
748 * tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and
749 ISA_MIPS64.
750 (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for
751 -mips5 and -mips64.
752 (md_parse_option): Add cases for OPTION_MIPS5 and
753 OPTION_MIPS64.
754 (md_show_usage): Mention -mips5 and -mips64 arguments.
755 (s_mipsset): Add cases for MIPS5 and MIPS64.
756 (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs
757 and pseudo-CPUs.
758 * doc/as.texinfo: Mention -mips5 and -mips64 options
759 and their meanings.
760 * doc/c-mips.texi: Likewise. Also update introduction
761 and ".set" usage information.
762
763 * config/tc-mips.c (md_show_usage): Add "sb1" to the
764 CPU list.
765 (mips_cpu_info_table): Add SB-1 entries.
766 * doc/c-mips.texi: Add "sb1" to the list of CPUs
767 known to the -mcpu option.
768
769 * doc/as.texinfo: Correct description of MIPS -mcpu
770 option, by copying some of the text from doc/c-mips.texi.
c6c98b38 771
5f68c319
NC
7722000-12-01 Joel Sherrill <joel@OARcorp.com>
773
3dacdf2e
NC
774 * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
775 New targets.
776 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
777 (sparc*-*-rtems*): Switched from a.out to ELF.
5f68c319
NC
778 * configure: Regenerate.
779 * config.in: Regenerate.
780 * Makefile.in: Regenerate.
781 * aclocal.m4: Regenerate.
782 * po/gas.pot: Regenerate.
50705ef4 783
4ce3447c
PB
7842000-11-30 Philip Blundell <pb@futuretv.com>
785
786 * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
787 even in non BFD_ASSEMBLER case.
788
76a0ddac
DN
7892000-11-30 Diego Novillo <dnovillo@redhat.com>
790
791 * tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
792 syntax.
793
220e750f
RH
7942000-11-29 Richard Henderson <rth@redhat.com>
795
796 * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
797 until dwarf2_finish; use relaxation to get cross-fragment offsets;
798 thread multiple subsegments properly; handle multiple code
799 sections properly; emit proper compilation unit info for assembler
800 generated debugging.
801
802 * as.h (enum _relax_state): Add rs_dwarf2dbg.
803 * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
804 (dwarf2dbg_estimate_size_before_relax): Declare.
805 (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
806 * write.c: Include dwarf2dbg.h.
807 (cvt_frag_to_fill): Handle rs_dwarf2dbg.
808 (relax_segment): Likewise.
809
99b222b4
HPN
8102000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
811
812 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
813 jump>: Use as_bad_where instead of as_bad. Tweak error message
814 accordingly. Stabilize frag by updating fix part and resetting
815 variant part.
816 <undefined symbol, unconditional jump>: Ditto.
dda5ecfc
HPN
817 (sh_elf_cons): Cast *input_line_pointer to unsigned char when
818 indexing is_end_of_line[].
819 (md_assemble): Initialize size to 0.
820 (md_section_align): Mark parameter seg as unused.
e46fee70 821 (parse_reg): Parse names case-insensitively.
99b222b4 822
814f6641
KH
8232000-11-28 Kazu Hirata <kazu@hxi.com>
824
825 * config/obj-aout.h: Fix formatting.
826 * config/obj-bout.h: Likewise.
827 * config/obj-coff.c: Likewise.
828 * config/obj-coff.h: Likewise.
829 * config/obj-elf.h: Likewise.
830 * config/obj-som.h: Likewise.
831 * config/obj-vms.c: Likewise.
832 * config/obj-vms.h: Likewise.
833 * config/tc-h8300.h: Likewise.
834 * config/tc-ns32k.h: Likewise.
835 * config/tc-sparc.h: Likewise.
836 * config/tc-tic54x.h: Likewise.
837 * config/tc-z8k.h: Likewise.
838
e47b9e39
NC
8392000-11-28 Nick Clifton <nickc@redhat.com>
840
841 * doc/as.1 (COPYING): Mention that the GNU Free Documentation
842 License is present in the sources, but not the output, and
843 also available from the GNU website.
844 (GNU Free Documentation License): Comment out this section.
845
fcdc20a4
HPN
8462000-11-28 Hans-Peter Nilsson <hp@axis.com>
847
43c34dee
HPN
848 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
849 targets. Remove i860 from valid a.out targets.
850 * Makefile.in: Regenerate.
851
fcdc20a4 852 * config/tc-cris.c: Include dwarf2dbg.h.
50705ef4 853 (md_pseudo_table): Add .file and .loc.
fcdc20a4
HPN
854 (md_assemble): Call dwarf2_emit_insn if generating ELF.
855 (s_cris_file, s_cris_loc): New.
856 * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
857 * Makefile.am: Regenerate dependencies.
858 * Makefile.in: Regenerate.
859
16887944
AM
8602000-11-28 Alan Modra <alan@linuxcare.com.au>
861
862 * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
863 (MRI_MUL_PRECEDENCE): Likewise.
864 (op_rank): Fix a comment typo.
865
ae3e85dd
SC
8662000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
867
868 * config/tc-m68hc11.c (build_indexed_byte): Print the offset in
869 the error message.
870 (get_operand): Fix analysis for movw/movb instructions.
871
077b8428
NC
8722000-11-24 Nick Clifton <nickc@redhat.com>
873
874 * configure.in (xscale-elf): Add target.
875 (xscale-coff): Add target.
876 * configure: Regenerate.
877
878 * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture
879 extenstion.
880 (ARM_EXT_XSCALE): New ARM architecture extension.
881 (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL.
882 (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD.
883 (ARM_THUMB): Rename to ARM_EXT_THUMB.
884 (ARM_ARCH_V4): Remove processor from architecture.
885 (ARM_ARCH_3M): New architecutre definition.
886 (ARM_ARCH_V5TE): New architecutre definition.
887 (ARM_ARCH_XSCALE): New architecutre definition.
888 (CPU_DEFAULT): Allow to be defaulted to XScale.
889 (atpcs): New boolean variable.
890 (ldr_flags): Support 'd' flag for double word loads.
891 (str_flags): Support 'd' flag for double word stored.
892 (do_mia): New function.
893 (do_mar): New function.
894 (do_mra): New function.
895 (do_pld): New function.
896 (do_ldrd): New function.
897 (do_blx): New function.
898 (do_bkpt): New function.
899 (do_clz): New function.
900 (do_lstc2): New function.
901 (do_cdp2): New function.
902 (do_t_blx): New function.
903 (do_t_bkpt): New function.
904 (do_smla): New function.
905 (do_smlal): New function.
906 (do_smul): New function.
907 (do_qadd): New function.
908 (do_co_reg2c): New function.
909 (LONGEST_INSN): Redefine to 7.
910
911 * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs
912 command line switches.
913
2434f565
JW
9142000-11-22 Jim Wilson <wilson@redhat.com>
915
916 * config/tc-ia64.c (pseudo_func): Add missing initializers.
917 (struct rsrc): Make line unsigned.
918 (gr_values): Add missing initializer.
919 (SLOT_NUM_NOT_SET): Add unsigned cast.
920 (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
921 dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
922 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
923 dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
924 dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
925 dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
926 dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
927 dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
928 md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
929 Add ATTRIBUTE_UNUSED to unused parameters.
930 (convert_expr_to_ab_reg): Add parens.
931 (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
932 (dot_prologue): Initialize grsave when declared.
933 (md_pseudo_table): Add missing initializers.
934 (operand_match): Add casts to bfd_vma.
935 (emit_one_bundle): Delete unused local prev. Make required_template
936 unsigned.
937 (specify_resource): Cast i to unsigned.
938 (note_register_values): Use fprintf_vma.
939 (print_dependency): Likewise.
940
5a080f89
JW
9412000-11-21 Jim Wilson <wilson@redhat.com>
942
5e7474a7
JW
943 * config/tc-ia64.c (generate_unwind_image): Call record_alignment
944 for unwind info section.
945 (dot_endp): Likewise for unwind section.
946
5a080f89
JW
947 * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
948 fix_new_exp.
949
732d96b6
JJ
9502000-11-21 Jakub Jelinek <jakub@redhat.com>
951
952 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
953 (output_insn): Call dwarf2_emit_insn.
b8e904dc 954 * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
732d96b6 955
6d2cf69f
RH
9562000-11-17 Richard Henderson <rth@redhat.com>
957
958 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
959 callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
960 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
961
8179bd9b
NC
9622000-11-17 Nick Clifton <nickc@redhat.com>
963
964 * config/tc-arm.c (md_pseudo_table): Add support for .line and
965 .file pseudo ops.
966
316e2c05
RH
9672000-11-17 Richard Henderson <rth@redhat.com>
968
969 * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
970
a8316fe2
RH
9712000-11-17 Richard Henderson <rth@redhat.com>
972
973 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
50705ef4 974 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
a8316fe2
RH
975 tri-state definition of alpha_flag_mdebug.
976 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
977 (s_alpha_file): Store first .file directive.
978 (s_alpha_stab): New.
979 (md_pseudo_table): Add stabs and stabn.
980
e346e481
RH
9812000-11-17 Richard Henderson <rth@redhat.com>
982
983 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
984
4dc7ead9
RH
9852000-11-17 Richard Henderson <rth@redhat.com>
986
987 * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
39bb5fe6 988 (main): Call dwarf2_finish.
4dc7ead9
RH
989 * as.h (debug_type): Clarify documentation of the meaning
990 of this variable.
991 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
992 (print_stats): Fix parenthesis problem.
993 (now_subseg_size): New.
994 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
995 (dwarf2_directive_file): Don't set debug_type.
996 (dwarf2_where): Honor DEBUG_DWARF2 first.
997 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
998 do nothing if not emitting dwarf2 debug info, or no work.
999 * dwarf2dbg.h (dwarf2_emit_insn): Update.
1000 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
1001 (ecoff_new_file): Likewise.
1002 * read.c (generate_lineno_debug): Kill ecoff hackery. Update
1003 commentary wrt dwarf2.
1004
1005 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
1006 ATTRIBUTE_UNUSED as needed.
1007 (emit_insn): Call dwarf2_emit_insn.
1008 (s_alpha_file): New.
1009 (s_alpha_loc): New.
1010 (s_alpha_coff_wrapper): Don't handle them.
1011 (md_pseudo_table): Update for .file and .loc.
1012 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
1013
1014 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
1015 don't protect with debug_type.
1016 * config/tc-hppa.c (md_assemble): Likewise.
1017 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
1018 * config/tc-mn10300.c (md_assemble): Likewise.
1019 * config/tc-sh.c (md_assemble): Likewise.
1020 * config/tc-v850.c (md_assemble): Likewise.
1021
1022 * config/tc-arm.c (arm_end_of_source): Remove.
1023 * config/tc-hppa.c (pa_end_of_source): Remove.
1024 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
1025 * config/tc-mn10300.c (mn10300_finalize): Remove.
1026 * config/tc-sh.c (sh_finalize): Remove.
1027 * config/tc-v850.c (sh_finalize): Remove.
1028
1029 * config/tc-arm.h (md_end): Remove.
1030 * config/tc-hppa.h (md_end): Remove.
1031 (DWARF2_LINE_MIN_INSN_LENGTH): New.
1032 * config/tc-m68hc11.h (md_end): Remove.
1033 * config/tc-mn10300.h (md_end): Remove.
1034 * config/tc-sh.h (md_end): Remove.
1035 * config/tc-v850.h (md_end): Remove.
1036
1037 * config/tc-ia64.c (emit_one_bundle): Don't protect
1038 dwarf2 bits with debug_type.
1039 (md_assemble): Likewise.
1040 (ia64_end_of_source): Don't call dwarf2_finish.
1041
ca683b78
JW
10422000-11-16 Jim Wilson <wilson@redhat.com>
1043
1044 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
1045 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
1046 > 16.
1047
6f620856
L
10482000-11-16 H.J. Lu <hjl@gnu.org>
1049
1050 * config/obj-elf.c (obj_elf_symver): Don't check the missing
1051 version name.
1052
19d63e5d
KH
10532000-11-15 Kazu Hirata <kazu@hxi.com>
1054
1055 * config/tc-tic30.c: Fix formatting.
1056 * config/tc-tic80.c: Likewise.
1057 * config/tc-v850.c: Likewise.
1058 * config/tc-vax.c: Likewise.
1059 * config/tc-w65.c: Likewise.
1060 * config/tc-z8k.c: Likewise.
1061
a8761a19
DD
10622000-11-14 DJ Delorie <dj@redhat.com>
1063
1064 * config/tc-v850.c: Support dwarf2.
1065 * config/tc-v850.h: Ditto.
1066
1067 * config/tc-v850.c (cons_fix_new_v850): Don't rely on
1068 parse_cons_expression_v850 to initialize hold_cons_reloc.
50705ef4 1069
88be23ec
BS
10702000-11-15 Bernd Schmidt <bernds@redhat.com>
1071
1072 * tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
1073 (errata_nops_necessary_p): New function.
1074 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct
1075 md.
1076
72a76794
JW
10772000-11-14 Jim Wilson <wilson@redhat.com>
1078
1079 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
1080 return little endian bfd formats.
1081
4a1805b1
KH
10822000-11-14 Kazu Hirata <kazu@hxi.com>
1083
1084 * config/aout_gnu.h: Fix formatting.
1085 * config/atof-vax.c: Likewise.
1086 * config/m68k-parse.h: Likewise.
1087 * config/m88k-opcode.h: Likewise.
1088 * config/obj-elf.c: Likewise.
1089 * config/tc-arm.c: Likewise.
1090 * config/tc-cris.c: Likewise.
1091 * config/tc-i386.c: Likewise.
1092 * config/tc-ia64.c: Likewise.
1093 * config/tc-mn10300.c: Likewise.
1094 * config/te-386bsd.h: Likewise.
1095 * config/te-hppa.h: Likewise.
1096 * config/te-nbsd.h: Likewise.
1097 * config/te-ppcnw.h: Likewise.
1098 * config/te-sparcaout.h: Likewise.
1099 * config/te-tmips.h: Likewise.
1100 * config/vax-inst.h: Likewise.
1101 * config/vms-conf.h: Likewise.
1102
c810873d
JJ
11032000-11-14 Jakub Jelinek <jakub@redhat.com>
1104
1105 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
1106
79082ff0
L
11072000-11-13 H.J. Lu <hjl@gnu.org>
1108
1109 * config/obj-elf.c (elf_frob_symbol): Support
1110 ".symver name,name2@@@nodename".
1111 (elf_frob_file_before_adjust): Likewise.
1112
1113 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
1114 and ".symver name,name2@@@nodename".
1115 Fix a typo.
1116
1da00eb4
L
11172000-11-12 H.J. Lu (hjl@gnu.org)
1118
1119 * config/obj-elf.c (obj_elf_symver): Check missing version
1120 name.
1121
f585997b
L
11222000-11-12 H.J. Lu (hjl@gnu.org)
1123
1124 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
1125 instead of bfd_vma for non-bfd assemblers.
1126
ef5c4bfc
KH
11272000-11-09 Kazu Hirata <kazu@hxi.com>
1128
1129 * itbl-ops.c: Fix comment typos.
1130
f5a30c2e
JW
11312000-11-08 Jim Wilson <wilson@redhat.com>
1132
1133 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
1134 (struct unwind): Add next_slot_frag field.
1135 (slot_index): New parameters slot_frag and first_frag. Add code
1136 to add in frag sizes when different. Add comments.
1137 (fixup_unw_records): New locals first_frag and last_frag. Pass new
1138 arguments to slot_index.
1139 (emit_one_bundle): Set slot_frag field. Set next_slot_number after
1140 loop end. Set next_slot_frag field.
1141
339681c0
L
11422000-11-07 H.J. Lu <hjl@gnu.org>
1143
1144 * doc/as.texinfo (.symver): Updated for versioned symbol
1145 reference.
1146
1147 * obj.h (format_ops): Add the frob_file_before_adjust field.
1148
1149 * config/obj-aout.c (aout_format_ops): Set the
1150 frob_file_before_adjust field to 0.
1151 * config/obj-coff.c (coff_format_ops): Likewise.
1152 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
1153
1154 * config/obj-elf.c (obj_elf_symver): Allow duplicated version
1155 name.
1156 (elf_frob_file_before_adjust): New function to remove unneeded
1157 versioned symbols from the symbol table.
1158 (elf_format_ops): Set the frob_file_before_adjust field to
1159 elf_frob_file_before_adjust.
1160
1161 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
1162 not defined.
1163
1164 * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
1165
4a314ec8
NC
11662000-11-07 Peter Targett <peter.targett@arccores.com>
1167
1168 * gas/config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
1169 BIG_ENDIAN macros.
1170 * gas/config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
1171 Fix compile time warning messages.
50705ef4 1172
604d524f
NC
11732000-11-07 Nick Clifton <nickc@redhat.com>
1174
1175 * stabs.c (generate_asm_file): Increase length of xmalloc'ed
1176 buffer in order to avoid buffer overflows.
1177
44f5c83a
JW
11782000-11-06 Steve Ellcey <sje@cup.hp.com>
1179
1180 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
1181 Change M to m for -milp32 or -mlp64 to match gcc.
1182 (dot_endp): Use bytes_per_address instead of 8.
1183 (emit_one_bundle): Use number_to_chars_littleendian instead of
1184 md_number_to_chars.
1185 (fix_insn): Likewise.
1186 (ia64_init): New function.
1187 (ia64_target_format): New function.
1188 (md_begin): Set endianness, arch, and machine as appropriate.
1189 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
1190 Make these macros depend on TE_HPUX macro.
1191 (TARGET_FORMAT): Define.
1192 (HOST_SPECIAL_INIT): Define.
1193 * config/te-hpux.h: New file.
1194 * configure.in: Add "ia64-*-hpux*" target to configure.
1195 * configure: Regenerate.
50705ef4 1196
7152f1dc
KH
11972000-11-06 Kazu Hirata <kazu@hxi.com>
1198
ef99799a
KH
1199 * as.c: Fix formatting.
1200 * dwarf2dbg.c: Likewise.
1201 * input-file.c: Likewise.
7152f1dc
KH
1202 * input-file.h: Likewise.
1203 * input-scrub.c: Likewise.
ef99799a
KH
1204 * itbl-ops.c: Likewise.
1205 * listing.c: Likewise.
1206 * macro.h: Likewise.
1207 * messages.c: Likewise.
1208 * read.c: Likewise.
1209 * subsegs.c: Likewise.
1210 * subsegs.h: Likewise.
1211 * write.c: Likewise.
7152f1dc 1212
cf055d54
NC
12132000-11-06 Nick Clifton <nickc@redhat.com>
1214
1215 * doc/as.texinfo: Add GNU Free Documentation License.
1216 * doc/gasp.texi: Add GNU Free Documentation License.
1217 * doc/as.1: Add GNU Free Documentation License.
1218
8d6b5c8e
NC
12192000-11-05 Nick Clifton <nickc@redhat.com>
1220
1221 * config/tc-arm.c: Add include of "dwarf2dbg.h"
1222
59ff2774
NC
12232000-11-02 Per Lundberg <plundis@chaosdev.org>
1224
1225 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
1226 * configure: Regenerate.
1227
37d8bb27
NC
12282000-11-01 Nick Clifton <nickc@redhat.com>
1229
1230 * read.c (original_case_string): New global variable.
1231 (read_a_source_file): Copy opcode string into
1232 original_case_string if clobbering the case of the opcode.
1233 * read.h: Export the definition of original_case_string.
1234 * config/tc-arm.c (md_assembler): When parsing a .req
1235 directive use the original opcode string, not the case
1236 clobbered version.
1237
d75bb8cf
NC
12382000-11-02 Nick Clifton <nickc@redhat.com>
1239
1240 * config/tc-mn10300.c (debug_line): Remove this static
37d8bb27 1241 variable.
d75bb8cf
NC
1242 (md_assemble): Call dwarf2_generate_asm_lineno instead of
1243 dwarf2_where and dwarf2_gen_line_info.
1244
6c17cfe4
PB
12452000-11-02 Theo Honohan <th@futuretv.com>
1246
50705ef4 1247 * config/tc-arm.c (do_msr): Improve error message.
6c17cfe4 1248
c51ce5f0
EC
12492000-10-31 Eric Christopher <echristo@redhat.com>
1250
1251 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
1252 or pc-relative, else use fx_offset.
1253
f1bcba5b
JW
12542000-10-31 Jim Wilson <wilson@redhat.com>
1255
1256 * config/tc-ia64.c (struct md): New field tag_fixups.
1257 (ia64_flush_insns): Handle tag_fixups. Error if dangling
1258 qualifying predicate.
1259 (emit_one_bundle): Delete spurious multiplication by one. Handle
1260 tag_fixups.
1261 (ia64_start_line): Error if dangling qualifying predicate.
1262 (defining_tag): New static variable.
1263 (ia64_unrecognized_line, case '['): Parse tags.
1264 (ia64_frob_label): Create tag_fixups.
1265 (md_assemble): Reset md.qp.X_op after using it.
c51ce5f0 1266
8637c045
AM
12672000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1268
1269 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
1270
ebeeafe6
BS
12712000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
1272
1273 * tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
1274
b041f888
KH
12752000-10-30 Kazu Hirata <kazu@hxi.com>
1276
1277 * expr.c: Fix formatting.
1278 * flonum-copy.c: Likewise.
1279 * flonum.h: Likewise.
1280 * gasp.c: Likewise.
1281 * hash.c: Likewise.
1282
d8374dcd
HPN
12832000-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1284
1285 * as.h (OPTION_MD_BASE): Bump to 190.
1286 * as.c (parse_args) <std_longopts>: Add comment about the need to
1287 check OPTION_MD_BASE in as.h.
1288
1308f14c
HPN
1289 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
1290 for weak symbols.
1291
6f6ef0fa
NC
12922000-10-27 Nick Clifton <nickc@redhat.com>
1293
1294 * configure.in (emulations): Add m68hc12.
1295 * configure: Regenerate.
1296 * po/gas.pot: Regenerate.
c51ce5f0 1297
bf1b5881
AH
12982000-10-27 Aldy Hernandez <aldyh@redhat.com>
1299
50705ef4
AM
1300 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
1301 cpsr*.
1302 (arm_psr_parse): Handle lowercase CPSR and SPSR.
bf1b5881 1303
85a39694
NC
13042000-10-25 Nick Clifton <nickc@redhat.com>
1305
1306 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
1307 a DWARF2 line number information sequence.
1308
1309 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
1310
1311 * read.c (generate_lineno_debug): Update comment describing why
1312 DWARF2 line number debug information is not generated
1313 automatically by this function.
1314
1315 * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
1316 not all.
c51ce5f0 1317
85a39694
NC
1318 * config/tc-arm.h (md_end): Define.
1319 (DWARF2_LINE_MIN_INSN_LENGTH): Define.
c51ce5f0 1320
85a39694
NC
1321 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
1322 if generating DWARF2 line numbers.
1323 (arm_end_of_source): New function. Call dwarf2_finish if
1324 necessary.
1325
1326 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
1327 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
1328 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
c51ce5f0 1329
cce0cbdc
DN
13302000-10-25 Diego Novillo <dnovillo@cygnus.com>
1331
1332 * tc-i386.c: Fix prototype declarations for functions taking no
1333 arguments.
1334
64a0c779
DN
13352000-10-24 Diego Novillo <dnovillo@cygnus.com>
1336
1337 * tc-i386.c (i386_operand_modifier): Remove.
1338 (build_displacement_string): Remove.
1339 (i386_parse_seg): Remove.
1340 (i386_intel_memory_operand): Remove.
1341 (i386_intel_operand): Re-write using recursive descent parser based
1342 on MASM documentation.
1343 (struct intel_parser_s): New structure.
1344 (intel_parser): New static variable.
1345 (struct intel_token): New structure.
1346 (cur_token, prev_token): New static variables.
1347 (T_NIL): Define.
1348 (T_CONST): Define.
1349 (T_REG): Define.
1350 (T_BYTE): Define.
1351 (T_WORD): Define.
1352 (T_DWORD): Define.
1353 (T_QWORD): Define.
1354 (T_XWORD): Define.
1355 (T_SHORT): Define.
1356 (T_OFFSET): Define.
1357 (T_PTR): Define.
1358 (T_ID): Define.
1359 (intel_match_token): New function.
1360 (intel_get_token): New function.
1361 (intel_putback_token): New function.
1362 (intel_expr): New function.
1363 (intel_e05): New function.
1364 (intel_e05_1): New function.
1365 (intel_e06): New function.
1366 (intel_e06_1): New function.
1367 (intel_e09): New function.
1368 (intel_e09_1): New function.
1369 (intel_e10): New function.
1370 (intel_e10_1): New function.
1371 (intel_e11): New function.
1372
19f7b010
JJ
13732000-10-20 Jakub Jelinek <jakub@redhat.com>
1374
1375 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
1376 instructions to loose any special insn->architecture mask.
1377
1378 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
1379 (sparc_md_end, sparc_arch_types, sparc_arch,
1380 sparc_elf_final_processing): Handle v8plusb and v9b architectures.
1381 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and
1382 request v9b architecture if they are used).
1383
3ae647a0
NC
13842000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1385
1386 * config/tc-m68k.c: Fix the previous misapplied patch.
1387
5cbdaa77
NC
13882000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1389
50705ef4
AM
1390 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
1391 BFD_ASSEMBLER and !BFD_ASSEMBLER.
1392 * config/tc-m68k.c (md_convert_frag_1): Use them instead of
1393 BFD_RELOC_*.
5cbdaa77 1394
e6c774b4
KH
13952000-10-17 Kazu Hirata <kazu@hxi.com>
1396
1397 * debug.c: Fix formatting.
1398 * depend.c: Likewise.
1399 * dwarf2dbg.c: Likewise.
1400 * dwarf2dbg.h: Likewise.
1401 * ecoff.c: Likewise.
1402 * expr.c: Likewise.
1403 * expr.h: Likewise.
1404 * flonum-konst.c: Likewise.
1405 * frags.h: Likewise.
1406
ea20a7da
CC
14072000-10-17 Chandrakala Chavva <cchavva@redhat.com>
1408
1409 * as.c: New option OPTION_TARGET_HELP. Prints all target specific
1410 options.
1411 * doc/as.texinfo: Added notes about this new option.
1412
266cb5f1
HPN
14132000-10-16 Hans-Peter Nilsson <hp@bitrange.com>
1414
1415 * config/tc-sh.c (JREG): Remove.
1416 (md_convert_frag): Remove #if 0:d code using JREG.
1417
6588847e
DN
14182000-10-15 Diego Novillo <dnovillo@cygnus.com>
1419
1420 * config/tc-i386.c (i386_operand_modifier): Only match
1421 modifiers SHORT and FLAT if they are followed by a space.
1422 (parse_register): When `allow_naked_reg' is set, do not confuse
1423 identifiers that start with a register name with a register.
1424
30a2b4ef
KH
14252000-10-12 Kazu Hirata <kazu@hxi.com>
1426
1427 * app.c: Fix formatting.
1428 * as.c: Likewise.
1429 * as.h: Likewise.
1430 * bit_fix.h: Likewise.
1431 * cgen.c: Likewise.
1432 * cgen.h: Likewise.
1433 * cond.c: Likewise.
1434
d01e2a23
AM
14352000-10-11 Alan Modra <alan@linuxcare.com.au>
1436
1437 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
1438
44852b19
AM
14392000-10-07 Alan Modra <alan@linuxcare.com.au>
1440
dc1fc56b
AM
1441 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
1442 Re-arrange function a little and improve error message.
1443
44852b19
AM
1444 * write.c (write_relocs): Fix a comment.
1445
1446 * config/obj-elf.c (elf_frob_symbol): Make section syms global on
1447 link-once sections.
1448
afa680f8
JW
14492000-10-05 Jim Wilson <wilson@cygnus.com>
1450
1451 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
1452
ce8a8b2f
AM
14532000-10-05 Alan Modra <alan@linuxcare.com.au>
1454
1455 * config/tc-i386.c: Delete some useless comments, reformat others.
1456
1457 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover
1458 non-global syms in linkonce sections.
1459
56d27c17
AM
14602000-10-04 Ralf Baechle <ralf@gnu.org>
1461
1462 * config/tc-ia64.c (operand_match): Don't use // style comments.
1463 * config/tc-i370.c: Likewise.
1464
7b15d668
HPN
14652000-09-29 Hans-Peter Nilsson <hp@axis.com>
1466
1467 Changes to handle varying register prefix and user symbol prefix.
1468 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
1469 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
1470 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
1471 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
1472 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
1473 (demand_register_prefix): New variable.
1474 (md_pseudo_table): New pseudo ".syntax".
1475 (md_longopts): New options --no-underscore and --underscore.
1476 (cris_target_format): Return elf32-us-cris or elf32-cris depending
1477 on symbols_have_leading_underscore.
1478 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
1479 (get_spec_reg): Ditto.
1480 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
1481 Fix formatting.
1482 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
1483 --help.
1484 <case OPTION_NO_US, case OPTION_US>: New.
1485 (md_show_usage): Be brief and reformat to match continuation of
1486 --help.
1487 * po/gas.pot: Regenerate.
1488
27df9f40
AM
14892000-09-28 Alan Modra <alan@linuxcare.com.au>
1490
1491 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
1492 force relocs for 12 bit branches.
1493 (md_apply_fix): Similarly, adjust logic here.
1494
5506e1a5
AM
14952000-09-28 Alan Modra <alan@linuxcare.com.au>
1496
1497 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
1498 adjust for external and weak syms as we will use a reloc. Allow
1499 for +8 offset when calculating limits of branches.
1500 (hppa_fix_adjustable): Undo 2000-09-23 change.
1501 (hppa_force_relocation): Likewise. Add fx_addsy assertion.
1502 Correct distance calculation.
47d89dba
AM
1503 (tc_gen_reloc): Print the file name and line number if we can't
1504 handle a fixup.
5506e1a5
AM
1505
1506 From John David Anglin <dave@hiauly1.hia.nrc.ca>
1507 * config/tc-hppa.c (nonzero_dibits): Define.
1508 (arg_reloc_stub_needed): Check each arg and return value
1509 separately for zero case.
1510 (pa_align): Declare argument `bytes'.
1511
81d4177b
KH
15122000-09-25 Kazu Hirata <kazu@hxi.com>
1513
1514 * config/tc-cris.c: Fix formatting.
1515 * config/tc-d10v.h: Likewise.
1516 * config/tc-d30v.c: Likewise.
1517 * config/tc-d30v.h: Likewise.
1518 * config/tc-fr30.c: Likewise.
1519 * config/tc-fr30.h: Likewise.
1520 * config/tc-m68k.c: Likewise.
1521 * config/tc-m68k.h: Likewise.
1522 * config/tc-pj.h: Likewise.
1523 * config/tc-ppc.c: Likewise.
1524 * config/tc-ppc.h: Likewise.
1525 * config/tc-sh.c: Likewise.
1526 * config/tc-sh.h: Likewise.
1527 * config/tc-sparc.c: Likewise.
1528 * config/tc-v850.h: Likewise.
1529 * config/tc-vax.h: Likewise.
1530 * config/tc-w65.h: Likewise.
1531 * config/tc-z8k.h: Likewise.
1532
959ee541
AM
15332000-09-23 Alan Modra <alan@linuxcare.com.au>
1534
1535 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
1536 checks only for ELF.
1537 (hppa_force_relocation): Likewise.
1538
139368c9
JW
15392000-09-22 Jim Wilson <wilson@cygnus.com>
1540
1541 * config/tc-ia64.c (dv_sem): Add "stop".
1542 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
1543 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
1544 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
1545 match above.
1546 (mark_resources): Check IA64_RS_PRr.
1547
151337e8
NC
15482000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1549
56d27c17 1550 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
151337e8
NC
1551 md_estimate_size_before_relax): Redesign and clean up the
1552 relaxation mechanism.
1553
0b7410c4
KH
15542000-09-21 Kazu Hirata <kazu@hxi.com>
1555
1556 * config/tc-ns32k.c: Fix formatting.
1557 * config/tc-ns32k.h: Likewise.
1558
a4d24084
KH
15592000-09-20 Kazu Hirata <kazu@hxi.com>
1560
82efde3a
KH
1561 * config/tc-m32r.c: Fix formatting.
1562 * config/tc-m32r.h: Likewise.
1563 * config/tc-m68851.h: Likewise.
1564 * config/tc-m68hc11.c: Likewise.
1565 * config/tc-m68hc11.h: Likewise.
1566 * config/tc-m88k.c: Likewise.
1567 * config/tc-mcore.c: Likewise.
a75214e5 1568 * config/tc-mcore.h: Likewise.
82efde3a
KH
1569 * config/tc-mips.c: Likewise.
1570 * config/tc-mips.h: Likewise.
1571 * config/tc-mn10200.h: Likewise.
1572 * config/tc-mn10300.h: Likewise.
a75214e5 1573 * config/tc-tahoe.c: Likewise.
a4d24084
KH
1574 * config/tc-tahoe.h: Likewise.
1575
4844386e 15762000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a05388f4
NC
1577
1578 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
1579 Likewise in relaxation description comments.
1580
9e754211
AM
15812000-09-18 Alan Modra <alan@linuxcare.com.au>
1582
1583 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
1584 subtraction of two syms without emitting a relocation.
1585
1586 From David Huggins-Daines <dhd@linuxcare.com>
1587 * config/tc-hppa.c (hppa_force_relocation): Force relocations for
1588 global or weak symbols.
1589
4a4f25cf
KH
15902000-09-15 Kazu Hirata <kazu@hxi.com>
1591
1592 * config/tc-h8300.h: Fix formatting.
1593 * config/tc-h8500.c: Likewise.
1594 * config/tc-h8500.h: Likewise.
1595 * config/tc-hppa.h: Likewise.
1596 * config/tc-i370.h: Likewise.
1597 * config/tc-i386.h: Likewise.
1598 * config/tc-i860.c: Likewise.
1599 * config/tc-i860.h: Likewise.
1600 * config/tc-i960.h: Likewise.
1601 * config/tc-ia64.c: Likewise.
1602 * config/tc-ia64.h: Likewise.
1603
1dab94dd
KH
16042000-09-14 Kazu Hirata <kazu@hxi.com>
1605
1606 * config/tc-a29k.c: Fix formatting.
1607 * config/tc-alpha.c: Likewise.
1608 * config/tc-arc.c: Likewise.
1609 * config/tc-arc.h: Likewise.
1610 * config/tc-arm.c: Likewise.
1611 * config/tc-arm.h: Likewise.
1612 * config/tc-avr.c: Likewise.
1613 * config/tc-avr.h: Likewise.
1614 * config/tc-tic30.c: Likewise.
1615 * config/tc-tic30.h: Likewise.
1616 * config/tc-tic54x.c: Likewise.
1617 * config/tc-tic54x.h: Likewise.
1618 * config/tc-tic80.c: Likewise.
1619 * config/tc-tic80.h: Likewise.
1620
7484b8e6
TW
16212000-09-14 Timothy Wall <twall@cygnus.com>
1622
1623 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
1624 parallel comparisons for later use.
1625 (struct rsrc): Add parallel comparison type.
1626 (resources_match): Skip special cases of PR usage (non-conflicting
1627 parallel compares).
56d27c17 1628
bf514e21
KH
16292000-09-13 Kazu Hirata <kazu@hxi.com>
1630
1631 * config/obj-ecoff.c: Fix formatting.
1632 * config/obj-elf.c: Likewise.
1633 * config/obj-elf.h: Likewise.
1634 * config/obj-evax.h: Likewise.
1635 * config/obj-generic.h: Likewise.
1636 * config/obj-hp300.c: Likewise.
1637 * config/obj-hp300.h: Likewise.
1638 * config/obj-ieee.h: Likewise.
1639 * config/obj-vms.c: Likewise.
1640 * config/obj-vms.h: Likewise.
1641
156c2f8b 16422000-09-13 Anders Norlander <anorland@acc.umu.se>
56d27c17 1643
50705ef4
AM
1644 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
1645 (md_parse_option): Ditto.
1646 (md_longopts): Add -mips32 option.
1647 (md_show_usage): Document new options.
1648 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
1649 (mips_ip): Assemble mfc0 with a sub-selection code.
1650 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
156c2f8b
NC
1651 (mips_cpu_to_str): New function.
1652 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
1653 Use CPU_* defines instead of hardcoded numbers.
1654
50705ef4
AM
1655 * doc/as.texinfo: Document new options.
1656 * doc/c-mips.texi: Ditto.
156c2f8b 1657
a01b9fa4
KH
16582000-09-12 Kazu Hirata <kazu@hxi.com>
1659
1660 * as.h: Fix formatting.
1661 * asintl.h: Likewise.
1662 * bit_fix.h: Likewise.
dcd619be
KH
1663 * config/obj-aout.c: Likewise.
1664 * config/obj-aout.h: Likewise.
1665 * config/obj-bout.c: Likewise.
1666 * config/obj-bout.h: Likewise.
1667 * config/obj-coff.c: Likewise.
1668 * config/obj-coff.h: Likewise.
a01b9fa4
KH
1669 * dwarf2dbg.h: Likewise.
1670 * expr.h: Likewise.
1671 * flonum.h: Likewise.
1672 * frags.h: Likewise.
1673 * itbl-ops.h: Likewise.
1674 * macro.h: Likewise.
1675 * read.h: Likewise.
1676 * sb.h: Likewise.
1677 * struc-symbol.h: Likewise.
1678 * subsegs.h: Likewise.
1679 * symbols.h: Likewise.
1680 * tc.h: Likewise.
1681 * write.h: Likewise.
1682
92774660
KH
16832000-09-11 Kazu Hirata <kazu@hxi.com>
1684
f0e652b4
KH
1685 * bignum-copy.c: Fix formatting.
1686 * config/tc-i370.c: Likewise.
92774660
KH
1687 * config/tc-i960.c: Likewise.
1688 * config/tc-m68k.c: Likewise.
f0e652b4
KH
1689 * ehopt.c: Likewise.
1690 * flonum-copy.c: Likewise.
1691 * flonum-konst.c: Likewise.
1692 * flonum-mult.c: Likewise.
1693 * literal.c: Likewise.
1694 * read.c: Likewise.
1695 * sb.c: Likewise.
1696 * stabs.c: Likewise.
1697 * subsegs.c: Likewise.
92774660 1698
222f8079
PB
16992000-09-09 Philip Blundell <philb@gnu.org>
1700
1701 * configure.in (arm*-*-uclinux*): New target.
1702 * configure: Regenerate.
1703
c488923f
KH
17042000-09-09 Kazu Hirata <kazu@hxi.com>
1705
1706 * input-file.c: Fix formatting.
1707 * itbl-ops.c: Likewise.
1708 * messages.c: Likewise.
1709
e0e3ecca
PB
17102000-09-08 Philip Blundell <philb@gnu.org>
1711
1712 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
1713 offset is negative.
1714
5d64ca4e
L
17152000-09-07 H.J. Lu <hjl@gnu.org>
1716
1717 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
1718 * configure: Rebuild.
1719
bdaaa2e1
KH
17202000-09-07 Kazu Hirata <kazu@hxi.com>
1721
e49bc11e
KH
1722 * atof-generic.c: Fix formatting.
1723 * config/tc-mips.c: Likewise.
e13b337a
KH
1724 * config/tc-vax.c: Likewise.
1725 * input-scrub.c: Likewise.
bdaaa2e1 1726
d07ed2cd
AO
17272000-09-07 Alexandre Oliva <aoliva@redhat.com>
1728
1729 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
1730 * configure.in (sh-*-linux*): Added.
1731 * configure: Rebuilt.
1732
86905619
KH
17332000-09-06 Kazu Hirata <kazu@hxi.com>
1734
a28a3ccf
JL
1735 * config/tc-hppa.c: Fix formatting.
1736
86905619
KH
1737 * ecoff.c: Fix formatting.
1738
58cccadb
AO
17392000-09-06 Alexandre Oliva <aoliva@redhat.com>
1740
1741 * configure: Rebuilt with new libtool.m4.
1742
542d6675
KH
17432000-09-05 Kazu Hirata <kazu@hxi.com>
1744
1745 * cgen.c: Fix formatting.
1746 * config/tc-ia64.c: Likewise.
1747
5b343f5a
NC
17482000-09-05 Nick Clifton <nickc@redhat.com>
1749
1750 * aclocal.m4: Regenerate.
1751 * config.in: Regenerate.
1752 * configure: Regenerate.
1753 * po/gas.pot: Regenerate.
50bbae35 1754
07e90ad5
HPN
17552000-09-05 Hans-Peter Nilsson <hp@axis.com>
1756
1757 * config/tc-cris.c: Correct comment typos.
1758
1485d400
EC
17592000-09-05 Eric Christopher <echristo@cygnus.com>
1760
1761 * config/tc-mn10300.c: Cleanup.
1762 (md_pcrel_from): Enable.
1763
904a31bf
AM
17642000-09-05 Alan Modra <alan@linuxcare.com.au>
1765
927781e2
AM
1766 * expr.c (operand): Fix a comment typo.
1767 * write.c (write_relocs): Fix a signed/unsigned warning.
1768
ecacdc7a
AM
1769 * config/tc-hppa.c (fudge_reg_expressions): New
1770 (hppa_force_reg_syms_absolute): New.
1771 (pa_equ): Allow reg_section expressions.
1772 * config/tc-hppa.c (md_optimize_expr): Define.
1773 (hppa_force_reg_syms_absolute): Prototype.
1774
1775 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
1776 (pa_parse_number): Pass in arg to select fp reg parsing.
1777 Return 1 to indicate format checks pass. If strict, then only
1778 accept a register or register symbol. Return value in...
1779 (pa_number): New static for pa_parse_number.
1780 (FP_REG_BASE): Define.
1781 (FP_REG_RSEL): Define.
1782 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
1783 appropriate. White space changes.
1784 (need_pa11_opcode): Don't bother passing any params, get them from
1785 globals instead.
1786 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
1787 Remove extraneous check in case 'Q'.
1788 (pa_equ): Modify call to pa_parse_number to do strict parsing. If
1789 reg, set section of resulting symbol to reg_section.
1790 (pa_parse_space_stmt): Modify call to pa_parse_number.
1791 (pa_space): Likewise.
1792
904a31bf
AM
1793 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
1794 (hppa_force_relocation): Handle vtable relocs.
1795 (pa_vtable_entry): New.
1796 (pa_vtable_inherit): New.
1797 (md_pseudo_table): Add entries for vtable pseudos.
1798 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
1799 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
1800 against weak syms.
1801 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
1802 (pa_type_args): Don't call symbol_get_bfdsym multiple times.
1803 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
1804 millicode import.
1805 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
1806 specify a symbol type.
1807
1808 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
1809 dependent things together.
1810 (md_elf_symbol_type): Define.
1811
1812 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
1813 symbol.
1814 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
1815
1816 * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
1817 (obj_elf_vtable_entry): Declare.
1818
1819 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
1820 and export function.
1821 (obj_elf_vtable_entry): Similarly.
1822 (elf_pseudo_table): Fix the damage with a cast.
1823
a47cf567 18242000-09-03 Richard Henderson <rth@cygnus.com>
032efc85
RH
1825
1826 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
1827 for template selection when a label is needed.
1828
197865e8
KH
18292000-09-02 Kazu Hirata <kazu@hxi.com>
1830
1831 * config/tc-ia64.c: Fix formatting.
1832
18e03609
NC
18332000-09-02 Nick Clifton <nickc@redhat.com>
1834
1835 * configure.in: Increase version number to 2.10.91.
1836 * configure: Regenerate.
1837 * aclocal.m4: Regenerate.
1838 * config.in: Regenerate.
1839 * po/gas.pot: Regenerate.
1840 * Makefile.in: Regenerate.
1485d400 1841
a1cc9221
AO
18422000-09-01 Alexandre Oliva <aoliva@redhat.com>
1843
1844 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
1845 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
1846 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
1847 similar relocs.
1848 (sh_obj_adjustable): Return 1 for PC-relative offsets used in
1849 branches.
1850
18512000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
1852
1853 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
1854 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
1855 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
1856 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
1857 (GOT_symbol): New variable.
1858 (md_undefined_symbol): Set it.
1859
44576e1f
RH
18602000-09-01 Richard Henderson <rth@cygnus.com>
1861
1862 * config/tc-ia64.c (match): Don't inline.
1863 (extra_goodness): New.
1864 (md_begin): Prefer nop.f and nop.b for best_template.
1865
29f8404c
KH
18662000-08-31 Kazu Hirata <kazu@hxi.com>
1867
76b0a8c0
KH
1868 * as.c: Fix formatting.
1869 * cond.c: Likewise.
1870 * frags.c: Likewise.
29f8404c
KH
1871 * macro.c: Likewise.
1872
b4c1ea07
EC
18732000-08-31 Eric Christopher <echristo@cygnus.com>
1874
1875 * config/tc-mn10300.c: Cleanup and fix warnings.
1876 (md_pseudo_table): Add initializers.
1877 (md_show_usage): Cleanup.
1878 (md_parse_option): Fix warnings.
1879 (md_undefined_symbol): Fix warnings.
1880 (md_conver_frag): Fix warnings.
1881 (tc_gen_reloc): Fix warnings.
1882 (md_apply_fix3): Fix warnings.
1883 (check_operand): Fix warnings.
1884
ac48eca1
AO
18852000-08-31 Alexandre Oliva <aoliva@redhat.com>
1886
1887 * acinclude.m4: Include libtool and gettext macros from the
1888 top level.
1889 * aclocal.m4, configure: Rebuilt.
1890
e0c21649
GK
18912000-08-30 Mark Hatle <mhatle@mvista.com>
1892
1893 * config/tc-ppc.c (md_parse_option): Recognize -m405.
1894
cf39a089
KH
18952000-08-31 Kazu Hirata <kazu@hxi.com>
1896
1897 * listing.c: Fix formatting.
1898
3ee4defc
KH
18992000-08-29 Kazu Hirata <kazu@hxi.com>
1900
1901 * app.c: Fix a comment typo. Fix formatting.
1902
1e8d20f4
NC
19032000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1904
50bbae35
AM
1905 * tc-vax.c (md_convert_frag): Correctly calculate the pc relative
1906 offset of the target destination for jmp instructions.
1907 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
1e8d20f4 1908
5bcac8a4
HPN
19092000-08-24 Hans-Peter Nilsson <hp@axis.com>
1910
1911 * NEWS: Mention support for CRIS.
1912
46547ecc
DC
1913Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru>
1914
1915 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
1916 Sets `.lcomm' alignment to zero.
1917
4b853faa
AO
19182000-08-23 Alexandre Oliva <aoliva@redhat.com>
1919
1920 * config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>
1921 (TC_FIX_ADJUSTABLE): Define.
1922
efcc5914
JW
19232000-08-23 Jim Wilson <wilson@cygnus.com>
1924
1925 * config/tc-ia64.c (output_unw_records): Set U & E flags only if
1926 unwind.personality_routine is set.
1927
aca719bf
AO
19282000-08-23 H.J. Lu <hjl@gnu.org>
1929
1930 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
1931
a3da4de1
AO
19322000-08-23 Alexandre Oliva <aoliva@redhat.com>
1933
1934 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
1935 environment is pe.
1936
56385375
L
19372000-08-22 H.J. Lu <hjl@gnu.org>
1938
1939 * config.in (STRICTCOFF): New for strict COFF.
1940
1941 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
1942 i386-*-go32* and i386-go32-rtems*.
1943 * configure: Rebuilt.
1944
1945 * config/obj-coff.c (obj_coff_endef): Follow the historical
1946 behavior if STRICTCOFF is not defined.
1947
1948 * doc/internals.texi: Document STRICTCOFF.
1949
8f36cd18
AO
19502000-08-22 Alexandre Oliva <aoliva@redhat.com>
1951
1952 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
1953 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
1954 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
1955 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
1956 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
1957 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
1958 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
1959 Likewise.
1960
58a77e41
EC
19612000-08-22 Eric Christopher <echristo@cygnus.com>
1962
1963 * config/tc-mn10300.c: (md_apply_fix): New function.
1964 (mn10300_force_relocation): New function.
1965 (mn10300_fix_adjustable): New function.
1966
1967 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
1968 (TC_HANDLES_FX_DONE): Define.
1969 (obj_fix_adjustable): Define.
1970 (MD_APPLY_FIX3): Define.
1971 (TC_LINKRELAX_FIXUP): Define.
1972
1973 * write.c: (TC_LINKRELAX_FIXUP): Define if not
1974 previously defined.
1975 (fixup_segment): Use TC_LINKRELAX_FIXUP.
1976
1977 * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
1978
ded0649c
JE
19792000-08-21 Jason Eckhardt <jle@cygnus.com>
1980
1981 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
1982 if the fixup resulted in a relocation.
1983
66102fe2
NC
19842000-08-18 Nick Clifton <nickc@redhat.com>
1985
1986 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
1987 Make reference to first element of shift_names explicit.
1988
02198638
AO
19892000-08-18 Alexandre Oliva <aoliva@redhat.com>
1990
1991 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
1992 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
1993 add a symbol's address. Removed all target-specific #ifdefs that
1994 used to accomplished the same.
1995 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1996 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1997 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1998 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
1999 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
2000
353e2c69
KH
20012000-08-17 Kazu Hirata <kazu@hxi.com>
2002
2003 * dwarf2dbg.c: Fix formatting.
2004
4fb7971f
NC
20052000-08-17 Nick Clifton <nickc@redhat.com>
2006
2007 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
2008 to be recoded as logical shift lefts by zero.
2009
50b81f19
JW
20102000-08-16 Jim Wilson <wilson@cygnus.com>
2011
2012 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
2013 postincrement modified registers. Handle IA64_OPND_R3_2 addl
2014 source registers.
2015 (note_register_values): Handle IA64_OPND_R3_2 operands.
2016
f869cfc6
JE
20172000-08-16 Jason Eckhardt <jle@cygnus.com>
2018
50bbae35 2019 * config/tc-i860.c (md_operand): Silly typo fixed.
f869cfc6 2020
8cb8bcba
NC
20212000-08-16 Nick Clifton <nickc@redhat.com>
2022
2023 * config/tc-arm.c (struct asm_shift): Delete.
2024 (shift[]): Delete.
2025 (enum asm_shift_index): New.
2026 (struct asm_shift_properties): New.
2027 (struct asm_shift_name): New.
2028 (shift_properties[]); New.
2029 (shift_names[]); New.
2030
2031 (decode_shift): Use new structures.
2032 Issue a warning is "ROR #0" is used.
2033 Issue a warning if "ASR #0" or "LSR #0" is used.
2034
2035 (md_begin): Initialise arm_shift_hsh table from new
2036 asm_shift_name array.
2037
c2158c24
JJ
20382000-08-16 Jakub Jelinek <jakub@redhat.com>
2039
2040 * config/tc-sparc.c: Kill all warnings.
2041 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
2042 in -xarch= as well.
2043 (md_show_usage): Update usage text.
2044
70485b5c
NC
20452000-08-16 Nick Clifton <nickc@redhat.com>
2046
c2158c24 2047 * config/tc-arm.c (do_bx): Warn about "bx px" not being very
70485b5c
NC
2048 useful.
2049
a47cf567 20502000-08-15 Will Cohen <wcohen@redhat.com>
0d10e182
JL
2051
2052 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
2053
2054 * config/tc-sh.c (md_assemble): Changed so debug_type
2055 test performed for ppi_assemble
2056 * config/tc-sh.c: Included dwarf2dbg.h.
2057 (debug_line): Defined.
2058 (md_assemble): Generates dwarf2 line info.
2059 (sh_finalize): New function. Finalize dwarf2 info.
2060 (assemble_ppi): Returns size of code generated.
2061 (build_Mytes): Returns size of code generated.
2062 (md_pseudo_table): Added "file" and "loc" psuedo ops.
2063 * config/tc-sh.h (md_end): Defined.
2064 (sh_finalize): Declared.
2065
1db77c8e
AO
20662000-08-15 Alexandre Oliva <aoliva@redhat.com>
2067
2068 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
2069 md_number_to_chars.
2070
046b3b54
NC
20712000-08-14 Nick Clifton <nickc@redhat.com>
2072
2073 * config/tc-arm.c (do_bx): Allow "bx pc".
2074
c43c2cc5
JW
20752000-08-14 Jim Wilson <wilson@cygnus.com>
2076
2077 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
2078 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
2079 (md_begin): Change assignment to md.flag to OR in the new bit.
2080
d1d8ba22
NC
20812000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
2082
2083 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
50705ef4
AM
2084 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
2085 C_MOU, and C_EOS.
d1d8ba22 2086
22b36938
JE
20872000-08-14 Jason Eckhardt <jle@cygnus.com>
2088
2089 * NEWS: Mention i860 support.
2090
c0bd0db2
JL
2091Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com)
2092
2093 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
2094
0ac658b8
AS
20952000-08-14 Andreas Schwab <schwab@suse.de>
2096
2097 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
2098
9fc2dda2
JE
20992000-08-11 Andreas Schwab <schwab@suse.de>
2100
2101 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
2102 argument.
2103
bc4466dc
KH
21042000-08-11 Kazu Hirata <kazu@hxi.com>
2105
2106 * expr.c: Fix formatting.
351aa9f6 2107 * config/obj-bout.c: Likewise.
bc4466dc 2108
a9c99419
JE
21092000-08-10 Jason Eckhardt <jle@cygnus.com>
2110
2111 * doc/c-i860.texi: Flesh out the i860 section more.
2112
7c743825
KH
21132000-08-10 Kazu Hirata <kazu@hxi.com>
2114
2115 * symbols.c: Fix formatting.
929b12bc 2116 * expr.c: Likewise.
7c743825 2117
fa2255cb
DN
2118Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com>
2119
2120 * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier
2121 has the IgnoreSize bit set.
2122
fc997f4b
AM
21232000-08-09 Alan Modra <alan@linuxcare.com.au>
2124
2125 From Rodney Brown <RodneyBrown@mynd.com>
2126 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
2127 * configure: Regenerate.
2128
a47cf567
NC
21292000-08-09 Kazu Hirata <kazu@hxi.com>
2130
2131 * hash.c: Fix formatting.
2132 * gasp.c: Likewise.
2133
305d537e
JE
21342000-08-08 Jason Eckhardt <jle@cygnus.com>
2135
2136 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
2137 (i860_fix_info): New enum.
2138 (MD_APPLY_FIX3): Define.
2139 (WORKING_DOT_WORD): Define.
2140 (TC_HANDLES_FX_DONE): Define.
2141 (DIFF_EXPR_OK): Define.
2142 (LISTING_HEADER): Define.
2143 (TARGET_FORMAT): Select target format based on endian flag.
2144 (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
2145 (target_big_endian): Add external declaration.
2146
2147 * config/tc-i860.c: All existing code reworked completely. Other
2148 new code shown below.
2149 (SYNTAX_SVR4): Define.
2150 (target_warn_expand): New variable.
2151 (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
2152 (md_longopts): Declare and define with new options (-EL, -EB,
2153 and -mwarn-expand).
2154 (md_show_usage): New function.
2155 (md_operand): New function.
2156 (obtain_reloc_for_imm16): New function.
2157 (md_apply_fix3): New function.
2158 (tc_gen_reloc): New function.
2159
df86943d
NC
21602000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2161
2162 * config/tc-m68hc11.c (build_jump_insn): Make sure the
2163 2 bytes of the jump address are in the same frag.
2164 (find): Accept 68hc12 register indirect modes.
2165
2166 * NEWS: Mention 68HC11 & 68HC12 support.
58a77e41 2167
30d25259
RH
21682000-08-07 Richard Henderson <rth@cygnus.com>
2169
2170 * config/tc-ia64.c (unwind): Add prologue_mask member.
2171 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
2172 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
2173 (dot_body): Clear unwind.prologue_mask.
2174 (dot_prologue): Set it. Accept a register second argument.
2175
2d484c7f
KH
21762000-08-07 Kazu Hirata <kazu@hxi.com>
2177
2178 * config/atof-ieee.c: Fix formatting.
2179 * config/atof-tahoe.c: Likewise.
2180
a47cf567 21812000-08-06 Nick Clifton <nickc@cygnus.com>
1485d400 2182
3d4ae3c0
NC
2183 * config/tc-sparc.c (md_begin): Fix typo in recent formatting
2184 work.
2185
c91d2e08
NC
2186 * doc/as.texinfo (Pseudo Ops): Update to include descriptions
2187 of .popsection, .previous, .pushsection, .subsection,
2188 .version, .vtable_entry, .vtable_inherit and .weak.
2189
47926f60
KH
21902000-08-05 Kazu Hirata <kazu@hxi.com>
2191
2192 * config/tc-cris.c: Fix formatting.
2193 * config/tc-i386.c: Likewise.
2194 * config/tc-sparc.c (sparc_ip): Simplify the code.
2195
ab3e48dc
KH
21962000-08-04 Kazu Hirata <kazu@hxi.com>
2197
2198 * config/tc-cris.c: Rearrange code for readability.
2199 * config/tc-d10v.c: Fix formatting.
2200 * config/tc-m32r.c: Likewise.
2201 * config/tc-sparc.c: Likewise.
2202
3d56ab85
JW
22032000-08-02 Jim Wilson <wilson@cygnus.com>
2204
2205 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
2206 before ia64_find_opcode.
2207 (md_assemble): Likewise.
2208
3f9dfb2c
NC
22092000-08-01 Nick Clifton <nickc@cygnus.com>
2210
a47cf567 2211 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
d78c7dca 2212 Undo some formatting fixes.
3f9dfb2c 2213
28e4f854
KH
22142000-08-01 Kazu Hirata <kazu@hxi.com>
2215
2216 * config/obj-som.c: Fix formatting.
2217 * config/obj-ieee.c: Likewise.
2218 * config/tc-arm.c: Likewise.
2219 * config/tc-v850.c: Likewise.
2220
a570e639
NC
22212000-08-01 Nick Clifton <nickc@redhat.com>
2222
2223 * doc/c-m68k.texi (section M680x0 Options): Turn into a table
2224 index by command line option.
58a77e41 2225
a570e639
NC
22262000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2227
2228 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
2229 (@node M68K-Branch): Rewrite to match the reality.
2230
e3308d0d
JE
22312000-07-31 Jason Eckhardt <jle@cygnus.com>
2232
2233 * doc/c-i860.texi: New file.
2234 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
2235 * doc/Makefile.in: Regenerate.
2236 * doc/all.texi: Add I860 as relevant architecture.
2237 * doc/as.texinfo: Include i860 dependent file c-i860.texi.
2238
2fd5405a
NC
22392000-07-31 Kazu Hirata <kazu@hxi.com>
2240
2241 * config/tc-d30v.c: Fix formatting.
2242
28e7409f
NC
22432000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2244
50bbae35
AM
2245 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
2246 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
2247 long emit a long branch if available instead of an absolute jump, never
2248 emit absolute jumps for anything with --pcrel.
28e7409f
NC
2249
2250 * doc/c-m68k.texi: Document new command line option.
58a77e41 2251
a47cf567
NC
22522000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
2253
2254 * config/tc-avr.c: Use PARAMS macro in function declarations.
2255 Don't declare md_pcrel_from_section (already in tc-avr.h).
2256 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
2257 (avr_operand): Don't set (unsigned) op_mask to -1.
2258
534022ea
JE
22592000-07-28 Jason Eckhardt <jle@cygnus.com>
2260
50bbae35
AM
2261 * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
2262 * configure: Regenerated.
2263 * config/obj-elf.c (obj_elf_type): Recognize a fifth type
2264 of operand to the .type directive (.e.g, "type").
534022ea 2265
4c400d5e
AM
22662000-07-28 Alan Modra <alan@linuxcare.com.au>
2267
2268 * as.h (warn_comment, found_comment, found_comment_file): Declare.
2269 * app.c (do_scrub_chars): Record where first comment found.
2270 * read.c (read_a_source_file): Init found_comment on entry, and
2271 notify whether comments found on exit.
2272 * config/tc-hppa.c (md_shortopts): Add "c".
2273 (md_longopts): Add warn-comment.
2274 (md_parse_option): Handle it.
2275 (md_show_usage): Show available options.
2276 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
2277
0aa529cb
AC
2278Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
2279
2280 * config/tc-mn10300.c (md_convert_frag): Fix printfs.
2281 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
50bbae35 2282 sym_ptr_ptr
0aa529cb
AC
2283 (md_estimate_size_before_relax): Don't fall off end of function.
2284
c6a7ab1f
NC
22852000-07-27 Kazu Hirata <kazu@hxi.com>
2286
2287 * config/tc-avr.c: Fix formatting.
2288 * config/tc-ns32k.c: Likewise.
2289
e0c6ed95
AM
22902000-07-27 Alan Modra <alan@linuxcare.com.au>
2291
2292 * config/tc-d10v.c (find_opcode): Remove extraneous `='.
2293
22942000-07-27 Kazu Hirata <kazu@hxi.com>
2295
2296 * config/tc-d10v.c: Fix formatting.
2297 * config/tc-z8k.c: Likewise.
2298 * config/tc-sparc.c: Likewise.
2299
6883dc5e 23002000-07-26 Dave Brolley <brolley@redhat.com>
eabed1c0
DB
2301
2302 * cgen.c (queue_fixup): Declare opinfo.
2303 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
2304 (gas_cgen_md_operand): Ditto.
2305 (gas_cgen_md_apply_fix3): Ditto.
2306
39da8128
DD
23072000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
2308
2309 * config/obj-coff.c (obj_frob_symbol): Don't merge
2310 labels. Don't merge if the symbol isn't constant. Return
2311 immediately if a symbol is merged.
2312
65e68b04
AM
23132000-07-22 Alan Modra <alan@linuxcare.com.au>
2314
2315 * frags.c (frag_align): Correct absolute section alignment.
2316
5e0d736c
DD
23172000-07-20 DJ Delorie <dj@redhat.com>
2318
2319 * config/obj-coff.c (obj_frob_symbol): revert previous change,
2320 it breaks linking against DLLs.
2321
3bcbcc3d
HPN
23222000-07-20 Hans-Peter Nilsson <hp@axis.com>
2323
2324 * configure.in: Add CRIS support.
2325 * configure: Regenerate.
2326 * Makefile.am: (CPU_TYPES): Add cris.
2327 (CPU_OBJ_VALID) [aout]: Add cris.
2328 (MULTI_CPU_TYPES): Add cris.
2329 (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
50bbae35 2330 [coff]: Only i386 and mips are valid.
3bcbcc3d
HPN
2331 (TARGET_CPU_CFILES): Add config/tc-cris.c.
2332 (TARGET_CPU_HFILES): Add config/tc-cris.h.
2333 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
2334 Regenerate dependencies.
2335 * Makefile.in: Regenerate.
2336 * aclocal.m4: Regenerate.
2337 * as.c: Declare crisaout, criself.
2338 * config/tc-cris.h, config/tc-cris.c: New.
2339 * config/e-criself.c, config/e-crisaout.c: New.
2340 * po/POTFILES.in, po/gas.pot: Regenerate.
2341
041ff4dd 23422000-07-20 Kazu Hirata <kazu@hxi.com>
58a77e41 2343
041ff4dd 2344 * read.c: Fix formatting.
efaf0ba4 2345 * write.c: Fix formatting.
041ff4dd 2346
f980ada0
L
23472000-07-19 H.J. Lu <hjl@gnu.org>
2348
2349 * sb.c: Include <stdlib.h> if exists for abort ().
2350
25a8b250
AM
23512000-07-19 Alan Modra <alan@linuxcare.com.au>
2352
2353 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
2354 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
2355 (pa_type_args): Same here.
2356
7a9aaf92
NC
23572000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
2358
2359 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
2360 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
2361 the storage class is already set.
2362
8098403c
NC
23632000-07-17 Kazu Hirata <kazu@hxi.com>
2364
fafb6d17 2365 * config/tc-m68hc11.c: Fix formatting.
ff5a4f04
KH
2366 * config/tc-mn10200.c: Likewise.
2367 * config/tc-mn10300.c: Likewise.
2368 * config/tc-pj.c: Likewise.
2369 * config/tc-tic80.c: Likewise.
2370 * config/tc-w65.c: Likewise.
8098403c 2371
977e771a
FCE
23722000-07-17 Frank Ch. Eigler <fche@redhat.com>
2373
2374 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
2375 is defined.
2376
63bf5651
ILT
23772000-07-15 Ian Lance Taylor <ian@zembu.com>
2378
2379 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
2380 @code.
2381
1cd1c99b
AM
23822000-07-15 Alan Modra <alan@linuxcare.com.au>
2383
2384 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
2385 ELF as are used for SOM (except the 32-bit reloc one) to decide
2386 whether a symbol can be reduced to a section symbol. Expand on
2387 the comment for symbols involved in LR% and RR% expressions.
2388
119d663a
NC
23892000-07-14 Nick Clifton <nickc@cygnus.com>
2390
2391 * config/tc-mips.c (mips_disable_float_construction): New
2392 static variable. Set to true if doubles should not be
2393 constructed by loading two single width fp registers with
2394 halves of the value.
2395 (mips_ip): Test mips_disable_float_construction.
2396 (md_longopts): Add command line switches --construct-floats
2397 and --no-construct-floats.
2398 (md_parse_option): Parse new command line options.
2399 (md_show_usage): Describe new command line options.
2400
2401 * doc/c-mips.texi: Document new command line options.
2402
906fac54
AM
24032000-07-13 Koundinya K <kk@ddeorg.soft.net>
2404
2405 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
2406 * configure: Regenerate.
2407
24082000-07-13 Hans-Peter Nilsson <hp@axis.com>
2409
2410 * configure.in (DEFAULT_EMULATION setting): Revert part of
2411 2000-07-01 change that set te_multi=multi unless set to tmips.
2412 * configure: Regenerate.
2413
7f788821
NC
24142000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
2415
2416 * config/obj-coff.c (coff_frob_section): Add padding to the last
50705ef4 2417 section when aligning it increases its size.
7f788821 2418
9a736b6b
NC
24192000-07-11 Kazu Hirata <kazu@hxi.com>
2420
2421 * config/tc-tic54x.c: Fix formatting.
2422
3dd5103b
NC
24232000-07-10 Kazu Hirata <kazu@hxi.com>
2424
2425 * config/tc-h8500.c: Fix formatting.
1aea3bb8 2426 * config/tc-tic54x.c: Fix formatting.
3dd5103b 2427
46b85d42
AM
24282000-07-10 Alan Modra <alan@linuxcare.com.au>
2429
2430 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
2431 displacements correctly.
2432
2433 * read.h (s_abort): Add ATTRIBUTE_NORETURN.
2434
24352000-07-10 Ryan Bradetich <rbradetich@uswest.net>
2436
2437 * hash.c (hash_insert): Add cast to obstruct_alloc to fix
2438 warning.
2439 (hash_jam): Ditto.
2440
ad1079af
AM
24412000-07-09 Alan Modra <alan@linuxcare.com.au>
2442
2443 From David Huggins-Daines <dhd@linuxcare.com>
2444 * config/te-hppalinux64.h: Add a new emulation.
2445 * configure.in (emulations): Add configure bits to support the
2446 64-bit Linux/parisc target.
2447 * configure: Regenerate.
2448
2449 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
2450 (md_shortopts): Add `V' for ELF.
2451
2452 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
2453 when SOM or ELF_ARG_RELOC are defined.
2454 (pa_type_args): Only set symbol_arg_reloc_info when SOM or
2455 ELF_ARG_RELOC are defined.
2456 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
2457 (pa_stringer): ..Do it here instead. Fix comment typos.
2458 (hppa_force_relocation): Cast enums to int before comparing with
2459 ints.
2460
2461 From Ryan Bradetich <rbradetich@uswest.net>
2462 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
2463 redifinition warning.
2464 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
2465 (hppa_force_relocation): ditto
ad1079af
AM
2466 (md_apply_fix): Added cast to buf to fix warnings.
2467
2468 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
2469 cons_fix_new_hppa, hppa_force_relocation): Prototype.
2470
2471 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
2472 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
2473 (tc_gen_reloc): Make `code' a reloc_type and `codes' a
2474 reloc_type** to avoid warnings in switch.
2475 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
2476 little earlier instead.
2477
2478 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
2479 and elf.
2480 (pa_type_args): Use symbol_arg_reloc_info.
2481 (struct pa_it): Make arg_reloc unsigned int.
2482 (struct hppa_fix_struct): Likewise for fx_arg_reloc.
2483 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
2484 (pa_code): Delete. pa_text duplicates this function.
2485 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
2486 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
2487 int.
2488 (cons_fix_new_hppa): Actually change selector to e_fsel when
2489 warning about assuming so.
2490 (tc_gen_reloc): More example elf arg reloc code.
2491 (md_apply_fix): Use arg_reloc_stub_needed for elf too.
2492 (hppa_force_relocation): Likewise.
2493
2494 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
2495 files.
2496 (pa_end_of_source): Prototype.
2497 (hppa_fix_adjustable): Prototype.
2498 (LABELS_WITHOUT_COLONS): Move it..
2499 * config/te-hppa.h: To here.
2500
2501 * config/te-hppa64.h: New file.
2502
2503 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
2504 type.
2505 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
2506 format -10, -16, 16 relocs.
2507 (hppa_elf_mark_end_of_function): Test for null
2508 last_call_info->start_symbol
2509
2510 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
2511 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
2512 re_assesmble_* functions. Delete extraneous statements. Fix
2513 typos in comments.
2514 (md_apply_fix): Compare against 1048575 in case 21. Don't pass
2515 insn to re_assemble_*.
2516
623aa224
UC
25172000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
2518
2519 * doc/internals.texi (Expressions): Fix typo.
58a77e41 2520
c4aa876b
NC
25212000-07-08 Kazu Hirata <kazu@hxi.com>
2522
2523 * config/tc-sh.c: Fix formatting.
d0313fb7 2524 * config/tc-tic54x.c: Fix formatting.
f851444e
NC
2525 * depend.c: Fix formatting.
2526 * flonum-konst.c: Likewise.
2527 * flonum-mult.c: Likewise.
c4aa876b 2528
6b31947e
NC
25292000-07-07 Kazu Hirata <kazu@hxi.com>
2530
a5bfe8c9 2531 * config/tc-sh.c: Fix comments.
bc0d738a
NC
2532 * config/obj-vms.c: Fix comments.
2533 * config/tc-a29k.c: Likewise.
2534 * config/tc-alpha.c: Likewise.
2535 * config/tc-h8300.c: Likewise.
2536 * config/tc-h8500.c: Likewise.
2537 * config/tc-i370.c: Likewise.
2538 * config/tc-ia64.c: Likewise.
2539 * config/tc-m68hc11.c: Likewise.
2540 * config/tc-m68k.c: Likewise.
2541 * config/tc-mips.c: Likewise.
2542 * config/tc-ns32k.c: Likewise.
2543 * config/tc-ppc.c: Likewise.
2544 * config/tc-z8k.c: Likewise.
6b31947e 2545
b8a9dcab
NC
25462000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
2547
2548 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
2549 Default to '(SEC_LOAD | SEC_DATA)'.
2550 (obj_coff_section) [BFD_ASSEMBLER]: Use it.
2551
2552 * doc/internals.texi (CPU Backend): Describe
2553 TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
2554
beb2de9b
AC
2555Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2556
2557 * as.c (parse_args): NULL terminate the long option list.
2558
24ddb296
AC
2559Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
2560
2561 * config/tc-d30v.h: Include "write.h" for fixS.
50bbae35 2562 (d30v_start_line, md_pcrel_from_section): Add function prototypes.
24ddb296 2563
1fe72011
NC
25642000-07-05 Nick Clifton <nickc@cygnus.com>
2565
2566 * config/tc-d30v.c (write_2_short): Further changes to warning
2567 messages produced when combining EITHER_BUT_PREFER_MU attributed
2568 opcodes.
2569
a5bfe8c9 25702000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
2571
2572 * MAINTAINERS: new
2573
8de8f17e
AO
25742000-07-04 Alexandre Oliva <aoliva@redhat.com>
2575
2576 * config/tc-arm.c (psrs): Accept combinations of flags.
2577
00d2865b
NC
25782000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
2579
2580 * config/tc-avr.c: Change _ () to _() around all strings marked
2581 for translation (exception from the usual coding style).
2582 (avr_opt): New struct variable, how the new switches are set.
2583 (OPTION_MMCU): Define as 'm' and actually use.
2584 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
2585 (show_mcu_list): New function, display the list of known MCUs.
2586 (md_show_usage): Document the new switches. Call show_mcu_list.
2587 (avr_set_arch): Change 'm' to OPTION_MMCU.
2588 (md_parse_option): Call show_mcu_list if unknown MCU specified.
2589 Handle the new switches.
2590 (avr_operands): Disable warnings for undefined combinations of
2591 operands if -mall-opcodes. Disable warnings for skipping two-word
2592 instructions if enhanced core or -mno-skip-bug.
2593 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
2594 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
2595 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
2596 (avr_ldi_expression): Warn about implicit lo8().
2597 * config/tc-avr.h (md_pcrel_from_section): Add prototype.
2598
54588503
UC
25992000-07-01 Koundinya K <kk@ddeorg.soft.net>
2600
50bbae35
AM
2601 * configure.in: Add entry for mips-*-sysv4*MP*
2602 * configure: Rebuild
2603 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
2604 elf32-tradlittlemips for traditional mips targets.
2605 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
2606 test for Link Once sections as in adjust_reloc_syms.
2607 * config/te-tmips.h: New file for traditional mips targets. Define
2608 TE_TMIPS.
58a77e41 2609
c9900432
NC
26102000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
2611
2612 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
2613 flags argument is not present, don't change an existing section's
2614 section's attributes. If the flags argument is present, warn if the
2615 attributes don't match the section's current attributes. When
2616 long section names are supported, set SEC_LINK_ONCE and
2617 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
2618
9d87310a
HPN
2619Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com>
2620
2621 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
2622 symbols; create them.
2623
dbddefbf
NC
26242000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
2625
2626 * write.c (set_segment_vma): New: Set vma and lma for a segment.
6aa4f516 2627 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
dbddefbf 2628
2ae7e77b
AH
26292000-06-27 Aldy Hernandez <aldyh@redhat.com>
2630
2631 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
a47cf567
NC
2632 expressions. Ignore the problem when handling 16 bit signed
2633 immediates, because the assembler will take care of the relocation
2634 later.
2ae7e77b 2635
6b2539e3
NC
26362000-06-27 Nick Clifton <nickc@cygnus.com>
2637
2638 * config/tc-d30v.c (write_2_short): Do not allow opcodes with
58a77e41 2639 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
6b2539e3
NC
2640 sequential order, and emit warning messages if the input source
2641 code contains constructs like that, or parallel constructs
2642 containing such opcodes.
2643
65aa24b6
NC
26442000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
2645
2646 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
2647 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
2648 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
2649 (md_show_usage): Update usage message.
2650 (md_parse_option): Allow redefinition of MCU type within the
2651 same avr[1-5] bfd machine type. Show both old and new MCU type
2652 in the error message.
2653 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
2654 Simplify 8K wrap code.
2655
f0c56b90
NC
26562000-06-25 Kazu Hirata <kazu@hxi.com>
2657
50bbae35
AM
2658 * config/obj-aout.c: Remove all uses of DEFUN.
2659 * config/obj-ieee.c: Likewise.
2660 * config/tc-sh.c: Fix comment typos.
2661 * config/tc-tahoe.c: Likewise.
2662 * config/tc-vax.c: Likewise.
2663 * config/tc-w65.c: Likewise.
2664 * config/tc-z8k.c: Likewise.
f0c56b90
NC
2665 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
2666
6d249963
DD
26672000-06-24 DJ Delorie <dj@cygnus.com>
2668
2669 * config/tc-i386.c (md_estimate_size_before_relax): Revert
2670 more changes from Sept 1999
2671 (tc_i386_fix_adjustable): ditto
2672 (md_apply_fix3): ditto
2673
680d2857 26742000-06-24 Frank Ch. Eigler <fche@redhat.com>
58a77e41 2675
680d2857
FCE
2676 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
2677 (gas_cgen_parse_operand): Set it around expression() call.
2678 (gas_cgen_md_operand): Test for it before longjmp().
2679
e7b305a2
AM
26802000-06-24 Kazu Hirata <kazu@hxi.com>
2681
c0fecd35
AM
2682 * config/tc-h8500.c: Remove all uses of DEFUN.
2683 * config/tc-sh.c: Likewise.
2684 * config/tc-w65.c: Likewise.
2685 * config/tc-z8k.c: Likewise.
2686
e7b305a2
AM
2687 * config/tc-h8500.c: Fix typos in comments.
2688
ed6d6fd3
FCE
26892000-06-23 Frank Ch. Eigler <fche@redhat.com>
2690
2691 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
2692 is defined.
2693
f7c88872
AM
26942000-06-23 matthew green <mrg@redhat.com>
2695
2696 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
50bbae35 2697 defined. Fix error message for `[' grouping.
f7c88872 2698
70d6ecf3
AM
26992000-06-22 Kazu Hirata <kazu@hxi.com>
2700
2701 * config/tc-h8300.c: Fix formatting and comment typos.
2702
e9718fe1
TW
27032000-06-22 Timothy Wall <twall@cygnus.com>
2704
2705 * config/tc-ia64.c (note_register_values): Move premature QP
2706 notation clearing into the appropriate place.
2707
45288df1
AM
27082000-06-22 Alan Modra <alan@linuxcare.com.au>
2709
1581f8c9
AM
2710 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
2711 first before anything else. Add bin-bugs.h, emul.h and progress.h
2712 Sort list of files as for $(OBJS) in Makefile.am.
2713
2714 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
2715 find one. Remake dependencies.
2716 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
2717 * Makefile.in: Regenerate.
2718 * doc/Makefile.in: Regenerate.
2719
45288df1
AM
2720 * config/tc-i386.c (i386_displacement): Don't assume a constant
2721 displacement is necessarily 16 bits when in 16 bit code mode.
2722 (md_assemble): Instead size the displacement here after we know
2723 for sure that a .code16gcc operand hasn't automatically added
2724 operand size prefixes.
2725
01580992
L
27262000-06-21 H.J. Lu <hjl@gnu.org>
2727
2728 * Makefile.am: Rebuild dependency.
2729 * Makefile.in: Rebuild.
2730
40f09f82
JL
27312000-06-21 Kazu Hirata <kazu@hxi.com>
2732
2733 * config/tc-h8300.c (parse_reg): Make the function static.
2734 (parse_exp): Likewise.
2735
78295804
DD
27362000-06-20 DJ Delorie <dj@cygnus.com>
2737
2738 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
2739 Sept 1999; RVA relocs need to be treated more like DIR32 relocs
2740 for cygwin import libraries to work properly.
2741
45f85b08
L
27422000-06-20 H.J. Lu <hjl@gnu.org>
2743
2744 * Makefile.am: Rebuild dependency.
2745 * Makefile.in: Rebuild.
2746 * configure: Likewise.
2747 * doc/Makefile.in: Likewise.
2748
39bec121
TW
27492000-06-20 Timothy Wall <twall@cygnus.com>
2750
2751 * doc/internals.texi (CPU backend): Add @itemx for
3e87a760 2752 TC_START_LABEL_WITHOUT_COLON.
39bec121
TW
2753 * doc/c-tic54x.texi: New.
2754 * doc/as.texinfo: Add tic54x features and include primary tic54x
3e87a760 2755 documentation file.
39bec121 2756 * doc/all.texi: Add C54X.
3e87a760 2757 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
39bec121
TW
2758 * doc/Makefile.in: Regenerate.
2759 * configure.in: Add tic54x and define LIBM for tic54x.
2760 * configure: Regenrate.
2761 * config/tc-tic54x.[ch]: New.
2762 * config/obj-coff.h: Add tic54x.
2763 * Makefile.am: (CPU_TYPES): Add tic54x.
2764 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
2765 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
2766 (as_new_LDADD): Add $(LIBM).
2767 * Makefile.in: Regenerate.
3e87a760 2768
60bcf0fa
NC
27692000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
2770
2771 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
2772 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
2773 * doc/as.texinfo: Likewise.
2774
2775 * configure, Makefile.in: Regenerate.
2776 * configure.in (emulations): Recognize m6811 and m6812.
2777 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
2778 Added files for 68hc11 and 68hc12 assembler.
2779 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
2780 * config/tc-m68hc11.h: Header definition for that assembler.
2781
ec05f674
NC
27822000-06-18 Nick Clifton <nickc@redhat.com>
2783
24ef8152
NC
2784 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
2785 instead of OCTETS_PER_BYTE.
2786
ec05f674 2787 * config/tc-v850.c: Fix compile time warnings.
5480ccf3 2788 * config/tc-ppc.c: Fix compile time warnings.
ec05f674 2789
119caedd
L
27902000-06-18 H.J. Lu <hjl@gnu.org>
2791
2792 * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
2793 * configure: Rebuild.
2794
607723e4
NC
27952000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
2796
3e87a760
AM
2797 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
2798 to BFD_ASSEMBLER.
607723e4 2799
b946ec34
NC
28002000-06-16 Nick Clifton <nickc@cygnus.com>
2801
2802 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
2803 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
2804
2805 * doc/c-mips.texi: Document newly accepted cpu variants.
2806
37ce37b1
UC
28072000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
2808
2809 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
2810
c06ae4f2
UC
28112000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
2812
2813 * macro.c (getstring): Make it possible to escape the quote
2814 character.
2815
20348649
JL
2816Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com>
2817
2818 * config/tc-hppa.c (pa_export): Weak symbols can be global.
2819
bcef29e6
L
28202000-06-13 H.J. Lu <hjl@gnu.org>
2821
2822 * configure: Regenerate.
2823
63a0b638
AM
28242000-06-09 Alan Modra <alan@linuxcare.com.au>
2825
2826 * app.c (do_scrub_begin): Don't default lex[';'] as a line
2827 separator.
2828 * doc/internals.texi (line_separator_chars): Semicolon is no
2829 longer a default. Mention null and newline as defaults.
2830
2831 * read.c (is_end_of_line): Remove ifdef TC_HPPA.
2832
2833 * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
2834 * config/tc-i860.h (line_separator_chars): Likewise.
2835 * config/tc-h8300.c (line_separator_chars): Likewise.
2836 * config/tc-i960.c (line_separator_chars): Likewise.
2837 * config/tc-m68k.c (line_separator_chars): Likewise.
2838 * config/tc-mips.c (line_separator_chars): Likewise.
2839 * config/tc-ns32k.c (line_separator_chars): Likewise.
2840 * config/tc-sparc.c (line_separator_chars): Likewise.
2841 * config/tc-vax.c (line_separator_chars): Likewise.
2842
2843 * config/tc-h8300.c (comment_chars): Use string initialiser.
2844 * config/tc-i960.c (line_comment_chars): Likewise.
2845 * config/tc-z8k.c (comment_chars, line_comment_chars,
2846 line_separator_chars): Likewise.
2847
2848 * config/tc-arm.c (line_separator_chars): Always use `;', not just
2849 for TE_LINUX.
2850
9bab9349
NC
28512000-06-08 Nick Clifton <nickc@cygnus.com>
2852
2853 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
2854 for size 1 fixes.
2855
946efd95
DB
28562000-06-08 David O'Brien <obrien@FreeBSD.org>
2857
2858 * configure.in (VERSION): Update to show this is the CVS mainline.
2859
6480b79a
DB
28602000-06-08 Matthew Jacob <mjacob@feral.com>
2861
2862 * config/tc-alpha.c (md_undefined_symbol): Properly understand that
2863 $at is the integer register $r28, vs. both $r28 and the floating
2864 point register $f28.
2865
10850f29
JW
28662000-06-08 James E. Wilson <wilson@cygnus.com>
2867
2868 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
2869 (dot_endp): Don't call ia64_flush_insns.
2870 (emit_one_bundle): Don't delete prologue/body records from
2871 unwind_record list in first loop. Rewrite second loop to account for
2872 this.
2873
150f24a2
JW
28742000-06-07 David Mosberger <davidm@hpl.hp.com>
2875
2876 * config/tc-ia64.c: Add missing prototypes.
2877 (generate_unwind_image): Cast argument to output_unw_records call.
2878
e38c9cc2
DC
2879Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru>
2880
46b85d42 2881 * config/tc-avr.c (avr_operand): fix the formatting of the comment.
e38c9cc2 2882
1188e082
DC
2883Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru>
2884
2885 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
2886 (REGISTER_P): likewise.
2887 (avr_opcodes): uses include/opcode/avr.h
2888 (avr_operand): enable ld r,Z or st r,Z for at90s1200.
3e87a760 2889
ac743b2c
AM
28902000-06-04 Alan Modra <alan@linuxcare.com.au>
2891
0b545448
AM
2892 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
2893 initializers too.
ac743b2c 2894
969e1a7b
L
28952000-06-03 H.J. Lu <hjl@gnu.org>
2896
2897 * read.c (is_end_of_line): Put back `;'.
2898
65172ab8
AM
28992000-06-03 Alan Modra <alan@linuxcare.com.au>
2900
2901 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
2902
b75c0c92
AM
29032000-06-01 Alan Modra <alan@linuxcare.com.au>
2904
2905 * expr.c (operand): Test is_end_of_line outside switch to catch
2906 line separator chars that are also operators.
2907 (operator): Return O_illegal for line separator chars.
2908
2909 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
2910 entry (or `!' entry for TC_HPPA).
2911
2912 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
2913 before indexing is_end_of_line. Remove redundant check for '\0'.
2914 (fp_op2): Likewise.
2915 * config/tc-h8500.c (md_assemble): Likewise.
2916 * config/tc-mcore.c (md_assemble): Likewise.
2917 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2918 (md_atof): Likewise
2919
2920 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
2921 is_end_of_line.
2922 * config/tc-mcore.c (mcore_cons): Likewise.
2923 (mcore_float_cons): Likewise.
2924 (mcore_stringer): Likewise.
2925 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2926
a6836251
SB
29272000-06-01 Scott Bambrough <scottb@netwinder.org>
2928
2929 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
2930
43841e91
NC
29312000-05-29 Nick Clifton <nickc@cygnus.com>
2932
2933 * config/tc-sh.c: Fix compile time warning messages.
2934
2935 * config/tc-mips.c: Fix compile time warning messages.
2936
a057431b
PB
29372000-05-29 Philip Blundell <philb@gnu.org>
2938
2939 * doc/as.texinfo: Update copyright dates.
a81d9f0c 2940 (Local Labels): Delete misplaced mention of ARM.
a057431b
PB
2941 * NEWS: Mention ARM ELF support.
2942
3c07fb76
AO
29432000-05-27 Alexandre Oliva <aoliva@cygnus.com>
2944
2945 * config/tc-mn10300.c (md_assemble): Copy size to real_size before
2946 it is modified, and use the real_size to compute the frag address
2947 for dwarf2 line info.
2948
ad4d6ccf
AM
29492000-05-27 Alan Modra <alan@linuxcare.com.au>
2950
2951 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
2952 line-matching scheme to cope with automake moving variables around.
2953 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
2954 * Makefile.in: Regenerate.
2955
6faf3d66
JJ
29562000-05-26 Jakub Jelinek <jakub@redhat.com>
2957
2958 * config/tc-sparc.c (sparc_relax): New.
2959 (md_longopts): Add -relax and -no-relax options.
2960 (md_parse_options, md_show_usage): Likewise.
2961 (md_apply_fix3): Optimize tail call into branch always if possible.
2962
0a44c2b1
DL
2963Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com>
2964
2965 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
2966 d10v_cleanup) implement Mitsubishi's newly explained branch-packing
2967 rules, with warning when a GAS statement specifies a packing that
2968 will result in an instruction being squashed.
3e87a760
AM
2969 Added typdef packing_type and enumerals, changed various integer
2970 literals to use the enumerals.
0a44c2b1 2971
e0c9811a
JW
29722000-05-24 David Mosberger <davidm@hpl.hp.com>
2973
2974 * config/tc-ia64.c (dot_restorereg_p): New function.
2975 (md_pseudo_table): Add restorereg.p.
2976 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
2977 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
2978
2979 * config/tc-ia64.h (unw_record_type): Add unwabi.
2980 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
2981 called MASK with members for imask, and the masks produced by
2982 fr_mem, gr_mem, br_mem, and frgr_mem.
2983 (unw_p_record): Add members ABI and CONTEXT.
2984 (unw_x_record): Add member AB.
2985 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
2986 as pseudo-register for use during unwind info generation.
2987 (AR_PFS, AR_LC): New macros.
2988 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
2989 whose names start with an at sign (as in "@priunat").
2990 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
2991 register.
2992 (unwind_list, unwind_tail, current_unwind_entry, proc_start,
2993 proc_end, unwind_info, personality_routine): Consolidate into
2994 "unwind" structure to reduce offset-table use. Add member
2995 NEXT_SLOT_NUMBER to track the slot number for the next instruction
2996 to be emitted.
2997 (output_R1_format, output_R3_format, output_P3_format,
2998 output_P6_format): Initialize R with zero to reduce compiler warnings.
2999 (output_P7_format): Ditto. Add `default' branch to switch
3000 statement to reduce compiler warnings.
3001 (output_P8_format, output_B1_format, output_B4_format): Ditto.
3002 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
3003 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
3004 into single argument.
3005 (output_X1_format, output_X3_format): Initialize R with zero to reduce
3006 compiler warnings. Merge A and B args into single argument.
3007 (output_X2_format, output_X4_format): Remove unused variable R. Merge
3008 A and B args into single argument.
3009 (free_record): Removed (wasn't used).
3010 (free_list_records): Also free imasks in prologue records.
3011 (output_prologue, output_prologue_gr): Initialize mask bits to zero.
3012 (output_spill_mask): Remove.
3013 (output_unwabi): New function.
3014 (output_epilogue, output_label_state, output_copy_state): Call
3015 alloc_record.
3016 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
3017 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
3018 argument.
3019 (process_one_record): New locals FR_MASK and GR_MASK. Ignore
3020 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
3021 as part of handling the prologue records. Emit region's imask if
3022 we have one. Handle unwabi, epilogue, label_state, copy_state,
3023 spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
3024 spill_sprel_p, and spill_reg_p records.
3025 (set_imask, count_bits, slot_index): New function.
3026 (fixup_unw_records): Fix region size computation. Handle
3027 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
3028 spill_sprel_p, and spill_psprel_p records. Merge mask bits of
3029 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
3030 set_imask accordingly. Update imask for gr_gr, and br_gr records.
3031 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
3032 (dot_save): Use manifest constants for applicaton registers.
3033 Handle REG_PR and REG_PRIUNAT.
3034 (dot_restore): Don't just ignore it.
3035 (dot_restorereg): New function..
3036 (generate_unwind_image): Ensure unwind info is a multiple of eight
3037 bytes, not just four bytes.
3038 (dot_handlerdata, dot_unwentry): Demand empty rest of line.
3039 (dot_altrp): Don't just ignore it.
3040 (dot_savemem): New function. Replaces dot_savesp() and
3041 dot_savepsp(). Use manifest constants for applicaton registers.
3042 Handle REG_PR and REG_PRIUNAT.
3043 (dot_savef): Simplify.
3044 (dot_saveb): Support generation of br_gr.
3045 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
3046 dot_label_state, dot_copy_state): New function.
3047 (dot_unwabi): Don't just ignore it.
3048 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
3e87a760 3049 spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
e0c9811a
JW
3050 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
3051 (emit_one_bundle): Set slot number for prologue/body records
3052 *before* emitting the first insn.
3053 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
3054 (md_begin): Declare "psp" pseudo-register.
3055 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
3056 so we don't get segfault.
3057 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
3058 counts as required per SW Conventions manual
3059 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
3060 output_preds_psprel, output_preds_sprel, output_spill_base,
3061 output_unat_psprel, output_unat_sprel, output_lc_psprel,
3062 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
3063 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
3064 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
3065 output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
3066 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
3067 (dot_vframe): Implement.
3068 (dot_vframesp, dot_vframepsp): New function.
3069
f98fd99f
HPN
3070Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com>
3071
3072 * configure.in (i386-*-freebsd a.out entry): Quote properly.
4c8d9ec6 3073 * configure: Regenerate.
f98fd99f 3074
ee7fcc42
AM
30752000-05-23 Alan Modra <alan@linuxcare.com.au>
3076
3077 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
3078 (md_estimate_size_before_relax): so we can use it here instead of
3079 old kludges. Localise vars to blocks. Comment.
3080
3081 * frags.c (frag_new): Update fr_var comments.
3082 * frags.h (struct frag): Ditto.
3083
c67e42c9
RH
30842000-05-22 Richard Henderson <rth@cygnus.com>
3085
3086 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
3087 (pseudo_func): Add pcrel.
3088 (operand_match): Handle IA64_OPND_TGT64.
3089 (build_insn): Likewise.
3090 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
3091 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
3092 (fix_insn): Handle all three 64-bit relocation types.
3093
5110c57e
HPN
3094Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com>
3095
3096 * obj.h (struct format_ops): New members begin, app_file,
3097 s_set_other, s_set_desc, s_get_type, s_set_type,
3098 separate_stab_sections, init_stab_section.
3099
3100 * config/obj-multi.h: Update GPL notice to v2.
3101 (obj_begin): New.
3102 (obj_app_file): New.
3103 (S_SET_SIZE): Test s_set_size for NULL before calling.
3104 (S_SET_ALIGN): Similar for s_set_align.
3105 (S_SET_OTHER): New.
3106 (S_SET_DESC): New.
3107 (S_GET_TYPE): New.
3108 (S_SET_TYPE): New.
3109 (SEPARATE_STAB_SECTIONS): New.
3110 (INIT_STAB_SECTION): New.
3111 (EMIT_SECTION_SYMBOLS): New.
3112 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
3113
3114 * config/obj-elf.h: Update GPL notice to v2.
3115 Mention that this file is included from obj-multi.h.
3116 (obj_begin): Wrap definition in ifndef.
3117 (elf_file_symbol): Constify declaration.
3118 (obj_app_file): Ditto.
3119 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
3120 Wrap in ifndef SEPARATE_STAB_SECTIONS.
3121
3122 * config/obj-elf.c (elf_s_set_other): New.
3123 (elf_file_symbol): Constify argument.
3124 (elf_separate_stab_sections): New.
3125 (elf_init_stab_section): New.
3126 (elf_format_ops): Add new members. Remove comma at end.
3127
3128 * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
3129 (ecoff_format_ops): Add new fields. Remove comma at end.
3130 Mention inconsistency for emit_section_symbols.
3131
3132 * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
3133
3134 * config/obj-coff.c (c_dot_file_symbol): Constify argument.
3135 (coff_separate_stab_sections): New.
3136 (coff_format_ops): Add new members.
3137
3138 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
3139 (obj_aout_s_set_other): New.
3140 (obj_aout_s_set_desc): New.
3141 (obj_aout_s_get_type): New.
3142 (obj_aout_s_set_type): New.
3143 (obj_aout_separate_stab_sections): New.
3144 (aout_format_ops): New members added. Use obj_aout_process_stab,
3145 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
3146 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
3147 appropriate.
3148 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
3149
b98ef147
AM
31502000-05-22 Alan Modra <alan@linuxcare.com.au>
3151
3152 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
3153 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
3154 (md_estimate_size_before_relax): Ensure jumps to weak and
3155 externally visible symbols are relocatable.
3156
0aa5d426
HPN
3157Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
3158
3159 * stabs.c (aout_process_stab): Make global.
3160 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
3161 * read.h (aout_process_stab): Declare.
3162
3163 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
3164 Generalize to *aout, *coff *elf.
3165 * configure: Regenerated.
3166
3167 * doc/internals.texi (Object format backend): Say
3168 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
b8166459
HPN
3169
3170 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
3171 * Makefile.in: Regenerated.
3172
7c3dc350
CM
31732000-05-19 Catherine Moore <clm@cygnus.com>
3174
3175 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
3176
b3b6a3fe
JL
31772000-05-18 Alan Modra <alan@linuxcare.com.au>
3178
3179 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
3180 instruction to reflect change in re_assemble_*.
3181
c9e10a08
JL
3182Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
3183
3184 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
3185 build PA64 ELF tools.
3186 * configure: Rebuilt.
3187
3043679f
AM
31882000-05-17 Alan Modra <alan@linuxcare.com.au>
3189
3190 * Makefile.am: Regenerate dependencies.
3191 * Makefile.in: Regenerate.
3192
322f2c45
NC
31932000-05-15 Nick Clifton <nickc@cygnus.com>
3194
3195 * config/tc-arm.c (struct asm_psr): Add boolean field
3196 distinguishing between CSPR and SPSR. Rename 'number' field
3197 to 'field'.
3198 (psrs): Rearrange contents to match new asm_psr structure.
3199 (arm_psr_parse): Move next to psr_required_here. Make it
3200 return an asm_psr structure.
3201 (psr_required_here): Use asm_psr structure returned by
3202 arm_psr_parse.
3203 (do_msr): Reorganise to allow psr_required_here to be called
3204 only once.
3205 (md_undefined_name): Mark 'name' parameter as unused, since
3206 the COFF target does not use it.
322f2c45 3207
5e6cbf41
PB
32082000-05-14 David O'Brien <obrien@FreeBSD.org>
3209
3210 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
3211 standards.
3212 * config/te-aux.h: Likewise.
3213 * config/te-dpx2.h: Likewise.
3214 * config/te-go32.h: Likewise.
3215 * config/te-hp300.h: Likewise.
3216 * config/te-hppa.h: Likewise.
3217 * config/te-i386aix.h: Likewise.
3218 * config/te-ic960.h: Likewise.
3219 * config/te-interix.h: Likewise.
3220 * config/te-nbsd532.h: Likewise.
3221 * config/te-pc532mach.h: Likewise.
3222 * config/te-ppcnw.h: Likewise.
3223 * config/te-psos.h: Likewise.
3224 * config/te-sparcaout.h: Likewise.
3225 * config/te-sun3.h: Likewise.
3226 * config/te-sysv32.h: Likewise.
3227
4132022d
AM
32282000-05-14 Alan Modra <alan@linuxcare.com.au>
3229
3230 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
3231 bits. Instead explicitly mask and sign extend. Do the 8 bit mask
3232 and sign extend without an if statement.
3233 (build_bytes): Likewise.
3234
32352000-05-14 Kazu Hirata <kazu@hxi.com>
3236
3237 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
3238 X_add_symbol L_32 case.
3239
b4fd930a
AM
32402000-05-14 David O'Brien <obrien@FreeBSD.org>
3241
3242 * config/te-freebsd.h: New file.
3243
a38cf1db
AM
32442000-05-13 Alan Modra <alan@linuxcare.com.au>
3245
897083bd
AM
3246 * asintl.h (gettext, dgettext, dcgettext, textdomain,
3247 bindtextdomain): Replace defines with those from intl/libgettext.h
3248 to quieten gcc warnings.
3249
a38cf1db
AM
3250 * NEWS: Mention x86 .arch and -q.
3251
3252 * config/tc-i386.c (quiet_warnings): New.
3253 (md_assemble): Use quiet_warnings.
3254 (md_parse_option): Set quiet_warnings from -q.
3255 (md_show_usage): Mention -q, delete -m.
3256 (flag_do_long_jump): Delete.
3257 (md_parse_option): Remove -m.
3258 (md_show_usage): Remove -m.
3259 (md_create_long_jump): Remove useless flag_do_long_jump code.
3260
3261 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
3262 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
3263
e413e4e9
AM
32642000-05-13 Alan Modra <alan@linuxcare.com.au>
3265 Alexander Sokolov <robocop@netlink.ru>
3266
3267 * doc/c-i386.texi (i386-Arch): New section.
3268 (i386-Syntax): Mention .intel_syntax and .att_syntax.
3269
3270 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
3271 (smallest_imm_type): Use smallest opcode for shift by one if cpu
3272 architecture has been given and is not 486.
3273 (set_cpu_arch): New.
3274 (md_pseudo_table): Add .arch.
3275 (md_assemble): Warn if cpu architecture has been given and an
3276 unsupported instruction.
3277
3278 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
3279 Move operand_types bit defines after relevant template field.
3280 (template): Add cpu_flags.
3281 (Cpu*): Define.
3282 (arch_entry): New.
3283
e8b1cae5
AO
32842000-05-12 Alexandre Oliva <aoliva@cygnus.com>
3285
3286 * config/tc-mn10300.h (md_end): Define.
3287 (mn10300_finalize): Declare.
3288 * config/tc-mn10300.c: Include dwarf2dbg.h.
3289 (debug_line): Define.
3290 (md_assemble): Generate dwarf2 line info.
3291 (mn10300_finalize): New function. Finalize dwarf2 info.
3292
426b0403
AM
32932000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
3294
3295 * config/tc-mips.c (md_estimate_size_before_relax): Use the
3296 external version of the relocation for weak symbols.
3297
e4c58b25
JW
32982000-05-08 David Mosberger <davidm@hpl.hp.com>
3299
3300 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
3301 frame size in units of 16 bytes, as required per SW Conventions manual.
3302 (output_unw_records): Output info-block header as a dword to get
3303 byte-order right.
3304
8fce3f5e
AM
33052000-05-08 Alan Modra <alan@linuxcare.com.au>
3306
3307 * as.h: #include "file", not <file> on files from ../include.
3308 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
3309 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
3310 (md_convert_frag): Add ATTRIBUTE_UNUSED.
3311 (tc_coff_symbol_emit_hook): Ditto.
3312 (OPTCOUNT): Cast to int to avoid compiler warning.
3313 (md_begin): Fix signed/unsigned warnings.
3314
33152000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3316
3317 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
3318 ABRANCH LONG case for a conditional branch on a 68000.
3319 (md_estimate_size_before_relax): Likewise. Also handle
3320 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
3321 (m68k-ip: case ABSL): Relax absolute references to 16-bit
3322 PC-relative on all CPUs.
3323 (md_estimate_size_before_relax): Likewise.
3324
fb166ee3
AM
33252000-05-04 Alan Modra <alan@linuxcare.com.au>
3326
3327 * as.c (parse_args): Just mention current year in printed
3328 copyright message.
3329
7a899fff
C
33302000-05-03 J.T. Conklin <jtc@redback.com>
3331
3332 * config/tc-ppc.c (pre_defined_registers): Add entries for vector
3e87a760 3333 unit registers.
7a899fff
C
3334 (md_parse_option): Recognize -m7400.
3335
44877466
ILT
33362000-05-03 Ian Lance Taylor <ian@zembu.com>
3337
3338 * config/atof-ieee.c (gen_to_words): When adding carry back in,
3339 don't permit lp to become less than the words array.
3340
eaa15ab8
NC
33412000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
3342
3343 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
3344 Fix little-endian case.
3345
7c4f6a03
AM
33462000-05-03 David O'Brien <obrien@NUXI.com>
3347
3348 * as.c (parse_args): Update copyright.
3349
da5d444c
AM
33502000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
3351
3352 * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
3353 for the .bss section too.
3354
3f9b03b5
AM
33552000-05-02 Alan Modra <alan@linuxcare.com.au>
3356
3357 * configure.in: Set em=linux for hppa-*-linux.
3358 * configure: Regenerate.
3359 * doc/Makefile.in: Regenerate with correct automake.
3360
3361 * frags.c (frag_grow): Sanity check chunk_size.
3362
3363 * config/obj-elf.h: #include "bfd.h" not <bfd.h>
3364 * config/obj-som.h: Likewise.
3365 * config/obj-ieee.h: Likewise.
3366
3367 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
3368
3369 * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
3370 (md_pseudo_table): Fully initialise OBJ_ELF cases.
3371 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
3372 (pa_ip): low_sign_unext now returns via function value. Use
3373 re_assemble_* instead of dis_assemble_* and
3374 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
3375 unnecessarily.
3376 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
3377 (md_section_align, md_parse_option, md_show_usage,
3378 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
3379 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
3380 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
3381 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
3382 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
3383 pa_text): Likewise.
3384 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
3385 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
3386 outside of switch. Correct mask and shifting errors in case 10
3387 and case -11. In case 21, compare against signed range to suit
3388 hppa_field_adjust changes. In case 12, use re_assemble_12. In
3389 case 17 and case 22, use offsetT variable to properly check range.
3390 Use re_assemble_* here too.
3391 (evaluate_absolute): Change type of value to offsetT. Call
3392 hppa_field_adjust to do the work for us.
3393 (pa_parse_cmpb_64_cmpltr): Delete save_s.
3394 (pa_parse_cmpib_64_cmpltr): Ditto.
3395 (pa_build_unwind_subspace): Delete unused var subseg. Change type
3396 of i to unsigned int.
3397 (pa_type_args): Conditionally declare symbol if OBJ_SOM.
3398 (pa_end_of_source): Return type is void.
3399
a2984248
CM
3400Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com>
3401
3402 * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
3403
df136245
DC
3404Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
3405
3406 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
3407 More comments added.
3408 (md_begin): Removed "construct symbols for each register name".
3409 Because register names conflicts with GCC generated function
3410 names.
3411 (avr_operand): Now constant numbers can be used as a register
3412 identifiers (0 as r0, 31 as r31).
3413 (md_assemble): use skip_space () before parsing instruction
3414 operands.
3415
c1e73230
AM
34162000-05-01 Alan Modra <alan@linuxcare.com.au>
3417
3418 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
3419 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
3420 arm-*-netbsd* and arm-*-wince as this is set for all arm*.
3421 * configure: Regenerate.
3422
a1934524
AM
34232000-04-29 Andreas Jaeger <aj@suse.de>
3424
3425 * as.h: Correctly check GCC version.
3426
d9b7d820
AM
34272000-04-26 David O'Brien <obrien@FreeBSD.org>
3428
3429 * doc/as.1: Fix unbalanced brackets.
3430
3431 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
3432 TE_FreeBSD.
3433 (line_comment_chars): Set to '/' if TE_FreeBSD.
3434
cea1ab94
JL
3435Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com)
3436
3437 * configure.in: Configury support for PA64 (currently disabled).
3438 * configure: Rebuilt.
3439
e799a695
AM
34402000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
3441
3e87a760 3442 * config/tc-mips.c (s_change_sec): Use record_alignment, not
e799a695
AM
3443 bfd_set_section_alignment.
3444
3b0ec529
AM
34452000-04-25 Alan Modra <alan@linuxcare.com.au>
3446
3447 * config/tc-i386.c (offset_in_range): Ensure shift counts are less
3448 than 32.
3449
adcf07e6
NC
34502000-04-24 Nick Clifton <nickc@cygnus.com>
3451
3452 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
3453 * doc/as.texinfo (Align): Include arm and strongarm in list of
3454 targets that have the second form of the behaviour of the .align
3e87a760 3455 directive.
adcf07e6 3456
5047a41f
JL
34572000-04-24 Mark Klein <mklein@dis.com>
3458
50705ef4 3459 * obj-som.c: Terminate obj_pseudo_table.
5047a41f 3460
a47cf567
NC
3461Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com>
3462
3463 * as.c (parse_args): Allow md_parse_option to override -a listing
3464 option.
3465 * config/obj-coff.c (add_lineno): Change type of offset parameter
3466 from "int" to "bfd_vma."
3467 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
3468 (ppc_mach, ppc_subseg_align, ppc_target_format): New.
3469 (ppc_change_csect): Align correctly for XCOFF64.
3470 (ppc_machine): New function, which discards "ppc_machine" line.
3471 (ppc_tc): Cons for 8 when code is 64 bit.
3472 (md_apply_fix3): Don't check operand->insert. Handle 64 bit
3473 relocations.
3474 (md_parse_option): Handle -a64 and -a32.
3475 (ppc_xcoff64): New.
3476 * config/tc-ppc.h (TARGET_MACH): Define.
3477 (TARGET_FORMAT): Move to function.
3478 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
3479
3480Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru>
3481
3482 * config/tc-avr.c: New AVR_ISA_ defined.
3483 (md_assemble): Handle opcodes with optional operands (lpm,elpm).
3484 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
3485 for `fmul', `movw' and `lpm R,Z' instructions.
3486 (avr_operands): Warn if current opcode is a two-word instruction
3487 and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
3488 (avr_opcodes): New commands added.
3489 (REGISTER_P): Check 'a' and 'v' constraint letters.
3490 (mcu_types): New MCU added.
3491
bf3ca999
TW
34922000-04-22 Timothy Wall <twall@cygnus.com>
3493
3494 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
3495 to "natval".
3496 (operand_match): Conditionally insert default bit values for IMMU9.
3497
98e5953c
JL
34982000-04-14 Matthew Green <mrg@cygnus.com>
3499
3500 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
3501 * configure: Rebuilt.
3502
a02fab7e
JL
3503Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com)
3504 Jason Eckhardt <jle@cygnus.com>
3505
c67e42c9 3506 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
a02fab7e
JL
3507
3508 * config/tc-hppa.c (CHECK_ALIGN): New macro.
3509 Added handling of new operand types l,y,&,fe,fE,fx.
3510
800eeca4
JW
3511Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
3512 David Mosberger <davidm@hpl.hp.com>
3513 Timothy Wall <twall@cygnus.com>
3514 Andrew MacLeod <amacleod@cygnus.com>
3515 Jim Wilson <wilson@cygnus.com>
3516
3517 * Makefile.am (CPU_TYPES): Add ia64.
39bec121 3518 (TARGET_CPU_CFILES): Add config/tc-ia64.c.
800eeca4
JW
3519 (TARGET_CPU_HFILES): Add config/tc-ia64.h.
3520 * Makefile.in: Rebuild.
3521 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
3522 * configure: Rebuild.
3523 * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
3524 (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
3525 * expr.c (expr): Handle md_optimize_expr.
3526 * read.c (LEX_HASH): Add comment.
3527 * config/tc-ia64.c, config/tc-ia64.h: New files.
3e87a760 3528
66778679
RH
35292000-04-21 Richard Henderson <rth@cygnus.com>
3530
3531 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
3532 bundling a non-delayed branch type instruction.
3533
aa15f6f7
AO
35342000-04-20 Alexandre Oliva <aoliva@cygnus.com>
3535
3536 * config/tc-mn10300.c (HAVE_AM30): Define.
3537 (md_assemble): Use it.
3538
16adf844
AM
35392000-04-19 Alan Modra <alan@linuxcare.com.au>
3540
742f45cf
AM
3541 * config/obj-elf.c (obj_elf_change_section): Check for changed
3542 section attributes.
3543
16adf844
AM
3544 * Makefile.am: (CPU_MULTI_VALID): Remove.
3545 (MULTI_CPU_TYPES): Define.
3546 (MULTI_CPU_OBJ_VALID): Define.
3547 (DEPTC): Use the above.
3548 (DEPOBJ): Same here.
3549 (DEP2): And here.
3550 Regenerate dependencies.
3551 * Makefile.in: Regenerate.
3552
9c46fb1b
AM
35532000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3554
742f45cf 3555 * Makefile.am (YACC, LEX): Get them from configure.
9c46fb1b 3556
508866be
L
35572000-04-18 H.J. Lu (hjl@gnu.org)
3558
3559 * config/tc-i386.c (offset_in_range): Use addressT instead of
9c46fb1b 3560 bfd_vma for non-bfd assemblers.
508866be 3561
ba2adb93
AM
35622000-04-17 Alan Modra <alan@linuxcare.com.au>
3563
3564 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
3565 doesn't give spurious errors.
3566
12ff5d56
AM
35672000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3568
66778679 3569 * as.h (SEEK_SET): Define if undefined.
12ff5d56 3570
fc633e5b
AM
35712000-04-13 Alan Modra <alan@linuxcare.com.au>
3572
3573 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
3574 constants, and don't assume offsetT is 32 bits.
3575
1ed18ec1
NC
35762000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
3577
3578 * config/tc-d10v.h: Include "write.h" to get definition of fixS.
3579 (md_pcrel_from_section): Add prototype.
3580 (d10v_fix_adjustable): Add prototype.
3581 (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
3582
3583 * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
3584
3db10f32
NC
35852000-04-12 Nick Clifton <nickc@cygnus.com>
3586
3587 * config/tc-d10v.c (find_opcode): Correctly calculate position of
3588 symbol in frag chain.
3589
847f7ad4
AM
35902000-04-10 Alan Modra <alan@linuxcare.com.au>
3591
3592 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
3593 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
3594 (fits_in_signed_word, smallest_imm_type): Ditto.
3595 (md_assemble): Use an offsetT var to hold offsetT values, not a
3596 long.
3597 (offset_in_range): New.
3598 (md_assemble): Use it.
3599 (md_convert_frag): Change type of target_address, opcode_address,
3600 and displacement_from_opcode_start to offsetT.
3601 (md_create_short_jump): Change type of offset to offsetT.
3602 (md_create_long_jump): Ditto.
3603 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
3604 (md_chars_to_number): Remove.
3605 (output_invalid): Remove duplicate prototype.
3606
ec694b89
NC
36072000-04-09 Nick Clifton <nickc@cygnus.com>
3608
3609 * Makefile.am (CPU_TYPES): Add 'avr'.
3610 (TARGET_CPU_CFILES): Add 'tc-avr.c'.
3611 (TARGET_CPU_HFILES): Add 'tc-avr.h'.
3612
16adf844 3613 * Makefile.in: Regenerate.
ec694b89
NC
3614
3615 * doc/as.texinfo: Add M32R documentation.
3616
a2d91340 3617Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
3e87a760 3618
a2d91340 3619 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3e87a760 3620 --enable-build-warnings option.
a2d91340
AC
3621 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
3622 * Makefile.in, configure: Re-generate.
3623
d92b1a8a
NC
36242000-04-07 Nick Clifton <nickc@cygnus.com>
3625
3626 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
3627 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
3628 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
3629 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
3630 (arm_force_relocation): Force relocations for
3631 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
3632
52ccafd0
JR
3633Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3634
3635 * config/tc-sh.c (get_operands): There's no third operand if the
3636 first operand is an immediate.
3637
015551fc
JR
3638Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3639
3640 * config/tc-sh.c (immediate): Delete.
3641 (sh_operand_info): Add immediate member.
3642 (parse_reg): Use A_PC for pc.
3643 (parse_exp): Add second argument 'op'. All callers changed.
3644 (parse_at): Expect pc to be coded as A_PC.
3645 Use immediate field in *op.
3646 (insert): Add fourth argument 'op'. All callers changed.
3647 (build_relax): Add second argument 'op'. All callers changed.
3648 (insert_loop_bounds): New function.
3649 (build_Mytes): Remove DISP_4.
3650 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
3651 (assemble_ppi): Use immediate field in *operand.
3652 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
3653 (md_apply_fix): Likewise.
3654 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
3655
79bd78be
AO
3656Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3657
3658 * config/tc-sparc.c (sparc_ip): Avoid string pasting.
3659
e30e5a6a
HPN
3660Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com>
3661
3662 * internals.texi (CPU backend): Document
3663 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
3664
41b49281
AM
36652000-04-04 Alan Modra <alan@linuxcare.com.au>
3666
8ad3436c
AM
3667 * po/gas.pot: Regenerate.
3668
3669 * as.c (show_usage): Restore translated part of bug string.
3670 * gasp.c (show_usage): Likewise.
3671
41b49281
AM
3672 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
3673 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
3674 than move-if-change.
3675 (DEP1): Modify for "gcc -MM".
3676 (DEPTC): Likewise.
3677 (DEPOBJ): Likewise.
3678 (DEP2): Likewise.
3679 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
3680 Update dependencies.
3681 * Makefile.in: Regenerate.
3682
0a727238
AO
36832000-04-03 Alexandre Oliva <aoliva@cygnus.com>
3684
3685 * config/tc-mn10300.c (md_pseudo_table): Use constant names.
3686 (md_begin): Likewise.
3687 (HAVE_AM33): New macro.
3688 (md_assemble): Use it. Match r_regs and xr_regs only if
3689 HAVE_AM33.
3690
c20f4f8c
AM
36912000-04-03 Alan Modra <alan@linuxcare.com.au>
3692
3693 * as.h: #include "bin-bugs.h"
3694 * as.c (show_usage): Use REPORT_BUGS_TO.
3695 * gasp.c: #include "bin-bugs.h"
3696 (show_usage): Use REPORT_BUGS_TO.
3697
3698 * config/tc-sparc.c (md_show_usage): Add a trailing newline.
3699
753f6b12
HPN
3700Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
3701
3702 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
3703 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
3704 adjustments.
3705
726c5dcd
AM
37062000-04-03 Alan Modra <alan@linuxcare.com.au>
3707
3708 * config/tc-i386.c (i386_immediate): Don't assume a constant
3709 immediate is necessarily 16 bits when in 16 bit code mode.
3710 (md_assemble): Instead set guess_suffix here after we have checked
3711 registers.
3712
bf80011a
RH
37132000-04-02 Richard Henderson <rth@cygnus.com>
3714
3715 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
3716 quantities. Correct right shift sign extension.
3717 (build_insn): Make `number' unsigned long. Mask top 6 bits of
3718 32-bit value when shifting into place.
3719
92161534
ILT
37202000-04-01 Ian Lance Taylor <ian@zembu.com>
3721
3722 * app.c: Add ATTRIBUTE_UNUSED as needed.
3723 * config/tc-ppc.c: Likewise.
3724 (ppc_size): Make unsigned long.
3725 (ppc_insert_operand): Add casts to avoid warnings.
3726
447f3982
NC
37272000-03-31 Nick Clifton <nickc@cygnus.com>
3728
3729 * config/tc-d10v.h (md_flush_pending_output): Define.
3730
21d75ec2
NC
37312000-03-29 Nick Clifton <nickc@cygnus.com>
3732
3733 * config/tc-sh.h (SEG_NAME): New macro: return the name of a
3734 segment. Works for both BFD_ASSEMBLER and others.
3735 (SUB_SEGMENT_ALIGN): Use SEG_NAME.
3736
d1a1bf19
NC
37372000-03-29 Nick Clifton <nickc@cygnus.com
3738
3739 * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
3740
224de7a5
AM
37412000-03-28 Alan Modra <alan@linuxcare.com.au>
3742
3743 * listing.c (LISTING_LHS_WIDTH): Default depends on
3744 LISTING_WORD_SIZE.
3745 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
3746
5b8274e3
ILT
37472000-03-27 Ian Lance Taylor <ian@zembu.com>
3748
3749 * config/tc-sh.c (md_show_usage): Use backslash before newline in
3750 string literal.
3751
224de7a5 37522000-03-27 Alan Modra <alan@linuxcare.com.au>
adde6300
AM
3753
3754 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
3755
3756 * config/tc-avr.c (mcu_types): Add missing initialiser.
3757 (md_pcrel_from_section): Add prototype.
3758 (avr_operand): Remove redundant test of unsigned < 0.
3759 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
3760
37612000-03-27 Denis Chertykov <denisc@overta.ru>
3762
3763 * config/tc-avr.c: New file for AVR support.
3764 * config/tc-avr.h: Likewise.
3765 * configure.in: Add AVR support.
3766 * configure: Regenerate.
3767
9f10757c
TW
37682000-03-26 Timothy Wall <twall@cygnus.com>
3769
3770 * gasp.c (macro_op): Add new argument to check_macro call.
3771 Macro structure definitions moved to macro.h
3772 * sb.h: Add argument to prototype for input_scrub_include_sb.
3773 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
3774 nesting checks with an additional flag.
3775 (struct input_save): Add flag to indicate whether current sb
3776 should be checked for proper macro/conditional nesting.
3777 (input_scrub_push/pop): Save/restore nest check flag.
3778 (input_scrub_next_buffer): Ditto. Also call end of macro hook if
3e87a760 3779 defined.
9f10757c
TW
3780 * macro.c (check_macro): Allow caller to retrieve parsed macro
3781 information if a pointer is provided. This information may be
3782 used by the new macro hooks.
3783 * macro.h: Update prototype for check_macro. Macro struct
3784 definitions moved here from macro.c/gasp.c.
3785 * read.c (read_a_source_file): Add parameter to check_macro call,
3786 and pass macro info to the macro hook, if defined.
3787 (input_scrub_insert_line): New. Allow insertion of a line of
3788 characters into the input stream.
3789 (input_scrub_insert_file): New. Allow insertion of an arbitrary
3790 file into the input stream.
3791 (s_include): Use input_scrub_insert_file.
3792 * internals.texi: Document new macro hooks.
3793 * as.h: New prototypes added.
3e87a760 3794
224de7a5 37952000-03-26 Alan Modra <alan@linuxcare.com.au>
d0b47220
AM
3796
3797 * config/tc-i386.c: Don't start any as_bad or as_warn message with
3798 an initial capital letter.
3799 (i386_index_check): Reindent.
3800
11424155
NC
38012000-03-19 Nick Clifton <nickc@cygnus.com>
3802
eaa15ab8 3803 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
11424155
NC
3804 relative branches.
3805
43f05576
NC
38062000-03-17 Thomas de Lellis <tdel@windriver.com>
3807
66778679
RH
3808 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
3809 instruction operand bad if Rd > 7 when generating
3810 thumb instructions. Prevents for example,
3811 "adr r12,label" from silently failing and generating
3812 the wrong instruction.
3e87a760 3813
67231402
NC
38142000-03-17 Nick Clifton <nickc@cygnus.com>
3815
3816 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
3817 that have a destingation >= 0x400000.
3e87a760 3818 Fix compile time warning messages.
67231402 3819
a37c8f88
JR
3820Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3821
3822 * config/tc-sh.c (md_begin): When encountering insn that are
3823 not supported by the current arch, only change the name if
3824 its contents are the same as prev_name.
3825 (get_specific): If the the architecture doesn't match, fail.
3826
dead1419
JR
3827Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3828
3829 * config/tc-sh.c (IDENT_CHAR): Define.
3830 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
3831 matching back where it came from.
3832
182e89d3
JR
3833Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3834
3835 * config/tc-sh.c (md_show_usage): Add description of -dsp.
3836
84f73d89
NC
38372000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
3838
3839 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
3840 normal operands.
3841
dbbc7809
JL
38422000-03-15 Kazu Hirata <kazu@hxi.com>
3843
3844 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
3845
271bb601
HPN
3846Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se>
3847
3848 * expr.c (operand) [case 'f']: When testing if '0f' can start a
3849 floating-point-number, make sure 'f' is in FLT_CHARS.
3850
8684e216
HPN
3851Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se>
3852
3853 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
3854 (s_lcomm_internal): Use it.
3855 * doc/internals.texi (CPU backend): Document it.
3856 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
3857 bytes.
3858
bb2d6cd7
GK
38592000-03-10 Geoffrey Keating <geoffk@cygnus.com>
3860
3861 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
3862 when embedded-pic.
3863
3864 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
3e87a760
AM
3865 implementation doesn't have special handling for switch
3866 statements.
bb2d6cd7
GK
3867 (macro_build): Allow for code in sections other than .text.
3868 (macro): Likewise.
3869 (mips_ip): Likewise.
3870 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
3e87a760 3871 Don't perform relocs if we will be outputting them.
bb2d6cd7 3872 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
3e87a760
AM
3873 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
3874 embedded-pic.
bb2d6cd7 3875
5c86cbc7 38762000-03-09 Catherine Moore <clm@cygnus.com>
3e87a760 3877
66778679
RH
3878 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
3879 relocation type based on the entry in the fixup structure.
a47cf567 3880 Put S_IS_EXTERN processing back in.
5c86cbc7 3881
f8c827e9
L
38822000-03-08 H.J. Lu (hjl@gnu.org)
3883
3884 * Makefile.am (install-exec-tooldir): Depend on
3885 install-exec-bindir for parallel make.
3886 * Makefile.in: Regenerated.
3887
8ad9e709
NC
38882000-03-06 Nick Clifton <nickc@cygnus.com>
3889
3890 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
3891 switch.
3892 (md_parse_option): Parse -m32r command line switch - disable m32rx
3893 compatability.
ded0aeb7
NC
3894 (md_show_usage): Document new option.
3895
3896 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
3897 * doc/Makefile.in: Regenerate.
3898 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
8ad9e709 3899
b7b8f327
MM
39002000-03-02 Michael Meissner <meissner@redhat.com>
3901
3902 * config/tc-d30v.c (check_range): Remove code that incorrectly
3903 sign extended values where bits < 32.
3904
15886821
L
39052000-03-02 H.J. Lu (hjl@gnu.org)
3906
3907 * configure.in: Support --enable-targets=all on ia32.
3908 * configure: Regenerated.
3909
8bf950bf
NC
39102000-03-01 Nick Clifton <nickc@cygnus.com>
3911
3912 * gasp.c (do_align): Remove bogus check of alignment value.
3913
c5e54cc2
ILT
39142000-02-27 Thomas de Lellis <tdel@windriver.com>
3915
3916 * config/obj-elf.c (elf_frob_symbol): Remove code which when
3917 TC_PPC was defined forced the type of a symbol with no other type
3918 to be BSF_OBJECT.
3919
65fd87bc
ILT
39202000-02-27 Hans-Peter Nilsson <hp@axis.com>
3921
3922 * doc/internals.texi (CPU backend): Mention that
3923 line_separator_chars do not break up comments. Fix typos for
3924 LEX_AT and LEX_NAME descriptions. Document operands for
3925 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
3926 description of md_create_short_jump usage. Document argument for
3927 md_undefined_symbol.
3928
a25fe906
ILT
39292000-02-27 Jakub Jelinek <jakub@redhat.com>
3930
3931 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
3932 (md_parse_option): Handle it.
3933 (md_show_usage): Document it.
3934
21b10511
ILT
39352000-02-27 Ian Lance Taylor <ian@zembu.com>
3936
3937 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
3938 opcode, for the instruction `pal19'. From Andrea Arcangeli
3939 <andrea@suse.de>.
3940
773f551c
AM
39412000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
3942
3943 * config/tc-i386.c (i386_immediate): Move constant operand sizing
3944 from here..
3945 (md_assemble): To here, before template operands are matched.
3946 Also ensure a constant immediate is sign extended when we know the
3947 size is at most 16 bits. This is to catch cases like "add
3948 $0xffc0,%ax" where we don't know the size, and thus that the
3949 immediate can be represented as Imm8S until after parsing the
3950 register operand.
3951 (i386_displacement): Similarly sign extend 16 bit constant
3952 displacements.
3953 (md_assemble): Relax 16-bit jump constant range check to suit sign
3954 extended displacements.
3955
28d33191
JL
39562000-02-26 Andreas Jaeger <aj@suse.de>
3957
3958 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
3959
cc5ca5ce
AM
39602000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
3961
3962 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
3963 call operands when intel_syntax.
3964 (intel_float_operand): Return 2 for "fi...".
3965 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
3966 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
3967 earlier "SHORT" change.
3968 (md_assemble): When determining suffix from Regs, exclude
3969 InOutPortReg.
3970
056350c6
NC
39712000-02-24 Nick Clifton <nickc@cygnus.com>
3972
3973 * configure: Add arm-wince, mips-pe and sh-pe targets.
3974 * configure: Regenerate.
3975
3976 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
3977 sh-pe targets.
3978 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
3979 "pe-mips" for the mips-pe target.
3980
3981 * config/tc-arm.c (insns): Change displacement encoded in BL
3982 and B instructions if the target port is arm-wince.
3983 (do_ldst): Do not bias the relocation offset if the target
3984 port is arm-wince.
3985 (md_pcrel_from): Add in missing relocation offset bias if the
3986 target os arm-wince.
3987
3988 * config/tc-mips.c (mips_target_format): Support COFF flavour.
3989 (md_begin): Disable -G support for mips-pe target.
3990 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
3991 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
3992 COFF flavour.
3993
3994 * config/tc-sh.c (md_begin): sh-pe target is little endian.
3995 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
3996 assembler, just set the alignment to 4.
3997
3998 * config/te-wince-pe.h: New file for WinCE targets. Define
3999 TE_WINCE.
4000
36bf8ab9
AM
40012000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
4002
4003 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
4004 string instructions.
4005 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
4006 (i386_intel_memory_operand): After finding a segment override,
4007 check again for no `[' before looking for a displacement. Bomb if
4008 more than one displacement rather than silently discarding the
4009 second and subsequent ones. Free strings malloc'd by
4010 build_displacement_string.
4011
f5795b08
CM
40122000-02-24 Catherine Moore <clm@cygnus.com>
4013
4014 * config/obj-som.c (obj_pseudo_table): Add "weak".
4015 (obj_som_weak): New routine.
4016
abd63a32
AM
40172000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
4018
520dc8e8
AM
4019 * config/tc-i386.c (union i386_op): New.
4020 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
4021 Throughout file replace occurences of disps[n], imms[n], regs[n]
4022 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
4023 intel mode operand swapping. Add assert in regKludge and
4024 fake_zero_displacement code. Test i.types[n] when outputting
4025 displacements and immediates. Combine output of Disp16 with
4026 Disp32.
7f3f1ea2
AM
4027 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
4028 when in intel mode by (not) reversing fsub and fdiv operands
4029 before the template search. This fails for single operand
4030 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
4031 undefined. Instead fix the base_opcode after we've found the
4032 template. Move base_opcode xor with found_reverse_match from
4033 opcode output code to before this fix so we test for the correct
4034 opcodes.
4035 (md_assemble): Don't use strcmp when deciding to ignore the suffix
4036 check in intel mode. Instead compare opcodes.
520dc8e8
AM
4037
4038 * config/tc-i386.h (TC_RELOC): Delete.
4039 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
4040 with equivalent call to reloc.
4041
abd63a32
AM
4042 * as.h (flag_m68k_mri): Move declaration after target include, and
4043 only declare when TC_M68K defined. Define as zero otherwise.
4044 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
4045 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
4046 Define as zero otherwise.
4047 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
4048 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
4049 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
4050 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
4051 testing whether defined.
4052 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
4053 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
4054 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
4055 rather than testing whether defined.
4056 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
4057 (parse_mri_cons): Declare and use only when TC_M68K.
4058 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
4059 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
4060 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
4061
4062 * NEWS: Mention IBM 370 support.
4063
7e052742
RH
40642000-02-23 Richard Henderson <rth@cygnus.com>
4065
4066 * config/tc-i386.c (md_assemble): When swapping operands for
4067 intel_syntax, assume everything that's not Imm or Disp is a
4068 register.
4069
5b93d8bb
AM
40702000-02-23 Linas Vepstas <linas@linas.org>
4071
4072 * config/tc-i370.c, config/tc-i370.h: New files.
4073 * Makefile.am: Add support for Linux/IBM 370.
4074 * configure.in: Likewise.
4075 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
4076 * config/obj-elf.c: Include elf/i370.h
4077 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
4078
4079 * Makefile.in: Regenerate.
4080 * configure: Regenerate.
4081
4082 * doc/c-i370.texi: New file.
4083 * doc/all.texi: Include it.
4084 * doc/as.texinfo: And here.
3e87a760 4085 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
5b93d8bb
AM
4086 * doc/Makefile.in: Regenerate.
4087
25f2196d
CC
40882000-02-19 Michael Meissner <meissner@redhat.com>
4089
4090 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
4091 determine if an instruction can be used in parallel with an ADDppp
4092 or SUBppp instruction.
4093
6349b5f4
AH
40942000-02-22 Andrew Haley <aph@cygnus.com>
4095
4096 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
4097
2f6d2f85 40982000-02-22 Andrew Haley <aph@cygnus.com>
c97ef257
AH
4099
4100 * config/tc-mips.c (mips_gp32): New variable.
4101 (macro_build) Use mips_gp32.
4102 (mips_ip): Ditto.
4103 (md_longopts): Add "-mgp32" and "-mgp64".
4104 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
3e87a760 4105
a47cf567
NC
4106 (OPTION_M7900): Change offset
4107 (OPTION_NO_M7900): Ditto.
4108
b985eaa8
ILT
41092000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4110
4111 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
4112 warning, and bump it to 1.
4113
52454417
ILT
41142000-02-22 Ian Lance Taylor <ian@zembu.com>
4115
4116 From Brad Lucier <lucier@math.purdue.edu>:
4117 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
4118 match format.
4119
6b76fefe
CM
41202000-02-21 Catherine Moore <clm@cygnus.com>
4121
4122 * config/tc-mips.c (MF_HILO_INSN): Define.
4123 (mips_7000_hilo_fix): Declare.
4124 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
4125 (md_parse_option): Check for 7000_HILO_FIX options.
4126 (OPTION_M7000_HILO_FIX): Define.
4127 (OPTION_NO_M7000_HILO_FIX): Define.
4128 * doc/c-mips.texi (-mfix7000): Describe.
4129
f6af82bd
AM
41302000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
4131
4132 * listing.c (print_lines): Remove unused variable `end'.
4133
4134 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
4135 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
3e87a760 4136 reloc_type when BFD_ASSEMBLER.
f6af82bd
AM
4137 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
4138 reloc_type when BFD_ASSEMBLER. Move common code out of switch
3e87a760 4139 statement and quell signed vs. unsigned comparison warning.
f6af82bd 4140
8c8281f4
NC
41412000-02-18 Nick Clifton <nickc@cygnus.com>
4142
4143 * config/tc-d10v.c (find_opcode): Add a symbol's value to
4144 the computed frag offset, rather than overwriting it.
4145
d4845d57
JR
4146Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4147
4148 * config/tc-sh.c ("elf/sh.h"): Include.
4149 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
4150 (md.begin): Initialize target_arch.
4151 Only include opcodes in has table that match selected architecture.
4152 (parse_reg): Recognize register names for sh-dsp.
4153 (parse_at): Recognize post-modify addressing.
4154 (get_operands): The leading space is now optional.
4155 (get_specific): Remove FDREG_N support. Add support for sh-dsp
4156 arguments. Update valid_arch.
4157 (build_Mytes): Add support for SDT_REG_N.
4158 (find_cooked_opcode): New function, broken out of md_assemble.
4159 (assemble_ppi, sh_elf_final_processing): New functions.
4160 (md_assemble): Use find_cooked_opcode and assemble_ppi.
4161 (md_longopts, md_parse_option): New option: -dsp.
4162 * config/tc-sh.h (elf_tc_final_processing): Define.
4163 (sh_elf_final_processing): Declare.
4164
c97305a1
JL
4165Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
4166
4167 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
4168 the unwinder subspace. Save the current seg/subseg before creating
4169 the new seg/subseg.
4170
bec50466
NC
41712000-02-10 Nick Clifton <nickc@cygnus.com>
4172
4173 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
66778679 4174 little endian targets.
bec50466 4175 (INST_BYTE1): Redefine to handle big and little endian
66778679 4176 targets.
bec50466
NC
4177 (cpu_type): New type: Select between M340 and M210.
4178 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
66778679 4179 instructions of the M340.
bec50466 4180 (md_assemble): Add support for the MULSH and OPSR classes of
66778679 4181 instructions.
bec50466
NC
4182 (md_atof): Add support for little endian targets.
4183 (md_parse_option): Add support for -EL, -EB and -mcpu command
66778679 4184 line switches.
bec50466
NC
4185 (md_convert_frag): Add support for little endian targets.
4186 (md_apply_fix3): Add support for little endian targets.
4187 (md_number_to_chars): Add support for little endian targets.
4188
a25c045a
TW
41892000-02-10 Timothy Wall <twall@redhat.com>
4190
4191 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
4192 defined, use it to verify the symbol just read should be a label.
4193
f28e8eb3
TW
41942000-02-10 Timothy Wall <twall@redhat.com>
4195
4196 * app.c (do_scrub_chars): Handle "||" for parallel instructions
4197 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
4198 around colons when KEEP_WHITE_AROUND_COLON is defined.
4199 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
4200 and KEEP_WHITE_AROUND_COLON.
4201
6dc19fc4
TW
42022000-02-08 Timothy Wall <twall@redhat.com>
4203
4204 * read.c (s_rept): Call do_repeat, which abstracts the repeat
3e87a760 4205 logic.
6dc19fc4 4206 (do_repeat): New. Abstract repeat logic so that a "break" can be
3e87a760 4207 implemented.
6dc19fc4
TW
4208 (end_repeat): New. Provide support for a "break" out of the
4209 repeat loop.
4210 * read.h: Add prototypes for new functions.
3e87a760 4211
f805106c
TW
42122000-02-08 Timothy Wall <twall@redhat.com>
4213
4214 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
4215 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
4216 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
3e87a760
AM
4217 non-zero.
4218
4469be0f
TW
42192000-02-08 Timothy Wall <twall@redhat.com>
4220
4221 * read.c: Added elseif to directives table.
4222 * read.h: Added prototype for s_elseif.
4223 * doc/as.texinfo: Added description for elseif.
4224 * cond.c (s_elseif): New function
3e87a760 4225
24a17b6c
TW
42262000-02-04 Timothy Wall <twall@redhat.com>
4227
4228 * listing.c (print_lines): Remove conditionals causing bug in
3e87a760 4229 listings.
24a17b6c 4230
bea9907b 42312000-02-03 Timothy Wall <twall@cygnus.com>
3e87a760 4232
bea9907b
TW
4233 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
4234 default values.
4235 * frags.c (frag_new): Calculate fr_fix in octets
4236 (frag_now_fix) Return offset as target address offset (bytes).
4237 (frag_now_fix_octets) New - Return offset in octets (8-bit
3e87a760 4238 quantities).
bea9907b
TW
4239 * frags.h: Added prototype for frag_now_fix_octets().
4240 Distinguish between octets and bytes in field descriptions.
4241 * listing.c (calc_hex): Account for octets vs bytes when
4242 printing addresses/offsets.
4243 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
4244 target is little-endian, print the octets in a word in big-endian
4245 order so that the display looks like a proper hexadecimal number,
4246 instead of having the octets reversed.
4247 * read.c (do_align): When recording alignment, alignment power
4248 should be in terms of target bytes (minimum addressible unit)
4249 instead of octets.
4250 (do_org) Convert ORG target address (byte) argument into an
4251 octet offset when generating a variable fragment.
4252 * symbols.c (resolve_symbol_value): Symbol final value
4253 converted to a target address offset (bytes) from its octet offset.
4254 * config/obj-coff.c (coff_frob_symbol): Symbol target address
4255 offset (bytes) is adjusted by the frag offset (octets) converted
4256 to bytes.
4257 (coff_frob_section) Section alignment power is in terms of bytes;
4258 convert it to an octet alignment power when calculating size (and
4259 size mask) in octets. Don't modify the section size in order to
4260 "align" it for TI COFF, since that format has a different method
4261 for storing alignment information.
3e87a760 4262
210dcc61
TW
42632000-02-01 Timothy Wall <twall@cygnus.com>
4264
4265 * stabs.c (generate_asm_file): Escape backslashes in stabs file
4266 entries, matching the way GCC generates them. If not escaped, the
4267 filename is encoded incorrectly.
4268
557537a5 42692000-01-31 Nick Clifton <nickc@cygnus.com>
eaa15ab8 4270
557537a5
NC
4271 * config/tc-arm.c (reg_table): Add support for ATPCS register
4272 naming conventions.
2c1c4c62 4273
557537a5 42742000-01-31 Geoff Keating <geoffk@cygnus.com>
3e87a760 4275
2c1c4c62
GK
4276 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
4277 already defined.
3e87a760 4278 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
2c1c4c62
GK
4279 New macro.
4280 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
4281 of a symbol when we really care about its value.
4282
42832000-01-19 Chandra Chavva <cchavva@cygnus.com>
2d473ce9
NC
4284
4285 * config/tc-mcore.c (md_assemble): Give warning message if
4286 operands passes to instruction are more than the spec.
4287
2f0ca46a
NC
42882000-01-27 Thomas de Lellis <tdel@windriver.com>
4289
66778679 4290 * config/tc-arm.c (armadjust_symtab): If the assembler is in
2f0ca46a
NC
4291 Thumb mode but the label seen was not declared as '.thumb_func'
4292 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
3e87a760 4293 correct disassembly of Thumb code bounded by non function labels.
2f0ca46a 4294
4c63da97
AM
42952000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
4296
4297 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
4298 Add dependencies for e-i386aout.o. Fix 2 comment lines.
4299
4300 * Makefile.in: Same here.
4301 Update copyright.
4302
4303 * configure.in: Set bfd_gas for i386-aout when primary target
4304 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
4305 we may need the primary te_file. Remove incorrect comment.
4306
4307 * configure: Regenerate.
4308
4309 * config/e-i386aout.c: New file.
4310
4311 * as.c (USE_EMULATIONS): Move to before print_version_id.
4312 (struct emulation): Add i386aout.
4313 (show_usage): Split text strings. Reformat -a text. Add --em
4314 help.
4315 Update copyright.
4316
4317 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
4318 (aout_format_ops): New.
4319 Update copyright.
4320
4321 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
4322 preprocessor conditional and add aout USE_EMULATIONS tests.
4323 (read_a_source_file): Don't pass error strings to printf as
4324 format arg.
4325 Update copyright.
4326
4327 * gasp.c (exp_get_abs): Don't pass error strings to printf as
4328 format arg.
4329 (do_data): Same here.
4330 (process_file): And here.
4331 Update copyright.
4332
4333 * symbols.c (colon): Rewrite "already defined" fatal message
4334 code for aout with USE_EMULATIONS.
4335 Update copyright.
4336
4337 * config/obj-aout.c (OBJ_HEADER): Define.
4338 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
3e87a760 4339 fields of sentinel.
4c63da97
AM
4340 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
4341 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
4342 forms here.
4343 (obj_aout_type): Expand S_SET_OTHER here too.
4344 (obj_read_begin_hook): Remove.
4345 (aout_pop_insert): New.
4346 (obj_aout_s_get_other): New.
4347 (obj_aout_s_get_desc): New.
4348 (aout_format_ops): New.
4349 Update copyright.
4350
4351 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
4352 gets aout_pseudo_table.
4353 (aout_pseudo_table): Declare.
4354 (obj_read_begin_hook): Define.
4355 Update copyright.
4356
4357 * config/obj-coff.c (obj_pseudo_table): Rename to
4358 coff_pseudo_table.
4359 (coff_pop_insert): Use coff_pseudo_table.
4360 (coff_sec_sym_ok_for_reloc): Remove.
4361 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
4362 and comment all zero entries and remove #if 0 code.
4363 Update copyright.
4364
4365 * config/obj-coff.h (obj_pop_insert): Define.
4366 (coff_pseudo_table): Declare.
4367 Update copyright.
4368
4369 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
4370 s_get_size, s_set_size. Comment all zero entries.
4371 Update copyright.
4372
4373 * config/obj-elf.c (elf_s_get_other): New function.
4374 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
4375 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
4376 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
4377 comment.
4378 (obj_elf_parse_section_letters): Don't pass error strings to
4379 printf as format arg.
4380 Update copyright.
4381
4382 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
4383 OBJ_MAYBE_ECOFF.
4384 (elf_s_get_other): Declare.
4385 (S_GET_OTHER) Define as elf_s_get_other if not already
4386 defined.
4387 (S_SET_OTHER): Only define when not already defined.
4388 (elf_obj_read_begin_hook): Declare.
4389 (obj_read_begin_hook): Define.
4390 (elf_obj_symbol_new_hook): Declare.
4391 (obj_symbol_new_hook): Define.
4392 Update copyright.
4393
4394 * config/obj-multi.h: Add copyright header and protect against
4395 multiple inclusion. Add * to all function pointers.
4396 (OBJ_HEADER): If defined, include it rather than other defines
4397 in this file.
4398 (obj_frob_file_after_relocs): Test for NULL.
4399 (obj_symbol_new_hook): Here too.
4400 (obj_sec_sym_ok_for_reloc): And here.
4401 (S_GET_OTHER): Define.
4402 (S_GET_DESC): Define.
4403 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
4404 (OBJ_MAYBE_ELF): Update comment.
4405
4406 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
4407 OBJ_AOUT preprocessor conditional and handle emulation by
4408 testing OUTPUT_FLAVOR.
4409 (i386_displacement): Here too.
4410 (md_section_align): Similarly here.
4411 (i386_target_format): Conditionally compile when more than one
4412 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
4413 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
4414 (i386_displacement): Here too.
4415 Update copyright.
4416
4417 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
4418 Define TARGET_FORMAT for aout only when not multi.
4419 Update copyright.
4420
4421 * config/te-multi.h: Delete file as it's identical to te-generic.h
4422
add0c677
AM
44232000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
4424
4425 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
4426 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
4427 LONG_MNEM_SUFFIX.
4428
4429 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
4430 DWORD_MNEM_SUFFIX.
4431 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
4432 comments.
4433
a19d8eb0
CP
44342000-01-13 Clinton Popetz <cpopetz@cygnus.com>
4435
66778679
RH
4436 * config/tc-mips.c (mips_do_align): New function.
4437 * config/tc-mips.h (md_do_align): Define.
a19d8eb0 4438
550262c4
NC
44392000-01-10 Philip Blundell <philb@gnu.org>
4440
4441 * doc/c-arm.texi (ARM Options): Fix typo.
3e87a760 4442 (ARM-Chars): Correct description of `#'. Mention that `;' is a
550262c4
NC
4443 line separator for Linux.
4444 * doc/as.texinfo (Comments): Mention the ARM.
4445
0decc840
NC
44462000-01-10 Philip Blundell <pb@futuretv.com>
4447
4448 * configure.in (arm*-*-conix*): New target.
4449 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
4450 armv*-*-linux-gnu.
4451 * configure: Regenerate.
4452
2e13b764
NC
44532000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
4454
4455 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
4456 (obj_elf_visibility): New function.
3e87a760 4457
2e13b764
NC
4458 * doc/as.texinfo (Visibility): New node: document visibility
4459 pseudo ops.
4460
2f6d2f85 4461For older changes see ChangeLog-9899
This page took 0.284403 seconds and 4 git commands to generate.