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