Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
352b0f4d
DB
1Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
2
3 * configure.in: Add fr30-*-*.
4 * config/tc-fr30.c: New file.
5 * Makefile.in: Regenerated.
6 * config.in: Regenerated.
7 * configure: Regenerated.
8 * doc/Makefile.in: Regenerated.
9 * po/gas.pot: Regenerated.
10
29e9c760
DE
11Mon Nov 2 20:54:16 1998 Doug Evans <devans@canuck.cygnus.com>
12
13 * config/tc-m32r.c (assemble_two_insns): Ensure both insns
14 are 16 bit insns.
15
668f52e0
ILT
16Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
17
18 * app.c (do_scrub_begin): Set characters above 127 to be symbol
19 characters.
20 (do_scrub_chars): Add some casts to unsigned char to avoid
21 unwanted sign extension.
22 * read.c (lex_type): Set characters about 127 to be symbol
23 characters.
24 * config/tc-i386.c (md_begin): Set identifier_chars and
25 operand_chars for values above 127.
26
c296a052
GN
27Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
28
29 * configure.in: detect cygwin* instead of cygwin32*
30 * configure: regenerate
31
7a6f6782
NC
32Tue Oct 27 13:18:40 1998 Nick Clifton <nickc@cygnus.com>
33
34 * listing.c: Add support for producing a listing from piped
35 input.
36
d3b42ce1
GRK
37Tue Oct 27 08:56:44 1998 Gavin Romig-Koch <gavin@cygnus.com>
38
39 * config/tc-mips.c (hilo_interlocks): Remove mips_3900.
40 (append_insn): Account for the tx39's multiply behavior.
41
a561cd98
MM
421998-10-26 Michael Meissner <meissner@cygnus.com>
43
44 * config/tc-m32r.c (assemble_two_insns): Rename assemble_two_insns
45 from assemble_parallel_insns. Add support for '->' to indicate
46 explicitly serializing the instructions.
47 (md_assemble): Ditto.
48
5aa001ff
CM
49Sat Oct 24 15:12:19 1998 Catherine Moore <clm@cygnus.com>
50
51 * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and
52 WEAK handling.
53
046381da
CM
54Thu Oct 22 12:41:33 1998 Catherine Moore <clm@cygnus.com>
55
56 * cgen.c (gas_cgen_md_apply_fix3): Revert last change.
57
993b4e8d
RU
58Thu Oct 22 10:03:15 1998 Ron Unrau <runrau@cygnus.com>
59
60 * config/tc-mips.c : support frame and regmask/fregmask when
61 MIPS_STABS_ELF is specified.
62
63Wed Oct 21 11;34:51 1998 Catherine Moore <clm@cygnus.com>
64
65 * config/tc-sh.c (sh_fix_adjustable): Only include if OBJ_ELF.
66 (md_apply_fix): Don't return 1 for VTABLE relocs.
67 * config/tc-sh.h (obj_fix_adjustable): Define only if OBJ_ELF.
68
7540e470
ILT
69Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
70
6e1acc62
ILT
71 * doc/c-i386.texi: Replace occurences of "opcode" with
72 "instruction mnemonic", "instruction", or "mnemonic" when
73 referring to the name of an instruction. Use "opcode" when
74 referring to the sequence of machine bytes.
75
76 * config/tc-i386.c (opcode_chars): Rename to mnemonic_chars.
77 (is_opcode_char): Rename to is_mnemonic_char.
78 (md_assemble and i386_operand): Correct error messages from
79 "opcode" to "instruction mnemonic"
80 Rename throughout opcode[] -> mnemonic[], opp -> mnem_p,
81 MAX_OPCODE_SIZE -> MAX_MNEM_SIZE,
82 DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX,
83 WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX,
84 BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX,
85 SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX
86 LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX
87
88 * config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX.
89
7540e470
ILT
90 * config/tc-i386.c (i386_operand): Check for garbage after
91 register name.
92
f5003e7d
ILT
93Tue Oct 20 10:49:42 1998 Ian Lance Taylor <ian@cygnus.com>
94
95 * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
96 for BFD_ASSEMBLER to only change value when COFF if TE_PE.
97
7e2014e0
CM
98Mon Oct 19 20:20:42 1998 Catherine Moore <clm@cygnus.com>
99
100 * config/tc-sh.h (obj_fix_adjustable): Define.
101 * config/tc-sh.c (sh_force_relocation): Handle VT relocs.
102 (md_apply_fix): Likewise.
103 (tc_gen_reloc): Likewise.
104 (sh_fix_adjustable): New.
105
1ab68803
DE
106Mon Oct 19 12:35:43 1998 Doug Evans <devans@seba.cygnus.com>
107
108 * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
109 * cgen.h (gas_cgen_finish_insn): Update prototype.
110 * config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P.
111 cgen_insn_t -> CGEN_INSN_INT.
112 (make_parallel): Update handling of CGEN_INT_INSN_P.
113 (assemble_parallel_insn): Ditto.
114 (target_make_parallel): New function.
115 (md_assemble): Use it.
116
5dbf2f20
CM
117Mon Oct 19 13:16:12 1998 Catherine Moore <clm@cygnus.com>
118
119 * config/tc-m32r.c (m32r_force_relocation): Fix typo.
120
0ef1fa08
JL
121Sun Oct 18 18:48:57 1998 Jeffrey A Law (law@cygnus.com)
122
123 * config/tc-sh.c (md_assemble): Make sure the entire opcode is
124 converted into lower case.
125
0f829c8e
CM
126Fri Oct 16 13:36:34 CDT Catherine Moore <clm@cygnus.com>
127
128 * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs.
129 (gas_cgen_tc_gen_reloc): Likewise.
130 * config/tc-m32r.h (obj_fix_adjustable): Define.
131 * config/tc-m32r.c (m32r_fix_adjustable): New.
132 (m32r_force_relocation): Handle VTABLE relocs.
133
134Wed Oct 14 11:33:38 1998 Nick Clifton <nickc@cygnus.com>
135
136 * doc/c-arm.texi (ARM Directives): Document .ltorn directive.
137
172fc86d
NC
138Mon Oct 12 11:07:21 1998 Nick Clifton <nickc@cygnus.com>
139
908b9136
NC
140 * config/tc-m32r.c (assemble_parallel_insn): Convert second opcode
141 to lower case before parsing.
142
172fc86d
NC
143 * config/tc-d30v.c (parallel_ok): Ignore conflicts when explicitly
144 parallel insns modift buts in the PSW as a side effect.
145
726a3946
NC
146Thu Oct 8 10:18:33 1998 Nick Clifton <nickc@cygnus.com>
147
148 * config/tc-d30v.c (find_format): Test for missing flag and
149 control registers.
633f5016
NC
150
151 (md_apply_fix3): Fix error messages to avoid
152 assumption about presence of a symbol.
153
154 (parallel_ok): Disallow parallel instructions that both modify the
155 same flag register.
156
157 (find_format): Generate a warning if an odd numbered register is
158 used as the first register in a mutli-register instruction.
726a3946 159
644a2654
NC
160Wed Oct 7 14:09:14 1998 Nick Clifton <nickc@cygnus.com>
161
162 * config/tc-d30v.c (md_apply_fix3): Do not assume that bad
163 relocations are always associated with a symbol.
164
1a113a4c
CM
165Tue Oct 6 09:31:15 1998 Catherine Moore <clm@cygnus.com>
166
167 * tc-sparc.h (TC_FORCE_RELOCATION): Define.
168 (elf32_sparc_force_relocation): Declare.
169 * tc-sparc.c (md_apply_fix3): Handle vtable relocs.
170 (tc_gen_reloc): Handle vtable relocs.
171 (elf32_sparc_force_relocation): New.
172
272cea14
CM
173Mon Oct 5 09:25:32 1998 Catherine Moore <clm@cygnsu.com>
174
175 * symbols.c (S_IS_FUNCTION): New.
176 * config/tc-v850.h (obj_fix_adjustable): Define.
177 (TC_FORCE_RELOCATION): Define.
178 (v850_force_relocation): Declare.
179 * config/tc-v850.c (tc_gen_reloc): Use offset instead
180 of fx_addnumber for VTABLE reloc addends.
181 (md_apply_fix3): Handle VTABLE relocs.
182 (v850_fix_adjustable): New.
183 (v850_force_relocation): New.
184
e963374a
JL
185Mon Oct 5 00:48:52 1998 Jeffrey A Law (law@cygnus.com)
186
187 * tc-hppa.c (fp_operand_format): Add some additional formats.
188 (pa_ip): Do not automatically promote into pa2.0 mode.
189 (pa_level): Handle ".level 2.0".
190start-sanitize-cygnus
191 (struct pa_it): New field "trunc".
192 (pa_parse_fp_cnv_format): New function.
193 (pa_parse_ftest_gfx_completer): New function.
194 (pa_ip): Handle various new letters for PA2.0 support.
195end-sanitize-cygnus
196
b3ef3658
ILT
197Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
198
199 * config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
200 * config/tc-i386.h (template.extension_opcode): Change to
201 unsigned int to allow full range of 8-bit opcode suffixes.
202 (None): Redefine as 0xffff.
203
204 From Jeff B Epler <jepler@usgs.gov>
205 * doc/c-i386.texi (i386-SIMD): New section.
206
f2bd8680
RH
207Thu Oct 1 15:37:54 1998 Richard Henderson <rth@cygnus.com>
208
209 * read.c (discard_rest_of_line): New function.
210 * read.h: Declare it.
211 * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.
212
6d48238d
NC
213Thu Oct 1 10:33:53 1998 Nick Clifton <nickc@cygnus.com>
214
215 * config/tc-d10v.c (find_symbol_matching_register): New function.
216 (find_opcode): Cope with the case where a register name matches
217 a symbol name.
218
b481c113
NC
219Wed Sep 30 10:52:32 1998 Nick Clifton <nickc@cygnus.com>
220
221 * config/tc-v850.c (md_pcrel_from): Rename to
222 v850_pcrel_from_section.
223 (v850_pcrel_from_section): Do not resolves symbols in other
224 sections.
225
226 * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
227
4c404e8d
NC
228Mon Sep 28 11:01:20 1998 Nick Clifton <nickc@cygnus.com>
229
230 * config/tc-d10v.c (find_opcode): Generate an error if a register
231 is supplied for an operand that should not be a register.
232
1af37f6b
NC
233Fri Sep 25 10:04:21 1998 Nick Clifton <nickc@cygnus.com>
234
235 * config/tc-d30v.c (write_2_short): But do allow delayed branch
236 instructions to have another instruction in the right bin.
237
a173c5db
NC
238Thu Sep 24 09:28:34 1998 Nick Clifton <nickc@cygnus.com>
239
240 * config/tc-d30v.c (write_2_short): Do not allow instructions in
241 the right container if the left container holds a branch
242 instruction.
243
21056c79
NC
244Wed Sep 23 10:54:29 1998 Nick Clifton <nickc@cygnus.com>
245
246 * config/tc-d30v.c (reg_name_search): Only warn if a name matches
247 both a register name and symbol name.
248 (find_format): Allow correct parsing of MVTSYS and MVFSYS insns.
249
973e995d
NC
250Tue Sep 22 17:49:16 1998 Nick Clifton <nickc@cygnus.com>
251
252 * config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU
253 execution unit class.
254
255 (reg_name_search): If a name matches a register and a symbol,
256 prefer the register.
257 (find_format): Disallow flag registers when a general purpose
258 register is required.
259 If a number is required, but a register has been given, check to
260 see if a symbol with the same name as the register exists, and if
261 so, use that symbol.
262
6c173d73
JW
263Tue Sep 22 16:40:52 1998 Jim Wilson <wilson@cygnus.com>
264
265 * config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.
266
aa7bf2a8
NC
267Tue Sep 22 15:44:21 1998 Nick Clifton <nickc@cygnus.com>
268
269 * config/tc-d30v.c (find_format): Do not accept flag registers as
270 general purpose registers.
271 (find_format): If an immediate value is expected at a given place
272 in a format, but a register name has been provided instead, check
273 to see if that register name matches the name of a predefined
274 symbol and if it does, then use the symbol instead.
275 (reg_name_search): If a register name matches a symbol name,
276 prefer the register name to the symbol name.
277
3c62de83
DE
278start-sanitize-sky
279Mon Sep 21 13:08:01 1998 Doug Evans <devans@canuck.cygnus.com>
280
281 * config/tc-dvp.c (md_begin): Set st_other field of mpgloc_sym.
282 (assemble_vif,create_vuoverlay_section,s_endmpg,s_vu): Ditto.
283
284end-sanitize-sky
e8dedcb3
NC
285Mon Sep 21 10:42:57 1998 Nick Clifton <nickc@cygnus.com>
286
287 * config/tc-m32r.c (m32r_do_align): After inserting NOPs, reset
288 the previous insn to empty.
289
4abb25ea
MM
2901998-09-20 Michael Meissner <meissner@cygnus.com>
291
292 * config/tc-ppc.c (md_apply_fix3): Do not break string into two
293 pieces, forcing the use of an ANSI compiler.
294
ba590022
ILT
295Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
296
297 * config/tc-m68k.h (TC_FORCE_RELOCATION): New macro. Force vtable
298 relocs.
299 * config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
300
3c62de83
DE
301start-sanitize-sky
302Tue Sep 15 17:04:43 EDT 1998 Jim Lemke <jlemke@cygnus.com>
303
304 * config/tc-dvp.c (parse_float): Strtol() will not convert
305 0xFfffFfff properly, it returns 0x7fffFfff.
306 Changed to use strtoul() which does work properly.
307
308end-sanitize-sky
ba590022
ILT
309Tue Sep 15 08:51:07 1998 Catherine Moore <clm@cygnus.com>
310
311 * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
312 assembler syntax.
313 (obj_elf_vtable_entry): Likewise.
314 * config/tc-arm.h: Define TC_FORCE_RELOCATION for OBJ_ELF.
315 * config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
316 (tc_gen_reloc): Likewise.
317 (arm_fix_adjustable): Likewise.
318 (elf32_arm_force_relocation): New.
319 (armelf_frob_symbol): Remove coff-style symbol support.
320
3c62de83
DE
321start-sanitize-sky
322Mon Sep 14 22:28:24 1998 Doug Evans <devans@canuck.cygnus.com>
323
324 * config/tc-dvp.c (parse_float): Support 0fNNN.
325 (tc_gen_reloc): Don't crash if given a pc-relative reloc for .word,
326 just signal an error.
327
328end-sanitize-sky
1891eb9f
RH
329Wed Sep 9 11:27:16 1998 Richard Henderson <rth@cygnus.com>
330
331 * config/tc-i386.c (i386_operand): Fix typo in last patch.
332
d22136dc
CM
333Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
334
335 * config/tc-arm.c (arm_adjust_symtab): Move #ifdef
336 OBJ_COFF so that routine is defined for a.out format.
337
de1d28b6
RH
338Tue Sep 8 15:56:19 1998 Richard Henderson <rth@cygnus.com>
339
340 * config/tc-i386.c (i386_operand): Detect non-segment registers
341 used as segment prefixes.
342
10926eb0
ILT
343Sat Sep 5 19:00:38 1998 Ian Lance Taylor <ian@cygnus.com>
344
5c275728
ILT
345 * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
346 optimize across FDE boundaries.
347
10926eb0
ILT
348 * config/obj-coff.c (obj_coff_section): Preserve any link once
349 flags when setting the section flags.
350
a03925a2
NC
351Fri Sep 4 17:07:14 1998 Nick Clifton <nickc@cygnus.com>
352
353 * config/tc-arm.h (obj_adjust_symtab): Fixed typo.
354 * config/tc-arm.c (armelf_adjust_symtab): Reformatted.
355
08a63c2c
RH
356Fri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
357
358 * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
359 to the host width.
360
2dabca81
RH
361Wed Sep 2 11:31:14 1998 Richard Henderson <rth@cygnus.com>
362
363 * frags.c (frag_grow): Include the size of the frag struct in the
364 obstack chunk size.
365
366 * subsegs.c (subseg_set_rest): Adjust the seginfo frchain start
367 if the new subseg comes before the old.
368
b9089139
RH
369Tue Sep 1 15:01:33 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
370
371 * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
372 to handle edge8 and edge16.
373
11e07ad0
RH
374Mon Aug 31 09:51:14 1998 Richard Henderson <rth@cygnus.com>
375
376 * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
377 before we clobber the symbol involved.
378
cdb3d5f9
CM
379Mon Aug 31 10:58:06 1998 Catherine Moore <clm@cygnus.com>
380
381 * config/tc-arm.c: Remove OBJ_ELF definitions for
382 S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. Only
383 use arm_adjust_symtab for OBJ_COFF.
384 (armelf_adjust_symtab): New Routine.
385 * config/tc-arm.h: Define obj_adjust_symtab to
386 armelf_adjust_symtab for OBJ_ELF.
387
a1624e3f
RH
388Sat Aug 29 22:18:51 1998 Richard Henderson <rth@cygnus.com>
389
390 * configure.in: Make all i386-elf targets use bfd_gas.
391 * config/tc-i386.c (tc_i386_force_relocation): New.
392 (tc_i386_fix_adjustable): Don't fix vtable relocs.
393 (md_apply_fix3): Likewise.
394 (tc_gen_reloc): Handle them.
395 * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
396 tc_i386_force_relocation.
397
080a50b6
NC
398Mon Aug 24 13:40:21 1998 Nick Clifton <nickc@cygnus.com>
399
400 * config/tc-arm.c (md_show_usage): Improve formatting of --help output.
401
108fb83e
NC
402Fri Aug 21 18:43:48 1998 Nick Clifton <nickc@cygnus.com>
403
404 * config/tc-d30v.c (md_assemble): Copy previous opcode over
405 current opcode after writing the first insturction of a reverse
406 sequential pair.
407
7b3e7df6
DE
408Fri Aug 21 07:30:35 1998 Doug Evans <devans@canuck.cygnus.com>
409
410 * read.h (generate_lineno_debug): Add prototype.
411 * read.c (generate_lineno_debug): Make non-static.
71ac5f50 412start-sanitize-sky
7b3e7df6 413 * config/tc-dvp.c (insert_mpg_marker): Call generate_lineno_debug.
71ac5f50 414end-sanitize-sky
7b3e7df6 415
61c49d66
ILT
416Thu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
417
418 * config/tc-i386.c (md_assemble): Only warn for address/data size
419 prefixes.
420
e93a31e4
NC
421Thu Aug 20 14:45:08 1998 Nick Clifton <nickc@cygnus.com>
422
423 * config/tc-arm.c (arm_fix_adjustable): Do not adjust relocations
424 against Thumb function names, as the linker needs this information.
603e9cf1 425
ff0f0112
VM
4261998-08-20 Vladimir N. Makarov <vmakarov@cygnus.com>
427
1929bdc7
VM
428 * expr.c (operand): Check also that there is no advance in operand
429 after atof_generic in order to decide "is it label 0f or floating
430 point number?".
bb89d84a 431
26be2423
NC
432Wed Aug 19 09:30:16 1998 Nick Clifton <nickc@cygnus.com>
433
434 * config/tc-m32r.c: Replace double dash prefix to M32R specific
435 command line options with a single dash.
436 * doc/c-m32r.texi: Replace double dash prefix with a single dash.
437
aae39e37
CM
438Tue Aug 18 11:59:43 1998 Catherine Moore <clm@cygnus.com>
439
440 * tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
441 * tc-arm.c (arm_fix_adjustable): New routine.
442
98b5b2d6
VM
4431998-08-13 Vladimir N. Makarov <vmakarov@cygnus.com>
444
445 * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
446 s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
447 demand_empty_rest_of_line before mri_comment_end.
448 (equals): Check garbage after expression before
449 mri_comment_end in MRI mode.
450
6b34ac5a
ILT
451Thu Aug 13 15:08:42 1998 Ian Lance Taylor <ian@cygnus.com>
452
453 * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
454 small immediate constant to use the constant itself rather than
455 always using 1.
456
f0236ec4
ILT
457Wed Aug 12 18:47:38 1998 Ian Lance Taylor <ian@cygnus.com>
458
459 * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
460 (pa_leave): Likewise.
461
78a1a4f7
ILT
462Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
463
464 * config/tc-i386.c (md_assemble): Emit a warning for stand-alone
465 prefixes.
466 (i386_operand): Fix an error message.
467
80522b7d
NC
468Tue Aug 11 14:44:32 1998 Nick Clifton <nickc@cygnus.com>
469
470 * doc/c-arm.texi (ARM Directives): Document .req directive.
471
472 * config/tc-arm.c (reg_required_here): Display erroneous string if
473 the register name could not be decoded.
474 Do not set inst.instruction if the sift is -1.
475
3d759c53
KR
476Mon Aug 10 15:39:56 1998 Richard Henderson <rth@cygnus.com>
477
478 * config/tc-alpha.c (tc_gen_reloc): Bias WEAK symbols just as
479 we do for EXTERN.
480
54af5591
NC
481Mon Aug 10 15:06:18 1998 Nick Clifton <nickc@cygnus.com>
482
483 * config/tc-d30v.c (d30v_align): Always perform alignment request,
484 even if it is belived to be unnecessary.
485
c2e9e83d
ILT
486Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
487
488 config/tc-i386.c (i386_operand): Size immediate constants by
489 suffix (erroneously removed as part of July 7 change).
490
f58983c1
CM
491Sun Aug 9 20:45:32 1998 Catherine Moore <clm@cygnus.com>
492
493 * config/obj-elf.h: Check for redefinition of obj_frob_symbol.
494 * config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
495 (armelf_frob_symbol): New Routine.
496 * config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF.
497
a582ac33
RH
498Sat Aug 8 15:21:28 1998 Richard Henderson <rth@cygnus.com>
499
500 * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
501
41129369
NC
502Wed Aug 5 15:54:14 1998 Nick Clifton <nickc@cygnus.com>
503
504 * config/tc-arm.c (md_begin): Set BFD private flags depending upon
505 command line switches passed to assembler.
506
faeff397
DE
507Mon Aug 3 14:02:52 1998 Doug Evans <devans@seba.cygnus.com>
508
509 * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
510 (gas_cgen_opcode_desc): Declare.
511 (gas_cgen_parse_operand): Declare.
512 (*): Prepend gas_ to gas specific fns to denote them as such.
513 All uses updated.
514 * cgen.c (gas_cgen_opcode_desc): New global
515 (gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
516 (queue_fixup): Renamed from cgen_queue_fixup.
517 (*): Prepend gas_ to gas specific fns to denote them as such.
518 All uses updated.
519 (gas_cgen_md_apply_fix3): Update call to insert_operand.
520 (gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
521 * config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
522 Open opcode table and initialize it.
523 (make_parallel): Use gas_cgen_opcode_desc.
524 (assemble_parallel_insn): Ditto. Remove use of CGEN_SYM.
525 (md_assemble): Ditto.
526
edc27ea5
RH
527Sat Aug 1 19:27:30 1998 Richard Henderson <rth@cygnus.com>
528
529 * as.h (debug_info_type): Add entries for unspecified and dwarf*.
530 * ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
531 as_where ourselves. Provide a stub for !ECOFF_DEBUGGING.
532 * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
533 Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
534 * read.c (generate_lineno_debug): Tidy ECOFF bits. Use
535 DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
536 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
537 (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
538 (INIT_STAB_SECTION): Likewise.
539 (OBJ_PROCESS_STAB): Likewise.
540
541 * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
542 (md_parse_option): Watch for them.
543 (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
544 (md_begin): Kill neverdef code.
545 (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
546 (s_alpha_prologue): Watch alpha_cur_ent_sym.
547 (s_alpha_coff_wrapper): New.
548 (md_pseudo_table): Trap all ECOFF pseudos.
549
4f528afa 550Fri Jul 31 16:45:54 1998 Ron Unrau <runrau@cygnus.com>
1667e4c2 551
4f528afa
RU
552 Start of changes to remove mdebug section from mips*-elf
553 Based on MIPS_STAB_ELF definition
554 * acconfig.h: undef if not configured
555 * config.in: undef if not configured
556 * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
557 * config/tc-mips.c (s_ent): set BSF_FUNCTION
558 * stabs.c (s_stab_generic): flush frag
1667e4c2 559
72d52fcd
CM
560Fri Jul 31 16:14:45 1998 Catherine Moore <clm@cygnus.com>
561
562 * configure.in: (arm-*-elf): Handle.
563 (thumb-*-elf): Handle.
564 * configure: Regenerate.
565 * read.c (stringer): Fix typo in comment.
566 * write.c (fixup_segment): Don't add symbol value to addend if
567 TC_ARM and OBJ_ELF.
568 * config/tc-arm.c (md_section_align): Don't align dwarf debug
569 sections.
570 (tc_gen_reloc): Always set the reloc addend to fixp->fx_offset
571 for OBJ_ELF.
572
e21cafde
FCE
573Thu Jul 30 21:38:43 1998 Frank Ch. Eigler <fche@cygnus.com>
574
575 * config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
576 (write_2_short): Emit warning if new flag is set.
577 (do_assemble): Set flags if left instruction is one of special
578 "right-instruction-killer" type.
579
580Tue Jun 28 18:12:28 1998 Stan Cox <scox@cygnus.com>
581
582 * config/tc-sparc.c (md_number_to_chars, cons_fix_new_sparc):
583 Always output words in debug_info section as big endian.
584 (sparc_target_format): Choose correct bfd target.
585 (md_apply_fix3): Rename BFD_RELOC_SPARC_32LE to BFD_RELOC_SPARC_REV32.
586
711eeac0
JL
587Tue Jul 28 11:01:21 1998 Jeffrey A Law (law@cygnus.com)
588
589 * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
590 to work with internationalization code. Issue an error when two
591 operands match that are not allowed to match.
592
f36af4ae
DE
593Mon Jul 27 16:25:58 1998 Doug Evans <devans@canuck.cygnus.com>
594
595 * configure.in (install_tooldir): Allow target to specify whether
596 it wants to be installed in $(tooldir)/bin.
597start-sanitize-sky
598 (dvp-*-*): Don't install in $(tooldir)/bin.
599end-sanitize-sky
600 * configure: Regenerate.
601 * Makefile.am (install-exec-local): Set install-exec-tooldir
602 dependency via configure.
603 * Makefile.in: Regenerate.
604
db36f77f
DE
605Fri Jul 24 19:58:59 1998 Doug Evans <devans@canuck.cygnus.com>
606
607 * Makefile.am (install-exec-local): Split into two ...
608 (install-exec-bindir,install-exec-tooldir): New rules.
609 * Makefile.in: Regenerate.
610
8b898eb1
ILT
611Fri Jul 24 16:31:49 1998 Ian Lance Taylor <ian@cygnus.com>
612
613 * Makefile.am (install-exec-local): Don't remove the file before
614 checking whether $(bindir) == $(tooldir)/bin. From Maciej
615 W. Rozycki <macro@ds2.pg.gda.pl>.
616 * Makefile.in: Rebuild.
617
8041db84
DE
618Fri Jul 24 09:13:46 1998 Doug Evans <devans@canuck.cygnus.com>
619
019b378a
DE
620 * cgen.c: Include libiberty.h.
621 (cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
622 (cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
623 * cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
624 (md_cgen_lookup_reloc)): Declare.
625 (md_cgen_record_fixup_exp): Declare.
626 * config/tc-m32r.h (md_pcrel_from_section): Declare.
627 (m32r_relax_frag): Declare.
628 (cgen_md_apply_fix3): Decls moved to cgen.h.
629 (cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
630 (m32r_cgen_record_fixup_exp): Delete decl.
631 * config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
632 (assemble_nop): Delete.
633 (expand_debug_syms): Delete unused `exp'.
634 (md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
635 Add default case for -Wall.
636 (m32r_cgen_record_fixup_exp): Add default case for -Wall.
637 (md_atof): Delete unused wordP.
638
639start-sanitize-sky
8041db84
DE
640 * config/tc-dvp.c (assemble_vif): Make label at start of overlay
641 a local label.
642 (create_vuoverlay_section): Put __start_ label at start of overlay
643 for gdb.
644
645end-sanitize-sky
41e9f56c
JL
646Thu Jul 23 13:19:50 1998 Jeffrey A Law (law@cygnus.com)
647
648 * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
649 value.
650
e4d77412
FCE
651start-sanitize-sky
652Wed Jul 22 17:39:28 1998 Frank Ch. Eigler <fche@cygnus.com>
653
654 * config/tc-dvp.c (parse_float): Accept 0xhex constants
655 also for VU LOI operand.
656
657end-sanitize-sky
1ca26844
ILT
658Wed Jul 22 14:36:56 1998 Ian Lance Taylor <ian@cygnus.com>
659
660 * doc/as.texinfo: Add documentation for .end, .exitm, .fail,
661 .ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
662 .print, .purgem, and .struct. Remove documentation for
663 .app-file.
664
b817384c
DE
665Tue Jul 21 16:50:52 1998 Doug Evans <devans@seba.cygnus.com>
666
667 * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
668 Update call to insert_operand.
669
670start-sanitize-am33
671Tue Jul 21 10:58:47 1998 Jeffrey A Law (law@cygnus.com)
672
673 * config/tc-mn10300.c (md_assemble): Handle autoincrement addressing
674 modes.
675
676end-sanitize-am33
99bf7e37
NC
677Fri Jul 17 11:42:20 1998 Nick Clifton <nickc@cygnus.com>
678
679 * config/tc-m32r.c (ms_show_usage): Formatting changes.
680
f5030612
ILT
681Wed Jul 15 15:38:28 1998 Ian Lance Taylor <ian@cygnus.com>
682
683 * config/tc-i386.c (md_assemble): Don't get confused by trailing
684 whitespace after a prefix operator.
685
1aaf4ccc
RH
686start-sanitize-beos
687Tue Jul 14 15:32:56 1998 Richard Henderson <rth@cygnus.com>
688
689 * configure.in (i386-*-beos{pe,elf,}*): Recognize.
690
691end-sanitize-beos
4a07363f
ILT
692Tue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com>
693
694 * config/tc-sparc.c (log2): New static function.
695 (s_reserve): Use log2 to convert alignment before calling
696 record_alignment.
697 (s_common): Use log2 to convert alignment before calling
698 record_alignment and frag_align.
699 (sparc_cons_align): Use log2.
700
04a92367
ILT
701Tue Jul 14 11:58:40 1998 Ian Lance Taylor <ian@cygnus.com>
702
e1aa5206
ILT
703 * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
704 (s_common): Likewise.
705
04a92367
ILT
706 * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct
707 initialization of waddr.
708 (sparc_elf_final_processing): Add default case to switch.
709
83d0817a
ILT
710Tue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
711
712 * doc/c-i386.texi: Fix a typo. Use the term 80-bit real rather
713 than temporary real.
714
67c66ecc
ILT
715Mon Jul 13 13:55:42 1998 Ian Lance Taylor <ian@cygnus.com>
716
d9348708
ILT
717 * write.c (subsegs_finish): Don't align the segments if there were
718 any errors.
719
f8bca458
ILT
720 * config/obj-coff.c (c_symbol_merge): Correct number of bytes when
721 copying aux information.
722
67c66ecc
ILT
723 * expr.c (make_expr_symbol): Catch attempts to turn an O_big
724 expression into a symbol.
725
f27bdecf
ILT
726Mon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
727
728 * config/tc-i386.c (mode_from_disp_size): Change arg and return
729 type to unsigned int.
730 (md_assemble): Change type used to store offsets from unsigned
731 long to long.
732 (i386_operand): Switch error check to only call RESTORE_END_STRING
733 once after parse_register.
734
0c407dd6
NC
735Fri Jul 10 16:00:04 1998 Nick Clifton <nickc@cygnus.com>
736
737 * config/tc-v850.c (md_show_usage): Changed format to match that
738 of gcc, ld, etc.
739
740 * as.c (show_usage): Changed format to match that of gcc, ld, etc.
741
4af4a84c
ILT
742Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
743
744 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
745 relocs.
746 (md_apply_fix_2): Force the symbol of the vtable reloc to be
747 weak.
748
035151d0
ILT
749Thu Jul 9 11:31:54 1998 Ian Lance Taylor <ian@cygnus.com>
750
751 * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
752 * doc/Makefile.in: Rebuild.
753
d7cf212b
JL
754Wed Jul 8 12:18:56 1998 Jeffrey A Law (law@cygnus.com)
755
756 * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
757 for %lo expressions.
758 (mips_ip, case 'u'): Move range check after code to mask
759 off bits in %hi/%lo expressions. Mask off high bits for
760 %lo expressions.
761
9107a66f
ILT
762Tue Jul 7 17:57:38 1998 Ian Lance Taylor <ian@cygnus.com>
763
764 * doc/Makefile.am (gasver.texi): New target.
765 (as.info, as.dvi): Depends upon gasver.texi.
766 * doc/as.texinfo: Include gasver.texi. Mention version number on
767 title page and in top node.
768 * doc/Makefile.in: Rebuild.
769
ad0d51e3
RH
770Tue Jul 7 11:42:16 1998 Richard Henderson <rth@cygnus.com>
771
772 * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
773 but not including the line containing the edict.
774 * listing.h (LISTING_EOF): New.
775 * input-scrub.c (input_scrub_next_buffer): Call it.
776
4edc93e9
ILT
777Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
778
5819d632
ILT
779 * config/tc-i386.c (i386_operand): Don't set the size of an
780 immediate address based solely on the suffix and the mode.
781
782 * config/tc-i386.c (md_assemble): Add assertion to make sure
783 overlap2 does not set Imm.
784
4edc93e9
ILT
785 * config/tc-i386.c (space_chars): Remove. The scrubber converts
786 sequences of whitespace to a single space.
787 (is_space_chars): Just compare with space.
788 (md_begin): Don't initialize space_chars.
789 (md_assemble): Just skip a single whitespace character.
790 (i386_operand): Rewrite base-index parsing to use new
791 parse_register, and to skip white space. Skip white space in a
792 number of other places too. Don't give error message if
793 parse_register fails.
794 (parse_register): Change reg_string parameter to be non-const.
795 Add end_op parameter. Skip white space after the `%', and return
796 end of register string. Give error message here rather than
797 caller.
798
4d315b86
ILT
799Fri Jul 3 15:34:34 1998 Ian Lance Taylor <ian@cygnus.com>
800
0378333b 801 Based on patch from Matt Semersky <matts@scd.hp.com>:
4d315b86
ILT
802 * expr.c (op_encoding): Make const.
803 (expr_set_precedence): New function.
804 (expr_begin): Don't set operator rankings, just call
805 expr_set_precedence.
806 * expr.h (expr_set_precedence): Declare.
807 * read.c (s_mri): Call expr_set_precedence.
808
20489f15
ILT
809Thu Jul 2 16:24:58 1998 Ian Lance Taylor <ian@cygnus.com>
810
811 * doc/as.texinfo (Statements): Remove paragraph discussing
812 continuing lines with a backslash. This hasn't worked for years,
813 if it ever did.
814
8e6950e3
ILT
815Thu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de>
816
817 * obj-vms.c: Add C++ support with ctors/dtors sections. Add weak
818 symbol definitions.
819 (Ctors_Symbols, Dtors_Symbols): New symbol chains.
820 (ps_CTORS, ps_DTORS): New section types.
821 (vms_fixup_xtors_section): New function
822 (Ctors_Psect, Dtors_Psect): Define.
823 (IS_GXX_XTOR): Define
824 (global_symbol_directory): Change check of gxx_bug_fixed to 0.
825 Filter static constructors/destructors and add to
826 Ctors_Symbols/Dtors_Symbols chain.
827 (vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
828 appropriate section.
829
830 * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
831 * makefile.vms: Merge vax/vms support.
832
7e656649
RH
833Wed Jul 1 20:06:20 1998 Richard Henderson <rth@cygnus.com>
834
835 * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
836 (elf_pseudo_table): Add them.
837 * config/tc-mips.c (mips_force_relocation): Force vtable relocs.
838 (md_apply_fix): Accept them.
839 (mips_fix_adjustable): Don't adjust them.
840 (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
841 * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
842 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
843 (tc_fix_adjustable): Don't adjust them.
844
7c269afb
DE
845Wed Jul 1 16:35:32 1998 Doug Evans <devans@seba.cygnus.com>
846
847 * Makefile.am (CGEN_CPU_PREFIX): New variable.
848 (cgen.o): Use it.
849 * Makefile.in: Regenerate.
850 * configure.in: AC_SUBST cgen_cpu_prefix.
851 * configure: Regenerate.
852
853Wed Jul 1 21:38:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
854
855 * config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
856 Changed all users of COND12_DELAY.
857
f88a2342
JL
858start-sanitize-am33
859Mon Jun 29 14:58:36 1998 Jeffrey A Law (law@cygnus.com)
860
861 * config/tc-mn10300.c (r_registers): Fix typo and add some missing
862 registers.
863
864end-sanitize-am33
b08a983c
GRK
865start-sanitize-branchbug4011
866Mon Jun 29 09:36:27 1998 Gavin Koch <gavin@cygnus.com>
867
868 * config/tc-mips.c (prev_insn_labels): New.
869 (mips_fix_4011_branch_bug): New.
870 (append_insn): Watch for and handle branchs with labels.
871 (mips_no_prev_insn): Initialize prev_insn_labels.
872 (md_longopts,md_parse_option): Add {no-}fix-4011-branch-bug option.
873
874end-sanitize-branchbug4011
3be26805
JL
875Fri Jun 26 11:21:11 1998 Jeffrey A Law (law@cygnus.com)
876
877 * config/tc-mn10300.c (set_arch_mach): New function.
878 (md_pseudo_table): Add pseudo-ops to set the current machine type.
879 (md_begin): Default to mn10300 mode.
880 (md_assemble): Only accept instructions for the core mn10300
881 chip and the active machine type.
882
35111bf8
ILT
883Wed Jun 24 19:06:04 1998 Ian Lance Taylor <ian@cygnus.com>
884
885 * subsegs.h (segment_info_type): Give the struct a name.
886 * config/tc-h8300.h (tc_reloc_mangle): Add prototype.
887 * config/tc-h8500.h (tc_reloc_mangle): Declare.
888 * config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
889 * config/tc-w65.h (tc_reloc_mangle): Declare.
890 * config/tc-z8k.h (tc_reloc_mangle): Declare.
891
9576a4d5
CM
892Wed Jun 24 13:45:00 1998 Catherine Moore <clm@cygnus.com>
893
894 * config/tc-v850.c (v850_comm): Restore old section
895 after common processing.
896
499ecd2f
ILT
897Wed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de>
898
899 * config/obj-vms.c (Create_VMS_Object_File): Force binary file.
900
5d626b5e
JL
901start-sanitize-am33
902Wed Jun 24 09:38:10 1998 Jeffrey A Law (law@cygnus.com)
903
904 * config/tc-mn10300.c (r_registers): Add a0-a3,d0-d3 and e0-e7
905 as synonyms for "rN" registers.
906 (xr_registers): Add mcrh, mcrl, mcvf, mdrq and sp as synonyms
907 for "xrN" registers.
908 (md_assemble): Fix typo computing the size of relocations.
909
910end-sanitize-am33
56a72c45
JW
911Tue Jun 23 17:47:31 1998 Jim Wilson <wilson@cygnus.com>
912
913 * config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
914 char with code that explicitly sign-extends.
915
7699bb0b 916Tue Jun 23 13:54:57 1998 Nick Clifton <nickc@cygnus.com>
e98d1a32
NC
917start-sanitize-v850e
918 * config/tc-v850.c (md_begin): Restore text section as the current
919 section after creating call table sections.
920end-sanitize-v850e
7699bb0b
NC
921 * config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly
922 code.
923
924 * config/obj-coff.c (c_symbol_merge): Replace complex expresion
925 with call to macro SYM_AUXINFO.
926
ff000c2b
ILT
927Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com>
928
929 * Makefile.am (install-exec-local): Don't let EXEEXT interfere
930 with the program transform name.
931 * Makefile.in: Rebuild.
932
aa3c8d2d
ILT
933Mon Jun 22 19:52:42 1998 Ian Lance Taylor <ian@cygnus.com>
934
935 * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary
936 information.
937
573916e3
JL
938start-sanitize-am33
939Mon Jun 22 13:45:19 1998 Jeffrey A Law (law@cygnus.com)
940
941 * config/tc-mn10300: Handle FMT_D10 instructions.
942
943end-sanitize-am33
bc7809ee
ILT
944Mon Jun 22 15:18:58 1998 Ian Lance Taylor <ian@cygnus.com>
945
946 * config/tc-i386.c (i386_operand): Be prepared for a space between
947 the open parenthesis and the start of the register operand,
948 because of the June 16 change.
949
25eafc5b
FCE
950start-sanitize-r5900
951Mon Jun 22 11:08:07 1998 Frank Ch. Eigler <fche@cygnus.com>
952
953 * config/tc-mips.c (mips_ip): Allow VU vi and vf registers
954 to be named with a `$' prefix. Likewise, allow CFC2/CTC2 to
955 refer to "$viNN" registers.
956
957end-sanitize-r5900
4d865f1b
ILT
958Sun Jun 21 21:27:03 1998 Ian Lance Taylor <ian@cygnus.com>
959
960 * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if
961 BFD_ASSEMBLER.
962
1d248b62
NC
963Sun Jun 21 12:26:36 1998 Nick Clifton <nickc@cygnus.com>
964
965 * config/tc-d30v.c (d30v_align): Always perform alignment request,
966 even if it is belived to be unnecessary.
967
f26a3299
JL
968start-sanitize-r5900
969Fri Jun 19 19:56:50 1998 Jeffrey A Law (law@cygnus.com)
970
971 * config/tc-mips.c (hilo_interlocks): Check mips_5900, not
972 mips_cpu == 5900.
973
974end-sanitize-r5900
68a3f9c5
JL
975start-sanitize-am33
976Fri Jun 19 16:49:56 1998 Jeffrey A Law (law@cygnus.com)
977
978 * config/tc-mn10300.c (md_assemble): Handle FMT_D8 and FMT_D9
979 instruction formats. Handle MN10300_OPERAND_24BIT modifier.
980 (mn10300_insert_operand): Likewise.
981 (mn10300_check_operand): Likewise.
982
983end-sanitize-am33
622b1860
ILT
984Fri Jun 19 13:57:06 1998 Ian Lance Taylor <ian@cygnus.com>
985
986 * write.c (adjust_reloc_syms): Never adjust relocs against weak
987 symbols.
988 * config/tc-mips.c (md_apply_fix): Adjust accordingly.
989
e7ffb037
JL
990Fri Jun 19 09:50:17 1998 Jeffrey A Law (law@cygnus.com)
991
992start-sanitize-am33
993 * config/tc-mn10300.c (r_registers): Add missing registers.
994 (xr_registers): New set of registers.
995 (xr_register_name): New function.
996 (md_assemble): Handle XRREG and PLUS operands. Tweak handling of
997 RREG operand insertion. Handle new D6 and D7 instruction formats.
998end-sanitize-am33
999 * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the
1000 shift amount for a repeated operand. The shift amount for the
1001 repeated copy comes from the size of the operand.
1002
daaab34a
JL
1003Fri Jun 19 00:44:19 1998 Jeffrey A Law (law@cygnus.com)
1004
1005 * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support.
1006
9bae4578
DE
1007start-sanitize-sky
1008Fri Jun 19 00:04:26 1998 Doug Evans <devans@seba.cygnus.com>
1009
1010 * config/tc-dvp.c (md_apply_fix3): Handle new relocs
1011 BFD_RELOC_MIPS_DVP_11_S4, BFD_RELOC_MIPS_DVP_U15_S3.
1012
1013end-sanitize-sky
82169ece
JL
1014start-sanitize-am33
1015Wed Jun 17 18:09:03 1998 Jeffrey A Law (law@cygnus.com)
1016
1017 * config/tc-mn10300.c (r_registers): New register table.
1018 (r_register_name): New function.
1019 (md_assemble): Handle new am33 operand types.
1020
1021end-sanitize-am33
31493cdf
ILT
1022Wed Jun 17 13:07:05 1998 Ian Lance Taylor <ian@cygnus.com>
1023
1024 * config/tc-mips.c (md_show_usage): Fix -mipsN usage.
1025
fe55a7e7
ILT
1026Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1027
1028 * app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
1029 characters in it as LEX_IS_SYMBOL_COMPONENT.
1030 * config/tc-i386.h (tc_symbol_chars): Define.
1031 (extra_symbol_chars): Declare.
1032 * config/tc-i386.c (extra_symbol_chars): Define.
1033 (comment_chars): Don't use '/' as comment start if TE_LINUX.
1034 (line_comment_chars): Set to '/' if TE_LINUX.
1035 * doc/c-i386.texi (i386-prefixes): Update.
1036 * doc/internals.texi (CPU backend): Document tc_symbol_chars.
1037
27a0ce88
TT
1038Fri Jun 12 13:36:54 1998 Tom Tromey <tromey@cygnus.com>
1039
1040 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
1041 ($(PACKAGE).pot): Unconditionally depend on POTFILES.
1042
79259a91
DE
1043start-sanitize-sky
1044Fri Jun 12 12:46:57 1998 Doug Evans <devans@canuck.cygnus.com>
1045
1046 * config/tc-dvp.c (create_vuoverlay_section): Don't set a non-zero
1047 section vma.
1048
1049end-sanitize-sky
9b8eef07
VM
10501998-06-12 Vladimir N. Makarov <vmakarov@cygnus.com>
1051
a85e84c5
VM
1052 * config/tc-d10v.c (md_apply_fix3): Checking displacement
1053 constraint in instructions REP & REPI.
9b8eef07 1054
4250a532
NC
1055Thu Jun 11 08:56:46 1998 Nick Clifton <nickc@cygnus.com>
1056
d32f7037
NC
1057 * config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8,
1058 BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages.
1059
671cdc7e
NC
1060 (check_range): If the operand is shifted, then shift the number
1061 before checking its range.
1062
e2a15d35
NC
1063 * write.c (adjust_reloc_syms): Add more checks for NULL pointers.
1064
4250a532
NC
1065 * config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special
1066 common sections.
1067
fb970279
NC
1068Wed Jun 10 17:26:35 1998 Nick Clifton <nickc@cygnus.com>
1069
1070 * config/tc-v850.c (v850_comm): Create special sections as needed.
1071
c2a5732b
VM
10721998-06-10 Vladimir N. Makarov <vmakarov@cygnus.com>
1073
1074 * config/tc-d10v.c (write_2_short): Addition of swapping
1075 instructions for sequential and reverse sequential order when
1076 given order is not possible.
1077
8b9286ec
DE
1078start-sanitize-sky
1079Tue Jun 9 12:20:44 1998 Doug Evans <devans@canuck.cygnus.com>
1080
1081 * config/tc-dvp.c (assemble_vu): Print better error message if
1082 lower insn is missing.
1083
1084end-sanitize-sky
9d0a6b00
ILT
1085Tue Jun 9 13:52:53 1998 Ian Lance Taylor <ian@cygnus.com>
1086
1087 * Makefile.am: Rebuild dependencies.
1088 (DEP_INCLUDES): Fix reference to intl build directory.
1089 * Makefile.in: Rebuild.
1090
284f02bb
ILT
1091Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1092
e03a9757
ILT
1093 * doc/c-i386.texi: Update 16 bit documentation.
1094
284f02bb
ILT
1095 * config/tc-i386.h: Change Data16 to Size16, Data32 to Size32,
1096 IgnoreDataSize to IgnoreSize as they are used for address size as
1097 well as data size.
1098 * config/tc-i386.c: Likewise. Add code to reject addr32/data32 in
1099 32-bit mode, similarly addr16/data16 and variants.
1100
7a0f469b
NC
1101Mon Jun 8 18:32:01 1998 Nick Clifton <nickc@cygnus.com>
1102
1103 * config/tc-d30v.c (md_assemble): Fix handling of reverse
1104 sequential word multiply instructions.
1105
1106 (do_assemble): Add extra command line argument, to allow mul32
1107 attribute to be preserved across parallel insns.
1108 (md_assemble): Insert NOPs between explicitly parallel insns which
1109 contain an 32 bit multiply and a 16 multiply.
1110
2dc7ca50
DE
1111start-sanitize-sky
1112Mon Jun 8 15:41:43 1998 Doug Evans <devans@canuck.cygnus.com>
1113
1114 * config/tc-dvp.c (dvp_relax_frag): Adjust target address by stretch.
1115
1116end-sanitize-sky
0351b70c
ILT
1117Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1118
1119 * config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
1120 likewise for REPE.
1121
1122 * config/tc-i386.c (reloc): Add braces.
1123
1124 * config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
1125 consistent with Intel naming.
1126 * config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't
1127 use bitfields in sib_byte.
1128 (modrm_byte): Don't use bitfields here either.
1129
1130 * config/tc-i386.c (current_templates): Add const.
1131 (parse_register): Add const to return, param, and char *s.
1132 (i386_operand): Add const to reg_entry *r.
1133 * config/tc-i386.h (templates): Add const to start, end.
1134
1135 Inspired by code for 16 bit gas support from Martynas Kunigelis
1136 <martynas@nm3.ktu.lt>:
1137 * config/tc-i386.c (md_assemble): Add full support for 16 bit
1138 modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
1139 (uses_mem_addrmode): Remove.
1140 (md_estimate_size_before_relax): Add support here too.
1141 (md_relax_table): Rewrite interface to md_relax for 16 bit
1142 support.
1143 (BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
1144 (opcode_suffix_to_type): Remove.
1145 (CODE16, SMALL, SMALL16, BIG, BIG16): Define.
1146 (SIZE_FROM_RELAX_STATE): Modify to suit above.
1147 (md_convert_frag): Likewise.
1148 (i386_operand): Add support for 16 bit base/index regs,
1149 immediates, and displacements. Remove some unnecessary casts, and
1150 localise end_of_operand_string, displacement_string_start,
1151 displacement_string_end variables. Add GCC_ASM_O_HACK.
1152 * config/tc-i386.h (NO_BASE_REGISTER_16): Define.
1153
1154 * config/tc-i386.c (prefix_hash): Remove.
1155 (md_begin): Rewrite without obstacks. Remove prefix hash table
1156 handling. Rewrite lexical table handling.
1157 (i386_print_statistics): Don't print prefix statistics.
1158 (md_assemble): Rewrite instruction parser so that line is not
1159 converted to lower case. Don't do a hash_find for prefixes,
1160 instead recognise them via opcode modifier.
1161 (expecting_operand, paren_not_balanced): Localise variables.
1162 * config/tc-i386.h (IsPrefix): Define.
1163 (prefix_entry): Remove.
1164
1165 * config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
1166 * config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
1167 '\\' in case where comment_chars contains '/'.
1168
1169 * config/tc-i386.c (MATCH): Ensure given operand and template
1170 match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid;
1171 you must write `ljmp *table(%ebx)'.
1172
1173 From H.J. Lu <hjl@gnu.org>:
1174 * config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
1175 as 0 ifndef BFD_ASSEMBLER.
1176 (md_assemble): Allow immediate operands without suffix or
1177 other reg operand to default in size to the current code size.
1178
3f59a763
CM
1179start-sanitize-v850e
1180Mon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com>
1181
1182 * config/tc-v850.c (md_begin): Restore creation of
1183 .call_table_text and .call_table_data sections.
1184
1185end-sanitize-v850e
dbf2a522
NC
1186Sat Jun 6 00:02:41 1998 Nick Clifton <nickc@cygnus.com>
1187
1188 * config/tc-d30v.c (md_assemble): Set execution type to unknown
1189 after emitting a word of noops.
1190
73a8be66
ILT
1191Fri Jun 5 23:27:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1192
1193 * config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2.
1194 (i386_operand): Simplify checks for valid base/index combinations.
1195 Disallow `in 4(%dx),%al'.
1196
1197 * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and
1198 index_reg const.
1199 (add_prefix): Change parameter from char to int.
1200
1201 * config/tc-i386.h (Ugh): Define opcode modifier.
1202 * config/tc-i386.c (md_assemble): Print warnings for Ugh insns.
1203
1204 * config/tc-i386.c (md_assemble): Rewrite MATCH and
1205 CONSISTENT_REGISTER_MATCH macros to check register types more
1206 thoroughly. Check for illegal suffix/operand combinations
1207 when matching insns with operands. Handle new `s' suffix, and
1208 associated FloatMF opcode modifier for float insns with memory
1209 operands.
1210 * config/tc-i386.h (FloatMF): Define new opcode modifier.
1211 (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise.
1212 (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define.
1213 * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to
1214 DATA_PREFIX_OPCODE throughout.
1215
1216 * config/tc-i386.c (REGISTER_WARNINGS): Define.
1217 (md_assemble): Rewrite suffix/register operand checking code to be
1218 more thorough. Remove Abs8,16,32. Change occurrences of Mem to
1219 AnyMem, the better to grep.
1220 (pi): Remove Abs.
1221 (i386_operand): Don't set Mem bits in i.types[this_operand] when
1222 given a memory operand. Don't set Abs bits either.
1223 (type_names): Remove Mem*, Abs*.
1224 * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't
1225 define opcode_modifiers as these cases are handled by Disp8,
1226 Disp16, Disp32 and suffix checks.
1227 (COMES_IN_BOTH_DIRECTIONS): Remove.
1228 (FloatR): Define. It's OK to share the bit with ReverseRegRegmem.
1229
1230 * config/tc-i386.c (md_assemble): Don't emit operand size prefix
1231 if IgnoreDataSize modifier given. Remove ShortformW modifier
1232 test. Add test for ShortForm in W base_opcode modification.
1233 Merge Seg2ShortForm and Seg3ShortForm code.
1234 * config/tc-i386.h (ShortFormW): Remove.
1235 (IgnoreDataSize): Define.
1236
bc67c823
NC
1237Fri Jun 5 10:50:53 1998 Nick Clifton <nickc@cygnus.com>
1238
1239 * config/tc-d30v.c (md_assemble): Store previous segment state
1240 with previous instruction.
1241
aa56747a 1242Wed Jun 3 18:21:56 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
ec1e6bb8
ILT
1243
1244 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define.
1245 (ebp, esp): Remove static variables.
1246 (MATCH): Remove test for InOutPortReg.
1247 (i386_operand): Properly handle InOutPortReg here instead.
1248 Disallows `inb (%dx,2)', `inb %es:(%dx)' and `mov (%dx),%ax'
1249 (md_assemble): Simplify and correct modrm and sib generation.
1250 (i386_operand): Add warning for scale without index.
1251 Rewrite checks for valid base/index combinations.
1252
aa56747a
ILT
1253 * config/tc-i386.c (END_STRING_AND_SAVE): Protect arguments of
1254 macros and enclose in do while(0).
1255 (RESTORE_END_STRING): Likewise.
1256 (md_assemble): Add one to printed operand number so we start
1257 from 1 not 0. Add some more gettext invocations.
1258 (i386_operand): Fix `%%s' -> `%%%s'. Inc printed operand
1259 number here too.
1260
1261 * config/tc-i386.h (WAIT_PREFIX, LOCKREP_PREFIX, ADDR_PREFIX,
1262 DATA_PREFIX, SEG_PREFIX): Define.
1263 * config/tc-i386.c (struct _i386_insn): Remove wait_prefix field.
1264 (check_prefix): Remove function.
1265 (add_prefix): New function. Add prefix to i.prefix as well as
1266 doing checks.
1267 (md_assemble): Changes for add_prefix. Remove hack for wait
1268 prefix, instead always output prefixes in fixed order. Test
1269 for jcxz/loop when selecting between word & dword operations,
1270 and add address size prefix rather than operand size prefix.
1271 Remove operand -> address size hack when emitting jcxz/loop.
1272 (i386_operand): Remove O_Absent check as it's done in expr.
1273
921d7728
ILT
1274Wed Jun 3 15:09:10 1998 Ian Lance Taylor <ian@cygnus.com>
1275
1276 * configure.in: Recognize m5200 as a cpu_type of m68k.
1277 * aclocal.m4: Rebuild with current libtool.
1278 * configure: Rebuild.
1279
5b3fc700
ILT
1280Wed Jun 3 14:11:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1281
1282 * config/tc-m68k.c (md_estimate_size_before_relax): Add more calls
1283 to relaxable_symbol to prevent references to external symbol from
1284 being relaxed.
1285
1286Wed Jun 3 14:10:36 1998 Ian Lance Taylor <ian@cygnus.com>
1287
1288 * config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all
1289 symbols are relaxable.
1290
7f7d7bc0
DE
1291start-sanitize-sky
1292Wed Jun 3 10:26:04 1998 Doug Evans <devans@canuck.cygnus.com>
1293
1294 * config/tc-dvp.c (md_begin): Change alignment of .DVP.ovlytab to 4.
1295 (create_vuoverlay_section): Entries are 4 bytes not 8.
1296
1297end-sanitize-sky
1e3fba9b
CM
1298Wed Jun 3 09:16:00 1998 Catherine Moore <clm@cygnus.com>
1299
1300 * config/tc-v850.c (md_begin): Don't create special
1301 sections by default.
1302
edc8f76e
JL
1303Tue Jun 2 14:52:56 1998 Jeffrey A Law (law@cygnus.com)
1304
1305 * config/tc-mips.c (macro): For div and udiv, close the
1306 reorder block as soon as possible.
1307
936433a9
ILT
1308Tue Jun 2 15:36:13 1998 Ian Lance Taylor <ian@cygnus.com>
1309
1310 From Matt Semersky <matts@scd.hp.com>:
1311 * macro.c (macro_mri_mode): New function.
1312 * macro.h (macro_mri_mode): Declare.
1313 * read.c (s_mri): Call macro_mri_mode when switching in and out of
1314 MRI mode.
1315
d05d27a9
ILT
1316Tue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de>
1317
1318 * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in
1319 OBJ_EVAX case.
1320
f9997132
ILT
1321 * config/tc-alpha.c (s_alpha_comm): Defer restoring character
1322 until after xstrdup in OBJ_EVAX case.
1323
dfe2482a
ILT
1324Tue Jun 2 13:11:13 1998 Pat Rankin <rankin@eql.caltech.edu>
1325
1326 * config/tc-vax.c (md_create_short_jump): Fix off by two bug in
1327 offset calculation. Also, use VAX_BRW from vax-inst.h instead
1328 of hardcoded magic number.
1329 (md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros.
1330
83e20701
DE
1331Tue Jun 2 09:25:34 1998 Doug Evans <devans@canuck.cygnus.com>
1332
c68b56ef
DE
1333 * read.c (do_s_func): New function.
1334 (s_func): Call it.
1335 * read.h (do_s_func): Add prototype.
1336start-sanitize-sky
1337 * config/tc-dvp.c (md_pseudo_table): Add .func/.endfunc.
1338 (s_dvp_func): New function.
1339end-sanitize-sky
83e20701 1340
be294de6
JL
1341start-sanitize-r5900
1342Mon Jun 1 17:04:56 1998 Jeffrey A Law (law@cygnus.com)
1343
1344 * config/tc-mips.c (hilo_interlocks): The r5900 has HILO interlocks.
1345
1346end-sanitize-r5900
27f6715d
DE
1347Mon Jun 1 12:47:30 1998 Doug Evans <devans@canuck.cygnus.com>
1348
1349 * config/tc-m32r.c (m32r_do_align): Only fill code sections with
1350 nops if fill pattern not specified.
1351
8b398c53
ILT
1352Mon Jun 1 14:08:35 1998 Ian Lance Taylor <ian@cygnus.com>
1353
1354 From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
1355 * config/te-go32.h (TE_GO32): Define.
1356 * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.
1357
c3b51879
DE
1358Sun May 31 15:43:06 1998 Doug Evans <devans@canuck.cygnus.com>
1359
082a41fc
DE
1360 Implement .func/.endfunc pseudo-ops.
1361 * read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare.
1362 (s_func): Declare.
1363 * read.c (potable): Add .func,.endfunc.
1364 (s_func): New function.
1365 * stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New
1366 functions.
1367 (in_doc_func_p,current_function_label): New static globals.
1368 (stabs_generate_asm_lineno): Emit function relative stabs if in .func.
1369
1370start-sanitize-sky
c3b51879
DE
1371 * config/tc-dvp.h (ELF_TC_SPECIAL_SECTIONS): Delete .vuoverlay_table.
1372 (VUOVERLAY_SECTION_PREFIX,VUOVERLAY_TABLE_SECTION_NAME): Delete.
1373 * config/tc-dvp.c (vuoverlay_string_section): New static global.
1374 (md_begin): Create overlay string section.
1375 (create_vuoverlay_section): Put section name in overlay string section.
dbef2779
DE
1376 Put string's offset in overlay table entry. Set SEC_CODE flag for
1377 overlay sections.
c3b51879
DE
1378
1379end-sanitize-sky
04e6b63b
ILT
1380Fri May 29 18:13:12 1998 Ian Lance Taylor <ian@cygnus.com>
1381
1382 * config/tc-a29k.h (WORKING_DOT_WORD): Define.
1383 * config/tc-alpha.h (WORKING_DOT_WORD): Define.
1384 * config/tc-arm.h (WORKING_DOT_WORD): Define.
1385 * config/tc-h8300.h (WORKING_DOT_WORD): Define.
1386 * config/tc-h8500.h (WORKING_DOT_WORD): Define.
1387 * config/tc-hppa.h (WORKING_DOT_WORD): Define.
1388 * config/tc-i860.h (WORKING_DOT_WORD): Define.
1389 * config/tc-i960.h (WORKING_DOT_WORD): Define.
1390 * config/tc-tic30.h (WORKING_DOT_WORD): Define.
1391 * config/tc-w65.h (WORKING_DOT_WORD): Define.
1392 * config/tc-z8k.h (WORKING_DOT_WORD): Define.
1393 * config/tc-a29k.c: Don't define md_short_jump_size,
1394 md_long_jump_size, md_create_short_jump or md_create_long_jump.
1395 * config/tc-alpha.c: Likewise.
1396 * config/tc-alpha.h: Likewise.
1397 * config/tc-arm.c: Likewise.
1398 * config/tc-h8300.c: Likewise.
1399 * config/tc-h8500.c: Likewise.
1400 * config/tc-hppa.c: Likewise.
1401 * config/tc-i860.c: Likewise.
1402 * config/tc-i960.c: Likewise.
1403 * config/tc-ppc.c: Likewise.
1404 * config/tc-sh.c: Likewise.
1405 * config/tc-sparc.h: Likewise.
1406 * config/tc-tic30.c: Likewise.
1407 * config/tc-w65.c: Likewise.
1408 * config/tc-z8k.c: Likewise.
1409
1a20177a
ILT
1410Fri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu>
1411
1412 * config/tc-vax.c (_): Delete this macro used for placeholder
1413 values in vax_operand_width_size; it conflicts with the _() macro
1414 used for internationalization.
1415
dcb76edb
ILT
1416Fri May 29 13:46:07 1998 Ian Lance Taylor <ian@cygnus.com>
1417
ca16ec5c
ILT
1418 * symbols.c (symbol_find_base): Fix case insensitive symbol name
1419 code. From Chris Moller <moller@bops.com>.
1420
4ea49053
ILT
1421 Based on patch from Klaus Kaempf <kkaempf@progis.de>:
1422 * struc-symbol.h (struct broken_word): Add seg and subseg fields.
1423 * read.c (emit_expr): Initialize seg and subseg fields of a new
1424 broken word.
1425 * write.c (write_object_file): Switch to the appropriate segment
1426 and subsegment when processing a broken word.
1427
dcb76edb
ILT
1428 * config/tc-m68k.c (mri_assemble): New static function.
1429 (build_mri_control_operand): Call mri_assemble rather than
1430 md_assemble.
1431 (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
1432 (s_mri_endf, s_mri_endw): Likewise.
1433
1554baf3
DE
1434start-sanitize-sky
1435Thu May 28 16:23:08 1998 Doug Evans <devans@canuck.cygnus.com>
1436
1437 * config/tc-dvp.h (ELF_TC_SPECIAL_SECTIONS): Add .vuoverlay_table.
1438 (dvp_frob_file): Declare.
1439 (tc_frob_file): Define.
1440 (VUOVERLAY_SECTION_PREFIX,VUOVERLAY_TABLE_SECTION_NAME): New macros.
1441 * config/tc-dvp.c (VUOVERLAY_START_PREFIX): New macro.
1442 (vuoverlay_section_name,create_vuoverlay_section): New functions.
1443 (vuoverlay_section,vuoverlay_table_section): New static globals.
1444 (ovlysym_table): New static global.
1445 (md_begin): Create .vuoverlay_table section.
1446 (assemble_vif): Call create_vuoverlay_section for each mpg.
1447 (dvp_frob_label): Record vu labels in ovlysym_table for later
1448 movement from absolute section to their overlay section.
1449 (dvp_frob_file): New function.
1450 (md_apply_fix3): For 8/16/32/64 bit relocs, only process if fx_done.
1451
1452end-sanitize-sky
8a9c1481
ILT
1453Wed May 27 11:16:25 1998 Ian Lance Taylor <ian@cygnus.com>
1454
899c697b
DE
1455 * read.c (s_org): Call md_flush_pending_output if it is defined.
1456
8a9c1481
ILT
1457 * config/tc-sparc.c (md_show_usage): Add \n\ to new string.
1458
fc23c14e
SC
1459Tue May 26 19:27:52 1998 Stan Cox <scox@equinox.cygnus.com>
1460
1461 * config/tc-sparc.c (OPTION_LITTLE_ENDIAN_DATA): New.
1462 (md_parse_option): Add for same.
1463 (sparc_md_end): Set bfd_mach_sparc_sparclite_le.
1464 (md_apply_fix3, tc_gen_reloc): Allow BFD_RELOC_SPARC_32LE.
1465 (cons_fix_new_sparc): Added to create BFD_RELOC_SPARC_32LE.
1466
1467 * config/tc-sparc.h (cons_fix_new_sparc): Added.
1468
899c697b
DE
1469start-sanitize-sky
1470Fri May 22 11:47:01 1998 Doug Evans <devans@canuck.cygnus.com>
1471
1472 * config/tc-dvp.c (assemble_one_insn): Parse suffix operands
1473 even when missing in input string.
1474
1475end-sanitize-sky
9c92d370
NC
1476Thu May 21 15:02:41 1998 Nick Clifton <nickc@cygnus.com>
1477
1478 * config/tc-arm.c (find_real_start): Relax definition of local
1479 labels.
1480
5519850d
NC
1481Tue May 19 16:59:44 1998 Nick Clifton <nickc@cygnus.com>
1482
1483 * config/tc-d30v.c (d30v_align): Apply address adjustment to all
1484 symbols at the given address, not just the last one specified.
1485
7ccd2d11
CM
1486Tue May 19 08:25:19 1998 Catherine Moore <clm@cygnus.com>
1487
1488 * config/tc-sparc.c (sparc_handle_align): Use number_to_chars_bigendian
1489 or number_to_chars_littleendian to write data.
1490
59bb547b
NC
1491Mon May 18 17:09:30 1998 Nick Clifton <nickc@cygnus.com>
1492
1493 * config/tc-v850.c (md_assemble): Remove artificially created
1494 register name symbols.
1495
93624d0b
DE
1496Mon May 18 13:47:06 1998 Doug Evans <devans@canuck.cygnus.com>
1497
1498 * write.c (fixup_segment): Change "segment" to "section" in
1499 error message.
1500
e13d507e
MM
1501Mon May 18 16:55:40 1998 Michael Meissner <meissner@cygnus.com>
1502
1503 * write.c (fixup_segment): Change sym1-sym2 message again.
1504
d9c2c0c5 1505start-sanitize-r5900
1190b223
JL
1506Mon May 18 11:49:04 1998 Jeffrey A Law (law@cygnus.com)
1507
1508 * config/tc-mips.c (validate_mips_insn): Handle ';' opcode completer.
1509 (mips_ip): Likewise.
1510
d9c2c0c5
FCE
1511Mon May 18 12:37:38 1998 Frank Ch. Eigler <fche@cygnus.com>
1512
1513 * config/tc-mips.c (macro): For R5900, use "B" operand format for
1514 "break" instructions generated in macro (div etc.) instructions.
1515
1516end-sanitize-r5900
99fcd8a0
MM
1517Mon May 18 09:31:43 1998 Michael Meissner <meissner@cygnus.com>
1518
1519 * write.c (fixup_segment): Improve error message for sym1-sym2
1520 errors when sym1 is in a different segment from sym2.
1521
95d33c13
DE
1522Wed May 13 10:16:37 1998 Doug Evans <devans@canuck.cygnus.com>
1523
7c629878
DE
1524 * config/tc-m32r.c (warn_unmatched_high): New static local.
1525 (OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
1526 (OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
1527 (md_longopts): Recognize --{no-,}warn-unmatched-high.
1528 (md_parse_option): Likewise.
1529 (md_show_usage): Likewise.
1530 (m32r_frob_file): Likewise.
1531
95d33c13
DE
1532 * read.c (generate_file_debug,generate_lineno_debug): New functions.
1533 (read_a_source_file): Call them.
1534 * read.h (stabs_generate_asm_file): Declare.
1535 * stabs.c (stabs_generate_asm_file): New function.
1536 (generate_asm_file): New function.
1537 (stabs_generate_asm_lineno): Move file name handling into
1538 generate_asm_file.
1539
7d515759
RH
1540Tue May 12 12:03:44 1998 Richard Henderson <rth@cygnus.com>
1541
1542 * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
1543 (d30v_current_align, d30v_current_align_seg): New variables.
1544 (d30v_last_label): New variable.
1545 (d30v_align, s_d30v_align, s_d30v_text): New functions.
1546 (s_d30v_data, s_d30v_section): Likewise.
1547 (md_pseudo_table): Call them.
1548 (md_begin): Initialize d30v_current_align_seg.
1549 (md_assemble): Call d30v_align when needed by known current alignment.
1550 (d30v_frob_label, d30v_cons_align): New functions.
1551 * config/tc-d30v.h (md_do_align): Remove.
1552 (tc_frob_label): Call d30v_frob_label.
1553 (md_cons_align): New.
1554
ab26b049
RH
1555 * config/tc-d30v.c (find_format): Convert complex expressions to
1556 expression symbols before processing. Clean up code formatting.
1557
cb74aaa5
DE
1558start-sanitize-sky
1559Mon May 11 12:48:33 1998 Doug Evans <devans@canuck.cygnus.com>
1560
1561 * config/tc-dvp.c (md_begin): Set type of output file to mips:r5900.
1562
1563end-sanitize-sky
c8f90c73
JL
1564Sun May 10 22:35:02 1998 Jeffrey A Law (law@cygnus.com)
1565
1566 * po/Make-in (install-info): New target.
1567
d41e1fba
JL
1568Thu May 7 15:49:07 1998 Jeffrey A Law (law@cygnus.com)
1569
1570 * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
1571 instructions.
1572 * config/tc-mn10300.c (md_assemble): Likewise.
1573
f19f301d
DE
1574Thu May 7 11:47:22 1998 Doug Evans <devans@canuck.cygnus.com>
1575
d67094c6
DE
1576 * Makefile.am: Update with `make dep-am'.
1577 (HFILES): Add cgen.h.
1578 (cgen.o): Depend on cgen.h.
1579 * Makefile.in: Regenerate.
1580
f19f301d
DE
1581 * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.
1582
82df8834
ILT
1583Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
1584
1585 * gasp.c (grab_label): Permit a label to be a preprocessor
1586 variable by permitting a label to start with a backslash.
1587
a5c3c53c
FCE
1588Thu May 7 12:50:33 1998 Frank Ch. Eigler <fche@cygnus.com>
1589
1590 * config/tc-mips.c (validate_mips_insn): Removed hack
1591 for previously inaccessible bitfields in some INSN_TRAP
1592 instructions.
1593
40f0c904
FCE
1594Thu May 7 11:13:00 1998 Frank Ch. Eigler <fche@cygnus.com>
1595
1596 * config/tc-d30v.c (do_assemble): Abort with error message
1597 if opcode operands do not match.
1598
40f0c904
FCE
1599Thu May 7 09:36:06 1998 Frank Ch. Eigler <fche@cygnus.com>
1600
1601 * config/tc-mips.c (macro_build, validate_mips_insn): Implement
1602 'q' operand format for 20-bit "break"/"sdbbp" instructions.
1603 (mips_ip): Truncate overflowed "break" 'c' operand. Implement
1604 similar new 'q' operand.
1605
b70d5374
MM
1606Thu May 7 07:47:14 1998 Michael Meissner <meissner@cygnus.com>
1607
1608 * cgen.c (cgen_asm_finish_insn): Fix typo.
1609
defc70bf
DE
1610Thu May 7 02:19:14 1998 Doug Evans <devans@charmed.cygnus.com>
1611
1612 * cgen.h: New file.
1613 * cgen.c: Include it.
1614 (MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
1615 (cgen_asm_finish_insn): Result is now void. New arg `result'.
1616 All callers updated.
1617 * config/tc-m32r.c: Include cgen.h.
1618 (m23r_insn): New members num_fixups,fixups.
1619start-sanitize-m32rx
1620 (assemble_parallel_insn): Initialize debug_sym_link for each insn.
1621 (md_assemble): Simplify code to pack two insns in parallel.
1622 When swapping two insns, update their fixups.
1623end-sanitize-m32rx
1624
2ac0ca44
DE
1625start-sanitize-sky
1626Wed May 6 16:26:57 1998 Doug Evans <devans@canuck.cygnus.com>
1627
1628 * config/tc-dvp.c: Delete inclusion of "sysdep.h".
1629
1630end-sanitize-sky
8be4960f
JL
1631Wed May 6 16:29:19 1998 Jeffrey A Law (law@cygnus.com)
1632
1633 * config/tc-hppa.c (md_apply_fix): Slightly rework some code
1634 to avoid compiler warning.
1635
21e2eeaa
ILT
1636Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
1637
10779648
ILT
1638 * makefile.vms: Run dec c with /nodebug. Pass CC value when
1639 calling make.
1640
21e2eeaa
ILT
1641 * makefile.vms (OBJS): Add ehopt.obj
1642
6a1421c6
ILT
1643Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de>
1644
1645 * doc/c-vax.texi: Correct and extend vax/vms documentation.
1646
daaef8f8
RH
1647Wed May 6 11:51:51 1998 Richard Henderson <rth@cygnus.com>
1648
1649 * config/tc-d30v.c (do_assemble): Accept a new parameter requesting
1650 a short format insn.
1651 (md_assemble): Set it for explicitly packed insns.
40f0c904 1652
daaef8f8
RH
1653Tue May 5 13:23:13 1998 Nick Clifton <nickc@cygnus.com>
1654
1655 * config/obj-coff.c (c_symbol_merge): Do not take address of
1656 native fields when performing the memcpy.
1657
6ef925e8
GRK
1658Tue May 5 13:10:41 1998 Gavin Koch <gavin@cygnus.com>
1659
1660 * config/tc-mips.c (macro,macro2): Implement
1661 M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
1662
c8f28d29
ILT
1663Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1664
1665 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
1666 relocations against globally visible symbols.
1667 * config/tc-m68k.c (relaxable_symbol): New macro.
1668 (m68k_ip, md_estimate_size_before_relax): Use it.
1669 (tc_m68k_fix_adjustable): Also handle weak symbols.
1670
3ccd41ae
ILT
1671Mon May 4 16:12:23 1998 Ian Lance Taylor <ian@cygnus.com>
1672
f3d491b1
ILT
1673 * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
1674 references to externally visible symbols.
1675 * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
1676 values in twice for a PC relative reloc if the symbol is
1677 externally defined.
1678
3ccd41ae
ILT
1679 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
1680 don't adjust a PC relative reloc against an externally visible
1681 symbol.
1682 * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
1683 for a PC relative fixup against an externally visible defined
1684 symbol, arrange to store object file and addend values as though
1685 the symbol were not defined.
1686 (tc_gen_reloc): Likewise.
1687
7f77acfd
FF
1688Thu Apr 30 13:09:39 1998 Fred Fish <fnf@ninemoons.com>
1689
1690 * read.c (sizeof_leb128): Referenced externally by write.c so
1691 don't inline.
1692
5501e8ba
MM
1693Wed Apr 29 15:45:57 1998 Michael Meissner <meissner@cygnus.com>
1694
1695 * config/tc-m32r.c ({,expand_}debug_sym): New functions to record
1696 and expand a 'debug' symbol associated with the next instruction
1697 that does not cause a short instruction to be filled with a NOP.
1698 (md_pseudo_table): Add support for .debugsym.
1699 (assemble_parallel_insn): Add calls to expand_debug_sym as
1700 appropriate.
1701 (md_assemble): Ditto.
1702
2614063d
TT
1703Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com>
1704
1705 * as.c (main): Conditionally call setlocale.
1706 * gasp.c (main): Likewise.
1707 * asintl.h: Include <locale.h> if HAVE_LOCALE_H.
1708 (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
1709
3d7def9f
FCE
1710Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com>
1711
1712 * config/tc-d30v.c (md_show_usage): Correct gettext typo.
1713
c0fde101
ILT
1714Tue Apr 28 12:16:30 1998 Ian Lance Taylor <ian@cygnus.com>
1715
1716 * config/tc-hppa.c: Change all calls to bzero to use memset.
1717 (pa_ip): Add cast to avoid warning.
1718 (tc_gen_reloc, md_apply_fix): Likewise.
1719 (pa_find_space_by_number): Likewise.
1720 (hppa_force_relocation): Likewise.
1721 (pa_block): Change i to unsigned int.
1722 * config/obj-som.h (obj_som_copyright): Declare.
1723
4b9180d9
FCE
1724Tue Apr 28 11:35:56 1998 Frank Ch. Eigler <fche@cygnus.com>
1725
1726 * ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno
1727 for line numbers for assembly source.
1728
b6177e13
ILT
1729Mon Apr 27 15:58:46 1998 Ian Lance Taylor <ian@cygnus.com>
1730
1731 * configure.in: Change version number to 2.9.4
1732 * configure: Rebuild.
1733
f2980bb4
DE
1734Mon Apr 27 12:07:33 1998 Doug Evans <devans@seba.cygnus.com>
1735
1736 * cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated.
1737start-sanitize-m32rx
1738 * config/tc-m32r.c (assemble_parallel_insn): No need to try
1739 non-relaxable variant any more. Simplify test for nop insn.
1740 (md_assemble): Only scan operands if m32rx. Set orig_insn in case
1741 scan of operands yields an insn different from original (e.g. a macro).
1742 Fix call to can_make_parallel.
1743end-sanitize-m32rx
1744
567a6d7d
ILT
1745Mon Apr 27 15:16:12 1998 Ian Lance Taylor <ian@cygnus.com>
1746
1747 * ecoff.h: Change symbolS in function declaration to struct
1748 symbol.
1749
25b5beb8
ILT
1750Sun Apr 26 13:44:22 1998 Ian Lance Taylor <ian@cygnus.com>
1751
1752 * config/tc-sh.c (parse_reg): Add casts to avoid warnings.
1753 (md_convert_frag): Fix i18n typo.
1754
94fa695e
RH
1755Sat Apr 25 20:12:02 1998 Richard Henderson <rth@cygnus.com>
1756
1757 * ecoff.c (ecoff_get_cur_proc_sym): New function.
1758 * ecoff.h: Protoype it.
1759 * config/tc-alpha.c [ELF] (s_alpha_prologue): New function.
1760 [EVAX] (s_alpha_prologue): Delete.
1761 (md_pseudo_table): Update.
1762
ad7302a0
ILT
1763Sat Apr 25 14:00:52 1998 Ian Lance Taylor <ian@cygnus.com>
1764
1765 * config/tc-i960.c (md_assemble): Change bp_error_msg from static
1766 array to local pointer.
1767 (get_args, parse_expr): Add casts to avoid warnings.
1768
0917e2cb
ILT
1769Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be>
1770
1771 * read.c (s_set): Cast xmalloc return value to fragS *.
1772 * config/tc-m68k.c (m68k_ip): Function made static to match
1773 previous forward declaration.
1774 (insert_reg, init_regtable, md_convert_frag_1): Likewise.
1775
d0023d7e
NC
1776Fri Apr 24 09:26:46 1998 Nick Clifton <nickc@cygnus.com>
1777
682639a8
NC
1778 * config/tc-v850.c: Add internationalisation macros to error
1779 strings.
1780
0917e2cb 1781 * config/tc-m32r.c (can_make_parallel): Add internationalisation
d0023d7e
NC
1782 macros to error strings.
1783
755b5aca
ILT
1784Thu Apr 23 19:23:23 1998 Ian Lance Taylor <ian@cygnus.com>
1785
1786 * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a
1787 reloc is in the TOC csect.
1788 (md_apply_fix3): Correct gettext typo.
1789
8efdd180
NC
1790Thu Apr 23 14:58:31 1998 Nick Clifton <nickc@cygnus.com>
1791
1792 * config/tc-arm.c (find_real_start): Ignore symbols starting with
1793 .L - they are local labels and the branches are not really
1794 function calls but rather far jumps.
1795
cc33746d
DE
1796start-sanitize-sky
1797Thu Apr 23 11:09:34 1998 Doug Evans <devans@canuck.cygnus.com>
1798
1799 * config/tc-dvp.c (dvp_frob_label): Don't emit _$ versions of
1800 local labels ($ prefix).
1801
1802end-sanitize-sky
1158ffaf
TT
1803Wed Apr 22 15:57:21 1998 Tom Tromey <tromey@cygnus.com>
1804
1805 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
1806
8081c2be
ILT
1807Wed Apr 22 14:52:36 1998 Ian Lance Taylor <ian@cygnus.com>
1808
1809 * config/tc-i386.c (md_assemble): Print operand number rather than
1810 using ordinal_names.
1811 (i386_operand): Likewise.
1812
48401fcf
TT
1813Tue Apr 21 22:34:25 1998 Tom Tromey <tromey@scribbles.cygnus.com>
1814
1a9136e2
TT
1815 * Makefile.am (INTLLIBS): Define to work around apparent automake
1816 bug.
1817 All Makefiles: Regenerated.
1818
48401fcf
TT
1819 * Many files: Added gettext invocations around user-visible
1820 strings.
1821 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
1822 HAVE_LC_MESSAGES): Define.
1823 * dep-in.sed: Added asintl.h.
1824 * po/Make-in: New file.
1825 * gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
1826 Include "asintl.h".
1827 * read.c (Z_): Renamed from `_'.
1828 * Makefile.am (SUBDIRS): Added po.
1829 (POTFILES): new macro.
1830 (po/POTFILES.in): New target.
1831 ($(OBJS)): Added asintl.h.
1832 (HFILES): Likewise.
1833 (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
1834 (as_new_LDADD): Added $(INTLLIBS).
1835 (as_new_DEPENDENCIES): Added $(INTLDEPS).
1836 (gasp_new_LDADD): Added $(INTLLIBS).
1837 (gasp_new_DEPENDENCIES): New macro.
1838 * configure, aclocal.m4: Rebuilt.
1839 * configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and
1840 po/Makefile.
1841 (ALL_LINGUAS): Define.
1842 * macro.c: Include "asintl.h".
1843 * as.c (main): Call setlocale, bindtextdomain, and textdomain.
1844 * as.h: Include "asintl.h".
1845 * config/tc-i386.c (ordinal_names): Removed.
1846 (md_assemble): Changed error text to avoid ordinal_names.
1847 (i386_operand): Likewise.
1848 (reloc): Added as_bad to avoid i18n problems.
1849 (tc_gen_reloc): Likewise.
1850 * config/tc-arm.c (bad_args): Now a #define.
1851 (bad_pc): Likewise.
1852 * config/obj-vms.c (VMS_stab_parse): Changed type of
1853 `long_const_msg'.
1854 (global_symbol_directory): Unified strings to avoid i18n
1855 problems.
1856 * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
1857 avoid i18n problems.
1858 * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
1859 * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
1860 i18n problems.
1861 * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
1862 problems.
48401fcf
TT
1863 * config/tc-v850.c (md_assemble): Changed C++ comment into C
1864 comment.
48401fcf
TT
1865 * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
1866 problems.
1867 * as.c (print_version_id): Added an fprintf to avoid i18n
1868 problems.
1869 * cond.c (cond_finish_check): Added as_bad call to avoid i18n
1870 problems.
1871 * expr.c (expr): Added as_warn call to avoid i18n problems.
1872 * messages.c (as_assert): Changed code to avoid i18n problems.
1873 (as_abort): Likewise.
1874 * read.c (pseudo_set): Added as_bad call to avoid i18n problems.
1875 (s_space): Likewise.
1876 * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
1877
4498e3d6
ILT
1878Tue Apr 21 17:01:22 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1879
1880 * config/tc-i386.c (check_prefix): New static function, split out
1881 from md_assemble.
1882 (struct _i386_insn): Add wait_prefix field.
1883 (md_assemble): Remove wait_prefix local variable. Use
1884 check_prefix when adding a prefix.
1885
1886 * config/tc-i386.c (current_templates): New static variable.
1887 (md_assemble): Remove current_templates local variable.
1888 (md_assemble, i386_operand): Improve error and warning messages in
1889 many places. Add RESTORE_END_STRING in many places before error
1890 return. Clarify some comments.
1891
1892 * config/tc-i386.c (struct _i386_insn): Change seg field to a two
1893 element array.
1894 (md_assemble): Parse string instruction operands, looking for
1895 segment override prefixes. Check for invalid segment prefixes on
1896 string instruction.
1897 (i386_operand): i.seg[] and max mem_operand changes for string
1898 insns.
1899 * config/tc-i386.h (EsSeg): Define.
1900
1901 * config/tc-i386.h (regKludge): Define.
1902 (iclrKludge, imulKludge): Don't define.
1903 * config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
1904 code. Move ReverseRegRegmem fudges into Modrm case. Reorder
1905 opcode_modifier checks to look for more common cases first. Add
1906 default_seg for IsString case.
1907
b2bb41f6
ILT
1908Tue Apr 21 16:18:12 1998 Ian Lance Taylor <ian@cygnus.com>
1909
1910 * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
1911 AC_DECL_YYTEXT.
1912 * configure: Rebuild with new automake and libtool.
1913 * aclocal.m4, Makefile.in: Likewise.
1914
1915 * doc/Makefile.am (as.dvi): New target.
1916 * doc/Makefile.in: Rebuild.
1917
1918start-sanitize-sky
1919Mon Apr 20 12:49:33 1998 Doug Evans <devans@canuck.cygnus.com>
1920
1921 * config/tc-dvp.c (VU_LABEL_PREFIX): Make "_$".
1922
1923end-sanitize-sky
307edcc0
SC
1924Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com>
1925
1926 * configure.in: Added sparc86x support.
1927
1928 * configure: Rebuild.
1929
1930 * config/tc-sparc.c (lookup_arch): Added arch_type to struct
1931 sparc_arch.
1932 (md_parse_option): Warn if -EL is not supported for this architecture.
1933
1934 * config/tc-sparc.h (SPARC_BIENDIAN) Always define.
1935
90674355
JL
1936Sat Apr 18 01:19:01 1998 Jeffrey A Law (law@cygnus.com)
1937
1938 * config/tc-mips.c (mips_ip): Note when we use get match on
1939 the full instruction name.
1940start-sanitize-r5900
1941 (mips_ip): For '&' DEST completer handling, if we got a full match
1942 then the DEST completer is implicitly .wxyz.
1943end-sanitize-r5900
1944
40f3c6f8
DE
1945start-sanitize-sky
1946Thu Apr 16 11:48:18 1998 Doug Evans <devans@canuck.cygnus.com>
1947
1948 * config/tc-dvp.c (unpackloc_sym): Delete. All uses deleted.
dd7faceb
DE
1949 (vif_insn_type): New function.
1950 (md_apply_fix3): Don't validate user specified length if unpack insn
1951 and wl > cl.
40f3c6f8
DE
1952
1953end-sanitize-sky
c02e446b
RH
1954Wed Apr 15 15:17:27 1998 Richard Henderson <rth@cygnus.com>
1955
1956 * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
1957 back into the expression to handle add/sub simplification correctly.
1958
65a17223
FCE
1959start-sanitize-r5900
1960Wed Apr 15 10:35:59 1998 Frank Ch. Eigler <fche@cygnus.com>
1961
1962 * config/tc-mips.c (mips_ip): Specs changed for
1963 VCALLMSR instruction.
1964
3bb1e046 1965end-sanitize-r5900
3d759c53 1966start-sanitize-cygnus
2cf51495
CM
1967Wed Apr 15 07:06:04 1998 Catherine Moore <clm@cygnus.com>
1968
1969 * config/tc-mips.c (hilo_interlocks): Remove VR5400.
1970
3d759c53 1971end-sanitize-cygnus
2cf51495
CM
1972Wed Apr 15 07:06:04 1998 Catherine Moore <clm@cygnus.com>
1973
1974 * config/tc-mips.c (hilo_interlocks): Remove 4300.
1975
27aa0c7e
NC
1976Mon Apr 13 16:51:04 1998 Nick Clifton <nickc@cygnus.com>
1977
1978 * config/tc-arm.c (do_msr): Support undocumented 'msr cpsr_flg,
1979 #<n>' instruction.
1980
7ebb61af
DE
1981start-sanitize-sky
1982Mon Apr 13 12:18:53 1998 Doug Evans <devans@canuck.cygnus.com>
1983
1984 * config/tc-dvp.c (md_apply_fix3): Mark fixup for mpg loaded vu
1985 branch error as being done so we don't try to emit a reloc.
1986
1987end-sanitize-sky
a461558b
DE
1988Thu Apr 9 10:29:42 1998 Doug Evans <devans@canuck.cygnus.com>
1989
1990 * symbols.c (max_indent_level): New global.
1991 (print_symbol_value_1): Use it.
e15073a2
DE
1992 * expr.h (expr_build_dot): Declare.
1993 * expr.c (expr_build_dot): New function.
07b20428
DE
1994start-sanitize-sky
1995 * config/tc-dvp.c (VU_LABEL_PREFIX): New macro.
1996 (compute_mpgloc): New function.
1997 (eval_expr): New arg `cpu'. All callers updated.
1998 (non_vu_insn_seen_p): New static global.
1999 (RELAX_{MPG,DIRECT,VU,ENCODE,GROWTH,DONE_}): New macros.
2000 (struct dvp_fixup): New member `cpu'.
2001 (assemble_one_insn): New args init_fixup_count, fixup_offset.
2002 All callers updated.
2003 (md_assemble): Set non_vu_insn_seen_p as appropriate.
2004 (assemble_vif): Set `cpu' field of fixup.
2005 Clean up calls to frag_var. Recorded mpgloc is now in bytes.
2006 (assemble_vu_insn): Delete, contents moved into ...
2007 (assemble_vu): ... here. Don't record fixups until after parsing
2008 both upper and lower insns. If branch insn inside mpg, properly
2009 compute target address.
2010 (dvp_frob_label): Create copies of vu labels inside mpg's.
2011 (dvp_relax_frag): Clean up.
2012 (md_convert_frag): Ditto.
2013 (md_apply_fix3): Signal error if mpg embedded vu code has branch
2014 to undefined label (not currently supported).
2015 (eval_expr): New arg `cpu'. All callers updated.
2016 (insert_operand_final): Convert mpgloc from bytes to dwords.
2017 (s_endmpg): Use compute_mpgloc to update $.mpgloc.
2018 (s_state): If switching to vu state, initialize $.mpgloc.
2019end-sanitize-sky
a461558b 2020
8dc11c35
DE
2021Wed Apr 8 16:16:11 1998 Doug Evans <devans@canuck.cygnus.com>
2022
2023 * symbols.c (print_binary): New function.
2024 (print_expr_1): Call it.
2025
b25ce8e1 2026start-sanitize-sky
bfb27620
DE
2027Tue Apr 7 12:21:39 1998 Doug Evans <devans@canuck.cygnus.com>
2028
2029 * config/tc-dvp.c (md_convert_frag): Fix thinko.
2030
b25ce8e1
DE
2031Mon Apr 6 17:08:47 1998 Doug Evans <devans@canuck.cygnus.com>
2032
2033 * config/tc-dvp.c (assemble_vif): Watch for macro insns.
a9589a2c
DE
2034 0 is a valid length value (= max+1).
2035 (install_vif_length): 0 is a valid length value (= max+1).
b25ce8e1
DE
2036
2037end-sanitize-sky
5388e7d1
ILT
2038Mon Apr 6 12:06:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2039
2040 * config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the
2041 operand in the opcode.
2042
050ac694
DE
2043start-sanitize-sky
2044Fri Apr 3 12:13:03 1998 Doug Evans <devans@canuck.cygnus.com>
2045
2046 * config/tc-dvp.c (assemble_vif): Put relaxable insns in their
2047 own fragment.
2048
2049end-sanitize-sky
dd4dec6a
ILT
2050Fri Apr 3 11:58:19 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2051
2052 * config/tc-i386.h: Reorder operand flags and opcode modifier
2053 flags for clarity. Remove unused definitions: Unknown,
2054 ImmUnknown, DispUnknown, NoModrm.
2055 * config/tc-i386.c (type_names): Add missing Debug type.
2056 (md_assemble): Better duplicate prefix checking. Quicker string
2057 instruction check via new opcode_modifier flag.
2058
7f633717
ILT
2059Fri Apr 3 11:44:34 1998 Ian Lance Taylor <ian@cygnus.com>
2060
2061 * doc/as.texinfo (Invoking): Clarify -Wa example.
2062
3c69baf9
GRK
2063Fri Apr 3 09:12:23 1998 Gavin Koch <gavin@cetus.cygnus.com>
2064
2065 * config/tc-mips.c (mips_pseudo_table): Add weakext entry.
2066 (s_mips_weakext): Define.
2067 * ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS).
2068 * config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if
2069 defined(TC_MIPS).
2070
24733f0e
JL
2071Thu Apr 2 22:42:02 1998 Jeffrey A Law (law@cygnus.com)
2072
2073 * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols
2074 is an error if the value can not be computed at assembly time.
2075 * config/tc-mn10300.c (tc_gen-reloc): Likewise.
2076
335c5c6c
ILT
2077Thu Apr 2 16:36:47 1998 Ian Lance Taylor <ian@cygnus.com>
2078
2079 * gasp.c (main): Set next field of new include_path structure to
2080 NULL. From Avery Pennarun <averyp@gdc.ca>.
2081
2082 * read.c (s_mri_sect): Call as_bad rather than abort for an
2083 unsupported MRI target.
2084
f71d1797
NC
2085Wed Apr 1 11:08:27 1998 Nick Clifton <nickc@cygnus.com>
2086
2087 * config/tc-arm.c (arm_validate_fix): New function. Determine if
2088 the destination of a branch instruction should be altered.
2089 (find_real_start): New function: Locate the real, Thumb coded
2090 start of a Thumb function.
2091 (do_t_branch23): Alter the destination of branches to Thumb
2092 functions.
2093
2094 * config/tc-arm.h: Define TC_VALIDATE_FIX.
2095
2096Tue Mar 31 13:27:33 1998 Dean M. Deaver <deaver@amt.tay1.dec.com>
2097
91852c94
ILT
2098 * config/tc-arm.c (decode_shift): Handle addressing mode 2 w/rrx
2099 also.
2100
8f6a0cad
ILT
2101Wed Apr 1 13:13:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2102
2103 * doc/as.texinfo: Use @itemx for a secondary item in a table.
2104 * doc/c-hppa.texi: Likewise.
2105
ba910026
ILT
2106Tue Mar 31 17:52:40 1998 Ian Lance Taylor <ian@cygnus.com>
2107
b9b299ba
ILT
2108 * Makefile.am: Rebuild dependencies.
2109 * Makefile.in: Rebuild.
2110
ba910026
ILT
2111 * Makefile.am (DEP_INCLUDES): New variable.
2112 (.dep1): Change to work when srcdir is not an absolute path.
b9b299ba 2113 (.tcdep, .objdep, .dep2, dep.sed): Likewise.
ba910026
ILT
2114 * Makefile.in: Rebuild.
2115
f3aa01e2
ILT
2116Mon Mar 30 12:46:48 1998 Ian Lance Taylor <ian@cygnus.com>
2117
504a4764
ILT
2118 * config/tc-i386.h, config/tc-i386.c: Revert March 24
2119 LinearAddress patch.
2120
f3aa01e2
ILT
2121 * configure.in: Set version to 2.9.1.
2122 * configure: Rebuild.
2123
2124 * Branched binutils 2.9.
2125
8a81fdbb
ILT
2126Mon Mar 30 11:22:08 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2127
2128 * config/tc-i386.h (FWait): Define.
2129 * config/tc-i386.c (md_assemble): Emit fwait prefix before any
2130 other prefixes. Check FWait flag in opcode table to see which
2131 instructions require an fwait prefix.
2132
14ff3d69
ILT
2133Mon Mar 30 10:12:00 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2134
2135 * stabs.c (get_stab_string_offset): Always create a stab string
2136 section.
2137
c246596a
ILT
2138Sat Mar 28 22:28:02 1998 Ian Lance Taylor <ian@cygnus.com>
2139
2140 Fix some gcc -Wall warnings:
2141 * atof-generic.c (atof_generic): Add casts to avoid warnings.
2142 * ehopt.c (eh_frame_code_alignment): Likewise.
2143 * expr.c (integer_constant, operand): Likewise.
2144 * frags.c (frag_align): Likewise.
2145 * gasp.c (level_0, change_base, doinstr): Likewise.
2146 * hash.c (hash_ask): Likewise.
2147 * listing.c (listing_page, calc_hex, print_lines): Likewise.
2148 (debugging_pseudo): Likewise.
2149 * macro.c (define_macro, check_macro): Likewise.
2150 * read.c (read_a_source_file, s_align, s_float_space): Likewise.
2151 (ignore_rest_of_line, float_cons): Likewise.
2152 * symbols.c (decode_local_label_name): Likewise.
2153 * write.c (record_alignment, cvs_frag_to_fill): Likewise.
2154 (fixup_segment, number_to_chars_bigendian): Likewise.
2155 (number_to_chars_littleendian): Likewise.
2156 * config/atof-ieee.c (gen_to_words): Likewise.
2157 * config/tc-sparc.c (md_begin, md_assemble): Likewise.
2158 (sparc_ip, parse_keyword_arg, s_common): Likewise.
2159 * read.c (output_big_sleb128): Initialize locals to avoid
2160 warnings.
2161 (output_big_uleb128, equals): Likewise.
2162 * atof-generic.c (atof_generic): Change number_of_digits_* locals
2163 to unsigned int. Change zeros to unsigned int.
2164 * cond.c (s_if): Add return to default case.
2165 * frags.c (frag_now_fix): Change return type to addressT.
2166 * frags.h (frag_now_fix): Update declaration.
2167 * listing.c (file_info_struct): Change linenum to unsigned int.
2168 (struct list_info_struct): Change hll_line to unsigned int.
2169 (print_source): Update format string.
2170 * read.c (emit_expr): Change scan to unsigned int, and don't
2171 bother to initialize it.
2172 * symbols.c (dollar_label_count): Change to unsigned long.
2173 * write.c (adjust_reloc_syms): Remove unused label reduce_fixup.
2174 * config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF.
2175 * config/tc-sparc.c (tc_gen_reloc): Add return to default case.
2176
19db82d5
ILT
2177Fri Mar 27 12:46:47 1998 Ian Lance Taylor <ian@cygnus.com>
2178
2179 * config/tc-m68k.c (m68k_ip): Check legal addressing modes for
2180 mcf5200 just as we do for m68000.
2181 (m68k_init_after_args): Likewise.
2182 (md_estimate_size_before_relax): Likewise.
2183
cb720e4f 2184Fri Mar 27 10:30:01 1998 Catherine Moore <clm@cygnus.com>
08eefd3e
ILT
2185
2186 * config/tc-v850.c (md_assemble): Store relocation addend in
2187 fixup instead of instruction.
cb720e4f 2188
227b6b55
ILT
2189Thu Mar 26 23:07:18 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2190
2191 * config/tc-i386.c (md_assemble): Swap template arguments to
2192 CONSISTENT_REGISTER_MATCH macro in reverse direction test.
2193 This macro is currently symmetric, so passing them the wrong
2194 way didn't cause any problem, but may if the macro is changed
2195 in the future.
2196 After copying template to i.tm, use i.tm. rather than t-> to
2197 access fields, and make t a const*
2198 Move i.tm.operand_types[] swap to immediately after the copy.
2199
5c444253
DE
2200start-sanitize-sky
2201Thu Mar 26 13:29:59 1998 Doug Evans <devans@canuck.cygnus.com>
2202
2203 * config/tc-dvp.c (s_endunpack): Round up to word boundary after
2204 we've computed the data length.
2205
2206end-sanitize-sky
e5d62150
DE
2207Wed Mar 25 13:44:18 1998 Doug Evans <devans@canuck.cygnus.com>
2208
2209 * expr.h (expr_build_uconstant): Add prototype.
2210 (expr_build_unary,expr_build_binary): Add prototypes.
2211 * expr.c (expr_build_uconstant): New function.
2212 (expr_build_unary,expr_build_binary): New functions.
d7470411
DE
2213start-sanitize-sky
2214 * config/tc-dvp.h (md_estimate_size_before_relax): Delete.
2215 (md_convert_frag): Delete.
2216 (TC_FIX_TYPE): New fields wl,cl,user_value;
2217 * config/tc-dvp.c (insert_mpg_marker): New argument ignore.
2218 All callers updated.
2219 (insert_unpack_marker): New function.
2220 (insert_file): New argument insert_marker_arg. All callers updated.
2221 (gif_user_value): New static local.
2222 (vif_data_start,vif_data_end): New static locals.
2223 (mpgloc_sym,unpackloc_sym): New static locals.
2224 (cur_varlen_frag,cur_varlen_insn,cur_varlen_value): Delete.
2225 (cur_opcode,cur_operand): New static locals.
2226 (endmpg_caller): New enum.
2227 (md_pseudo_table): Pass ENDMPG_USER to s_endmpg.
2228 (md_begin): Initialize mpgloc_sym, unpackloc_sym.
2229 (dvp_fixup): New members user_value,wl,cl;
2230 (assemble_vif): Rewrite.
2231 (assemble_gif): Tweak name of data start label.
2232 (assemble_one_insn): Allow special parser to punt and call the
2233 normal expression parser. Set cur_opcode,cur_operand for md_operand.
2234 (md_operand): Handle '*' value for mpgloc,unpackloc.
2235 (md_estimate_size_before_relax): New function.
2236 (dvp_relax_frag,md_convert_frag): New functions.
2237 (md_pcrel_from_section): Handle end data label for variable length
2238 vif insns.
2239 (md_apply_fix3): Handle count field for variable length vif insns.
2240 Handle address field for mpg,unpack.
2241 (eval_expr): Initialize user_value,wl,cl fields of the fixup.
2242 (cur_vif_insn_length): Delete.
2243 (vif_length_value): New function.
2244 (install_vif_length): Don't perform logical->physical conversion here.
2245 (s_enddirect,s_endmpg,s_endunpack): Rewrite.
2246end-sanitize-sky
e5d62150 2247
36abac7f
ILT
2248Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
2249
2250 * gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
2251 * macro.c (macro_expand_body): Increase buffer size.
2252 * messages.c (as_warn): Likewise.
2253 (as_warn_where, as_bad, as_bad_where): Likewise.
2254
fb8a5cec
ILT
2255Wed Mar 25 12:59:07 1998 Ian Lance Taylor <ian@cygnus.com>
2256
2257 Based on patch from H.J. Lu <hjl@gnu.org>:
2258 * Makefile.am (DISTSTUFF): New variable.
2259 (diststuff): New target.
2260 * Makefile.in: Rebuild.
2261
c6717148
NC
2262Tue Mar 24 16:51:29 1998 Nick Clifton <nickc@cygnus.com>
2263
2264 * config/tc-m32r.h (md_cleanup, md_elf_section_change_hook): Call
2265 m32r_elf_section_change_hook.
2266
2267 * config/tc-m32r.c (m32r_elf_section_change_hook): New function to
2268 emit a nop if a section ends with a 16 bit instruction.
2269
75777e9b
ILT
2270Tue Mar 24 19:48:09 1998 Ian Lance Taylor <ian@cygnus.com>
2271
2272 * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call
2273 s_lcomm rather than obj_coff_lcomm.
2274 (obj_pseudo_table): Compile .bss pseudo-op unconditionally.
2275
dddc8a82
ILT
2276Tue Mar 24 18:30:58 1998 H.J. Lu <hjl@gnu.org>
2277
2278 * config/tc-i386.h (LinearAddress): Define.
2279 * config/tc-i386.c (md_assemble): If LinearAddress is set for the
2280 instruction, don't use a default segment.
2281
1cc7b6b2
ILT
2282Mon Mar 23 18:53:40 1998 Joel Sherrill <joel@OARcorp.com>
2283
2284 * configure.in: (sh*-*-rtems*): Switched from ELF to COFF.
2285 * configure: Rebuild.
2286
e7201c9e
DE
2287start-sanitize-sky
2288Mon Mar 23 13:16:22 1998 Doug Evans <devans@canuck.cygnus.com>
2289
2290 * config/tc-dvp.c (insert_mpg_marker): Update mpgloc.
2291
2292end-sanitize-sky
0bc0e337
JL
2293start-sanitize-r5900
2294Sun Mar 22 13:21:01 1998 Jeffrey A Law (law@cygnus.com)
2295
04f385a9
JL
2296 * config/tc-mips.c (validate_mips_insn): Handle r5900 operands.
2297
0bc0e337
JL
2298 * config/tc-mips.c (append_insn): Handle BFD_RELOC_MIPS16_S3.
2299 (mips_ip): Handle 'O' operand.
2300 (md_apply_fix): Handle BFD_RELOC_MIPS16_S3.
2301
2302end-sanitize-r5900
fc6f7f6c
ILT
2303Fri Mar 20 19:15:44 1998 Ian Lance Taylor <ian@cygnus.com>
2304
2305 * aclocal.m4, configure: Rebuild with libtool 1.2.
2306
981ce186
JL
2307start-sanitize-r5900
2308Fri Mar 20 09:04:13 1998 Jeffrey A Law (law@cygnus.com)
2309
cefa6a61 2310 * config/tc-mips.c: Change '%' to '#' in r5900 support.
981ce186
JL
2311
2312end-sanitize-r5900
15752c5b
NC
2313Thu Mar 19 16:03:12 1998 Nick Clifton <nickc@cygnus.com>
2314
2315 * config/tc-arm.c (md_apply_fix3): fix code to test the range of
5e04ff14 2316 PC relative branches. Patch courtesy of Jonathan Walton.
15752c5b 2317
059a6388
JL
2318start-sanitize-r5900
2319Thu Mar 19 14:19:27 1998 Jeffrey A Law (law@cygnus.com)
2320
2321 * config/tc-mips.c (mips_ip): Handle opcodes which have the form
2322 "name.completer" where only the name is actually in the opcode
2323 table. Allow various operands for base register in load/store
2324 instructions. Handle various new argument characters for the
2325 cop2/vu0 co-processor.
2326
2327end-sanitize-r5900
4ebb52f1
FCE
2328start-sanitize-sky
2329 Wed Mar 18 13:54:04 1998 Frank Ch. Eigler <fche@cygnus.com>
2330
2331 * config/tc-dvp.c (s_dmadata): Force 16-byte alignment for ".dmadata"
2332 pseudo-op.
2333end-sanitize-sky
2334
22d3fbd6
NC
2335Wed Mar 18 09:29:51 1998 Nick Clifton <nickc@cygnus.com>
2336
2337 * configure.in (emulations): Add thumb-pe target.
2338
2339 * configure (emulations): Add thumb-pe target.
2340
9636f59b
KR
23411998-03-17 Ken Raeburn <raeburn@cygnus.com>
2342
2343 * itbl-lex.l (yywrap): Don't define if already defined as a
2344 macro.
2345
fa3671a3 2346start-sanitize-sky
7f28a81d
DE
2347Tue Mar 17 10:40:54 1998 Doug Evans <devans@canuck.cygnus.com>
2348
2349 * config/tc-dvp.c (md_begin): Turn dma/vif packing on by default.
2350 (assemble_dma): Only output 8 bytes for actual dma insn if dma/vif
2351 packing is enabled. Emit VIF cpu marker after dma insn.
2352
3b4389e2
DE
2353 * config/tc-dvp.h (TC_START_LABEL): Define.
2354 * config/tc-dvp.c (force_mach_label): New function.
2355 (md_begin,create_colon_label,s_dmadata): Use it.
2356
89036011
DE
2357 * config/tc-dvp.c (s_enddmadata): Always fill dma data out to 16
2358 byte boundary.
2359
fa3671a3
DE
2360Mon Mar 16 10:19:44 1998 Doug Evans <devans@canuck.cygnus.com>
2361
2362 * config/tc-dvp.c (md_pseudo_table): Make .quad 16 bytes.
2363
2364end-sanitize-sky
008a80d2
TT
2365Fri Mar 13 16:31:38 1998 Tom Tromey <tromey@cygnus.com>
2366
2367 * depend.c (quote_string_for_make): New function.
2368 (wrap_output): Use it.
2369
2370Thu Mar 12 18:28:22 1998 Nick Clifton <nickc@cygnus.com>
2371
2372 * config/obj-elf.c (obj_elf_section): Set bss flag in seg_info
2373 structure if type is SHT_NOBITS. [Bug fix courtesy of rth]
2374
d030671b 2375start-sanitize-sky
6d0a565c
DE
2376Thu Mar 12 16:13:25 1998 Doug Evans <devans@canuck.cygnus.com>
2377
2378 * config/tc-dvp.h (TC_FIX_TYPE,TC_INIT_FIX_DATA): Define.
2379 * config/tc-dvp.c (compute_nloop,check_nloop): New functions.
2380 (gif_insn_frag_loc): New static global.
2381 (assemble_gif): Record frag and location frag of insn.
2382 (md_apply_fix3): Validate user specified nloop if we couldn't do
2383 it earlier.
2384 (s_endgif): Queue fixup to install nloop if we can't compute it here.
2385
d030671b
DE
2386Fri Mar 6 11:36:37 1998 Doug Evans <devans@canuck.cygnus.com>
2387
2388 * config/tc-dvp.c (s_endgif): Fix nloop calc and test. Warn if
2389 insufficient data present. Fix insertion of computed nloop value.
65309b98
DE
2390 (install_vif_length): Second pass at unpack len calcs.
2391 (s_endunpack): Round data up to word boundary.
ba4be194
DE
2392 (insert_mpg_marker): New function.
2393 (insert_file): New args insert_marker, size. All callers updated.
2394 (assemble_vif): Rewrite varlen insn handling.
2395 (assemble_vu): Call insert_mpg_marker when 256th insn reached.
2396 (s_enddirect,s_endunpack): Rename arg to internal_p.
d030671b
DE
2397
2398end-sanitize-sky
2d035a50
GRK
2399start-sanitize-vr4320
2400Tue Mar 3 11:37:26 1998 Gavin Koch <gavin@cygnus.com>
2401
2402 * config/tc-mips.c : Added vr4320 similar to vr4300.
2403
2404end-sanitize-vr4320
626d6b2e
RH
2405Sat Feb 28 17:28:55 1998 Richard Henderson <rth@cygnus.com>
2406
2407 * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
2408 Recognize -GN and -relax.
2409 (md_begin): Initialize gp size from -G switch.
2410 (alpha_force_relocation): Always force if -relax.
2411 (alpha_align): Take a new argument that will specify when to
2412 emit an R_ALPHA_ALIGN relocation (though we don't do that now).
2413 Change all callers. Emit nop alignment padding as nop+unop pair.
2414
c35d42c2
RH
2415Sat Feb 28 17:06:22 1998 Richard Henderson <rth@cygnus.com>
2416
2417 * config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
2418 * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New.
2419
6c116dfc
MM
2420Thu Feb 26 15:49:04 1998 Michael Meissner <meissner@cygnus.com>
2421
2422 * config/tc-d30v.c (write_2_short): Delayed jsr instructions don't
2423 require padding to the next long word boundary.
2424
1fb06680
DE
2425start-sanitize-sky
2426Fri Feb 27 10:06:59 1998 Doug Evans <devans@canuck.cygnus.com>
2427
2428 * config/tc-dvp.c (assemble_vif): Insert cpu type marker before
2429 inserted binary files.
2430
2431end-sanitize-sky
8ca85ce0
DE
2432start-sanitize-phase2-m32rx
2433Wed Feb 25 11:43:45 1998 Doug Evans <devans@canuck.cygnus.com>
2434
2435 * config/tc-m32r.c (optimize): New static local.
2436 (md_shortopts): Add -O.
2437 (md_parse_option): Recognize it.
2438 (md_show_usage): Document it.
2439 (md_assemble): Don't try to combine insns in parallel if !optimize.
2440
2441end-sanitize-phase2-m32rx
39149be2
NC
2442start-sanitize-m32rx
2443Tue Feb 24 18:03:25 1998 Nick Clifton <nickc@cygnus.com>
2444
2445 * config/tc-m32r.c (first_writes_to_seconds_operands):
2446 Reinitialise b_operands for each pass of the inner loop.
2447end-sanitize-m32rx
c74ca124 2448start-sanitize-sky
69312dac
DE
2449Tue Feb 24 11:01:25 1998 Doug Evans <devans@canuck.cygnus.com>
2450
2451 * config/tc-dvp.h (tc_frob_label): Define.
2452 * config/tc-dvp.c (dvp_frob_label): New function.
b6d331b9
DE
2453 (create_colon_label): New argument `sto'. All callers updated.
2454 (record_mach): New argument `force_next_p'. All callers updated.
2455 (cpu_sto): New function.
9152beba
DE
2456 (UNIQUE_LABEL_PREFIX): New macro.
2457 (unique_label): Use it.
2458 (assemble_gif): Emit start label before mach label.
b439fb81 2459 (s_endgif): Update. NLOOP is in quadwords for IMAGE mode now.
69312dac 2460
e9cb12e4
DE
2461Mon Feb 23 15:55:12 1998 Doug Evans <devans@canuck.cygnus.com>
2462
2463 * config/tc-dvp.c (assemble_dma): Do alignment before parsing insn.
2464 (setup_dma_autocount): Renamed from setup_autocount. New argument
2465 inline_p. All callers changed. Fix word address of count.
2466 (parse_dma_addr_autocount): Fix word address of address.
2467
2468end-sanitize-sky
2469start-sanitize-sky
96f5b6b2
JL
2470Mon Feb 23 17:24:06 1998 Jim Lemke <jlemke@cygnus.com>
2471
2472 * config/obj-elf.c: Take Ian's suggestion, leave .bss etc
2473 in special_sections table and add .vubss etc via
2474 ELF_TC_SPECIAL_SECTIONS.
2475 * config/tc-dvp.h: Likewise.
2476
c74ca124 2477end-sanitize-sky
a15a45e5
DE
2478Mon Feb 23 11:29:06 1998 Doug Evans <devans@seba.cygnus.com>
2479
2480 * cgen.c: #include symcat.h.
2481 * config/tc-m32r.c: Likewise.
2482
65d2c7d3
JL
2483Mon Feb 23 10:27:40 1998 Jeffrey A Law (law@cygnus.com)
2484
2485 * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
2486 absolute expressions instead of '$' prefixed register names.
2487
56c99b3e
RH
2488Sat Feb 21 22:36:52 1998 Richard Henderson <rth@cygnus.com>
2489
2490 * read.c (s_set): Record file and line info for symbols when -as.
2491 (pseudo_set): Don't overwrite that dummy fragment.
2492
d3c6610c
DE
2493start-sanitize-sky
2494Fri Feb 20 12:43:02 1998 Doug Evans <devans@canuck.cygnus.com>
2495
498fcb9c 2496 * config/tc-dvp.c (md_assemble): Handle ASM_DIRECT state.
d3c6610c
DE
2497 (dvp_parse_done): Comment out contents.
2498 (s_enddirect,s_endmpg,s_endunpack): Call demand_empty_rest_of_line.
2499 (s_state): Handle .vu in included file.
8151801a 2500 (asm_state): New state ASM_GIF.
498fcb9c
DE
2501 (asm_state_stack): Maintain stack of parsing states.
2502 ({push,pop,set}_asm_state): New functions.
2503 (CUR_ASM_STATE): Renamed from cur_asm_state, all uses updated.
8151801a
DE
2504 (gif_{insn_type,data_name,insn_frag}): New static locals.
2505 (md_assemble): Watch for .endgif if in ASM_GIF state.
2506 (assemble_gif): Complete.
2507 (s_endgif): Complete.
ee753b4b
DE
2508 (cur_mach): New static local.
2509 (record_mach): New function.
2510 (md_begin): Initialize `cur_mach'.
2511 (assemble_*): Record current mach type.
83920d29
DE
2512 (vu_count): New static local.
2513 (assemble_vif): Temporary hack to properly align mpg/direct data.
2514 (assemble_vu): Insert mpg every 256 insns.
d3c6610c
DE
2515
2516end-sanitize-sky
c634d13e
ILT
2517Fri Feb 20 15:03:13 1998 Ian Lance Taylor <ian@cygnus.com>
2518
2519 * config/tc-ppc.c (md_pseudo_table): Add "section".
2520 (ppc_named_section): New static function.
2521
9db4b37c
RH
2522Thu Feb 19 22:25:42 1998 Richard Henderson <rth@cygnus.com>
2523
2524 * tc-ppc.c (ppc_biei): Cache the last symbol we inserted
2525 so we don't have to scan the entire list.
2526
ccc12f73
FF
2527Tue Feb 17 17:02:15 1998 Fred Fish <fnf@cygnus.com>
2528
2529 * config/tc-d30v.c (parallel_ok): For the explicitly parallel
2530 case, allow the parallel instructions to modify the same flag
2531 bits.
2532
ecc9627d
RH
2533Thu Feb 19 16:08:15 1998 Richard Henderson <rth@cygnus.com>
2534
2535 * listing.c (list_symbol_table): Categorize symbols by
2536 undefined_section rather than sy_frag->line == NULL.
2537
91572941
DE
2538start-sanitize-sky
2539Thu Feb 19 02:17:03 1998 Doug Evans <devans@charmed.cygnus.com>
2540
2541 * config/tc-dvp.c (LOCAL_LABEL_PREFIX,END_LABEL_PREFIX): New macros.
2542 (inline_dmadata): Renamed from s_dmadata_implied.
2543 (assemble_one_insn): Rewrite dma operand processing.
2544 (md_apply_fix3): Handle DVP_OPERAND_DMA_NEXT.
2545 (unique_name,setup_autocount): New functions.
2546
2547 * config/tc-dvp.c: Include stdarg.h/varargs.h.
2548 (md_pseudo_table): Add .word.
2549 (assemble_dma): Set alignment to 16 bytes. Enable code that records
2550 fixups.
2551 (assemble_one_insn): Handle DVP_OPERAND_DMA_{ADDR,AUTOCOUNT}.
2552 (md_apply_fix3): Handle DVP_OPERAND_DMA_ADDR.
2553 (parse_dma_addr_autocount): Renamed from parse_dma_ptr_autocount.
2554 Rewrite.
2555 (eval_expr): New function.
2556 (create_label,create_colon_label): New function.
2557 (s_enddmadata): Rewrite.
2558
2559end-sanitize-sky
9c0e2b9e
RH
2560Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com>
2561
2562 * Makefile.am (install-exec-local): Install properly when ln
2563 fails or tooldir == prefix.
2564
65850016
NC
2565start-sanitize-m32rx
2566Wed Feb 18 18:11:42 1998 Nick Clifton <nickc@cygnus.com>
2567
2568 * config/tc-m32r.c (first_writes_to_seconds_operands): Special
2569 handling of updates to the condition bit as this is shadow by
2570 several registers.
2571end-sanitize-m32rx
19f12fb4
DE
2572start-sanitize-sky
2573Wed Feb 18 15:49:56 1998 Doug Evans <devans@canuck.cygnus.com>
2574
2575 * config/tc-dvp.c (parse_float): New function.
2576 (assemble_vu): Handle loi insns.
2577 (assemble_one_insn): Simplify suffix parsing.
1028c33f
DE
2578 Handle DVP_OPERAND_FLOAT. Allow FAKE arguments to have a parser
2579 handler.
19f12fb4
DE
2580
2581end-sanitize-sky
af82efaf 2582start-sanitize-m32rx
20419451
NC
2583Wed Feb 18 14:30:26 1998 Nick Clifton <nickc@cygnus.com>
2584
2585 * doc/c-m32r.texi (M32R-Opts): Add --Wp and --Wnp.
2586
2587 * doc/as.texinfo (Overview): Add --Wp and --Wnp.
2588
2589 * config/tc-m32r.c (md_longopts): Accept --Wp as an abbreviation
2590 for --warn-explicit-parallel-conflicts and --Wnp as an
2591 abbreviation for --no-warn-explicit-parallel-conflicts.
2592 (assemble_parallel_insn): Use non-relaxable versions of branch
2593 instructions.
2594
af82efaf
NC
2595Wed Feb 18 11:00:18 1998 Nick Clifton <nickc@cygnus.com>
2596
2597 * app.c: Parse || as a seperator between assembler statements.
19f12fb4 2598
af82efaf 2599end-sanitize-m32rx
63aa1c74
DE
2600Tue Feb 17 18:58:51 1998 Doug Evans <devans@seba.cygnus.com>
2601
19f12fb4 2602 * cgen.c (cgen_md_apply_fix3): Delete call to validate_operand.
63aa1c74
DE
2603 Test result of insert_operand for error.
2604
c9cec4ef 2605start-sanitize-m32rx
b86c0dd3
NC
2606Mon Feb 16 12:28:40 1998 Nick Clifton <nickc@cygnus.com>
2607
2608 * config/tc-m32r.c (md_assemble): Only parallelise instructions
2609 when m32rx target is enabled and the instructions are not
2610 relaxable.
2611
c9cec4ef
NC
2612Fri Feb 13 14:42:16 1998 Nick Clifton <nickc@cygnus.com>
2613
2614 * config/tc-m32r.c (first_writes_to_seconds_operands): Do not
2615 bother checking insn which have no operands.
2616
2617end-sanitize-m32rx
ba4da4fe
ILT
2618Fri Feb 13 16:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
2619
2620 * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
2621 * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
2622 * doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
2623 * doc/Makefile.in: Rebuild.
2624
8e7a5a04 2625start-sanitize-m32rx
6cf2575a
NC
2626Fri Feb 13 09:57:11 1998 Nick Clifton <nickc@cygnus.com>
2627
2628 * config/tc-m32r.c (first_writes_to_seconds_operands): New
2629 function. Replaces get_src_reg(), check_for_side_effects(),
2630 reads_from_src_reg(). Uses new insn operand features of cgen.
8e7a5a04 2631 (writes_to_pc): New function., but with new code suppressed for now.
6cf2575a 2632 (md_assemble): Call first_writes_to_seconds_operands().
8e7a5a04 2633end-sanitize-m32rx
679f7845
ILT
2634Fri Feb 13 00:47:44 1998 Ian Lance Taylor <ian@cygnus.com>
2635
2636 * config/tc-mips.c (macro_build): Handle operand type 'C'.
2637 (macro): Fix handling of M_COP[0-3].
2638
43448efe
ILT
2639Thu Feb 12 14:06:59 1998 Ian Lance Taylor <ian@cygnus.com>
2640
618ea808
ILT
2641 Based on patches from Ross Harvey <ross@teraflop.com>:
2642 * macro.c (ISSEP): Only treat '<' and '>' as separator characters
2643 if macro_alternate or macro_mri.
2644 (getstring): Remove support for byte constants between < and >.
2645 (get_any_string): '<' only starts a string if macro_alternate or
2646 macro_mri.
2647 (macro_expand_body): Permit keyword parameters following
2648 positional parameters.
2649
69d0b6d3
ILT
2650 NetBSD patches from Gordon W. Ross <gwr@mc.com>:
2651 * configure.in (alpha*-*-netbsd*): New target.
2652 * config/te-nbsd.h (LOCAL_LABELS_FB): Define.
2653 * configure: Rebuild.
2654
1b9bf4a5
ILT
2655 * as.h (flag_warn_suppress_instructionswap): Move from here...
2656 * config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
2657 here, and make static.
2658
8642a203
ILT
2659 * ehopt.c (eh_frame_code_alignment): Only use seg_info if
2660 BFD_ASSEMBLER or MANY_SEGMENTS.
2661
43448efe
ILT
2662 * as.c (show_usage): Update bug-gnu-utils address.
2663 * gasp.c (show_usage): Likewise.
2664 * doc/as.texinfo (Bug Reporting): Likewise.
2665
9a1f3160
JL
2666Wed Feb 11 23:26:28 1998 Jeffrey A Law (law@cygnus.com)
2667
2668 * config/tc-mips.c (load_address): Don't use mips III or mips IV
2669 insns regardless of the size of a pointer if we're in mips I or
2670 MIPS II mode.
2671 (macro, macro2, s_cprestore, s_cpadd): Likewise.
2672
fc3c25b9
JR
2673Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2674
2675Fix rac to accept only a0:
2676 * tc-d10v.c (parallel_ok, find_opcode):
2677 Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
2678 Introduce OPERAND_GPR.
2679
a699db22
RH
2680Wed Feb 11 16:28:13 1998 Richard Henderson <rth@cygnus.com>
2681
2682 * read.c (s_fill): Handle non-constant repeat counts by creating
2683 an rs_space fragment.
2684
ef582182
NC
2685start-sanitize-m32rx
2686Wed Feb 11 10:32:28 1998 Nick Clifton <nickc@cygnus.com>
2687
2688 * doc/c-m32r.texi: Document warning and error messages. Add
2689 descriptions of --warn-explicit-parallel-conflicts.
2690
2691 * doc/as.texinfo: Add more m32rx command line options.
a699db22 2692
ef582182
NC
2693end-sanitize-m32rx
2694Tue Feb 10 18:31:31 1998 Ian Lance Taylor <ian@cygnus.com>
2695
2696 * config/tc-i386.c (i386_operand): Change error added Jan 2 1998
2697 from as_bad to as_warn.
2698
8be4a8f7
DE
2699start-sanitize-sky
2700Tue Feb 10 15:15:40 1998 Doug Evans <devans@canuck.cygnus.com>
2701
2702 * config/tc-dvp.c (*): pke->vif, gpuif->gif.
2703
2704end-sanitize-sky
ffc3a160
JL
2705Tue Feb 10 18:04:00 1998 Jim Lemke <jlemke@cygnus.com>
2706
be0ed38b 2707 * as.c: (perform_an_assembly_pass): Use [TEXT|DATA|BSS]_SECTION_NAME
ffc3a160 2708 * as.h: Define default values of [TEXT|DATA|BSS]_SECTION_NAME
be0ed38b 2709 * config/obj-elf.c (elf_begin): Use [TEXT|DATA|BSS]_SECTION_NAME
45fb7b89 2710start-sanitize-sky
ffc3a160 2711 * config/tc-dvp.h: Add configuration specific section names.
45fb7b89 2712end-sanitize-sky
ffc3a160 2713
3081e567
ILT
2714Tue Feb 10 17:58:18 1998 Ian Lance Taylor <ian@cygnus.com>
2715
2716 * ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use
2717 seg_fix_rotP rather than fix_root from seg_info.
2718
f64479ba
IC
2719Tue Feb 10 15:32:22 1998 Ian Carmichael <iancarm@cygnus.com>
2720
2721 * expr.c: Add support for 0x1_2_3_4 bignums.
f64479ba 2722
dfb3ecb2
ILT
2723Tue Feb 10 14:43:40 1998 Ian Lance Taylor <ian@cygnus.com>
2724
5023c3ab
ILT
2725 * configure.in: Change -linux* to -linux-gnu*.
2726 * configure: Rebuild.
2727
dfb3ecb2
ILT
2728 * app.c (do_scrub_begin): Treat \r as whitespace.
2729
47aa5592
NC
2730start-sanitize-m32rx
2731Mon Feb 9 16:23:11 1998 Nick Clifton <nickc@cygnus.com>
2732
2733 * config/tc-m32r.c (get_src_reg): Use m32r_cgen_get_operand()
2734 rather than parsing syntax string manually.
2735 (assemble_parallel_insn): Check for both forms of parallel
2736 conflict.
2737end-sanitize-m32rx
6c4e4786
ILT
2738Mon Feb 9 14:16:11 1998 Ian Lance Taylor <ian@cygnus.com>
2739
2740 * Makefile.am: Update dependencies.
2741 * Makefile.in: Rebuild.
2742
7ee4e307
ILT
2743Sat Feb 7 15:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
2744
2745 * configure, aclocal.m4: Rebuild with new libtool.
2746
6766132d
JL
2747Fri Feb 6 16:08:30 1998 Jeffrey A Law (law@cygnus.com)
2748
2749 * config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
2750 the argument to bfd_set_arch_mach.
2751 (load_address): Use bfd_arch_bits_per_address to determine the
2752 bit size of an address instead of looking at the isa level.
2753 (macro, macro2, s_cprestore, s_cpadd): Likewise.
2754
3cb46b33
NC
2755start-sanitize-v850e
2756Fri Feb 6 14:44:34 1998 Nick Clifton <nickc@cygnus.com>
2757
2758 * config/tc-v850.c (md_parse_option): Add -mv850any command line option.
2759end-sanitize-v850e
a52052db
ILT
2760Thu Feb 5 12:39:08 1998 Ian Lance Taylor <ian@cygnus.com>
2761
ffd652c3
ILT
2762 * ehopt.c: New file.
2763 * as.h (enum _relax_state): Add rs_cfa.
2764 (check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
2765 (eh_frame_relax_frag, eh_frame_convert_frag): Declare.
2766 * read.c (emit_expr): Call check_eh_frame.
2767 * write.c (cvt_frag_to_fill): Handle rs_cfa.
2768 (relax_segment): Likewise.
2769 * Makefile.am: Rebuild dependencies.
2770 (GAS_CFILES): Add ehopt.c.
2771 (GENERIC_OBJS): Add ehopt.o.
2772 * doc/internals.texi (Frags): Document rs_cfa.
2773
2774 * as.c (show_usage): Mention --traditional-format.
2775 (parse_args): Accept --traditional-format.
2776 * as.h (flag_traditional_format): Declare.
2777 * output-file.c (output_file_create): If flag_traditional_format,
2778 set BFD_TRADITIONAL_FORMAT on stdoutput.
2779 * doc/as.texinfo, doc/as.1: Document --traditional-format.
2780
b073d428
ILT
2781 * config/tc-mips.c (append_insn): Make sure that if we have a
2782 fixup for an unmatched %hi reloc, it does not associated with a
2783 variant frag.
2784
a52052db
ILT
2785 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
2786 * doc/Makefile.in: Likewise.
2787
89285fc9
NC
2788Wed Feb 4 15:41:54 1998 Nick Clifton <nickc@cygnus.com>
2789
2790 * config/tc-m32r.c (check_for_side_effects): New function.
2791 (can_make_parallel): Add checks for instruction side effects
2792 clashing with the other instruction.
2793 (assemble_parallel_insn): Improve warning messages. Return error
2794 message from non-swapped instruction order.
2795
da9a396b
NC
2796Wed Feb 4 20:00:26 1998 James G. Smith <jsmith@teknema.demon.co.uk>
2797
2798 * config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup().
2799
2800 * config/tc-arm.h: Replace md_after_pass_hook definition with a
2801 md_cleanup definition. This moves the forced literal output to
2802 the end of the source pass, and avoids macro's inserting literals
2803 into the code immediately after the macro expansion.
2804
e8696467
ILT
2805Wed Feb 4 13:17:19 1998 Ian Lance Taylor <ian@cygnus.com>
2806
dfe0d219
ILT
2807 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
2808 a gas internal symbol is adjustable.
6e2604ce 2809 * config/tc-ppc.h (tc_fix_adjustable): Likewise.
dfe0d219 2810
e8696467
ILT
2811 * as.h: If gcc version greater than 2.6, use `__format__' and
2812 `__printf__' in function attributes, rather than `format' and
2813 `printf'.
2814
0e034c77
ILT
2815Mon Feb 2 18:38:18 1998 Ian Lance Taylor <ian@cygnus.com>
2816
2817 * config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF.
2818
2819Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
2820
2821 Add tms320c30 support:
2822 * config/tc-tic30.h: New file.
2823 * config/tc-tic30.c: New file.
2824 * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
2825 TARGET_FORMAT as "coff-tic30".
2826 * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
2827 * Makefile.am: Rebuild dependencies.
2828 (CPU_TYPES): Add tic30.
2829 (CPU_OBJ_VALID): tic30-aout is valid.
2830 (TARGET_CPU_CFILES): Add config/tc-tic30.c.
2831 (TARGET_CPU_HFILES): Add config/tc-tic30.h.
2832 * configure, Makefile.in: Rebuild.
2833
c519430b
NC
2834Mon Feb 2 10:20:37 1998 Nick Clifton <nickc@cygnus.com>
2835
5e04ff14 2836 * config/tc-v850.c (md_assemble): Improvements to error messages.
c519430b 2837
32715d71
ILT
2838Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
2839
2840 * config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
2841 BFD_RELOC_HI16_S to store the high bits of any value.
2842
2843 * config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
2844 (TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
2845 assembler calculate relocations to any external symbol at all.
2846 * config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
2847 involving generation of pc-relative relocs.
2848 (md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
2849 has been moved to md_apply_fix3.
2850
2851 * config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
2852 (ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
2853 which actually means (the address of identifier's GOT entry) +
2854 constant, which is not particularly useful.
2855
d341ae3f
DE
2856Fri Jan 30 11:02:35 1998 Doug Evans <devans@canuck.cygnus.com>
2857
2858 * read.h (include_dirs): Declare.
2859 (include_dir_count,include_dir_maxlen): Declare.
5b862039
DE
2860start-sanitize-sky
2861
2862 * config/tc-dvp.c (md_longopts): Add -no-dma, -no-dma-pke.
2863 (md_parse_option): Handle them.
2864 (md_show_usage): Print them.
2865 (output_dma,output_pke): New static globals.
5b862039
DE
2866 (assemble_pke): Handle -no-dma-pke.
2867 (insert_file): Search include dir list.
2868 (s_enddirect): Validate length if prespecified.
2869 (s_endmpg): Likewise. Handle -no-dma-pke.
2870 (s_endunpack): Handle -no-dma-pke.
32729d87
DE
2871 (md_pcrel_from_section): Add offset to delay slot for
2872 undefined symbols.
5b862039 2873end-sanitize-sky
d341ae3f 2874
4b027387
ILT
2875Fri Jan 30 11:47:02 1998 Ian Lance Taylor <ian@cygnus.com>
2876
f2e272e0
ILT
2877 * configure.in: Correct check for shared opcodes library.
2878 * configure: Rebuild.
2879
ce44ad74
ILT
2880 * listing.c (buffer_line): If we can't open the file, set at_end.
2881 (listing_print): Remove unused local variable fi.
2882
2883 * config/m68k-parse.y (reglistpair): Handle register list in
2884 either order.
2885
4b027387
ILT
2886 * config/vms-conf.h: Don't undef VERSION.
2887
72e6c688
DE
2888start-sanitize-m32rx
2889Thu Jan 29 13:36:29 1998 Doug Evans <devans@canuck.cygnus.com>
2890
2891 * config/tc-m32r.c (allow_m32rx): Must compile with K&R C.
2892 (m32rx support): only include #ifdef HAVE_CPU_M32RX.
2893
2894end-sanitize-m32rx
4b027387 2895Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
c412299f
ILT
2896
2897 * Makefile.am (CONFIG_OBJS): New variable, containing part of old
2898 OBJS variable.
2899 (GENERIC_OBJS): New variable, with the rest of the old OBJS
2900 variable.
2901 (OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
2902 ($(srcdir)/make-gas.com): Rename from make-gas.com.
2903 (stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
2904 (EXTRA_DIST): Define.
2905 * vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
2906 explicitly rather than via the list of object files.
2907 (gcc-as.opt): New file created when make-gas.com is run.
2908 * config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
2909 itbl-cpu.h} to #include appropriate file rather than copying that
2910 file.
2911 * config/vms-conf.h: Synchronize with current config.in.
2912 * Makefile.in: Rebuild.
2913
ca1a4060
MM
2914Thu Jan 29 18:48:19 1998 Bill Moyer <billm@cygnus.com>
2915
2916 * config/tc-d30v.c (do_assemble): Added flag_explicitly_parallel.
2917 (parallel_ok): Relaxed parallel subinstruction dependency check.
2918
ed295804
NC
2919start-sanitize-m32rx
2920Wed Jan 28 16:27:27 1998 Nick Clifton <nickc@cygnus.com>
2921
2922 * config/tc-m32r.c (md_assemble): Fix determination of when
2923 instructions can be combined in parallel.
2924
2925end-sanitize-m32rx
4d1dc7f1
BM
2926Wed Jan 28 14:35:00 1998 Bill Moyer <billm@cygnus.com>
2927
2928 * as.h (flag_warn_suppress_instructionswap): added new flag.
2929 * tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap"
2930 command line argument.
2931 * tc-d10v.c (write_2_short): emit "Swapping instructions"
2932 warning only if flag_warn_suppress_instructionswap is false.
2933
0040c1e9
ILT
2934Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
2935
2936 * configure.in (i386-*-mingw32*): New target.
2937 * configure: Rebuild.
2938
f414803c
ILT
2939Wed Jan 28 14:51:18 1998 Ian Lance Taylor <ian@cygnus.com>
2940
8ecd2ccb
ILT
2941 * symbols.c (resolve_symbol_value): Don't set the segment if it
2942 hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
2943
f414803c
ILT
2944 * config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
2945 S_GET_SEGMENT.
2946
fa8666c7
ILT
2947Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu>
2948
2949 as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
2950 depends upon HAVE_{UNLINK,REMOVE} values rather than host
2951 compiler.
2952
8fb6931a
ILT
2953Wed Jan 28 13:48:08 1998 Ian Lance Taylor <ian@cygnus.com>
2954
2955 * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
2956
98b155a2
DE
2957start-sanitize-sky
2958Wed Jan 28 10:00:40 1998 Doug Evans <devans@canuck.cygnus.com>
2959
2960 * configure.in: Add dvp support.
2961 * configure: Regenerate.
2962 * config/tc-dvp.[ch]: New files.
2963
2964end-sanitize-sky
1adee2cc
NC
2965Wed Jan 28 09:52:00 1998 Nick Clifton <nickc@cygnus.com>
2966
2967 * config/tc-v850.c (v850_insert_operand): Display instruction when
2968 an error is encountered.
2969
6cc7a938
ILT
2970Tue Jan 27 13:32:01 1998 Robert Lipe <robertl@dgii.com>
2971
2972 * configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
2973 (i386-*-sco3.2v5*coff): New target.
2974 (i386-*-sco3.2*): New target.
2975 * configure: Rebuild.
2976
38a8f434
NC
2977Tue Jan 27 11:06:52 1998 Nick Clifton <nickc@cygnus.com>
2978
5e04ff14 2979 * config/tc-v850.c: Tidy error message production.
38a8f434 2980
8ecadea4
ILT
2981Tue Jan 27 12:24:32 1998 Ian Lance Taylor <ian@cygnus.com>
2982
29b2b5da
ILT
2983 * config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold
2984 validate_immediate return value in the right type for comparisons
2985 to FAIL.
8ecadea4 2986
76f9e5af
RH
2987Tue Jan 27 06:51:59 1998 Richard Henderson <rth@cygnus.com>
2988
2989 * listing.c (MAX_BYTES): Use listing variables not constants.
2990 (data_buffer): No longer an array, but a pointer.
2991 (calc_hex): sizeof(data_buffer) -> MAX_BYTES.
2992 (listing_listing): Allocate data_buffer.
2993
7b7a88d0
RH
2994Tue Jan 27 06:38:35 1998 Richard Henderson <rth@cygnus.com>
2995
2996 * as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2,
2997 --listing-rhs-width, --listing-cont-lines.
2998 (show_usage): Update.
2999 * listing.c (listing_lhs_width, listing_lhs_width_second): New vars.
3000 (listing_lhs_cont_lines, listing_rhs_width): New vars.
3001 (print_lines): Use the variables instead of the constants.
3002 (listing_listing): Likewise.
3003 * listing.h: Declare the new vars.
3004
c3b27a64
RH
3005Tue Jan 27 05:32:05 1998 Richard Henderson <rth@cygnus.com>
3006
3007 * as.c (parse_args): Add --keep-locals alias for -L.
3008 Add --strip-local-absolute.
3009 (show_usage): Update.
3010 * as.h (flag_strip_local_absolute): New flag.
3011 * symbols.c (S_IS_LOCAL): Use it.
3012 * config/obj-aout.h (S_IS_LOCAL): Likewise.
3013 * config/obj-bout.h (S_IS_LOCAL): Likewise.
3014 * config/obj-coff.h (S_IS_LOCAL): Likewise.
3015
26192c50
NC
3016Mon Jan 26 13:07:41 1998 Nick Clifton <nickc@cygnus.com>
3017
3018 * config/tc-m32r.c: Detect if explicitly parallel instructions
3019 might have an io conflict and issue a warning message.
3020
b6930bdf
NC
3021start-sanitize-m32rx
3022Mon Jan 26 12:38:54 1998 Nick Clifton <nickc@cygnus.com>
3023
3024 * config/tc-m32r.c (reads_from_src_reg): Change second parameter
3025 to a count of the number of matches to skip.
3026 (can_make_parallel): Pass count of number of matches to skip to
3027 reads_from_src_reg().
3028
3029end-sanitize-m32rx
f7124cf2
NC
3030Thu Jan 22 17:51:44 1998 Nick Clifton <nickc@cygnus.com>
3031
3032start-sanitize-m32rx
3033 * config/tc-m32r.c: Add support for swapping fixups of swap
3034 instructions.
3035end-sanitize-m32rx
3036 * cgen.c (cgen_save_fixups, cgen_restore_fixups,
3037 cgen_swap_fixups): Functions to save, restore and swap the fixup
3038 chain with a backup copy.
3039 (cgen_asm_finish_insn): Returns address of constructed insn.
3040
cc746b3e
RH
3041Wed Jan 21 16:49:10 1998 Richard Henderson <rth@cygnus.com>
3042
3043 * listing.c (file_info_struct): Remove FILE, add POS.
3044 (last_open_file_info, last_open_file): New; a one entry FILE* cache.
3045 (file_info): Don't open the file.
3046 (buffer_line): Check for the file in the last_open cache, updating
3047 as necessary.
3048 (print_source): Don't reference file_info->file.
3049 (listing_listing): Likewise.
3050 (listing_print): Close the file in the cache, if any.
3051
775fdd0c
NC
3052start-sanitize-m32rx
3053Tue Jan 20 17:08:53 1998 Nick Clifton <nickc@cygnus.com>
3054
3055 * config/tc-m32r.c (md_assemble): Add code to swap explicitly
3056 parallel instructions so that they are in the correct order.
3057 (reads_from_src_reg, get_src_reg, can_make_parallel,
3058 make_parallel): New functions to support opportunistic
3059 parallelisation of adjacent instructions.
3060
3061end-sanitize-m32rx
af8e4ed9
ILT
3062Fri Jan 16 14:51:48 1998 Ian Lance Taylor <ian@cygnus.com>
3063
3064 * read.c (dwarf_file_string): New file static variable.
3065 (emit_expr): Look for constant sequence that leads up to a file
3066 name in DWARF debugging output.
3067 (stringer): Use dwarf_file_string to decide whether to accept a
3068 string as a file name.
3069
9ca4498f
RH
3070Fri Jan 16 11:30:37 1998 Richard Henderson <rth@cygnus.com>
3071
3072 * tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack.
3073 (crack_operand): Add reg->reglst MRI hack.
3074 (r_seg): Put reglst symbols in reg_section.
3075 (m68k_frob_symbol): Frob reglst symbols into absolute_section.
3076
43e941fd
RH
3077Thu Jan 15 14:19:01 1998 Richard Henderson <rth@cygnus.com>
3078
3079 * tc-sh.c (get_specific): Handle SGR & DBR.
3080
e71bd99c
RH
3081Thu Jan 15 13:46:48 1998 Richard Henderson <rth@cygnus.com>
3082
3083 * tc-h8300.c (parse_reg): Take the length of the symbol into
3084 account when attempting to match a register name.
2833e251 3085 * tc-h8500.c (parse_reg): Likewise.
e71bd99c 3086
ebde3f62
NC
3087Wed Jan 14 17:52:33 1998 Nick Clifton <nickc@cygnus.com>
3088
23ded748 3089start-sanitize-m32rx
ebde3f62
NC
3090 * config/tc-m32r.c (md_assemble): Add support for parsing parallel
3091 instructions.
23ded748 3092end-sanitize-m32rx
ebde3f62
NC
3093 * cgen.c: Formatting changes to improve readability.
3094
6c4b811d
JL
3095Wed Jan 14 15:41:41 1998 Jeffrey A Law (law@cygnus.com)
3096
3097 * config/tc-mips.c (macro): Rework division code to avoid unfilled
3098 delay slot.
3099
4ef6f7f1
MM
3100Wed Jan 14 18:04:20 1998 Michael Meissner <meissner@cygnus.com>
3101
3102 Based on a patch from Jim Wilson
3103 * config/tc-d30v.c (do_assemble): Remove non-ansi default case.
3104 (tc_gen_reloc): Handle cross section PC relative relocs
3105 correctly.
3106
b2cf4548
DE
3107Wed Jan 14 15:02:19 1998 Doug Evans <devans@seba.cygnus.com>
3108
3109 * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
3110
1002d8ed
DE
3111Mon Jan 12 13:04:57 1998 Doug Evans <devans@seba.cygnus.com>
3112
3113 * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage.
3114 (expr_jmp_buf): New static local.
3115 (cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
3116 (cgen_md_operand): New function.
3117 * tc-m32r.c: Clean up pass over `struct foo' usage.
3118 (md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
3119
d7ab1078
RH
3120Tue Jan 6 15:36:02 1998 Richard Henderson <rth@cygnus.com>
3121
3122 * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms.
3123 (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication.
3124
388fa5c6
ILT
3125Fri Jan 2 16:08:54 1998 Ian Lance Taylor <ian@cygnus.com>
3126
3127 * config/tc-i386.c (i386_operand): Give an error if there are
3128 unrecognized characters after an expression.
3129
0378333b 3130For older changes see ChangeLog-9697
This page took 0.214128 seconds and 4 git commands to generate.