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