-Wchar-subscripts cleanup
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 Mon May 24 13:36:55 1999 Doug Evans <devans@canuck.cygnus.com>
2
3 -Wchar-subscripts cleanup
4 * listing.c (listing_newline): Use unsigned char variable, so
5 calls to isascii,iscntrl are correct.
6 * atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
7 (unsigned char).
8 * ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
9 * config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
10 * config/tc-mips.c (mips_ip,mips16_ip): Ditto.
11 (my_getSmallExpression,get_number,s_mips_ent): Ditto.
12
13 1999-05-28 Torbjorn Granlund <tege@matematik.su.se>
14
15 * config/tc-m68k.c (m68k_ip): Check for disallowed index register
16 width for Coldfire.
17 (arch_coldfire_p): New #define.
18 (m68k_ip, m68k_init_after_args): Use arch_coldfire_p.
19
20 1999-05-28 Linus Nordberg <linus.nordberg@canit.se>
21
22 * config/tc-m68k.c (install_operand): Add places `n', `o'.
23
24 * config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'.
25 (install_operand): Add place `N'.
26 (init_table): Add registers ACC, MACSR, MASK.
27
28 * config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK.
29
30 * config/tc-m68k.c: Change mcf5200 --> mcf.
31 (archs): Add mcf5206e, mcf5307.
32 (m68k_ip): Add format `u'.
33 (install_operand): Add place `m', `M', `h'.
34 (init_table): Add upper/lower registers.
35
36 * config/m68k-parse.h (m68k_register): Add upper/lower registers.
37
38 1999-05-28 Martin Dorey <mdorey@madge.com>
39
40 * config/tc-i960.c: Several minor changes to add ELF and
41 BFD_ASSEMBLER support.
42 * config/tc-i960.h: Likewise.
43 * configure.in (i960-*-elf*): New target.
44 * aclocal.m4, configure: Rebuild.
45
46 1999-05-25 Alan Modra <alan@spri.levels.unisa.edu.au>
47
48 * config/tc-i386.c (md_apply_fix3): Only do 1999-05-17 fx_pcrel
49 reloc changes when defined(BFD_ASSEMBLER).
50
51 1999-05-17 Alan Modra <alan@spri.levels.unisa.edu.au>
52
53 * config/tc-i386.c (tc_gen_reloc): Remove F and MAP macros.
54
55 * write.c (write_print_statistics): Output to file, not stderr.
56
57 * expr.c (generic_bignum_to_int32,64): Prototype.
58
59 * read.c (s_lcomm_internal, sizeof_sleb128, sizeof_uleb128,
60 output_sleb128, output_uleb128, output_big_sleb128,
61 output_big_uleb128, output_big_leb128): Prototype.
62 (output_big_sleb128, output_big_uleb128): Make inline.
63 (output_big_leb128): Remove inline
64
65 From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
66 * config/tc-i386.c (md_apply_fix3): Convert BFD_RELOC_16 with
67 fx_pcrel set to BFD_RELOC_16_PCREL. Similarly for BFD_RELOC_8.
68 Handle BFD_RELOC_16_PCREL and BFD_RELOC_8_PCREL. Return changed
69 value for correct overflow check in write.c:fixup_segment.
70 * write.c (fixup_segment): Move bitfield overflow checks to after
71 the md_apply_fix call.
72 * config/obj-coff.c (fixup_segment): Likewise.
73 * doc/internals.texi (CPU backend): Mention md_apply_fix modifying
74 valueT *val argument.
75
76 Fri May 14 10:52:13 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
77
78 * config/atof-ieee.c (gen_to_words): Correctly round a
79 denormalized number. Fix off-by-one in range checking for
80 exponent in a denormal.
81
82 1999-05-10 Nick Clifton <nickc@cygnus.com>
83
84 * config/tc-mcore.c (parse_reg): Accept 'sp' as a valid register
85 name.
86
87 Thu May 13 09:46:59 1999 Joel Sherrill (joel@OARcorp.com)
88
89 * configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets.
90
91 1999-05-12 Alan Modra <alan@spri.levels.unisa.edu.au>
92
93 * config/tc-i386.h (InvMem): New flag. Add to AnyMem.
94 (ReverseRegRegmem): Remove.
95 (ImmExt): New flag. Renumber some of the opcode_modifier bits.
96 * config/tc-i386.c (md_assemble): Test for PIII SIMD and AMD
97 3DNow! via ImmExt opcode_modifier. Remove ReverseRegRegmem
98 kludge.
99
100 From Doug Ledford <dledford@redhat.com>
101 * config/tc-i386.h (RegXMM): New for P/III.
102 * config/tc-i386.c: Add support for P/III.
103
104 Sat May 8 23:28:50 1999 Richard Henderson <rth@cygnus.com>
105
106 * config/tc-ppc.c (md_parse_option): Recognize -mppc64bridge.
107 (md_begin): Allow ppc32 insns in ppc64bridge mode.
108 (ppc_insert_operand): Accept SIGNOPT in ppc64 mode.
109
110 Thu May 6 23:13:39 1999 Richard Henderson <rth@cygnus.com>
111
112 * config/tc-i386.c (i386_immediate): Skip whitespace before
113 complaining about junk after expression.
114 (i386_displacement): Likewise.
115
116 Thu May 6 19:50:14 1999 Richard Henderson <rth@cygnus.com>
117
118 * symbols.c (symbol_find_base): Use memcpy instead of strcpy.
119 Don't copy before downcaseing.
120
121 1999-05-05 Catherine Moore <clm@cygnus.com>
122
123 * tc-m68k.c: Include elf/m68k.h.
124 (m68k_elf_final_processing): New routine.
125 * tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing):
126 Define.
127
128 Mon May 3 10:26:03 1999 Jeffrey A Law (law@cygnus.com)
129
130 * config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a
131 17 bit fmt insn.
132
133 1999-04-30 Nick Clifton <nickc@cygnus.com>
134
135 * config/tc-mcore.c (mcore_s_section): Dump literals before
136 changing section.
137
138 1999-04-29 Nick Clifton <nickc@cygnus.com>
139
140 * config/tc-mcore.c (md_apply_fix3): Insert reloc addend into insn
141 for COFF/PE port.
142
143 Mon Apr 26 12:34:37 1999 Doug Evans <devans@canuck.cygnus.com>
144
145 * config/tc-fr30.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
146 (TC_INIT_FIX_DATA): Delete.
147 * config/tc-m32r.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
148 (TC_INIT_FIX_DATA): Delete.
149 * write.h (struct fix): New member fx_cgen, ifdef USING_CGEN.
150 * write.c (fix_new_internal): Initialize fx_cgen member.
151 * cgen.c (gas_cgen_record_fixup,gas_cgen_record_fixup_exp): Update.
152 (gas_cgen_md_apply_fix3): Update.
153 * config/tc-m32r.c (md_cgen_lookup_reloc): Update.
154 (md_cgen_record_fixup_exp): Update.
155 (FX_OPINFO_R_TYPE): Update.
156
157 * frags.c (frag_var,frag_variant): Initialize fr_cgen here.
158 * config/tc-fr30.h (TC_FRAG_INIT): Delete.
159 * config/tc-m32r.h (TC_FRAG_INIT): Delete.
160 * frags.h (struct frag): Make opindex, opinfo ints.
161
162 * config/tc-fr30.c (FX_OPINFO_R_TYPE): Delete, unused.
163
164 1999-04-26 Tom Tromey <tromey@cygnus.com>
165
166 * aclocal.m4, configure: Updated for new version of libtool.
167
168 1999-04-22 Nick Clifton <nickc@cygnus.com>
169
170 * config/tc-mcore.c (md_apply_fix3): Renamed function from
171 md_apply_fix.
172 (md_apply_fix3): Do not fix up absolute relocations against
173 symbolic values.
174
175 * config/tc-mcore.h (MD_APPLY_FIX3): Define.
176
177 1999-04-20 Nick Clifton <nickc@cygnus.com>
178
179 * config/tc-mcore.c (md_pseudo_table): Add intercepts for section
180 changes and data-in-text directives.
181 (mcore_cons): New function: intercept cons() operations.
182 (mcore_float_cons): New function: intercept float_cons()
183 operations.
184 (mcore_stringer): New function: intercept stringer() operations.
185
186 1999-04-18 Ian Lance Taylor <ian@zembu.com>
187
188 * obj.h (struct format_ops): Change generate_asm_lineno field to
189 take no parameters.
190 * config/obj-ecoff.h (OBJ_GENERATE_ASM_LINENO): Don't define.
191
192 * config/tc-alpha.c (find_opcode_match): Add default case to
193 switch.
194 (find_macro_match): Likewise.
195 (load_expression): Parenthesize && within ||.
196
197 * config/tc-alpha.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
198
199 1999-04-17 Nick Clifton <nickc@cygnus.com>
200
201 * config/tc-mcore.c (md_pseudo_table): Add overrides for .bss
202 .text .data .section pseudo ops.
203 (mcore_s_section): New function. Dump lits before changing secs.
204 (mcore_s_text): New function. Dump lits before changing secs.
205 (mcore_s_data): New function. Dump lits before changing secs.
206
207 1999-04-16 Gavin Romig-Koch <gavin@cygnus.com>
208
209 * config/tc-mips.c (mips_32bitmode): New.
210 (md_begin): Set mips_32bitmode if needed.
211 (mips_elf_final_processing): Don't set EF_MIPS_ARCH.
212 Set EF_MIPS_32BITMODE.
213
214 Fri Apr 16 12:26:39 1999 Bob Manson <manson@charmed.cygnus.com>
215
216 * config/obj-coff.c (c_section_symbol): Fix typo in previous
217 change.
218
219 1999-04-16 Nick Clifton <nickc@cygnus.com>
220
221 * config/tc-mcore.h (LOCAL_LABELS_FB): Define to 1.
222
223 Thu Apr 15 16:52:09 1999 Jeffrey A Law (law@cygnus.com)
224
225 * tc-hppa.c (pa_get_absolute_exression): Try to handle "5 %r3"
226 expressions correctly.
227
228
229 1999-04-15 Gavin Romig-Koch <gavin@cygnus.com>
230
231 * config/tc-mips.c (mips_elf_final_processing): Set EF_MIPS_ARCH.
232
233 Mon Apr 12 23:45:07 1999 Jeffrey A Law (law@cygnus.com)
234
235 * tc-hppa.c (pa_ip, case '3'): New case for PA2.0 fmpyfadd
236 and fmpynfadd instructions.
237
238 1999-04-11 Richard Henderson <rth@cygnus.com>
239
240 * as.h (environ): Declare it, if needed.
241 * as.c (dump_statistics): Don't declare environ.
242 * configure.in (environ): Detect declaration.
243 * configure, config.in: Rebuild
244
245 * config/tc-i386.c (i386_immediate): Accept @GOT relocations.
246 (i386_displacement): Allocate enough space for replacement buffer.
247 Clean up replacement buffer initialization.
248
249 1999-04-11 Bob Manson <manson@charmed.cygnus.com>:
250
251 * subsegs.c (section_symbol): Don't create a new symbol if one
252 already exists; instead, use the existing one, but set its segment
253 and frag data if it hasn't already been defined.
254 * config/obj-coff.c (c_section_symbol): Likewise.
255
256 Sat Apr 10 20:10:02 1999 Richard Henderson <rth@cygnus.com>
257
258 * tc-alpha.c (load_expression): Call as_bad instead of abort.
259
260 1999-04-08 Nick Clifton <nickc@cygnus.com>
261
262 * config/tc-mcore.c: New File: Support routines for MCore
263 assembler.
264 * config/tc-mcore.h: New File: Definitions for MCore assembler.
265 * config/obj-coff.c: Add support for mcore-pe target.
266
267 * Makefile.am: Add support for MCore targets.
268 * Makefile.in: Regenerate.
269 * configure.in: Add support for MCore targets.
270 * configure: Regenerate.
271
272 * doc/all.texi: Set MCORE.
273 * doc/as.texinfo: Document MCore specific command line options.
274
275 * write.h: Prevent multiple inclusion.
276
277 1999-04-06 Ian Lance Taylor <ian@zembu.com>
278
279 * asintl.h (LC_MESSAGES): Never define.
280 * as.c (main): Don't pass LC_MESSAGES to setlocale if the system
281 does not define it.
282 * gasp.c (main): Don't pass LC_MESSAGES to setlocale if the system
283 does not define it.
284
285 * Makefile.am (m68k-parse.c): If configuring in the source
286 directory, copy m68k-parse.y into the local directory before
287 running ylwrap, to remove spurious differences when generating
288 snapshots.
289 * Makefile.in: Rebuild.
290
291 * config/tc-sparc.h (md_do_align): Just allocate the number of
292 bytes necessary, rather than always allocating 1024.
293
294 1999-04-04 Ian Lance Taylor <ian@zembu.com>
295
296 * listing.c (listing_newline): Add cast to avoid warning.
297 * read.c (generate_lineno_debug): Add cases to switch. Reindent.
298 * config/tc-i386.c (i386_scale): Add return value.
299 (build_displacement_string): Remove unused local temp_disp2.
300 (i386_intel_memory_operand): Add parentheses to avoid warning.
301 (i386_intel_operand): Remove unused local end_of_operand_string.
302 (i386_operand): Remove unused local operand_modifier.
303 (i386_operand): Add parens to avoid warning.
304
305 1999-04-04 Don Bowman <don@pixsci.com>
306
307 * configure.in: Add mips*-*-vxworks* target; have it define
308 MIPS_STABS_ELF.
309 * configure, config.in: Rebuild.
310
311 1999-03-31 Nick Clifton <nickc@cygnus.com>
312
313 * configure.in (emulations): Add support for arm-epoc-pe.
314 * configure: Regenerate.
315 * config/te-epoc-pe.h: New file. Define macros specific to
316 arm-epoc-pe target.
317 * config/tc-arm.h: Select epoc-pe-arm target format if configured
318 for arm-epoc-pe target.
319
320 Mon Mar 29 10:15:40 CST 1999 Catherine Moore <clm@cygnus.com>
321
322 * tc-mips.c (md_apply_fix): Adjust value for linkonce sections.
323
324 Wed Mar 24 14:11:10 1999 Jeffrey A Law (law@cygnus.com)
325
326 * tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Clean up code to
327 detect ",n" without a condition.
328 (pa_parse_neg_cmpsub_cmpltr): Likewise.
329
330
331 Tue Mar 23 11:28:23 1999 Jeffrey A Law (law@cygnus.com)
332
333 * tc-hppa.c (pa_ip, case '~'): The condition for a branch on bit
334 instruction is encoded with one bit.
335
336
337 1999-03-23 Ian Lance Taylor <ian@zembu.com>
338
339 * doc/internals.texi (CPU backend): Mention that
340 line_separator_chars should not include newline. From thi
341 <ttn@mingle.glug.org>.
342
343 1999-03-22 Doug Evans <devans@casey.cygnus.com>
344
345 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
346 * config/tc-m32r.c (md_begin): Update call to m32r_cgen_cpu_open.
347
348 Sun Mar 21 18:08:18 1999 Richard Henderson <rth@cygnus.com>
349
350 * tc-alpha.c (md_assemble): Allow '6' in an opcode.
351
352 Thu Mar 18 10:55:30 1999 Jeffrey A Law (law@cygnus.com)
353
354 * tc-hppa.c (pa_ip, case 'a'): Do not call pa_parse_..._cmpsub_cmpltr.
355
356
357 Thu Mar 18 02:30:07 1999 Jeffrey A Law (law@cygnus.com)
358
359 * tc-hppa.c (pa_ip, case 'd'): Do not allow ",n".
360
361 1999-03-15 Martin Hunt <hunt@cygnus.com>
362
363 * app.c (do_scrub_begin): Change '-' back to a symbol char
364 so we can use multiple opcodes on a line again.
365
366 * config/tc-d30v.c: By default, warn if a symbol has
367 the same name as a register. Plus some minor
368 updates from the branch.
369
370 1999-03-13 Nick Clifton <nickc@cygnus.com>
371
372 * config/tc-d30v.c (md_apply_fix3): Handle BFD_RELOC_8,
373 BFD_RELOC_16 and BFD_RELOC_64.
374
375 1999-03-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
376
377 * expr.c (expr): Add missing else.
378
379 1999-03-12 Nick Clifton <nickc@cygnus.com>
380
381 * config/tc-arm.c (md_apply_fix3): Improve error message.
382
383 1999-03-11 Doug Evans <devans@casey.cygnus.com>
384
385 * Makefile.am (CPU_TYPES): Add fr30.
386 (cgen.o): Add $(CGEN_CPU_PREFIX)-desc.h dependency.
387 (fr30,m32r dependencies): Update.
388 * Makefile.in: Rebuild.
389
390 * cgen.c (gas_cgen_record_fixup): Update use of operand->type.
391 (gas_cgen_record_fixup_exp): Ditto.
392 (gas_cgen_finish_insn): Call cgen_operand_lookup_by_num.
393 (gas_cgen_md_apply_fix3): Ditto. Update call to set_vma_operand.
394 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
395 (md_cgen_lookup_reloc): Update use of operand->type.
396 * config/tc-m32r.c (md_begin): Update call to fr30_cgen_cpu_open.
397 (md_convert_frag): Call cgen_operand_lookup_by_num.
398 (md_cgen_lookup_reloc): Update use of operand->type.
399 (m32r_cgen_record_fixup_exp): Ditto.
400
401 1999-03-09 Jim Blandy <jimb@zwingli.cygnus.com>
402
403 * config/tc-mips.c (md_show_usage): Fix message.
404
405 1999-03-03 Nick Clifton <nickc@cygnus.com>
406
407 * doc/c-arm.texi (ARM Syntax): Document new command line switches
408 and LDR reg,=<expr> instruction.
409
410 * config/tc-arm.c: Add support for -mcpu=arm810, -mcpu=arm9 and
411 -mcpu=arm9tdmi.
412
413 Fri Feb 19 09:36:30 1999 Ian Lance Taylor <ian@cygnus.com>
414
415 * doc/c-arm.texi (ARM-Chars): Fix typo in use of '@'.
416
417 1999-02-17 Nick Clifton <nickc@cygnus.com>
418
419 This patch was created by: Scott Bambrough
420 <scottb@corelcomputer.com>
421
422 * app.c:
423 Special cased '@' character. The '@' character is used as the
424 ARM assembler comment character, as a special character
425 and in ELF .symver pseudo-op's, and as a special character in
426 .type and .section pseudo-ops.
427 (symver_pseudo): New static variable.
428 (symver_state): New static variable.
429 (struct app_save): Add field 'symver_state'.
430 (app_push): Save global symver_state int struct app_save.
431 (app_pop): Restore global symver_state from struct app_save.
432 (do_scrub_chars): Special case handling of '@' character in
433 .symver pseudo-ops.
434
435 * configure.in: Modified to recognize armv* uname syntax from ARM
436 Linux kernel.
437 * configure: Regenerated.
438
439 * config/obj-elf.c (obj_elf_section): Allow '%' as well as '@' as
440 a prefix to the section's type.
441 (obj_elf_type): Allow '%' as well as '@' and '#' as prefixes to
442 the type's typename.
443
444 * config/tc-arm.h: Add support for PIC generation:
445 (pic_code): New boolean.
446 (obj_relocate_extern): Define.
447 (TC_RELOC_RTSYM_LOC_FIXUP): Define
448 (TC_CONS_FIX_NEW): Define.
449 (tc_fix_adjustable): Define.
450 (GLOBAL_OFFSET_TABLE_NAME): Define.
451
452 * config/tc-arm.c: Add support for PIC generation:
453 (line_seperator_chars): Allow ';' as a seperator for Linux.
454 (is_immediate_prefix): New macro.
455 (arm_parse_reloc): New function.
456 (s_arm_elf_cons): New function.
457 (do_branch): Special case for BFD_RELOC_ARM_PLT32.
458 (md_undefined_symbol): Special case handling for the Global Offset
459 Table's symbol.
460 (md_apply_fix3): Handle PIC relocs.
461 (tc_gen_reloc): Handle PIC relocs.
462 (md_parse_option): Add support for '-k' command line switch to
463 enable PIC generation.
464 (cons_fix_new_arm): New function.
465 (s_arm_elf_cons): New function.
466
467 Tue Feb 16 16:31:53 1999 Ian Lance Taylor <ian@cygnus.com>
468
469 * configure.in: Add comments for uses of AC_DEFINE.
470 * acinclude.m4: Likewise.
471 * acconfig.h: Remove.
472 * aclocal.m4: Rebuild.
473 * configure: Rebuild.
474 * Makefile.in: Rebuild.
475 * config.in: Rebuild.
476
477 1999-02-15 Jim Lemke <jlemke@cygnus.com>
478
479 * config/tc-mips.c (mips_ip: case 'o'): Fix assertion failure for
480 non-constant offset from a base register.
481
482 1999-02-14 Ken Raeburn <raeburn@raeburn.org>
483
484 * config/tc-alpha.c (md_show_usage): Put \ before newline in
485 strings always.
486
487 Sat Feb 13 14:10:10 1999 Richard Henderson <rth@cygnus.com>
488
489 * config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264.
490 (emit_insn): Look for pc-relative and no-overflow specifiers on
491 internal relocation types.
492
493 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
494
495 * doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and
496 -mcpu=NNNN flags.
497
498 * config/tc-mips.c: Remove all the mips_NNNN variables; just use
499 mips_cpu instead.
500 (mips_4650, mips_4010, mips_4100): Variables removed.
501 (hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro,
502 macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN
503 variables.
504 (md_begin): Don't bother initializing the mips_NNNN variables;
505 mips_cpu is set, and that's good enough now.
506 (md_parse_option): Have the -mNNNN options set mips_cpu instead of
507 the mips_NNNN variable. The -no-mNNNN flags are now no-ops.
508 (show): New function, to handle wrapping in the CPU lists.
509 (md_show_usage): Update lists of -mcpu and -mNNNN switches.
510
511 Sat Feb 13 00:17:26 1999 Richard Henderson <rth@cygnus.com>
512
513 * config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather
514 than treat as an immediate specifier.
515
516 Thu Feb 11 16:18:31 1999 Richard Henderson <rth@cygnus.com>
517
518 * config/tc-i386.c: Prototype many functions.
519 (set_intel_syntax): Accept `prefix'/`noprefix' specifiers.
520 (i386_immediate): Remove unused second argument.
521 (i386_intel_operand): Fix i386_is_reg typo.
522 (i386_operand): Use allow_naked_reg.
523 (output_invalid): Make operand int for K&R.
524
525 Thu Feb 11 11:21:02 1999 Ian Lance Taylor <ian@cygnus.com>
526
527 * Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake
528 patch.
529 * Makefile.in: Rebuild.
530
531 1999-02-09 Doug Evans <devans@casey.cygnus.com>
532
533 * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
534 (cgen.o): Ditto.
535 (EXTRA_as_new_SOURCES): Comment out.
536 (.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
537 * Makefile.in: Rebuild.
538 * doc/Makefile.in: Rebuild.
539 * configure.in: Require autoconf 2.13. Redo using_cgen handling.
540 Delete call to AM_CYGWIN32. Replace AM_EXEEXT with AC_EXEEXT.
541 (AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
542 * configure: Rebuild.
543 * aclocal.m4: Rebuild.
544 * config.in: Rebuild.
545 * cgen.c: Include cgen-desc.h, not cgen-opc.h.
546 (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
547 (gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
548 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
549 CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
550 (gas_cgen_record_fixup): Remove unnecessary != 0 test.
551 (gas_cgen_record_fixup_exp): Ditto.
552 (gas_cgen_finish_insn): Ditto. Refer to operand table via cpu
553 descriptor, not global variable.
554 (gas_cgen_md_apply_fix3): Refer to operand_table via cpu
555 descriptor, not global variable. Refer to insert_operand handler
556 via cpu descriptor, not global function.
557 * cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
558 * config/tc-fr30.c: Include opcodes/fr30-desc.h.
559 (*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
560 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
561 Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
562 * config/tc-m32r.c: Ditto.
563 (assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
564 (md_assemble): Ditto.
565 (md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
566
567 1999-02-09 Nick Clifton <nickc@cygnus.com>
568
569 * config/tc-arm.c (md_apply_fix3): Fix handling of label1 - label2
570 relocations for ELF targets.
571
572 1999-02-08 Nick Clifton <nickc@cygnus.com>
573
574 * configure.in: Add support for StrongARM target.
575 * configure: Regenerate.
576
577 1999-02-05 Nick Clifton <nickc@cygnus.com>
578
579 * config/tc-arm.h: Tidy OBJ_ELF and OBJ_COFF definitions.
580
581 * config/tc-arm.c (md_apply_fix3): Fix BFD_RELOC_ARM_PCREL_BRANCH
582 for COFF ports.
583
584 Wed Feb 3 11:35:47 1999 Richard Henderson <rth@cygnus.com>
585
586 * config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options.
587
588 Mon Feb 1 20:37:30 1999 Catherine Moore <clm@cygnus.com>
589
590 * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define.
591 (INTEL_DWORD_MNEM_SUFFIX): Define.
592 (BYTE_PTR): Define.
593 (WORD_PTR): Define.
594 (DWORD_PTR): Define.
595 (XWORD_PTR): Define.
596 (SHORT): Define.
597 (OFFSET_FLAT): Define.
598 (FLAT): Define.
599 (NONE_FOUND): Define.
600 (No_dSuf): Define.
601 (No_xSuf): Define.
602 * config/tc-i386.c (set_intel_syntax): New routine.
603 (intel_syntax): Declare.
604 (allow_naked_reg): Declare.
605 (md_pseudo_table): Support .intel_syntax and .att_syntax.
606 (intel_float_operand): New routine.
607 (md_assemble): Handle INTEL_DWORD_MNEM_SUFFIX.
608 Handle brackets as well as parens. Call i386_intel_operand for
609 intel syntax. Reverse operands if appropriate. Handle new
610 suffixes. Handle movzx and movsx.
611 (i386_is_reg): New routine.
612 (i386_immediate): New routine.
613 (i386_scale): New routine.
614 (i386_displacement): New routine.
615 (i386_operand_modifier): New routine.
616 (build_displacement_string): New routine.
617 (i386_parse_seg): New routine.
618 (i386_intel_memory_operand): New routine.
619 (i386_intel_operand): New routine.
620 (i386_operand): Call i386_displacement, i386_immediate,
621 i386_scale, etc. instead of handling inline.
622 (parse_register): Handle registers without prefix.
623
624 Mon Feb 1 12:24:58 1999 Catherine Moore <clm@cygnus.com>
625
626 * configure: Regenerate.
627 * configure.in (arm-*-oabi): New.
628 (thumb-*-oabi): New.
629 * config/tc-arm.c (target_oabi): Declare.
630 (md_apply_fix3): Support REL relocs.
631 (md_parse_option): Handle -oabi.
632 (elf32_arm_target_format): New routine.
633 (md_longopts): Add OPTION_OABI.
634 * config/tc-arm.h: Redefine TARGET_FORMAT.
635
636
637 1999-01-28 Nick Clifton <nickc@cygnus.com>
638
639 * write.c (write_relocs): Handle out of range error.
640
641 * config/tc-fr30.c (fr30_fix_adjustable): New function.
642 (fr30_force_relocation): Default to 0.
643
644 * config/tc-fr30.h (obj_fix_adjustable): Define.
645 (TC_FORCE_RELOCATION): Define.
646
647 * cgen.c (gas_cgen_md_apply_fix3): Do not apply fixes to VTABLE
648 relocs.
649
650 1999-01-16 Nick Clifton <nickc@cygnus.com>
651
652 * config/tc-d30v.c (write_2_short): Do not generate a sequential
653 merge of two instructions if the left instruciton kills the right.
654
655 1999-01-11 Doug Evans <devans@casey.cygnus.com>
656
657 * Makefile.in: Regenerate.
658 * configure.in: Redo test for using cgen.
659 * configure: Regenerate.
660
661 1999-01-09 Nick Clifton <nickc@cygnus.com>
662
663 * config/obj-coff.h (obj_adjust_symtab): Prevent accidental
664 redefinition of this macro.
665
666 Tue Jan 5 21:58:03 1999 Doug Evans <devans@canuck.cygnus.com>
667
668 * config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc"
669 warning.
670
671 1998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
672
673 * config/tc-mips.c (append_insn): For mips16, insert a nop between
674 a read of HI or LO and an immediatly following branch.
675
676 1998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
677
678 * config/tc-mips.c (md_begin): Another correction to the setting of
679 mips_eabi64.
680
681 1998-12-23 Gavin Romig-Koch <gavin@cygnus.com>
682
683 * config/tc-mips.c (md_begin): Correct type-o in setting of mips_eabi64.
684
685 1998-12-21 Nick Clifton <nickc@cygnus.com>
686
687 * config/tc-m32r.c (md_assemble): Emit a NOP after a relaxable 16
688 bit insn when optimizing, so that parallelised instructions will
689 start on a 32 bit boundary.
690
691 1998-12-19 Gavin Romig-Koch <gavin@cygnus.com>
692
693 * config/tc-mips.c (mips_eabi64): New.
694 (md_begin): Set mips_eabi64.
695 (mips_elf_final_processing): Use it.
696
697 1998-12-18 Gavin Romig-Koch <gavin@cygnus.com>
698
699 * config/tc-mips.c (mips_elf_final_processing):
700 Correct setting of ABI in e_flags.
701
702 Wed Dec 16 16:17:22 1998 Dave Brolley <brolley@cygnus.com>
703
704 * config/tc-fr30.c (md_assemble): Warn about invalid instructions in delay slots.
705
706 1998-12-16 Gavin Romig-Koch <gavin@cygnus.com>
707
708 * config/tc-mips.c (md_begin,md_parse_option): Handle vr4111.
709
710 1998-12-15 Doug Evans <devans@casey.cygnus.com>
711
712 * cgen.c (gas_cgen_md_apply_fix3): Mark as an error, rather than a
713 warning, values that don't fit in the field.
714
715 1998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
716
717 * config/tc-mips.c (mips_abi_string): New.
718 (md_parse_option,md_longopts): Add mabi.
719 (mips_elf_final_processing): Set e_flags based on mabi flag.
720
721 1998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
722
723 * config/tc-mips.c (md_parse_option): Handle vr4111.
724
725 98-12-11 Ken Raeburn <raeburn@cygnus.com>
726
727 * config/tc-h8300.c (build_bytes): Change message given if the
728 instruction requires H8/300H mode and we're not in Hmode, to
729 suggest that it may be the operand modes that are the problem, not
730 necessarily the opcode.
731
732 1998-12-10 Nick Clifton <nickc@cygnus.com>
733
734 * config/tc-fr30.c: Add line separator character.
735
736 Tue Dec 8 19:51:50 1998 Mark Klein <mklein@dis.com>
737
738 * configure.in (hppa-*-mpeix*): New target.
739 * config/obj-som.h (obj_som_compiler): Declare.
740 * config/obj-som.c (compiler_seen): New static variable.
741 (obj_som_compiler): New function.
742 * config/tc-hppa.c: Update tc_data uses for change to bfd/som.h.
743 (md_pseudo_table): Add "compiler" if OBJ_SOM.
744 (pa_type_args): Set hppa_priv_level.
745 (pa_compiler): New static function if OBJ_SOM.
746 * configure: Rebuild.
747
748 Tue Dec 8 15:00:50 1998 Ian Lance Taylor <ian@cygnus.com>
749
750 * read.c (output_leb128): Don't mark as inline.
751
752 1998-12-08 Andrew MacLeod <amacleod@cygnus.com>
753
754 * config/tc-ppc.c (ppc_vbyte): Prototype and new function for
755 AIX .vbyte unaligned data support.
756 (md_pseudo_table): Add 'vbyte' to list of valid pseudos.
757 (ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
758 sections.
759
760 1998-12-07 Nick Clifton <nickc@cygnus.com>
761
762 * config/tc-d30v.c (md_assemble, do_assemble): Improve erroneous
763 input handling.
764
765 Mon Dec 7 09:48:34 1998 Catherine Moore <clm@cygnus.com>
766
767 * config/tc-arm.c (elf32_arm_force_relocation): Check for
768 BFD_RELOC_ARM_PCREL_BRANCH.
769
770 Sun Dec 6 12:46:36 1998 Ian Lance Taylor <ian@cygnus.com>
771
772 * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
773 checking the target type.
774 (mips-dec-bsd*): Set endian to little.
775 * configure: Rebuild.
776
777 COFF weak symbol support, based on patches from Mark Elbrecht
778 <snowball3@usa.net>:
779 * config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
780 * config/obj-coff.c (obj_coff_weak): New static function.
781 (obj_coff_endef) [both versions]: Handle weak symbols.
782 (coff_frob_symbol): Likewise.
783 (yank_symbols): Likewise.
784 (obj_pseudo_table): Add "weak".
785
786 * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
787 <aymeric.vincent@emi.u-bordeaux.fr>.
788 * aclocal.m4: Rebuild with current tools.
789 * configure: Rebuild.
790
791 * config/tc-alpha.c (emit_ldgp): Give an error message rather than
792 an assertion failure for a case we can't handle when OBJ_ECOFF.
793
794 * expr.c (operator): And with 0xff to avoid problems with signed
795 char.
796
797 1998-12-03 Nick Clifton <nickc@cygnus.com>
798
799 * config/tc-fr30.c (md_cgen_lookup_reloc): Generate
800 BFD_RELOC_FR30_48 instead of BFD_RELOC_FR30_32.
801
802 1998-12-02 Nick Clifton <nickc@cygnus.com>
803
804 * config/tc-fr30.c (md_cgen_lookup_reloc): Enable relocs for
805 LDI:20 insn.
806
807 Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
808
809 * config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation
810 of pcrel point.
811
812 Tue Nov 24 17:21:52 1998 Nick Clifton <nickc@cygnus.com>
813
814 * config/tc-fr30.c (md_pcrel_from_section): Fix calculation of
815 pcrel point.
816
817 Tue Nov 24 14:54:38 1998 Nick Clifton <nickc@cygnus.com>
818
819 * config/tc-d10v.c (md_assemble): Make static 'etype' have file
820 scope.
821 (d10v_cleanup): Only generate previous insn if a multiline insn is
822 not pending.
823
824 Fri Nov 20 11:41:13 1998 Nick Clifton <nickc@cygnus.com>
825
826 * config/tc-fr30.c (md_cgen_lookup_reloc): Add support for
827 FR30_OPERAND_I32.
828
829 Thu Nov 19 15:01:29 1998 Nick Clifton <nickc@cygnus.com>
830
831 * config/tc-arm.c (md_parse_option): Add support for -marm7xxx and
832 -marm6xxx command line switches.
833
834 1998-11-18 Doug Evans <devans@casey.cygnus.com>
835
836 * Makefile.am (DEP): Use $(srcdir)/../mkdep.
837 (itbl-ops.o): Delete duplicate dependencies.
838 Rebuild dependencies.
839 Add fr30 dependencies.
840 * Makefile.in: Rebuild.
841
842 Tue Nov 17 13:42:42 1998 Nick Clifton <nickc@cygnus.com>
843
844 * config/tc-fr30.c (md_cgen_lookup_reloc): Updated to match latest
845 opcode list.
846 * listing.c: Ignore line terminator characters found inside
847 strings.
848
849 Thu Nov 12 19:21:24 1998 Dave Brolley <brolley@cygnus.com>
850
851 * po/gas.pot: Regenerated.
852
853 Thu Nov 12 10:54:16 1998 Nick Clifton <nickc@cygnus.com>
854
855 * config/tc-fr30.c (fr30_is_colon_insn): New name for
856 fr30_is_label_start(). Also checks for delay slot insns.
857
858 * config/tc-fr30.c (fr30_is_label_start): New function: Handle
859 FR30 instructions which contain a colon in the mnemonic.
860
861 * config/tc-fr30.h (TC_START_LABEL): Define this macro.
862
863 Wed Nov 11 09:58:21 1998 Nick Clifton <nickc@cygnus.com>
864
865 * config/tc-fr30.c: Removed currently superflous code.
866
867 Tue Nov 10 13:13:05 1998 Nick Clifton <nickc@cygnus.com>
868
869 * config/tc-fr30.h: New file.
870 * config/tc-fr30.c: Tweaking so that it will compile.
871
872 Tue Nov 10 14:41:33 1998 Catherine Moore <clm@cygnus.com>
873
874 * config/tc-d10v.h (obj_fix_adjustable): Define.
875 (TC_FORCE_RELOCATION): Define.
876 (d10v_force_relocation): Declare.
877 * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs.
878 (md_apply_fix3): Handle Vtable relocs.
879 (d10v_fix_adjustable): New.
880 (d10v_force_relocation): New.
881
882 Mon Nov 9 14:25:06 1998 Nick Clifton <nickc@cygnus.com>
883
884 * config/tc-d30v.c: Change default behaviour to ignore potential
885 conflicts between register name and symbol names.
886
887 Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
888
889 * configure.in: Add fr30-*-*.
890 * config/tc-fr30.c: New file.
891 * Makefile.in: Regenerated.
892 * config.in: Regenerated.
893 * configure: Regenerated.
894 * doc/Makefile.in: Regenerated.
895 * po/gas.pot: Regenerated.
896
897 Mon Nov 2 20:54:16 1998 Doug Evans <devans@canuck.cygnus.com>
898
899 * config/tc-m32r.c (assemble_two_insns): Ensure both insns
900 are 16 bit insns.
901
902 Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
903
904 * app.c (do_scrub_begin): Set characters above 127 to be symbol
905 characters.
906 (do_scrub_chars): Add some casts to unsigned char to avoid
907 unwanted sign extension.
908 * read.c (lex_type): Set characters about 127 to be symbol
909 characters.
910 * config/tc-i386.c (md_begin): Set identifier_chars and
911 operand_chars for values above 127.
912
913 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
914
915 * configure.in: detect cygwin* instead of cygwin32*
916 * configure: regenerate
917
918 Tue Oct 27 13:18:40 1998 Nick Clifton <nickc@cygnus.com>
919
920 * listing.c: Add support for producing a listing from piped
921 input.
922
923 Tue Oct 27 08:56:44 1998 Gavin Romig-Koch <gavin@cygnus.com>
924
925 * config/tc-mips.c (hilo_interlocks): Remove mips_3900.
926 (append_insn): Account for the tx39's multiply behavior.
927
928 1998-10-26 Michael Meissner <meissner@cygnus.com>
929
930 * config/tc-m32r.c (assemble_two_insns): Rename assemble_two_insns
931 from assemble_parallel_insns. Add support for '->' to indicate
932 explicitly serializing the instructions.
933 (md_assemble): Ditto.
934
935 Sat Oct 24 15:12:19 1998 Catherine Moore <clm@cygnus.com>
936
937 * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and
938 WEAK handling.
939
940 Thu Oct 22 12:41:33 1998 Catherine Moore <clm@cygnus.com>
941
942 * cgen.c (gas_cgen_md_apply_fix3): Revert last change.
943
944 Thu Oct 22 10:03:15 1998 Ron Unrau <runrau@cygnus.com>
945
946 * config/tc-mips.c : support frame and regmask/fregmask when
947 MIPS_STABS_ELF is specified.
948
949 Wed Oct 21 11;34:51 1998 Catherine Moore <clm@cygnus.com>
950
951 * config/tc-sh.c (sh_fix_adjustable): Only include if OBJ_ELF.
952 (md_apply_fix): Don't return 1 for VTABLE relocs.
953 * config/tc-sh.h (obj_fix_adjustable): Define only if OBJ_ELF.
954
955 Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
956
957 * doc/c-i386.texi: Replace occurences of "opcode" with
958 "instruction mnemonic", "instruction", or "mnemonic" when
959 referring to the name of an instruction. Use "opcode" when
960 referring to the sequence of machine bytes.
961
962 * config/tc-i386.c (opcode_chars): Rename to mnemonic_chars.
963 (is_opcode_char): Rename to is_mnemonic_char.
964 (md_assemble and i386_operand): Correct error messages from
965 "opcode" to "instruction mnemonic"
966 Rename throughout opcode[] -> mnemonic[], opp -> mnem_p,
967 MAX_OPCODE_SIZE -> MAX_MNEM_SIZE,
968 DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX,
969 WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX,
970 BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX,
971 SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX
972 LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX
973
974 * config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX.
975
976 * config/tc-i386.c (i386_operand): Check for garbage after
977 register name.
978
979 Tue Oct 20 10:49:42 1998 Ian Lance Taylor <ian@cygnus.com>
980
981 * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
982 for BFD_ASSEMBLER to only change value when COFF if TE_PE.
983
984 Mon Oct 19 20:20:42 1998 Catherine Moore <clm@cygnus.com>
985
986 * config/tc-sh.h (obj_fix_adjustable): Define.
987 * config/tc-sh.c (sh_force_relocation): Handle VT relocs.
988 (md_apply_fix): Likewise.
989 (tc_gen_reloc): Likewise.
990 (sh_fix_adjustable): New.
991
992 Mon Oct 19 12:35:43 1998 Doug Evans <devans@seba.cygnus.com>
993
994 * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
995 * cgen.h (gas_cgen_finish_insn): Update prototype.
996 * config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P.
997 cgen_insn_t -> CGEN_INSN_INT.
998 (make_parallel): Update handling of CGEN_INT_INSN_P.
999 (assemble_parallel_insn): Ditto.
1000 (target_make_parallel): New function.
1001 (md_assemble): Use it.
1002
1003 Mon Oct 19 13:16:12 1998 Catherine Moore <clm@cygnus.com>
1004
1005 * config/tc-m32r.c (m32r_force_relocation): Fix typo.
1006
1007 Sun Oct 18 18:48:57 1998 Jeffrey A Law (law@cygnus.com)
1008
1009 * config/tc-sh.c (md_assemble): Make sure the entire opcode is
1010 converted into lower case.
1011
1012 Fri Oct 16 13:36:34 CDT Catherine Moore <clm@cygnus.com>
1013
1014 * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs.
1015 (gas_cgen_tc_gen_reloc): Likewise.
1016 * config/tc-m32r.h (obj_fix_adjustable): Define.
1017 * config/tc-m32r.c (m32r_fix_adjustable): New.
1018 (m32r_force_relocation): Handle VTABLE relocs.
1019
1020 Wed Oct 14 11:33:38 1998 Nick Clifton <nickc@cygnus.com>
1021
1022 * doc/c-arm.texi (ARM Directives): Document .ltorn directive.
1023
1024 Mon Oct 12 11:07:21 1998 Nick Clifton <nickc@cygnus.com>
1025
1026 * config/tc-m32r.c (assemble_parallel_insn): Convert second opcode
1027 to lower case before parsing.
1028
1029 * config/tc-d30v.c (parallel_ok): Ignore conflicts when explicitly
1030 parallel insns modift buts in the PSW as a side effect.
1031
1032 Thu Oct 8 10:18:33 1998 Nick Clifton <nickc@cygnus.com>
1033
1034 * config/tc-d30v.c (find_format): Test for missing flag and
1035 control registers.
1036
1037 (md_apply_fix3): Fix error messages to avoid
1038 assumption about presence of a symbol.
1039
1040 (parallel_ok): Disallow parallel instructions that both modify the
1041 same flag register.
1042
1043 (find_format): Generate a warning if an odd numbered register is
1044 used as the first register in a mutli-register instruction.
1045
1046 Wed Oct 7 14:09:14 1998 Nick Clifton <nickc@cygnus.com>
1047
1048 * config/tc-d30v.c (md_apply_fix3): Do not assume that bad
1049 relocations are always associated with a symbol.
1050
1051 Tue Oct 6 09:31:15 1998 Catherine Moore <clm@cygnus.com>
1052
1053 * tc-sparc.h (TC_FORCE_RELOCATION): Define.
1054 (elf32_sparc_force_relocation): Declare.
1055 * tc-sparc.c (md_apply_fix3): Handle vtable relocs.
1056 (tc_gen_reloc): Handle vtable relocs.
1057 (elf32_sparc_force_relocation): New.
1058
1059 Mon Oct 5 09:25:32 1998 Catherine Moore <clm@cygnsu.com>
1060
1061 * symbols.c (S_IS_FUNCTION): New.
1062 * config/tc-v850.h (obj_fix_adjustable): Define.
1063 (TC_FORCE_RELOCATION): Define.
1064 (v850_force_relocation): Declare.
1065 * config/tc-v850.c (tc_gen_reloc): Use offset instead
1066 of fx_addnumber for VTABLE reloc addends.
1067 (md_apply_fix3): Handle VTABLE relocs.
1068 (v850_fix_adjustable): New.
1069 (v850_force_relocation): New.
1070
1071 Mon Oct 5 00:48:52 1998 Jeffrey A Law (law@cygnus.com)
1072
1073 * tc-hppa.c (fp_operand_format): Add some additional formats.
1074 (pa_ip): Do not automatically promote into pa2.0 mode.
1075 (pa_level): Handle ".level 2.0".
1076
1077 Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1078
1079 * config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
1080 * config/tc-i386.h (template.extension_opcode): Change to
1081 unsigned int to allow full range of 8-bit opcode suffixes.
1082 (None): Redefine as 0xffff.
1083
1084 From Jeff B Epler <jepler@usgs.gov>
1085 * doc/c-i386.texi (i386-SIMD): New section.
1086
1087 Thu Oct 1 15:37:54 1998 Richard Henderson <rth@cygnus.com>
1088
1089 * read.c (discard_rest_of_line): New function.
1090 * read.h: Declare it.
1091 * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.
1092
1093 Thu Oct 1 10:33:53 1998 Nick Clifton <nickc@cygnus.com>
1094
1095 * config/tc-d10v.c (find_symbol_matching_register): New function.
1096 (find_opcode): Cope with the case where a register name matches
1097 a symbol name.
1098
1099 Wed Sep 30 10:52:32 1998 Nick Clifton <nickc@cygnus.com>
1100
1101 * config/tc-v850.c (md_pcrel_from): Rename to
1102 v850_pcrel_from_section.
1103 (v850_pcrel_from_section): Do not resolves symbols in other
1104 sections.
1105
1106 * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
1107
1108 Mon Sep 28 11:01:20 1998 Nick Clifton <nickc@cygnus.com>
1109
1110 * config/tc-d10v.c (find_opcode): Generate an error if a register
1111 is supplied for an operand that should not be a register.
1112
1113 Fri Sep 25 10:04:21 1998 Nick Clifton <nickc@cygnus.com>
1114
1115 * config/tc-d30v.c (write_2_short): But do allow delayed branch
1116 instructions to have another instruction in the right bin.
1117
1118 Thu Sep 24 09:28:34 1998 Nick Clifton <nickc@cygnus.com>
1119
1120 * config/tc-d30v.c (write_2_short): Do not allow instructions in
1121 the right container if the left container holds a branch
1122 instruction.
1123
1124 Wed Sep 23 10:54:29 1998 Nick Clifton <nickc@cygnus.com>
1125
1126 * config/tc-d30v.c (reg_name_search): Only warn if a name matches
1127 both a register name and symbol name.
1128 (find_format): Allow correct parsing of MVTSYS and MVFSYS insns.
1129
1130 Tue Sep 22 17:49:16 1998 Nick Clifton <nickc@cygnus.com>
1131
1132 * config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU
1133 execution unit class.
1134
1135 (reg_name_search): If a name matches a register and a symbol,
1136 prefer the register.
1137 (find_format): Disallow flag registers when a general purpose
1138 register is required.
1139 If a number is required, but a register has been given, check to
1140 see if a symbol with the same name as the register exists, and if
1141 so, use that symbol.
1142
1143 Tue Sep 22 16:40:52 1998 Jim Wilson <wilson@cygnus.com>
1144
1145 * config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.
1146
1147 Tue Sep 22 15:44:21 1998 Nick Clifton <nickc@cygnus.com>
1148
1149 * config/tc-d30v.c (find_format): Do not accept flag registers as
1150 general purpose registers.
1151 (find_format): If an immediate value is expected at a given place
1152 in a format, but a register name has been provided instead, check
1153 to see if that register name matches the name of a predefined
1154 symbol and if it does, then use the symbol instead.
1155 (reg_name_search): If a register name matches a symbol name,
1156 prefer the register name to the symbol name.
1157
1158 Mon Sep 21 10:42:57 1998 Nick Clifton <nickc@cygnus.com>
1159
1160 * config/tc-m32r.c (m32r_do_align): After inserting NOPs, reset
1161 the previous insn to empty.
1162
1163 1998-09-20 Michael Meissner <meissner@cygnus.com>
1164
1165 * config/tc-ppc.c (md_apply_fix3): Do not break string into two
1166 pieces, forcing the use of an ANSI compiler.
1167
1168 Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1169
1170 * config/tc-m68k.h (TC_FORCE_RELOCATION): New macro. Force vtable
1171 relocs.
1172 * config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
1173
1174 Tue Sep 15 08:51:07 1998 Catherine Moore <clm@cygnus.com>
1175
1176 * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
1177 assembler syntax.
1178 (obj_elf_vtable_entry): Likewise.
1179 * config/tc-arm.h: Define TC_FORCE_RELOCATION for OBJ_ELF.
1180 * config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
1181 (tc_gen_reloc): Likewise.
1182 (arm_fix_adjustable): Likewise.
1183 (elf32_arm_force_relocation): New.
1184 (armelf_frob_symbol): Remove coff-style symbol support.
1185
1186 Wed Sep 9 11:27:16 1998 Richard Henderson <rth@cygnus.com>
1187
1188 * config/tc-i386.c (i386_operand): Fix typo in last patch.
1189
1190 Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
1191
1192 * config/tc-arm.c (arm_adjust_symtab): Move #ifdef
1193 OBJ_COFF so that routine is defined for a.out format.
1194
1195 Tue Sep 8 15:56:19 1998 Richard Henderson <rth@cygnus.com>
1196
1197 * config/tc-i386.c (i386_operand): Detect non-segment registers
1198 used as segment prefixes.
1199
1200 Sat Sep 5 19:00:38 1998 Ian Lance Taylor <ian@cygnus.com>
1201
1202 * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
1203 optimize across FDE boundaries.
1204
1205 * config/obj-coff.c (obj_coff_section): Preserve any link once
1206 flags when setting the section flags.
1207
1208 Fri Sep 4 17:07:14 1998 Nick Clifton <nickc@cygnus.com>
1209
1210 * config/tc-arm.h (obj_adjust_symtab): Fixed typo.
1211 * config/tc-arm.c (armelf_adjust_symtab): Reformatted.
1212
1213 Fri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
1214
1215 * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
1216 to the host width.
1217
1218 Wed Sep 2 11:31:14 1998 Richard Henderson <rth@cygnus.com>
1219
1220 * frags.c (frag_grow): Include the size of the frag struct in the
1221 obstack chunk size.
1222
1223 * subsegs.c (subseg_set_rest): Adjust the seginfo frchain start
1224 if the new subseg comes before the old.
1225
1226 Tue Sep 1 15:01:33 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
1227
1228 * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
1229 to handle edge8 and edge16.
1230
1231 Mon Aug 31 09:51:14 1998 Richard Henderson <rth@cygnus.com>
1232
1233 * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
1234 before we clobber the symbol involved.
1235
1236 Mon Aug 31 10:58:06 1998 Catherine Moore <clm@cygnus.com>
1237
1238 * config/tc-arm.c: Remove OBJ_ELF definitions for
1239 S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. Only
1240 use arm_adjust_symtab for OBJ_COFF.
1241 (armelf_adjust_symtab): New Routine.
1242 * config/tc-arm.h: Define obj_adjust_symtab to
1243 armelf_adjust_symtab for OBJ_ELF.
1244
1245 Sat Aug 29 22:18:51 1998 Richard Henderson <rth@cygnus.com>
1246
1247 * configure.in: Make all i386-elf targets use bfd_gas.
1248 * config/tc-i386.c (tc_i386_force_relocation): New.
1249 (tc_i386_fix_adjustable): Don't fix vtable relocs.
1250 (md_apply_fix3): Likewise.
1251 (tc_gen_reloc): Handle them.
1252 * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
1253 tc_i386_force_relocation.
1254
1255 Mon Aug 24 13:40:21 1998 Nick Clifton <nickc@cygnus.com>
1256
1257 * config/tc-arm.c (md_show_usage): Improve formatting of --help output.
1258
1259 Fri Aug 21 18:43:48 1998 Nick Clifton <nickc@cygnus.com>
1260
1261 * config/tc-d30v.c (md_assemble): Copy previous opcode over
1262 current opcode after writing the first insturction of a reverse
1263 sequential pair.
1264
1265 Fri Aug 21 07:30:35 1998 Doug Evans <devans@canuck.cygnus.com>
1266
1267 * read.h (generate_lineno_debug): Add prototype.
1268 * read.c (generate_lineno_debug): Make non-static.
1269
1270 Thu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1271
1272 * config/tc-i386.c (md_assemble): Only warn for address/data size
1273 prefixes.
1274
1275 Thu Aug 20 14:45:08 1998 Nick Clifton <nickc@cygnus.com>
1276
1277 * config/tc-arm.c (arm_fix_adjustable): Do not adjust relocations
1278 against Thumb function names, as the linker needs this information.
1279
1280 1998-08-20 Vladimir N. Makarov <vmakarov@cygnus.com>
1281
1282 * expr.c (operand): Check also that there is no advance in operand
1283 after atof_generic in order to decide "is it label 0f or floating
1284 point number?".
1285
1286 Wed Aug 19 09:30:16 1998 Nick Clifton <nickc@cygnus.com>
1287
1288 * config/tc-m32r.c: Replace double dash prefix to M32R specific
1289 command line options with a single dash.
1290 * doc/c-m32r.texi: Replace double dash prefix with a single dash.
1291
1292 Tue Aug 18 11:59:43 1998 Catherine Moore <clm@cygnus.com>
1293
1294 * tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
1295 * tc-arm.c (arm_fix_adjustable): New routine.
1296
1297 1998-08-13 Vladimir N. Makarov <vmakarov@cygnus.com>
1298
1299 * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
1300 s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
1301 demand_empty_rest_of_line before mri_comment_end.
1302 (equals): Check garbage after expression before
1303 mri_comment_end in MRI mode.
1304
1305 Thu Aug 13 15:08:42 1998 Ian Lance Taylor <ian@cygnus.com>
1306
1307 * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
1308 small immediate constant to use the constant itself rather than
1309 always using 1.
1310
1311 Wed Aug 12 18:47:38 1998 Ian Lance Taylor <ian@cygnus.com>
1312
1313 * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
1314 (pa_leave): Likewise.
1315
1316 Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1317
1318 * config/tc-i386.c (md_assemble): Emit a warning for stand-alone
1319 prefixes.
1320 (i386_operand): Fix an error message.
1321
1322 Tue Aug 11 14:44:32 1998 Nick Clifton <nickc@cygnus.com>
1323
1324 * doc/c-arm.texi (ARM Directives): Document .req directive.
1325
1326 * config/tc-arm.c (reg_required_here): Display erroneous string if
1327 the register name could not be decoded.
1328 Do not set inst.instruction if the sift is -1.
1329
1330 Mon Aug 10 15:39:56 1998 Richard Henderson <rth@cygnus.com>
1331
1332 * config/tc-alpha.c (tc_gen_reloc): Bias WEAK symbols just as
1333 we do for EXTERN.
1334
1335 Mon Aug 10 15:06:18 1998 Nick Clifton <nickc@cygnus.com>
1336
1337 * config/tc-d30v.c (d30v_align): Always perform alignment request,
1338 even if it is belived to be unnecessary.
1339
1340 Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1341
1342 config/tc-i386.c (i386_operand): Size immediate constants by
1343 suffix (erroneously removed as part of July 7 change).
1344
1345 Sun Aug 9 20:45:32 1998 Catherine Moore <clm@cygnus.com>
1346
1347 * config/obj-elf.h: Check for redefinition of obj_frob_symbol.
1348 * config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
1349 (armelf_frob_symbol): New Routine.
1350 * config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF.
1351
1352 Sat Aug 8 15:21:28 1998 Richard Henderson <rth@cygnus.com>
1353
1354 * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
1355
1356 Wed Aug 5 15:54:14 1998 Nick Clifton <nickc@cygnus.com>
1357
1358 * config/tc-arm.c (md_begin): Set BFD private flags depending upon
1359 command line switches passed to assembler.
1360
1361 Mon Aug 3 14:02:52 1998 Doug Evans <devans@seba.cygnus.com>
1362
1363 * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
1364 (gas_cgen_opcode_desc): Declare.
1365 (gas_cgen_parse_operand): Declare.
1366 (*): Prepend gas_ to gas specific fns to denote them as such.
1367 All uses updated.
1368 * cgen.c (gas_cgen_opcode_desc): New global
1369 (gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
1370 (queue_fixup): Renamed from cgen_queue_fixup.
1371 (*): Prepend gas_ to gas specific fns to denote them as such.
1372 All uses updated.
1373 (gas_cgen_md_apply_fix3): Update call to insert_operand.
1374 (gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
1375 * config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
1376 Open opcode table and initialize it.
1377 (make_parallel): Use gas_cgen_opcode_desc.
1378 (assemble_parallel_insn): Ditto. Remove use of CGEN_SYM.
1379 (md_assemble): Ditto.
1380
1381 Sat Aug 1 19:27:30 1998 Richard Henderson <rth@cygnus.com>
1382
1383 * as.h (debug_info_type): Add entries for unspecified and dwarf*.
1384 * ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
1385 as_where ourselves. Provide a stub for !ECOFF_DEBUGGING.
1386 * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
1387 Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
1388 * read.c (generate_lineno_debug): Tidy ECOFF bits. Use
1389 DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
1390 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
1391 (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
1392 (INIT_STAB_SECTION): Likewise.
1393 (OBJ_PROCESS_STAB): Likewise.
1394
1395 * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
1396 (md_parse_option): Watch for them.
1397 (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
1398 (md_begin): Kill neverdef code.
1399 (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
1400 (s_alpha_prologue): Watch alpha_cur_ent_sym.
1401 (s_alpha_coff_wrapper): New.
1402 (md_pseudo_table): Trap all ECOFF pseudos.
1403
1404 Fri Jul 31 16:45:54 1998 Ron Unrau <runrau@cygnus.com>
1405
1406 Start of changes to remove mdebug section from mips*-elf
1407 Based on MIPS_STAB_ELF definition
1408 * acconfig.h: undef if not configured
1409 * config.in: undef if not configured
1410 * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
1411 * config/tc-mips.c (s_ent): set BSF_FUNCTION
1412 * stabs.c (s_stab_generic): flush frag
1413
1414 Fri Jul 31 16:14:45 1998 Catherine Moore <clm@cygnus.com>
1415
1416 * configure.in: (arm-*-elf): Handle.
1417 (thumb-*-elf): Handle.
1418 * configure: Regenerate.
1419 * read.c (stringer): Fix typo in comment.
1420 * write.c (fixup_segment): Don't add symbol value to addend if
1421 TC_ARM and OBJ_ELF.
1422 * config/tc-arm.c (md_section_align): Don't align dwarf debug
1423 sections.
1424 (tc_gen_reloc): Always set the reloc addend to fixp->fx_offset
1425 for OBJ_ELF.
1426
1427 Thu Jul 30 21:38:43 1998 Frank Ch. Eigler <fche@cygnus.com>
1428
1429 * config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
1430 (write_2_short): Emit warning if new flag is set.
1431 (do_assemble): Set flags if left instruction is one of special
1432 "right-instruction-killer" type.
1433
1434 Tue Jun 28 18:12:28 1998 Stan Cox <scox@cygnus.com>
1435
1436 * config/tc-sparc.c (md_number_to_chars, cons_fix_new_sparc):
1437 Always output words in debug_info section as big endian.
1438 (sparc_target_format): Choose correct bfd target.
1439 (md_apply_fix3): Rename BFD_RELOC_SPARC_32LE to BFD_RELOC_SPARC_REV32.
1440
1441 Tue Jul 28 11:01:21 1998 Jeffrey A Law (law@cygnus.com)
1442
1443 * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
1444 to work with internationalization code. Issue an error when two
1445 operands match that are not allowed to match.
1446
1447 Mon Jul 27 16:25:58 1998 Doug Evans <devans@canuck.cygnus.com>
1448
1449 * configure.in (install_tooldir): Allow target to specify whether
1450 it wants to be installed in $(tooldir)/bin.
1451 * configure: Regenerate.
1452 * Makefile.am (install-exec-local): Set install-exec-tooldir
1453 dependency via configure.
1454 * Makefile.in: Regenerate.
1455
1456 Fri Jul 24 19:58:59 1998 Doug Evans <devans@canuck.cygnus.com>
1457
1458 * Makefile.am (install-exec-local): Split into two ...
1459 (install-exec-bindir,install-exec-tooldir): New rules.
1460 * Makefile.in: Regenerate.
1461
1462 Fri Jul 24 16:31:49 1998 Ian Lance Taylor <ian@cygnus.com>
1463
1464 * Makefile.am (install-exec-local): Don't remove the file before
1465 checking whether $(bindir) == $(tooldir)/bin. From Maciej
1466 W. Rozycki <macro@ds2.pg.gda.pl>.
1467 * Makefile.in: Rebuild.
1468
1469 Fri Jul 24 09:13:46 1998 Doug Evans <devans@canuck.cygnus.com>
1470
1471 * cgen.c: Include libiberty.h.
1472 (cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
1473 (cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
1474 * cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
1475 (md_cgen_lookup_reloc)): Declare.
1476 (md_cgen_record_fixup_exp): Declare.
1477 * config/tc-m32r.h (md_pcrel_from_section): Declare.
1478 (m32r_relax_frag): Declare.
1479 (cgen_md_apply_fix3): Decls moved to cgen.h.
1480 (cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
1481 (m32r_cgen_record_fixup_exp): Delete decl.
1482 * config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
1483 (assemble_nop): Delete.
1484 (expand_debug_syms): Delete unused `exp'.
1485 (md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
1486 Add default case for -Wall.
1487 (m32r_cgen_record_fixup_exp): Add default case for -Wall.
1488 (md_atof): Delete unused wordP.
1489
1490 Thu Jul 23 13:19:50 1998 Jeffrey A Law (law@cygnus.com)
1491
1492 * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
1493 value.
1494
1495 Wed Jul 22 14:36:56 1998 Ian Lance Taylor <ian@cygnus.com>
1496
1497 * doc/as.texinfo: Add documentation for .end, .exitm, .fail,
1498 .ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
1499 .print, .purgem, and .struct. Remove documentation for
1500 .app-file.
1501
1502 Tue Jul 21 16:50:52 1998 Doug Evans <devans@seba.cygnus.com>
1503
1504 * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
1505 Update call to insert_operand.
1506
1507 Fri Jul 17 11:42:20 1998 Nick Clifton <nickc@cygnus.com>
1508
1509 * config/tc-m32r.c (ms_show_usage): Formatting changes.
1510
1511 Wed Jul 15 15:38:28 1998 Ian Lance Taylor <ian@cygnus.com>
1512
1513 * config/tc-i386.c (md_assemble): Don't get confused by trailing
1514 whitespace after a prefix operator.
1515
1516 Tue Jul 14 15:32:56 1998 Richard Henderson <rth@cygnus.com>
1517
1518 * configure.in (i386-*-beos{pe,elf,}*): Recognize.
1519
1520 Tue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com>
1521
1522 * config/tc-sparc.c (log2): New static function.
1523 (s_reserve): Use log2 to convert alignment before calling
1524 record_alignment.
1525 (s_common): Use log2 to convert alignment before calling
1526 record_alignment and frag_align.
1527 (sparc_cons_align): Use log2.
1528
1529 Tue Jul 14 11:58:40 1998 Ian Lance Taylor <ian@cygnus.com>
1530
1531 * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
1532 (s_common): Likewise.
1533
1534 * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct
1535 initialization of waddr.
1536 (sparc_elf_final_processing): Add default case to switch.
1537
1538 Tue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1539
1540 * doc/c-i386.texi: Fix a typo. Use the term 80-bit real rather
1541 than temporary real.
1542
1543 Mon Jul 13 13:55:42 1998 Ian Lance Taylor <ian@cygnus.com>
1544
1545 * write.c (subsegs_finish): Don't align the segments if there were
1546 any errors.
1547
1548 * config/obj-coff.c (c_symbol_merge): Correct number of bytes when
1549 copying aux information.
1550
1551 * expr.c (make_expr_symbol): Catch attempts to turn an O_big
1552 expression into a symbol.
1553
1554 Mon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1555
1556 * config/tc-i386.c (mode_from_disp_size): Change arg and return
1557 type to unsigned int.
1558 (md_assemble): Change type used to store offsets from unsigned
1559 long to long.
1560 (i386_operand): Switch error check to only call RESTORE_END_STRING
1561 once after parse_register.
1562
1563 Fri Jul 10 16:00:04 1998 Nick Clifton <nickc@cygnus.com>
1564
1565 * config/tc-v850.c (md_show_usage): Changed format to match that
1566 of gcc, ld, etc.
1567
1568 * as.c (show_usage): Changed format to match that of gcc, ld, etc.
1569
1570 Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1571
1572 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
1573 relocs.
1574 (md_apply_fix_2): Force the symbol of the vtable reloc to be
1575 weak.
1576
1577 Thu Jul 9 11:31:54 1998 Ian Lance Taylor <ian@cygnus.com>
1578
1579 * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
1580 * doc/Makefile.in: Rebuild.
1581
1582 Wed Jul 8 12:18:56 1998 Jeffrey A Law (law@cygnus.com)
1583
1584 * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
1585 for %lo expressions.
1586 (mips_ip, case 'u'): Move range check after code to mask
1587 off bits in %hi/%lo expressions. Mask off high bits for
1588 %lo expressions.
1589
1590 Tue Jul 7 17:57:38 1998 Ian Lance Taylor <ian@cygnus.com>
1591
1592 * doc/Makefile.am (gasver.texi): New target.
1593 (as.info, as.dvi): Depends upon gasver.texi.
1594 * doc/as.texinfo: Include gasver.texi. Mention version number on
1595 title page and in top node.
1596 * doc/Makefile.in: Rebuild.
1597
1598 Tue Jul 7 11:42:16 1998 Richard Henderson <rth@cygnus.com>
1599
1600 * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
1601 but not including the line containing the edict.
1602 * listing.h (LISTING_EOF): New.
1603 * input-scrub.c (input_scrub_next_buffer): Call it.
1604
1605 Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1606
1607 * config/tc-i386.c (i386_operand): Don't set the size of an
1608 immediate address based solely on the suffix and the mode.
1609
1610 * config/tc-i386.c (md_assemble): Add assertion to make sure
1611 overlap2 does not set Imm.
1612
1613 * config/tc-i386.c (space_chars): Remove. The scrubber converts
1614 sequences of whitespace to a single space.
1615 (is_space_chars): Just compare with space.
1616 (md_begin): Don't initialize space_chars.
1617 (md_assemble): Just skip a single whitespace character.
1618 (i386_operand): Rewrite base-index parsing to use new
1619 parse_register, and to skip white space. Skip white space in a
1620 number of other places too. Don't give error message if
1621 parse_register fails.
1622 (parse_register): Change reg_string parameter to be non-const.
1623 Add end_op parameter. Skip white space after the `%', and return
1624 end of register string. Give error message here rather than
1625 caller.
1626
1627 Fri Jul 3 15:34:34 1998 Ian Lance Taylor <ian@cygnus.com>
1628
1629 Based on patch from Matt Semersky <matts@scd.hp.com>:
1630 * expr.c (op_encoding): Make const.
1631 (expr_set_precedence): New function.
1632 (expr_begin): Don't set operator rankings, just call
1633 expr_set_precedence.
1634 * expr.h (expr_set_precedence): Declare.
1635 * read.c (s_mri): Call expr_set_precedence.
1636
1637 Thu Jul 2 16:24:58 1998 Ian Lance Taylor <ian@cygnus.com>
1638
1639 * doc/as.texinfo (Statements): Remove paragraph discussing
1640 continuing lines with a backslash. This hasn't worked for years,
1641 if it ever did.
1642
1643 Thu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de>
1644
1645 * obj-vms.c: Add C++ support with ctors/dtors sections. Add weak
1646 symbol definitions.
1647 (Ctors_Symbols, Dtors_Symbols): New symbol chains.
1648 (ps_CTORS, ps_DTORS): New section types.
1649 (vms_fixup_xtors_section): New function
1650 (Ctors_Psect, Dtors_Psect): Define.
1651 (IS_GXX_XTOR): Define
1652 (global_symbol_directory): Change check of gxx_bug_fixed to 0.
1653 Filter static constructors/destructors and add to
1654 Ctors_Symbols/Dtors_Symbols chain.
1655 (vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
1656 appropriate section.
1657
1658 * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
1659 * makefile.vms: Merge vax/vms support.
1660
1661 Wed Jul 1 20:06:20 1998 Richard Henderson <rth@cygnus.com>
1662
1663 * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
1664 (elf_pseudo_table): Add them.
1665 * config/tc-mips.c (mips_force_relocation): Force vtable relocs.
1666 (md_apply_fix): Accept them.
1667 (mips_fix_adjustable): Don't adjust them.
1668 (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
1669 * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
1670 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
1671 (tc_fix_adjustable): Don't adjust them.
1672
1673 Wed Jul 1 16:35:32 1998 Doug Evans <devans@seba.cygnus.com>
1674
1675 * Makefile.am (CGEN_CPU_PREFIX): New variable.
1676 (cgen.o): Use it.
1677 * Makefile.in: Regenerate.
1678 * configure.in: AC_SUBST cgen_cpu_prefix.
1679 * configure: Regenerate.
1680
1681 Wed Jul 1 21:38:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1682
1683 * config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
1684 Changed all users of COND12_DELAY.
1685
1686 Fri Jun 26 11:21:11 1998 Jeffrey A Law (law@cygnus.com)
1687
1688 * config/tc-mn10300.c (set_arch_mach): New function.
1689 (md_pseudo_table): Add pseudo-ops to set the current machine type.
1690 (md_begin): Default to mn10300 mode.
1691 (md_assemble): Only accept instructions for the core mn10300
1692 chip and the active machine type.
1693
1694 Wed Jun 24 19:06:04 1998 Ian Lance Taylor <ian@cygnus.com>
1695
1696 * subsegs.h (segment_info_type): Give the struct a name.
1697 * config/tc-h8300.h (tc_reloc_mangle): Add prototype.
1698 * config/tc-h8500.h (tc_reloc_mangle): Declare.
1699 * config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
1700 * config/tc-w65.h (tc_reloc_mangle): Declare.
1701 * config/tc-z8k.h (tc_reloc_mangle): Declare.
1702
1703 Wed Jun 24 13:45:00 1998 Catherine Moore <clm@cygnus.com>
1704
1705 * config/tc-v850.c (v850_comm): Restore old section
1706 after common processing.
1707
1708 Wed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de>
1709
1710 * config/obj-vms.c (Create_VMS_Object_File): Force binary file.
1711
1712 Tue Jun 23 17:47:31 1998 Jim Wilson <wilson@cygnus.com>
1713
1714 * config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
1715 char with code that explicitly sign-extends.
1716
1717 Tue Jun 23 13:54:57 1998 Nick Clifton <nickc@cygnus.com>
1718
1719 * config/tc-v850.c (md_begin): Restore text section as the current
1720 section after creating call table sections.
1721 * config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly
1722 code.
1723
1724 * config/obj-coff.c (c_symbol_merge): Replace complex expresion
1725 with call to macro SYM_AUXINFO.
1726
1727 Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com>
1728
1729 * Makefile.am (install-exec-local): Don't let EXEEXT interfere
1730 with the program transform name.
1731 * Makefile.in: Rebuild.
1732
1733 Mon Jun 22 19:52:42 1998 Ian Lance Taylor <ian@cygnus.com>
1734
1735 * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary
1736 information.
1737
1738 Mon Jun 22 15:18:58 1998 Ian Lance Taylor <ian@cygnus.com>
1739
1740 * config/tc-i386.c (i386_operand): Be prepared for a space between
1741 the open parenthesis and the start of the register operand,
1742 because of the June 16 change.
1743
1744 Sun Jun 21 21:27:03 1998 Ian Lance Taylor <ian@cygnus.com>
1745
1746 * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if
1747 BFD_ASSEMBLER.
1748
1749 Sun Jun 21 12:26:36 1998 Nick Clifton <nickc@cygnus.com>
1750
1751 * config/tc-d30v.c (d30v_align): Always perform alignment request,
1752 even if it is belived to be unnecessary.
1753
1754 Fri Jun 19 13:57:06 1998 Ian Lance Taylor <ian@cygnus.com>
1755
1756 * write.c (adjust_reloc_syms): Never adjust relocs against weak
1757 symbols.
1758 * config/tc-mips.c (md_apply_fix): Adjust accordingly.
1759
1760 Fri Jun 19 09:50:17 1998 Jeffrey A Law (law@cygnus.com)
1761
1762 * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the
1763 shift amount for a repeated operand. The shift amount for the
1764 repeated copy comes from the size of the operand.
1765
1766 Fri Jun 19 00:44:19 1998 Jeffrey A Law (law@cygnus.com)
1767
1768 * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support.
1769
1770 Wed Jun 17 13:07:05 1998 Ian Lance Taylor <ian@cygnus.com>
1771
1772 * config/tc-mips.c (md_show_usage): Fix -mipsN usage.
1773
1774 Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1775
1776 * app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
1777 characters in it as LEX_IS_SYMBOL_COMPONENT.
1778 * config/tc-i386.h (tc_symbol_chars): Define.
1779 (extra_symbol_chars): Declare.
1780 * config/tc-i386.c (extra_symbol_chars): Define.
1781 (comment_chars): Don't use '/' as comment start if TE_LINUX.
1782 (line_comment_chars): Set to '/' if TE_LINUX.
1783 * doc/c-i386.texi (i386-prefixes): Update.
1784 * doc/internals.texi (CPU backend): Document tc_symbol_chars.
1785
1786 Fri Jun 12 13:36:54 1998 Tom Tromey <tromey@cygnus.com>
1787
1788 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
1789 ($(PACKAGE).pot): Unconditionally depend on POTFILES.
1790
1791 1998-06-12 Vladimir N. Makarov <vmakarov@cygnus.com>
1792
1793 * config/tc-d10v.c (md_apply_fix3): Checking displacement
1794 constraint in instructions REP & REPI.
1795
1796 Thu Jun 11 08:56:46 1998 Nick Clifton <nickc@cygnus.com>
1797
1798 * config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8,
1799 BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages.
1800
1801 (check_range): If the operand is shifted, then shift the number
1802 before checking its range.
1803
1804 * write.c (adjust_reloc_syms): Add more checks for NULL pointers.
1805
1806 * config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special
1807 common sections.
1808
1809 Wed Jun 10 17:26:35 1998 Nick Clifton <nickc@cygnus.com>
1810
1811 * config/tc-v850.c (v850_comm): Create special sections as needed.
1812
1813 1998-06-10 Vladimir N. Makarov <vmakarov@cygnus.com>
1814
1815 * config/tc-d10v.c (write_2_short): Addition of swapping
1816 instructions for sequential and reverse sequential order when
1817 given order is not possible.
1818
1819 Tue Jun 9 13:52:53 1998 Ian Lance Taylor <ian@cygnus.com>
1820
1821 * Makefile.am: Rebuild dependencies.
1822 (DEP_INCLUDES): Fix reference to intl build directory.
1823 * Makefile.in: Rebuild.
1824
1825 Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1826
1827 * doc/c-i386.texi: Update 16 bit documentation.
1828
1829 * config/tc-i386.h: Change Data16 to Size16, Data32 to Size32,
1830 IgnoreDataSize to IgnoreSize as they are used for address size as
1831 well as data size.
1832 * config/tc-i386.c: Likewise. Add code to reject addr32/data32 in
1833 32-bit mode, similarly addr16/data16 and variants.
1834
1835 Mon Jun 8 18:32:01 1998 Nick Clifton <nickc@cygnus.com>
1836
1837 * config/tc-d30v.c (md_assemble): Fix handling of reverse
1838 sequential word multiply instructions.
1839
1840 (do_assemble): Add extra command line argument, to allow mul32
1841 attribute to be preserved across parallel insns.
1842 (md_assemble): Insert NOPs between explicitly parallel insns which
1843 contain an 32 bit multiply and a 16 multiply.
1844
1845 Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1846
1847 * config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
1848 likewise for REPE.
1849
1850 * config/tc-i386.c (reloc): Add braces.
1851
1852 * config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
1853 consistent with Intel naming.
1854 * config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't
1855 use bitfields in sib_byte.
1856 (modrm_byte): Don't use bitfields here either.
1857
1858 * config/tc-i386.c (current_templates): Add const.
1859 (parse_register): Add const to return, param, and char *s.
1860 (i386_operand): Add const to reg_entry *r.
1861 * config/tc-i386.h (templates): Add const to start, end.
1862
1863 Inspired by code for 16 bit gas support from Martynas Kunigelis
1864 <martynas@nm3.ktu.lt>:
1865 * config/tc-i386.c (md_assemble): Add full support for 16 bit
1866 modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
1867 (uses_mem_addrmode): Remove.
1868 (md_estimate_size_before_relax): Add support here too.
1869 (md_relax_table): Rewrite interface to md_relax for 16 bit
1870 support.
1871 (BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
1872 (opcode_suffix_to_type): Remove.
1873 (CODE16, SMALL, SMALL16, BIG, BIG16): Define.
1874 (SIZE_FROM_RELAX_STATE): Modify to suit above.
1875 (md_convert_frag): Likewise.
1876 (i386_operand): Add support for 16 bit base/index regs,
1877 immediates, and displacements. Remove some unnecessary casts, and
1878 localise end_of_operand_string, displacement_string_start,
1879 displacement_string_end variables. Add GCC_ASM_O_HACK.
1880 * config/tc-i386.h (NO_BASE_REGISTER_16): Define.
1881
1882 * config/tc-i386.c (prefix_hash): Remove.
1883 (md_begin): Rewrite without obstacks. Remove prefix hash table
1884 handling. Rewrite lexical table handling.
1885 (i386_print_statistics): Don't print prefix statistics.
1886 (md_assemble): Rewrite instruction parser so that line is not
1887 converted to lower case. Don't do a hash_find for prefixes,
1888 instead recognise them via opcode modifier.
1889 (expecting_operand, paren_not_balanced): Localise variables.
1890 * config/tc-i386.h (IsPrefix): Define.
1891 (prefix_entry): Remove.
1892
1893 * config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
1894 * config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
1895 '\\' in case where comment_chars contains '/'.
1896
1897 * config/tc-i386.c (MATCH): Ensure given operand and template
1898 match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid;
1899 you must write `ljmp *table(%ebx)'.
1900
1901 From H.J. Lu <hjl@gnu.org>:
1902 * config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
1903 as 0 ifndef BFD_ASSEMBLER.
1904 (md_assemble): Allow immediate operands without suffix or
1905 other reg operand to default in size to the current code size.
1906
1907 Mon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com>
1908
1909 * config/tc-v850.c (md_begin): Restore creation of
1910 .call_table_text and .call_table_data sections.
1911
1912 Sat Jun 6 00:02:41 1998 Nick Clifton <nickc@cygnus.com>
1913
1914 * config/tc-d30v.c (md_assemble): Set execution type to unknown
1915 after emitting a word of noops.
1916
1917 Fri Jun 5 23:27:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1918
1919 * config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2.
1920 (i386_operand): Simplify checks for valid base/index combinations.
1921 Disallow `in 4(%dx),%al'.
1922
1923 * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and
1924 index_reg const.
1925 (add_prefix): Change parameter from char to int.
1926
1927 * config/tc-i386.h (Ugh): Define opcode modifier.
1928 * config/tc-i386.c (md_assemble): Print warnings for Ugh insns.
1929
1930 * config/tc-i386.c (md_assemble): Rewrite MATCH and
1931 CONSISTENT_REGISTER_MATCH macros to check register types more
1932 thoroughly. Check for illegal suffix/operand combinations
1933 when matching insns with operands. Handle new `s' suffix, and
1934 associated FloatMF opcode modifier for float insns with memory
1935 operands.
1936 * config/tc-i386.h (FloatMF): Define new opcode modifier.
1937 (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise.
1938 (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define.
1939 * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to
1940 DATA_PREFIX_OPCODE throughout.
1941
1942 * config/tc-i386.c (REGISTER_WARNINGS): Define.
1943 (md_assemble): Rewrite suffix/register operand checking code to be
1944 more thorough. Remove Abs8,16,32. Change occurrences of Mem to
1945 AnyMem, the better to grep.
1946 (pi): Remove Abs.
1947 (i386_operand): Don't set Mem bits in i.types[this_operand] when
1948 given a memory operand. Don't set Abs bits either.
1949 (type_names): Remove Mem*, Abs*.
1950 * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't
1951 define opcode_modifiers as these cases are handled by Disp8,
1952 Disp16, Disp32 and suffix checks.
1953 (COMES_IN_BOTH_DIRECTIONS): Remove.
1954 (FloatR): Define. It's OK to share the bit with ReverseRegRegmem.
1955
1956 * config/tc-i386.c (md_assemble): Don't emit operand size prefix
1957 if IgnoreDataSize modifier given. Remove ShortformW modifier
1958 test. Add test for ShortForm in W base_opcode modification.
1959 Merge Seg2ShortForm and Seg3ShortForm code.
1960 * config/tc-i386.h (ShortFormW): Remove.
1961 (IgnoreDataSize): Define.
1962
1963 Fri Jun 5 10:50:53 1998 Nick Clifton <nickc@cygnus.com>
1964
1965 * config/tc-d30v.c (md_assemble): Store previous segment state
1966 with previous instruction.
1967
1968 Wed Jun 3 18:21:56 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1969
1970 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define.
1971 (ebp, esp): Remove static variables.
1972 (MATCH): Remove test for InOutPortReg.
1973 (i386_operand): Properly handle InOutPortReg here instead.
1974 Disallows `inb (%dx,2)', `inb %es:(%dx)' and `mov (%dx),%ax'
1975 (md_assemble): Simplify and correct modrm and sib generation.
1976 (i386_operand): Add warning for scale without index.
1977 Rewrite checks for valid base/index combinations.
1978
1979 * config/tc-i386.c (END_STRING_AND_SAVE): Protect arguments of
1980 macros and enclose in do while(0).
1981 (RESTORE_END_STRING): Likewise.
1982 (md_assemble): Add one to printed operand number so we start
1983 from 1 not 0. Add some more gettext invocations.
1984 (i386_operand): Fix `%%s' -> `%%%s'. Inc printed operand
1985 number here too.
1986
1987 * config/tc-i386.h (WAIT_PREFIX, LOCKREP_PREFIX, ADDR_PREFIX,
1988 DATA_PREFIX, SEG_PREFIX): Define.
1989 * config/tc-i386.c (struct _i386_insn): Remove wait_prefix field.
1990 (check_prefix): Remove function.
1991 (add_prefix): New function. Add prefix to i.prefix as well as
1992 doing checks.
1993 (md_assemble): Changes for add_prefix. Remove hack for wait
1994 prefix, instead always output prefixes in fixed order. Test
1995 for jcxz/loop when selecting between word & dword operations,
1996 and add address size prefix rather than operand size prefix.
1997 Remove operand -> address size hack when emitting jcxz/loop.
1998 (i386_operand): Remove O_Absent check as it's done in expr.
1999
2000 Wed Jun 3 15:09:10 1998 Ian Lance Taylor <ian@cygnus.com>
2001
2002 * configure.in: Recognize m5200 as a cpu_type of m68k.
2003 * aclocal.m4: Rebuild with current libtool.
2004 * configure: Rebuild.
2005
2006 Wed Jun 3 14:11:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2007
2008 * config/tc-m68k.c (md_estimate_size_before_relax): Add more calls
2009 to relaxable_symbol to prevent references to external symbol from
2010 being relaxed.
2011
2012 Wed Jun 3 14:10:36 1998 Ian Lance Taylor <ian@cygnus.com>
2013
2014 * config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all
2015 symbols are relaxable.
2016
2017 Wed Jun 3 09:16:00 1998 Catherine Moore <clm@cygnus.com>
2018
2019 * config/tc-v850.c (md_begin): Don't create special
2020 sections by default.
2021
2022 Tue Jun 2 14:52:56 1998 Jeffrey A Law (law@cygnus.com)
2023
2024 * config/tc-mips.c (macro): For div and udiv, close the
2025 reorder block as soon as possible.
2026
2027 Tue Jun 2 15:36:13 1998 Ian Lance Taylor <ian@cygnus.com>
2028
2029 From Matt Semersky <matts@scd.hp.com>:
2030 * macro.c (macro_mri_mode): New function.
2031 * macro.h (macro_mri_mode): Declare.
2032 * read.c (s_mri): Call macro_mri_mode when switching in and out of
2033 MRI mode.
2034
2035 Tue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de>
2036
2037 * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in
2038 OBJ_EVAX case.
2039
2040 * config/tc-alpha.c (s_alpha_comm): Defer restoring character
2041 until after xstrdup in OBJ_EVAX case.
2042
2043 Tue Jun 2 13:11:13 1998 Pat Rankin <rankin@eql.caltech.edu>
2044
2045 * config/tc-vax.c (md_create_short_jump): Fix off by two bug in
2046 offset calculation. Also, use VAX_BRW from vax-inst.h instead
2047 of hardcoded magic number.
2048 (md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros.
2049
2050 Tue Jun 2 09:25:34 1998 Doug Evans <devans@canuck.cygnus.com>
2051
2052 * read.c (do_s_func): New function.
2053 (s_func): Call it.
2054 * read.h (do_s_func): Add prototype.
2055
2056 Mon Jun 1 12:47:30 1998 Doug Evans <devans@canuck.cygnus.com>
2057
2058 * config/tc-m32r.c (m32r_do_align): Only fill code sections with
2059 nops if fill pattern not specified.
2060
2061 Mon Jun 1 14:08:35 1998 Ian Lance Taylor <ian@cygnus.com>
2062
2063 From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
2064 * config/te-go32.h (TE_GO32): Define.
2065 * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.
2066
2067 Sun May 31 15:43:06 1998 Doug Evans <devans@canuck.cygnus.com>
2068
2069 Implement .func/.endfunc pseudo-ops.
2070 * read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare.
2071 (s_func): Declare.
2072 * read.c (potable): Add .func,.endfunc.
2073 (s_func): New function.
2074 * stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New
2075 functions.
2076 (in_doc_func_p,current_function_label): New static globals.
2077 (stabs_generate_asm_lineno): Emit function relative stabs if in .func.
2078
2079 Fri May 29 18:13:12 1998 Ian Lance Taylor <ian@cygnus.com>
2080
2081 * config/tc-a29k.h (WORKING_DOT_WORD): Define.
2082 * config/tc-alpha.h (WORKING_DOT_WORD): Define.
2083 * config/tc-arm.h (WORKING_DOT_WORD): Define.
2084 * config/tc-h8300.h (WORKING_DOT_WORD): Define.
2085 * config/tc-h8500.h (WORKING_DOT_WORD): Define.
2086 * config/tc-hppa.h (WORKING_DOT_WORD): Define.
2087 * config/tc-i860.h (WORKING_DOT_WORD): Define.
2088 * config/tc-i960.h (WORKING_DOT_WORD): Define.
2089 * config/tc-tic30.h (WORKING_DOT_WORD): Define.
2090 * config/tc-w65.h (WORKING_DOT_WORD): Define.
2091 * config/tc-z8k.h (WORKING_DOT_WORD): Define.
2092 * config/tc-a29k.c: Don't define md_short_jump_size,
2093 md_long_jump_size, md_create_short_jump or md_create_long_jump.
2094 * config/tc-alpha.c: Likewise.
2095 * config/tc-alpha.h: Likewise.
2096 * config/tc-arm.c: Likewise.
2097 * config/tc-h8300.c: Likewise.
2098 * config/tc-h8500.c: Likewise.
2099 * config/tc-hppa.c: Likewise.
2100 * config/tc-i860.c: Likewise.
2101 * config/tc-i960.c: Likewise.
2102 * config/tc-ppc.c: Likewise.
2103 * config/tc-sh.c: Likewise.
2104 * config/tc-sparc.h: Likewise.
2105 * config/tc-tic30.c: Likewise.
2106 * config/tc-w65.c: Likewise.
2107 * config/tc-z8k.c: Likewise.
2108
2109 Fri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu>
2110
2111 * config/tc-vax.c (_): Delete this macro used for placeholder
2112 values in vax_operand_width_size; it conflicts with the _() macro
2113 used for internationalization.
2114
2115 Fri May 29 13:46:07 1998 Ian Lance Taylor <ian@cygnus.com>
2116
2117 * symbols.c (symbol_find_base): Fix case insensitive symbol name
2118 code. From Chris Moller <moller@bops.com>.
2119
2120 Based on patch from Klaus Kaempf <kkaempf@progis.de>:
2121 * struc-symbol.h (struct broken_word): Add seg and subseg fields.
2122 * read.c (emit_expr): Initialize seg and subseg fields of a new
2123 broken word.
2124 * write.c (write_object_file): Switch to the appropriate segment
2125 and subsegment when processing a broken word.
2126
2127 * config/tc-m68k.c (mri_assemble): New static function.
2128 (build_mri_control_operand): Call mri_assemble rather than
2129 md_assemble.
2130 (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
2131 (s_mri_endf, s_mri_endw): Likewise.
2132
2133 Wed May 27 11:16:25 1998 Ian Lance Taylor <ian@cygnus.com>
2134
2135 * read.c (s_org): Call md_flush_pending_output if it is defined.
2136
2137 * config/tc-sparc.c (md_show_usage): Add \n\ to new string.
2138
2139 Tue May 26 19:27:52 1998 Stan Cox <scox@equinox.cygnus.com>
2140
2141 * config/tc-sparc.c (OPTION_LITTLE_ENDIAN_DATA): New.
2142 (md_parse_option): Add for same.
2143 (sparc_md_end): Set bfd_mach_sparc_sparclite_le.
2144 (md_apply_fix3, tc_gen_reloc): Allow BFD_RELOC_SPARC_32LE.
2145 (cons_fix_new_sparc): Added to create BFD_RELOC_SPARC_32LE.
2146
2147 * config/tc-sparc.h (cons_fix_new_sparc): Added.
2148
2149 Thu May 21 15:02:41 1998 Nick Clifton <nickc@cygnus.com>
2150
2151 * config/tc-arm.c (find_real_start): Relax definition of local
2152 labels.
2153
2154 Tue May 19 16:59:44 1998 Nick Clifton <nickc@cygnus.com>
2155
2156 * config/tc-d30v.c (d30v_align): Apply address adjustment to all
2157 symbols at the given address, not just the last one specified.
2158
2159 Tue May 19 08:25:19 1998 Catherine Moore <clm@cygnus.com>
2160
2161 * config/tc-sparc.c (sparc_handle_align): Use number_to_chars_bigendian
2162 or number_to_chars_littleendian to write data.
2163
2164 Mon May 18 17:09:30 1998 Nick Clifton <nickc@cygnus.com>
2165
2166 * config/tc-v850.c (md_assemble): Remove artificially created
2167 register name symbols.
2168
2169 Mon May 18 13:47:06 1998 Doug Evans <devans@canuck.cygnus.com>
2170
2171 * write.c (fixup_segment): Change "segment" to "section" in
2172 error message.
2173
2174 Mon May 18 16:55:40 1998 Michael Meissner <meissner@cygnus.com>
2175
2176 * write.c (fixup_segment): Change sym1-sym2 message again.
2177
2178 Mon May 18 09:31:43 1998 Michael Meissner <meissner@cygnus.com>
2179
2180 * write.c (fixup_segment): Improve error message for sym1-sym2
2181 errors when sym1 is in a different segment from sym2.
2182
2183 Wed May 13 10:16:37 1998 Doug Evans <devans@canuck.cygnus.com>
2184
2185 * config/tc-m32r.c (warn_unmatched_high): New static local.
2186 (OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
2187 (OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
2188 (md_longopts): Recognize --{no-,}warn-unmatched-high.
2189 (md_parse_option): Likewise.
2190 (md_show_usage): Likewise.
2191 (m32r_frob_file): Likewise.
2192
2193 * read.c (generate_file_debug,generate_lineno_debug): New functions.
2194 (read_a_source_file): Call them.
2195 * read.h (stabs_generate_asm_file): Declare.
2196 * stabs.c (stabs_generate_asm_file): New function.
2197 (generate_asm_file): New function.
2198 (stabs_generate_asm_lineno): Move file name handling into
2199 generate_asm_file.
2200
2201 Tue May 12 12:03:44 1998 Richard Henderson <rth@cygnus.com>
2202
2203 * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
2204 (d30v_current_align, d30v_current_align_seg): New variables.
2205 (d30v_last_label): New variable.
2206 (d30v_align, s_d30v_align, s_d30v_text): New functions.
2207 (s_d30v_data, s_d30v_section): Likewise.
2208 (md_pseudo_table): Call them.
2209 (md_begin): Initialize d30v_current_align_seg.
2210 (md_assemble): Call d30v_align when needed by known current alignment.
2211 (d30v_frob_label, d30v_cons_align): New functions.
2212 * config/tc-d30v.h (md_do_align): Remove.
2213 (tc_frob_label): Call d30v_frob_label.
2214 (md_cons_align): New.
2215
2216 * config/tc-d30v.c (find_format): Convert complex expressions to
2217 expression symbols before processing. Clean up code formatting.
2218
2219 Sun May 10 22:35:02 1998 Jeffrey A Law (law@cygnus.com)
2220
2221 * po/Make-in (install-info): New target.
2222
2223 Thu May 7 15:49:07 1998 Jeffrey A Law (law@cygnus.com)
2224
2225 * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
2226 instructions.
2227 * config/tc-mn10300.c (md_assemble): Likewise.
2228
2229 Thu May 7 11:47:22 1998 Doug Evans <devans@canuck.cygnus.com>
2230
2231 * Makefile.am: Update with `make dep-am'.
2232 (HFILES): Add cgen.h.
2233 (cgen.o): Depend on cgen.h.
2234 * Makefile.in: Regenerate.
2235
2236 * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.
2237
2238 Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
2239
2240 * gasp.c (grab_label): Permit a label to be a preprocessor
2241 variable by permitting a label to start with a backslash.
2242
2243 Thu May 7 12:50:33 1998 Frank Ch. Eigler <fche@cygnus.com>
2244
2245 * config/tc-mips.c (validate_mips_insn): Removed hack
2246 for previously inaccessible bitfields in some INSN_TRAP
2247 instructions.
2248
2249 Thu May 7 11:13:00 1998 Frank Ch. Eigler <fche@cygnus.com>
2250
2251 * config/tc-d30v.c (do_assemble): Abort with error message
2252 if opcode operands do not match.
2253
2254 Thu May 7 09:36:06 1998 Frank Ch. Eigler <fche@cygnus.com>
2255
2256 * config/tc-mips.c (macro_build, validate_mips_insn): Implement
2257 'q' operand format for 20-bit "break"/"sdbbp" instructions.
2258 (mips_ip): Truncate overflowed "break" 'c' operand. Implement
2259 similar new 'q' operand.
2260
2261 Thu May 7 07:47:14 1998 Michael Meissner <meissner@cygnus.com>
2262
2263 * cgen.c (cgen_asm_finish_insn): Fix typo.
2264
2265 Thu May 7 02:19:14 1998 Doug Evans <devans@charmed.cygnus.com>
2266
2267 * cgen.h: New file.
2268 * cgen.c: Include it.
2269 (MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
2270 (cgen_asm_finish_insn): Result is now void. New arg `result'.
2271 All callers updated.
2272 * config/tc-m32r.c: Include cgen.h.
2273 (m23r_insn): New members num_fixups,fixups.
2274
2275 Wed May 6 16:29:19 1998 Jeffrey A Law (law@cygnus.com)
2276
2277 * config/tc-hppa.c (md_apply_fix): Slightly rework some code
2278 to avoid compiler warning.
2279
2280 Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
2281
2282 * makefile.vms: Run dec c with /nodebug. Pass CC value when
2283 calling make.
2284
2285 * makefile.vms (OBJS): Add ehopt.obj
2286
2287 Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de>
2288
2289 * doc/c-vax.texi: Correct and extend vax/vms documentation.
2290
2291 Wed May 6 11:51:51 1998 Richard Henderson <rth@cygnus.com>
2292
2293 * config/tc-d30v.c (do_assemble): Accept a new parameter requesting
2294 a short format insn.
2295 (md_assemble): Set it for explicitly packed insns.
2296
2297 Tue May 5 13:23:13 1998 Nick Clifton <nickc@cygnus.com>
2298
2299 * config/obj-coff.c (c_symbol_merge): Do not take address of
2300 native fields when performing the memcpy.
2301
2302 Tue May 5 13:10:41 1998 Gavin Koch <gavin@cygnus.com>
2303
2304 * config/tc-mips.c (macro,macro2): Implement
2305 M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
2306
2307 Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2308
2309 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
2310 relocations against globally visible symbols.
2311 * config/tc-m68k.c (relaxable_symbol): New macro.
2312 (m68k_ip, md_estimate_size_before_relax): Use it.
2313 (tc_m68k_fix_adjustable): Also handle weak symbols.
2314
2315 Mon May 4 16:12:23 1998 Ian Lance Taylor <ian@cygnus.com>
2316
2317 * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
2318 references to externally visible symbols.
2319 * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
2320 values in twice for a PC relative reloc if the symbol is
2321 externally defined.
2322
2323 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
2324 don't adjust a PC relative reloc against an externally visible
2325 symbol.
2326 * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
2327 for a PC relative fixup against an externally visible defined
2328 symbol, arrange to store object file and addend values as though
2329 the symbol were not defined.
2330 (tc_gen_reloc): Likewise.
2331
2332 Thu Apr 30 13:09:39 1998 Fred Fish <fnf@ninemoons.com>
2333
2334 * read.c (sizeof_leb128): Referenced externally by write.c so
2335 don't inline.
2336
2337 Wed Apr 29 15:45:57 1998 Michael Meissner <meissner@cygnus.com>
2338
2339 * config/tc-m32r.c ({,expand_}debug_sym): New functions to record
2340 and expand a 'debug' symbol associated with the next instruction
2341 that does not cause a short instruction to be filled with a NOP.
2342 (md_pseudo_table): Add support for .debugsym.
2343 (assemble_parallel_insn): Add calls to expand_debug_sym as
2344 appropriate.
2345 (md_assemble): Ditto.
2346
2347 Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com>
2348
2349 * as.c (main): Conditionally call setlocale.
2350 * gasp.c (main): Likewise.
2351 * asintl.h: Include <locale.h> if HAVE_LOCALE_H.
2352 (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
2353
2354 Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com>
2355
2356 * config/tc-d30v.c (md_show_usage): Correct gettext typo.
2357
2358 Tue Apr 28 12:16:30 1998 Ian Lance Taylor <ian@cygnus.com>
2359
2360 * config/tc-hppa.c: Change all calls to bzero to use memset.
2361 (pa_ip): Add cast to avoid warning.
2362 (tc_gen_reloc, md_apply_fix): Likewise.
2363 (pa_find_space_by_number): Likewise.
2364 (hppa_force_relocation): Likewise.
2365 (pa_block): Change i to unsigned int.
2366 * config/obj-som.h (obj_som_copyright): Declare.
2367
2368 Tue Apr 28 11:35:56 1998 Frank Ch. Eigler <fche@cygnus.com>
2369
2370 * ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno
2371 for line numbers for assembly source.
2372
2373 Mon Apr 27 15:58:46 1998 Ian Lance Taylor <ian@cygnus.com>
2374
2375 * configure.in: Change version number to 2.9.4
2376 * configure: Rebuild.
2377
2378 Mon Apr 27 12:07:33 1998 Doug Evans <devans@seba.cygnus.com>
2379
2380 * cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated.
2381
2382 Mon Apr 27 15:16:12 1998 Ian Lance Taylor <ian@cygnus.com>
2383
2384 * ecoff.h: Change symbolS in function declaration to struct
2385 symbol.
2386
2387 Sun Apr 26 13:44:22 1998 Ian Lance Taylor <ian@cygnus.com>
2388
2389 * config/tc-sh.c (parse_reg): Add casts to avoid warnings.
2390 (md_convert_frag): Fix i18n typo.
2391
2392 Sat Apr 25 20:12:02 1998 Richard Henderson <rth@cygnus.com>
2393
2394 * ecoff.c (ecoff_get_cur_proc_sym): New function.
2395 * ecoff.h: Protoype it.
2396 * config/tc-alpha.c [ELF] (s_alpha_prologue): New function.
2397 [EVAX] (s_alpha_prologue): Delete.
2398 (md_pseudo_table): Update.
2399
2400 Sat Apr 25 14:00:52 1998 Ian Lance Taylor <ian@cygnus.com>
2401
2402 * config/tc-i960.c (md_assemble): Change bp_error_msg from static
2403 array to local pointer.
2404 (get_args, parse_expr): Add casts to avoid warnings.
2405
2406 Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be>
2407
2408 * read.c (s_set): Cast xmalloc return value to fragS *.
2409 * config/tc-m68k.c (m68k_ip): Function made static to match
2410 previous forward declaration.
2411 (insert_reg, init_regtable, md_convert_frag_1): Likewise.
2412
2413 Fri Apr 24 09:26:46 1998 Nick Clifton <nickc@cygnus.com>
2414
2415 * config/tc-v850.c: Add internationalisation macros to error
2416 strings.
2417
2418 * config/tc-m32r.c (can_make_parallel): Add internationalisation
2419 macros to error strings.
2420
2421 Thu Apr 23 19:23:23 1998 Ian Lance Taylor <ian@cygnus.com>
2422
2423 * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a
2424 reloc is in the TOC csect.
2425 (md_apply_fix3): Correct gettext typo.
2426
2427 Thu Apr 23 14:58:31 1998 Nick Clifton <nickc@cygnus.com>
2428
2429 * config/tc-arm.c (find_real_start): Ignore symbols starting with
2430 .L - they are local labels and the branches are not really
2431 function calls but rather far jumps.
2432
2433 Wed Apr 22 15:57:21 1998 Tom Tromey <tromey@cygnus.com>
2434
2435 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
2436
2437 Wed Apr 22 14:52:36 1998 Ian Lance Taylor <ian@cygnus.com>
2438
2439 * config/tc-i386.c (md_assemble): Print operand number rather than
2440 using ordinal_names.
2441 (i386_operand): Likewise.
2442
2443 Tue Apr 21 22:34:25 1998 Tom Tromey <tromey@scribbles.cygnus.com>
2444
2445 * Makefile.am (INTLLIBS): Define to work around apparent automake
2446 bug.
2447 All Makefiles: Regenerated.
2448
2449 * Many files: Added gettext invocations around user-visible
2450 strings.
2451 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
2452 HAVE_LC_MESSAGES): Define.
2453 * dep-in.sed: Added asintl.h.
2454 * po/Make-in: New file.
2455 * gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
2456 Include "asintl.h".
2457 * read.c (Z_): Renamed from `_'.
2458 * Makefile.am (SUBDIRS): Added po.
2459 (POTFILES): new macro.
2460 (po/POTFILES.in): New target.
2461 ($(OBJS)): Added asintl.h.
2462 (HFILES): Likewise.
2463 (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
2464 (as_new_LDADD): Added $(INTLLIBS).
2465 (as_new_DEPENDENCIES): Added $(INTLDEPS).
2466 (gasp_new_LDADD): Added $(INTLLIBS).
2467 (gasp_new_DEPENDENCIES): New macro.
2468 * configure, aclocal.m4: Rebuilt.
2469 * configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and
2470 po/Makefile.
2471 (ALL_LINGUAS): Define.
2472 * macro.c: Include "asintl.h".
2473 * as.c (main): Call setlocale, bindtextdomain, and textdomain.
2474 * as.h: Include "asintl.h".
2475 * config/tc-i386.c (ordinal_names): Removed.
2476 (md_assemble): Changed error text to avoid ordinal_names.
2477 (i386_operand): Likewise.
2478 (reloc): Added as_bad to avoid i18n problems.
2479 (tc_gen_reloc): Likewise.
2480 * config/tc-arm.c (bad_args): Now a #define.
2481 (bad_pc): Likewise.
2482 * config/obj-vms.c (VMS_stab_parse): Changed type of
2483 `long_const_msg'.
2484 (global_symbol_directory): Unified strings to avoid i18n
2485 problems.
2486 * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
2487 avoid i18n problems.
2488 * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
2489 * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
2490 i18n problems.
2491 * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
2492 problems.
2493 * config/tc-v850.c (md_assemble): Changed C++ comment into C
2494 comment.
2495 * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
2496 problems.
2497 * as.c (print_version_id): Added an fprintf to avoid i18n
2498 problems.
2499 * cond.c (cond_finish_check): Added as_bad call to avoid i18n
2500 problems.
2501 * expr.c (expr): Added as_warn call to avoid i18n problems.
2502 * messages.c (as_assert): Changed code to avoid i18n problems.
2503 (as_abort): Likewise.
2504 * read.c (pseudo_set): Added as_bad call to avoid i18n problems.
2505 (s_space): Likewise.
2506 * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
2507
2508 Tue Apr 21 17:01:22 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2509
2510 * config/tc-i386.c (check_prefix): New static function, split out
2511 from md_assemble.
2512 (struct _i386_insn): Add wait_prefix field.
2513 (md_assemble): Remove wait_prefix local variable. Use
2514 check_prefix when adding a prefix.
2515
2516 * config/tc-i386.c (current_templates): New static variable.
2517 (md_assemble): Remove current_templates local variable.
2518 (md_assemble, i386_operand): Improve error and warning messages in
2519 many places. Add RESTORE_END_STRING in many places before error
2520 return. Clarify some comments.
2521
2522 * config/tc-i386.c (struct _i386_insn): Change seg field to a two
2523 element array.
2524 (md_assemble): Parse string instruction operands, looking for
2525 segment override prefixes. Check for invalid segment prefixes on
2526 string instruction.
2527 (i386_operand): i.seg[] and max mem_operand changes for string
2528 insns.
2529 * config/tc-i386.h (EsSeg): Define.
2530
2531 * config/tc-i386.h (regKludge): Define.
2532 (iclrKludge, imulKludge): Don't define.
2533 * config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
2534 code. Move ReverseRegRegmem fudges into Modrm case. Reorder
2535 opcode_modifier checks to look for more common cases first. Add
2536 default_seg for IsString case.
2537
2538 Tue Apr 21 16:18:12 1998 Ian Lance Taylor <ian@cygnus.com>
2539
2540 * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
2541 AC_DECL_YYTEXT.
2542 * configure: Rebuild with new automake and libtool.
2543 * aclocal.m4, Makefile.in: Likewise.
2544
2545 * doc/Makefile.am (as.dvi): New target.
2546 * doc/Makefile.in: Rebuild.
2547
2548 Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com>
2549
2550 * configure.in: Added sparc86x support.
2551
2552 * configure: Rebuild.
2553
2554 * config/tc-sparc.c (lookup_arch): Added arch_type to struct
2555 sparc_arch.
2556 (md_parse_option): Warn if -EL is not supported for this architecture.
2557
2558 * config/tc-sparc.h (SPARC_BIENDIAN) Always define.
2559
2560 Sat Apr 18 01:19:01 1998 Jeffrey A Law (law@cygnus.com)
2561
2562 * config/tc-mips.c (mips_ip): Note when we use get match on
2563 the full instruction name.
2564
2565 Wed Apr 15 15:17:27 1998 Richard Henderson <rth@cygnus.com>
2566
2567 * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
2568 back into the expression to handle add/sub simplification correctly.
2569
2570 Wed Apr 15 07:06:04 1998 Catherine Moore <clm@cygnus.com>
2571
2572 * config/tc-mips.c (hilo_interlocks): Remove 4300.
2573
2574 Mon Apr 13 16:51:04 1998 Nick Clifton <nickc@cygnus.com>
2575
2576 * config/tc-arm.c (do_msr): Support undocumented 'msr cpsr_flg,
2577 #<n>' instruction.
2578
2579 Thu Apr 9 10:29:42 1998 Doug Evans <devans@canuck.cygnus.com>
2580
2581 * symbols.c (max_indent_level): New global.
2582 (print_symbol_value_1): Use it.
2583 * expr.h (expr_build_dot): Declare.
2584 * expr.c (expr_build_dot): New function.
2585
2586 Wed Apr 8 16:16:11 1998 Doug Evans <devans@canuck.cygnus.com>
2587
2588 * symbols.c (print_binary): New function.
2589 (print_expr_1): Call it.
2590
2591 Mon Apr 6 12:06:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2592
2593 * config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the
2594 operand in the opcode.
2595
2596 Fri Apr 3 11:58:19 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2597
2598 * config/tc-i386.h: Reorder operand flags and opcode modifier
2599 flags for clarity. Remove unused definitions: Unknown,
2600 ImmUnknown, DispUnknown, NoModrm.
2601 * config/tc-i386.c (type_names): Add missing Debug type.
2602 (md_assemble): Better duplicate prefix checking. Quicker string
2603 instruction check via new opcode_modifier flag.
2604
2605 Fri Apr 3 11:44:34 1998 Ian Lance Taylor <ian@cygnus.com>
2606
2607 * doc/as.texinfo (Invoking): Clarify -Wa example.
2608
2609 Fri Apr 3 09:12:23 1998 Gavin Koch <gavin@cetus.cygnus.com>
2610
2611 * config/tc-mips.c (mips_pseudo_table): Add weakext entry.
2612 (s_mips_weakext): Define.
2613 * ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS).
2614 * config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if
2615 defined(TC_MIPS).
2616
2617 Thu Apr 2 22:42:02 1998 Jeffrey A Law (law@cygnus.com)
2618
2619 * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols
2620 is an error if the value can not be computed at assembly time.
2621 * config/tc-mn10300.c (tc_gen-reloc): Likewise.
2622
2623 Thu Apr 2 16:36:47 1998 Ian Lance Taylor <ian@cygnus.com>
2624
2625 * gasp.c (main): Set next field of new include_path structure to
2626 NULL. From Avery Pennarun <averyp@gdc.ca>.
2627
2628 * read.c (s_mri_sect): Call as_bad rather than abort for an
2629 unsupported MRI target.
2630
2631 Wed Apr 1 11:08:27 1998 Nick Clifton <nickc@cygnus.com>
2632
2633 * config/tc-arm.c (arm_validate_fix): New function. Determine if
2634 the destination of a branch instruction should be altered.
2635 (find_real_start): New function: Locate the real, Thumb coded
2636 start of a Thumb function.
2637 (do_t_branch23): Alter the destination of branches to Thumb
2638 functions.
2639
2640 * config/tc-arm.h: Define TC_VALIDATE_FIX.
2641
2642 Tue Mar 31 13:27:33 1998 Dean M. Deaver <deaver@amt.tay1.dec.com>
2643
2644 * config/tc-arm.c (decode_shift): Handle addressing mode 2 w/rrx
2645 also.
2646
2647 Wed Apr 1 13:13:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2648
2649 * doc/as.texinfo: Use @itemx for a secondary item in a table.
2650 * doc/c-hppa.texi: Likewise.
2651
2652 Tue Mar 31 17:52:40 1998 Ian Lance Taylor <ian@cygnus.com>
2653
2654 * Makefile.am: Rebuild dependencies.
2655 * Makefile.in: Rebuild.
2656
2657 * Makefile.am (DEP_INCLUDES): New variable.
2658 (.dep1): Change to work when srcdir is not an absolute path.
2659 (.tcdep, .objdep, .dep2, dep.sed): Likewise.
2660 * Makefile.in: Rebuild.
2661
2662 Mon Mar 30 12:46:48 1998 Ian Lance Taylor <ian@cygnus.com>
2663
2664 * config/tc-i386.h, config/tc-i386.c: Revert March 24
2665 LinearAddress patch.
2666
2667 * configure.in: Set version to 2.9.1.
2668 * configure: Rebuild.
2669
2670 * Branched binutils 2.9.
2671
2672 Mon Mar 30 11:22:08 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2673
2674 * config/tc-i386.h (FWait): Define.
2675 * config/tc-i386.c (md_assemble): Emit fwait prefix before any
2676 other prefixes. Check FWait flag in opcode table to see which
2677 instructions require an fwait prefix.
2678
2679 Mon Mar 30 10:12:00 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2680
2681 * stabs.c (get_stab_string_offset): Always create a stab string
2682 section.
2683
2684 Sat Mar 28 22:28:02 1998 Ian Lance Taylor <ian@cygnus.com>
2685
2686 Fix some gcc -Wall warnings:
2687 * atof-generic.c (atof_generic): Add casts to avoid warnings.
2688 * ehopt.c (eh_frame_code_alignment): Likewise.
2689 * expr.c (integer_constant, operand): Likewise.
2690 * frags.c (frag_align): Likewise.
2691 * gasp.c (level_0, change_base, doinstr): Likewise.
2692 * hash.c (hash_ask): Likewise.
2693 * listing.c (listing_page, calc_hex, print_lines): Likewise.
2694 (debugging_pseudo): Likewise.
2695 * macro.c (define_macro, check_macro): Likewise.
2696 * read.c (read_a_source_file, s_align, s_float_space): Likewise.
2697 (ignore_rest_of_line, float_cons): Likewise.
2698 * symbols.c (decode_local_label_name): Likewise.
2699 * write.c (record_alignment, cvs_frag_to_fill): Likewise.
2700 (fixup_segment, number_to_chars_bigendian): Likewise.
2701 (number_to_chars_littleendian): Likewise.
2702 * config/atof-ieee.c (gen_to_words): Likewise.
2703 * config/tc-sparc.c (md_begin, md_assemble): Likewise.
2704 (sparc_ip, parse_keyword_arg, s_common): Likewise.
2705 * read.c (output_big_sleb128): Initialize locals to avoid
2706 warnings.
2707 (output_big_uleb128, equals): Likewise.
2708 * atof-generic.c (atof_generic): Change number_of_digits_* locals
2709 to unsigned int. Change zeros to unsigned int.
2710 * cond.c (s_if): Add return to default case.
2711 * frags.c (frag_now_fix): Change return type to addressT.
2712 * frags.h (frag_now_fix): Update declaration.
2713 * listing.c (file_info_struct): Change linenum to unsigned int.
2714 (struct list_info_struct): Change hll_line to unsigned int.
2715 (print_source): Update format string.
2716 * read.c (emit_expr): Change scan to unsigned int, and don't
2717 bother to initialize it.
2718 * symbols.c (dollar_label_count): Change to unsigned long.
2719 * write.c (adjust_reloc_syms): Remove unused label reduce_fixup.
2720 * config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF.
2721 * config/tc-sparc.c (tc_gen_reloc): Add return to default case.
2722
2723 Fri Mar 27 12:46:47 1998 Ian Lance Taylor <ian@cygnus.com>
2724
2725 * config/tc-m68k.c (m68k_ip): Check legal addressing modes for
2726 mcf5200 just as we do for m68000.
2727 (m68k_init_after_args): Likewise.
2728 (md_estimate_size_before_relax): Likewise.
2729
2730 Fri Mar 27 10:30:01 1998 Catherine Moore <clm@cygnus.com>
2731
2732 * config/tc-v850.c (md_assemble): Store relocation addend in
2733 fixup instead of instruction.
2734
2735 Thu Mar 26 23:07:18 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
2736
2737 * config/tc-i386.c (md_assemble): Swap template arguments to
2738 CONSISTENT_REGISTER_MATCH macro in reverse direction test.
2739 This macro is currently symmetric, so passing them the wrong
2740 way didn't cause any problem, but may if the macro is changed
2741 in the future.
2742 After copying template to i.tm, use i.tm. rather than t-> to
2743 access fields, and make t a const*
2744 Move i.tm.operand_types[] swap to immediately after the copy.
2745
2746 Wed Mar 25 13:44:18 1998 Doug Evans <devans@canuck.cygnus.com>
2747
2748 * expr.h (expr_build_uconstant): Add prototype.
2749 (expr_build_unary,expr_build_binary): Add prototypes.
2750 * expr.c (expr_build_uconstant): New function.
2751 (expr_build_unary,expr_build_binary): New functions.
2752
2753 Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
2754
2755 * gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
2756 * macro.c (macro_expand_body): Increase buffer size.
2757 * messages.c (as_warn): Likewise.
2758 (as_warn_where, as_bad, as_bad_where): Likewise.
2759
2760 Wed Mar 25 12:59:07 1998 Ian Lance Taylor <ian@cygnus.com>
2761
2762 Based on patch from H.J. Lu <hjl@gnu.org>:
2763 * Makefile.am (DISTSTUFF): New variable.
2764 (diststuff): New target.
2765 * Makefile.in: Rebuild.
2766
2767 Tue Mar 24 16:51:29 1998 Nick Clifton <nickc@cygnus.com>
2768
2769 * config/tc-m32r.h (md_cleanup, md_elf_section_change_hook): Call
2770 m32r_elf_section_change_hook.
2771
2772 * config/tc-m32r.c (m32r_elf_section_change_hook): New function to
2773 emit a nop if a section ends with a 16 bit instruction.
2774
2775 Tue Mar 24 19:48:09 1998 Ian Lance Taylor <ian@cygnus.com>
2776
2777 * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call
2778 s_lcomm rather than obj_coff_lcomm.
2779 (obj_pseudo_table): Compile .bss pseudo-op unconditionally.
2780
2781 Tue Mar 24 18:30:58 1998 H.J. Lu <hjl@gnu.org>
2782
2783 * config/tc-i386.h (LinearAddress): Define.
2784 * config/tc-i386.c (md_assemble): If LinearAddress is set for the
2785 instruction, don't use a default segment.
2786
2787 Mon Mar 23 18:53:40 1998 Joel Sherrill <joel@OARcorp.com>
2788
2789 * configure.in: (sh*-*-rtems*): Switched from ELF to COFF.
2790 * configure: Rebuild.
2791
2792 Fri Mar 20 19:15:44 1998 Ian Lance Taylor <ian@cygnus.com>
2793
2794 * aclocal.m4, configure: Rebuild with libtool 1.2.
2795
2796 Thu Mar 19 16:03:12 1998 Nick Clifton <nickc@cygnus.com>
2797
2798 * config/tc-arm.c (md_apply_fix3): fix code to test the range of
2799 PC relative branches. Patch courtesy of Jonathan Walton.
2800
2801
2802 Wed Mar 18 09:29:51 1998 Nick Clifton <nickc@cygnus.com>
2803
2804 * configure.in (emulations): Add thumb-pe target.
2805
2806 * configure (emulations): Add thumb-pe target.
2807
2808 1998-03-17 Ken Raeburn <raeburn@cygnus.com>
2809
2810 * itbl-lex.l (yywrap): Don't define if already defined as a
2811 macro.
2812
2813 Fri Mar 13 16:31:38 1998 Tom Tromey <tromey@cygnus.com>
2814
2815 * depend.c (quote_string_for_make): New function.
2816 (wrap_output): Use it.
2817
2818 Thu Mar 12 18:28:22 1998 Nick Clifton <nickc@cygnus.com>
2819
2820 * config/obj-elf.c (obj_elf_section): Set bss flag in seg_info
2821 structure if type is SHT_NOBITS. [Bug fix courtesy of rth]
2822
2823 Sat Feb 28 17:28:55 1998 Richard Henderson <rth@cygnus.com>
2824
2825 * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
2826 Recognize -GN and -relax.
2827 (md_begin): Initialize gp size from -G switch.
2828 (alpha_force_relocation): Always force if -relax.
2829 (alpha_align): Take a new argument that will specify when to
2830 emit an R_ALPHA_ALIGN relocation (though we don't do that now).
2831 Change all callers. Emit nop alignment padding as nop+unop pair.
2832
2833 Sat Feb 28 17:06:22 1998 Richard Henderson <rth@cygnus.com>
2834
2835 * config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
2836 * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New.
2837
2838 Thu Feb 26 15:49:04 1998 Michael Meissner <meissner@cygnus.com>
2839
2840 * config/tc-d30v.c (write_2_short): Delayed jsr instructions don't
2841 require padding to the next long word boundary.
2842
2843 Mon Feb 23 11:29:06 1998 Doug Evans <devans@seba.cygnus.com>
2844
2845 * cgen.c: #include symcat.h.
2846 * config/tc-m32r.c: Likewise.
2847
2848 Mon Feb 23 10:27:40 1998 Jeffrey A Law (law@cygnus.com)
2849
2850 * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
2851 absolute expressions instead of '$' prefixed register names.
2852
2853 Sat Feb 21 22:36:52 1998 Richard Henderson <rth@cygnus.com>
2854
2855 * read.c (s_set): Record file and line info for symbols when -as.
2856 (pseudo_set): Don't overwrite that dummy fragment.
2857
2858 Fri Feb 20 15:03:13 1998 Ian Lance Taylor <ian@cygnus.com>
2859
2860 * config/tc-ppc.c (md_pseudo_table): Add "section".
2861 (ppc_named_section): New static function.
2862
2863 Thu Feb 19 22:25:42 1998 Richard Henderson <rth@cygnus.com>
2864
2865 * tc-ppc.c (ppc_biei): Cache the last symbol we inserted
2866 so we don't have to scan the entire list.
2867
2868 Tue Feb 17 17:02:15 1998 Fred Fish <fnf@cygnus.com>
2869
2870 * config/tc-d30v.c (parallel_ok): For the explicitly parallel
2871 case, allow the parallel instructions to modify the same flag
2872 bits.
2873
2874 Thu Feb 19 16:08:15 1998 Richard Henderson <rth@cygnus.com>
2875
2876 * listing.c (list_symbol_table): Categorize symbols by
2877 undefined_section rather than sy_frag->line == NULL.
2878
2879 Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com>
2880
2881 * Makefile.am (install-exec-local): Install properly when ln
2882 fails or tooldir == prefix.
2883
2884 Tue Feb 17 18:58:51 1998 Doug Evans <devans@seba.cygnus.com>
2885
2886 * cgen.c (cgen_md_apply_fix3): Delete call to validate_operand.
2887 Test result of insert_operand for error.
2888
2889 Fri Feb 13 16:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
2890
2891 * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
2892 * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
2893 * doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
2894 * doc/Makefile.in: Rebuild.
2895
2896 Fri Feb 13 00:47:44 1998 Ian Lance Taylor <ian@cygnus.com>
2897
2898 * config/tc-mips.c (macro_build): Handle operand type 'C'.
2899 (macro): Fix handling of M_COP[0-3].
2900
2901 Thu Feb 12 14:06:59 1998 Ian Lance Taylor <ian@cygnus.com>
2902
2903 Based on patches from Ross Harvey <ross@teraflop.com>:
2904 * macro.c (ISSEP): Only treat '<' and '>' as separator characters
2905 if macro_alternate or macro_mri.
2906 (getstring): Remove support for byte constants between < and >.
2907 (get_any_string): '<' only starts a string if macro_alternate or
2908 macro_mri.
2909 (macro_expand_body): Permit keyword parameters following
2910 positional parameters.
2911
2912 NetBSD patches from Gordon W. Ross <gwr@mc.com>:
2913 * configure.in (alpha*-*-netbsd*): New target.
2914 * config/te-nbsd.h (LOCAL_LABELS_FB): Define.
2915 * configure: Rebuild.
2916
2917 * as.h (flag_warn_suppress_instructionswap): Move from here...
2918 * config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
2919 here, and make static.
2920
2921 * ehopt.c (eh_frame_code_alignment): Only use seg_info if
2922 BFD_ASSEMBLER or MANY_SEGMENTS.
2923
2924 * as.c (show_usage): Update bug-gnu-utils address.
2925 * gasp.c (show_usage): Likewise.
2926 * doc/as.texinfo (Bug Reporting): Likewise.
2927
2928 Wed Feb 11 23:26:28 1998 Jeffrey A Law (law@cygnus.com)
2929
2930 * config/tc-mips.c (load_address): Don't use mips III or mips IV
2931 insns regardless of the size of a pointer if we're in mips I or
2932 MIPS II mode.
2933 (macro, macro2, s_cprestore, s_cpadd): Likewise.
2934
2935 Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2936
2937 Fix rac to accept only a0:
2938 * tc-d10v.c (parallel_ok, find_opcode):
2939 Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
2940 Introduce OPERAND_GPR.
2941
2942 Wed Feb 11 16:28:13 1998 Richard Henderson <rth@cygnus.com>
2943
2944 * read.c (s_fill): Handle non-constant repeat counts by creating
2945 an rs_space fragment.
2946
2947 Tue Feb 10 18:31:31 1998 Ian Lance Taylor <ian@cygnus.com>
2948
2949 * config/tc-i386.c (i386_operand): Change error added Jan 2 1998
2950 from as_bad to as_warn.
2951
2952 Tue Feb 10 18:04:00 1998 Jim Lemke <jlemke@cygnus.com>
2953
2954 * as.c: (perform_an_assembly_pass): Use [TEXT|DATA|BSS]_SECTION_NAME
2955 * as.h: Define default values of [TEXT|DATA|BSS]_SECTION_NAME
2956 * config/obj-elf.c (elf_begin): Use [TEXT|DATA|BSS]_SECTION_NAME
2957
2958 Tue Feb 10 17:58:18 1998 Ian Lance Taylor <ian@cygnus.com>
2959
2960 * ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use
2961 seg_fix_rotP rather than fix_root from seg_info.
2962
2963 Tue Feb 10 15:32:22 1998 Ian Carmichael <iancarm@cygnus.com>
2964
2965 * expr.c: Add support for 0x1_2_3_4 bignums.
2966
2967 Tue Feb 10 14:43:40 1998 Ian Lance Taylor <ian@cygnus.com>
2968
2969 * configure.in: Change -linux* to -linux-gnu*.
2970 * configure: Rebuild.
2971
2972 * app.c (do_scrub_begin): Treat \r as whitespace.
2973
2974 Mon Feb 9 14:16:11 1998 Ian Lance Taylor <ian@cygnus.com>
2975
2976 * Makefile.am: Update dependencies.
2977 * Makefile.in: Rebuild.
2978
2979 Sat Feb 7 15:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
2980
2981 * configure, aclocal.m4: Rebuild with new libtool.
2982
2983 Fri Feb 6 16:08:30 1998 Jeffrey A Law (law@cygnus.com)
2984
2985 * config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
2986 the argument to bfd_set_arch_mach.
2987 (load_address): Use bfd_arch_bits_per_address to determine the
2988 bit size of an address instead of looking at the isa level.
2989 (macro, macro2, s_cprestore, s_cpadd): Likewise.
2990
2991 Fri Feb 6 14:44:34 1998 Nick Clifton <nickc@cygnus.com>
2992
2993 * config/tc-v850.c (md_parse_option): Add -mv850any command line option.
2994
2995 Thu Feb 5 12:39:08 1998 Ian Lance Taylor <ian@cygnus.com>
2996
2997 * ehopt.c: New file.
2998 * as.h (enum _relax_state): Add rs_cfa.
2999 (check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
3000 (eh_frame_relax_frag, eh_frame_convert_frag): Declare.
3001 * read.c (emit_expr): Call check_eh_frame.
3002 * write.c (cvt_frag_to_fill): Handle rs_cfa.
3003 (relax_segment): Likewise.
3004 * Makefile.am: Rebuild dependencies.
3005 (GAS_CFILES): Add ehopt.c.
3006 (GENERIC_OBJS): Add ehopt.o.
3007 * doc/internals.texi (Frags): Document rs_cfa.
3008
3009 * as.c (show_usage): Mention --traditional-format.
3010 (parse_args): Accept --traditional-format.
3011 * as.h (flag_traditional_format): Declare.
3012 * output-file.c (output_file_create): If flag_traditional_format,
3013 set BFD_TRADITIONAL_FORMAT on stdoutput.
3014 * doc/as.texinfo, doc/as.1: Document --traditional-format.
3015
3016 * config/tc-mips.c (append_insn): Make sure that if we have a
3017 fixup for an unmatched %hi reloc, it does not associated with a
3018 variant frag.
3019
3020 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
3021 * doc/Makefile.in: Likewise.
3022
3023 Wed Feb 4 15:41:54 1998 Nick Clifton <nickc@cygnus.com>
3024
3025 * config/tc-m32r.c (check_for_side_effects): New function.
3026 (can_make_parallel): Add checks for instruction side effects
3027 clashing with the other instruction.
3028 (assemble_parallel_insn): Improve warning messages. Return error
3029 message from non-swapped instruction order.
3030
3031 Wed Feb 4 20:00:26 1998 James G. Smith <jsmith@teknema.demon.co.uk>
3032
3033 * config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup().
3034
3035 * config/tc-arm.h: Replace md_after_pass_hook definition with a
3036 md_cleanup definition. This moves the forced literal output to
3037 the end of the source pass, and avoids macro's inserting literals
3038 into the code immediately after the macro expansion.
3039
3040 Wed Feb 4 13:17:19 1998 Ian Lance Taylor <ian@cygnus.com>
3041
3042 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
3043 a gas internal symbol is adjustable.
3044 * config/tc-ppc.h (tc_fix_adjustable): Likewise.
3045
3046 * as.h: If gcc version greater than 2.6, use `__format__' and
3047 `__printf__' in function attributes, rather than `format' and
3048 `printf'.
3049
3050 Mon Feb 2 18:38:18 1998 Ian Lance Taylor <ian@cygnus.com>
3051
3052 * config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF.
3053
3054 Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
3055
3056 Add tms320c30 support:
3057 * config/tc-tic30.h: New file.
3058 * config/tc-tic30.c: New file.
3059 * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
3060 TARGET_FORMAT as "coff-tic30".
3061 * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
3062 * Makefile.am: Rebuild dependencies.
3063 (CPU_TYPES): Add tic30.
3064 (CPU_OBJ_VALID): tic30-aout is valid.
3065 (TARGET_CPU_CFILES): Add config/tc-tic30.c.
3066 (TARGET_CPU_HFILES): Add config/tc-tic30.h.
3067 * configure, Makefile.in: Rebuild.
3068
3069 Mon Feb 2 10:20:37 1998 Nick Clifton <nickc@cygnus.com>
3070
3071 * config/tc-v850.c (md_assemble): Improvements to error messages.
3072
3073 Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
3074
3075 * config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
3076 BFD_RELOC_HI16_S to store the high bits of any value.
3077
3078 * config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
3079 (TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
3080 assembler calculate relocations to any external symbol at all.
3081 * config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
3082 involving generation of pc-relative relocs.
3083 (md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
3084 has been moved to md_apply_fix3.
3085
3086 * config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
3087 (ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
3088 which actually means (the address of identifier's GOT entry) +
3089 constant, which is not particularly useful.
3090
3091 Fri Jan 30 11:02:35 1998 Doug Evans <devans@canuck.cygnus.com>
3092
3093 * read.h (include_dirs): Declare.
3094 (include_dir_count,include_dir_maxlen): Declare.
3095
3096 Fri Jan 30 11:47:02 1998 Ian Lance Taylor <ian@cygnus.com>
3097
3098 * configure.in: Correct check for shared opcodes library.
3099 * configure: Rebuild.
3100
3101 * listing.c (buffer_line): If we can't open the file, set at_end.
3102 (listing_print): Remove unused local variable fi.
3103
3104 * config/m68k-parse.y (reglistpair): Handle register list in
3105 either order.
3106
3107 * config/vms-conf.h: Don't undef VERSION.
3108
3109 Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
3110
3111 * Makefile.am (CONFIG_OBJS): New variable, containing part of old
3112 OBJS variable.
3113 (GENERIC_OBJS): New variable, with the rest of the old OBJS
3114 variable.
3115 (OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
3116 ($(srcdir)/make-gas.com): Rename from make-gas.com.
3117 (stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
3118 (EXTRA_DIST): Define.
3119 * vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
3120 explicitly rather than via the list of object files.
3121 (gcc-as.opt): New file created when make-gas.com is run.
3122 * config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
3123 itbl-cpu.h} to #include appropriate file rather than copying that
3124 file.
3125 * config/vms-conf.h: Synchronize with current config.in.
3126 * Makefile.in: Rebuild.
3127
3128 Thu Jan 29 18:48:19 1998 Bill Moyer <billm@cygnus.com>
3129
3130 * config/tc-d30v.c (do_assemble): Added flag_explicitly_parallel.
3131 (parallel_ok): Relaxed parallel subinstruction dependency check.
3132
3133 Wed Jan 28 14:35:00 1998 Bill Moyer <billm@cygnus.com>
3134
3135 * as.h (flag_warn_suppress_instructionswap): added new flag.
3136 * tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap"
3137 command line argument.
3138 * tc-d10v.c (write_2_short): emit "Swapping instructions"
3139 warning only if flag_warn_suppress_instructionswap is false.
3140
3141 Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
3142
3143 * configure.in (i386-*-mingw32*): New target.
3144 * configure: Rebuild.
3145
3146 Wed Jan 28 14:51:18 1998 Ian Lance Taylor <ian@cygnus.com>
3147
3148 * symbols.c (resolve_symbol_value): Don't set the segment if it
3149 hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
3150
3151 * config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
3152 S_GET_SEGMENT.
3153
3154 Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu>
3155
3156 as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
3157 depends upon HAVE_{UNLINK,REMOVE} values rather than host
3158 compiler.
3159
3160 Wed Jan 28 13:48:08 1998 Ian Lance Taylor <ian@cygnus.com>
3161
3162 * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
3163
3164 Wed Jan 28 09:52:00 1998 Nick Clifton <nickc@cygnus.com>
3165
3166 * config/tc-v850.c (v850_insert_operand): Display instruction when
3167 an error is encountered.
3168
3169 Tue Jan 27 13:32:01 1998 Robert Lipe <robertl@dgii.com>
3170
3171 * configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
3172 (i386-*-sco3.2v5*coff): New target.
3173 (i386-*-sco3.2*): New target.
3174 * configure: Rebuild.
3175
3176 Tue Jan 27 11:06:52 1998 Nick Clifton <nickc@cygnus.com>
3177
3178 * config/tc-v850.c: Tidy error message production.
3179
3180 Tue Jan 27 12:24:32 1998 Ian Lance Taylor <ian@cygnus.com>
3181
3182 * config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold
3183 validate_immediate return value in the right type for comparisons
3184 to FAIL.
3185
3186 Tue Jan 27 06:51:59 1998 Richard Henderson <rth@cygnus.com>
3187
3188 * listing.c (MAX_BYTES): Use listing variables not constants.
3189 (data_buffer): No longer an array, but a pointer.
3190 (calc_hex): sizeof(data_buffer) -> MAX_BYTES.
3191 (listing_listing): Allocate data_buffer.
3192
3193 Tue Jan 27 06:38:35 1998 Richard Henderson <rth@cygnus.com>
3194
3195 * as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2,
3196 --listing-rhs-width, --listing-cont-lines.
3197 (show_usage): Update.
3198 * listing.c (listing_lhs_width, listing_lhs_width_second): New vars.
3199 (listing_lhs_cont_lines, listing_rhs_width): New vars.
3200 (print_lines): Use the variables instead of the constants.
3201 (listing_listing): Likewise.
3202 * listing.h: Declare the new vars.
3203
3204 Tue Jan 27 05:32:05 1998 Richard Henderson <rth@cygnus.com>
3205
3206 * as.c (parse_args): Add --keep-locals alias for -L.
3207 Add --strip-local-absolute.
3208 (show_usage): Update.
3209 * as.h (flag_strip_local_absolute): New flag.
3210 * symbols.c (S_IS_LOCAL): Use it.
3211 * config/obj-aout.h (S_IS_LOCAL): Likewise.
3212 * config/obj-bout.h (S_IS_LOCAL): Likewise.
3213 * config/obj-coff.h (S_IS_LOCAL): Likewise.
3214
3215 Mon Jan 26 13:07:41 1998 Nick Clifton <nickc@cygnus.com>
3216
3217 * config/tc-m32r.c: Detect if explicitly parallel instructions
3218 might have an io conflict and issue a warning message.
3219
3220 Thu Jan 22 17:51:44 1998 Nick Clifton <nickc@cygnus.com>
3221
3222 * cgen.c (cgen_save_fixups, cgen_restore_fixups,
3223 cgen_swap_fixups): Functions to save, restore and swap the fixup
3224 chain with a backup copy.
3225 (cgen_asm_finish_insn): Returns address of constructed insn.
3226
3227 Wed Jan 21 16:49:10 1998 Richard Henderson <rth@cygnus.com>
3228
3229 * listing.c (file_info_struct): Remove FILE, add POS.
3230 (last_open_file_info, last_open_file): New; a one entry FILE* cache.
3231 (file_info): Don't open the file.
3232 (buffer_line): Check for the file in the last_open cache, updating
3233 as necessary.
3234 (print_source): Don't reference file_info->file.
3235 (listing_listing): Likewise.
3236 (listing_print): Close the file in the cache, if any.
3237
3238 Fri Jan 16 14:51:48 1998 Ian Lance Taylor <ian@cygnus.com>
3239
3240 * read.c (dwarf_file_string): New file static variable.
3241 (emit_expr): Look for constant sequence that leads up to a file
3242 name in DWARF debugging output.
3243 (stringer): Use dwarf_file_string to decide whether to accept a
3244 string as a file name.
3245
3246 Fri Jan 16 11:30:37 1998 Richard Henderson <rth@cygnus.com>
3247
3248 * tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack.
3249 (crack_operand): Add reg->reglst MRI hack.
3250 (r_seg): Put reglst symbols in reg_section.
3251 (m68k_frob_symbol): Frob reglst symbols into absolute_section.
3252
3253 Thu Jan 15 14:19:01 1998 Richard Henderson <rth@cygnus.com>
3254
3255 * tc-sh.c (get_specific): Handle SGR & DBR.
3256
3257 Thu Jan 15 13:46:48 1998 Richard Henderson <rth@cygnus.com>
3258
3259 * tc-h8300.c (parse_reg): Take the length of the symbol into
3260 account when attempting to match a register name.
3261 * tc-h8500.c (parse_reg): Likewise.
3262
3263 Wed Jan 14 17:52:33 1998 Nick Clifton <nickc@cygnus.com>
3264
3265 * cgen.c: Formatting changes to improve readability.
3266
3267 Wed Jan 14 15:41:41 1998 Jeffrey A Law (law@cygnus.com)
3268
3269 * config/tc-mips.c (macro): Rework division code to avoid unfilled
3270 delay slot.
3271
3272 Wed Jan 14 18:04:20 1998 Michael Meissner <meissner@cygnus.com>
3273
3274 Based on a patch from Jim Wilson
3275 * config/tc-d30v.c (do_assemble): Remove non-ansi default case.
3276 (tc_gen_reloc): Handle cross section PC relative relocs
3277 correctly.
3278
3279 Wed Jan 14 15:02:19 1998 Doug Evans <devans@seba.cygnus.com>
3280
3281 * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
3282
3283 Mon Jan 12 13:04:57 1998 Doug Evans <devans@seba.cygnus.com>
3284
3285 * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage.
3286 (expr_jmp_buf): New static local.
3287 (cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
3288 (cgen_md_operand): New function.
3289 * tc-m32r.c: Clean up pass over `struct foo' usage.
3290 (md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
3291
3292 Tue Jan 6 15:36:02 1998 Richard Henderson <rth@cygnus.com>
3293
3294 * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms.
3295 (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication.
3296
3297 Fri Jan 2 16:08:54 1998 Ian Lance Taylor <ian@cygnus.com>
3298
3299 * config/tc-i386.c (i386_operand): Give an error if there are
3300 unrecognized characters after an expression.
3301
3302 For older changes see ChangeLog-9697
This page took 0.094412 seconds and 5 git commands to generate.