updated dates
[binutils-gdb.git] / gas / ChangeLog
1 Mon Dec 28 10:32:05 1992 Ken Raeburn (raeburn@cygnus.com)
2
3 * app.c (app_push): Use memcpy, not bcopy.
4 (do_scrub_next_char): For \", return " not '.
5 (symbol_chars): Now const.
6
7 * expr.c (operand): If not LOCAL_LABELS_FB, don't look for "0f"
8 and "0b". If LOCAL_LABELS_DOLLAR, check for "0$".
9
10 * config/obj-coff.h: Don't use #elif.
11
12 * config/ho-sunos.h: Don't include sys/stdtypes.h; 4.0.3 doesn't
13 have it. (Reported by Noah Friedman, friedman@gnu.ai.mit.edu.)
14
15 Wed Dec 16 12:12:33 1992 Ian Lance Taylor (ian@cygnus.com)
16
17 * write.c, obj-ieee.c: don't define SUB_SEGMENT_ALIGN if it is
18 already defined.
19
20 Tue Dec 15 12:40:11 1992 Steve Chamberlain (sac@thepub.cygnus.com)
21
22 * app.c (do_scrub_begin): allow single quote strings if so
23 configured.
24
25 * config/*z8k*: checkpoint
26
27 Sun Dec 13 00:04:38 1992 Ian Lance Taylor (ian@cygnus.com)
28
29 * read.c (read_a_source_file): avoid calling xmalloc (0).
30
31 Sat Dec 12 15:26:34 1992 Ian Lance Taylor (ian@cygnus.com)
32
33 * listing.c: Call xmalloc, not malloc; don't declare malloc.
34
35 * Changes to support SCO 3.2v4:
36 * read.c (s_align_bytes, s_align_ptwo): If not SEG_DATA or
37 SEG_BSS, fill with NOP_OPCODE.
38 * config/i386coff.mt: Add opcode/i386.h to TARG_CPU_DEPENDENTS.
39 * config/obj-coffbfd.c (do_relocs_for): Increment addr even if not
40 using ZERO_BASED_SEGMENTS.
41 (fill_section): If ZERO_BASED_SEGMENTS, set segment addresses, but
42 never set segment address for SEG_E2 (.bss) and don't write out
43 SEG_E2 contents. Set .init and .fini sections to STYP_TEXT.
44 (obj_coff_endef): Don't merge labels or symbols awaiting forward
45 definitions, and don't merge tags with non-tags. Check for .bf
46 rather than just checking whether the second character is b and
47 the third character is f.
48 (obj_coff_val): gcc can generate values which we don't handle
49 correctly; discard information for now, since it only affects the
50 debugging information.
51 (tag_find_or_name): Don't insert tags in the symbol table.
52 (yank_symbols): Don't merge labels.
53 (write_object_file): Don't define SUB_SEGMENT_ALIGN if it is
54 already defined. Fill subsegments with NOP_OPCODE, not 0. Don't
55 set segment address if ZERO_BASED_SEGMENTS.
56 (obj_coff_section): Accept and ignore a trailing quoted string, as
57 used in AT&T i386 syntax.
58 (fixup_segment): Take segment as argument. On the i386, adjust PC
59 relative addends by the segment vaddr.
60 * tc-i386.h: Define SUB_SEGMENT_ALIGN.
61 * tc-a29k.h: Define ZERO_BASED_SEGMENTS.
62 * tc-i386.c: (i386_operand): If I386COFF, accept any segment type.
63
64 Tue Dec 8 00:06:48 1992 Ken Raeburn (raeburn@rtl.cygnus.com)
65
66 * config/obj-coffbfd.c: Include libcoff.h.
67
68 * version.c: Now version 1.93.
69
70 Mon Dec 7 00:39:09 1992 Ken Raeburn (raeburn@cygnus.com)
71
72 * config/tc-i386.c (md_pseudo_table): For 386bsd and linux, do
73 power-of-two alignment for .align.
74
75 * as.h: If BROKEN_ASSERT, just redefine `assert' to be trivial,
76 and leave everything else alone.
77
78 Fri Dec 4 16:58:42 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
79
80 * Makefile.in (as.new): Don't bother saving as.old.
81
82 * write.c: Conditionalize on OBJ_VMS, not VMS.
83 (magic_number_for_object_file): Don't define if OBJ_VMS.
84
85 * config/obj-vms.c: Changes for traditional C.
86
87 Thu Dec 3 01:24:07 1992 Ken Raeburn (raeburn@kr-pc.cygnus.com)
88
89 * config/ho-generic.h (malloc, realloc): Declare.
90
91 * Lots of comment/whitespace changes.
92
93 * write.h (struct fix): Some fields reordered, narrowed.
94
95 * read.c (MASK_CHAR): Define using C types, not magic number.
96
97 * as.c, input-file.c: Deleted some unused code.
98
99 * app.c, as.h: Doc fix.
100
101 * flonum-konst.c, flonum-mult.c: Include ansidecl.h.
102
103 * as.h (xmalloc): Argument is long.
104
105 * xmalloc.c (error): Remove declaration; as.h takes care of it.
106
107 Mon Nov 30 11:42:11 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
108
109 * configure.in: Accept target OS "vms".
110
111 * symbols.c: Merged ANSI and non-ANSI function decls, using
112 PARAMS macro.
113
114 * xmalloc.c: Just include as.h, don't bother trying to figure out
115 other header files.
116
117 * strstr.c, strerror.c: Deleted.
118 * Makefile.in: Deleted references.
119
120 * config/tc-ns32k.c: Don't include header file for string
121 declarations; leave that to ho-*.h.
122
123 Fri Nov 27 04:11:36 1992 Ken Raeburn (raeburn at cambridge-laptop.cygnus.com)
124
125 * config/coff_gnu.h [TC_I860]: Guesses for reloc type values,
126 imported from FSF sources.
127
128 * messages.c (strerror): Declare unconditionally.
129
130 * as.h: Delete alloca and register definitions.
131
132 * config/atof-ieee.c (mask): Now const.
133
134 * obstack.c, obstack.h: Deleted.
135
136 * as.h (flag_readonly_data_in_text): New flag.
137 * as.c (main): Set it for -R.
138
139 * as.h (flag_suppress_warnings): New flag.
140 * as.c (main): Set it for -W.
141 * messages.c (as_warn): Check it instead of flagseen['W'].
142
143 * as.h (flag_always_generate_output): New flag.
144 * as.c (main): Set it for -Z.
145
146 * config/tc-sparc.h: Define NEED_FX_R_TYPE.
147 * config/tc-a29k.h: Ditto.
148 * write.h (struct fix): Don't conditionalize fx_r_type field on TC
149 macros.
150
151 * as.h: Merged ANSI and non-ANSI function decls, using PARAMS
152 macro.
153 * bignum.h, expr.h, flonum.h, frags.h, input-file.h, listing.h,
154 obj.h, output-file.h, read.h, struc-symbol.h, symbols.h, tc.h,
155 write.h: Likewise.
156 * read.c: Likewise.
157
158 * xmalloc.c: Conditionalize on HAVE_MALLOC_H, not USG. Fold in
159 xrealloc from xrealloc.c.
160 * xrealloc.c: Deleted.
161 * Makefile.in (REAL_SOURCES, OBJS): Adjusted.
162
163 * configure.in: For host CPU a29k, rs6000, vax, consider using bsd
164 or vms ho- files.
165
166 * config/ho-sysv.h (setbuffer, HO_USG): Deleted.
167
168 * config/atof-ieee.c (atof_ieee): Exponent field isn't a pointer;
169 don't initialize it with NULL.
170
171 * config/ho-vax.h (M_VAX): Deleted; was unused.
172
173 * README-vms, config/ho-vms.h, config/obj-vms.c, config/obj-vms.h:
174 New files imported from FSF version, contributed by Eric Youngdale.
175 * README-vms-dbg, config/vms: Deleted.
176
177 * ChangeLog, config/ChangeLog: Merged.
178
179 * config/*tahoe*, configure.in: Tahoe support brought in from FSF
180 version.
181
182 * input-file.c (input_file_open): Eliminate call to setvbuf.
183 [USG] (setbuffer): Deleted macro.
184
185 Mon Nov 23 11:00:16 1992 Ken Raeburn (raeburn@cygnus.com)
186
187 * all files: Whitespace changes for GNU indentation style, done by
188 GNU `indent'. Some cleanup still needed, especially of comments.
189
190 * configure.in: No te-386bsd.h file exists; don't try to use it.
191
192 * obj-coff.c (obj_coff_endef): Use as_warn, not fprintf.
193
194 * tc-m68k.c (md_assemble): Don't complain about 68000 with 68881;
195 could be doing emulation.
196
197 Tue Nov 10 09:49:24 1992 Ian Lance Taylor (ian@cygnus.com)
198
199 * Makefile.in (as.o, obj-format.o): added dependency on subsegs.h.
200
201 * subsegs.h: add extern to segment_info declaration.
202
203 * read.h: added extern declarations for comment_chars,
204 line_comment_chars, and line_separator_chars.
205 read.c, app.c: removed definitions of comment_chars,
206 line_comment_chars, and line_separator_chars.
207
208 * tc-m68k.c (m68k_reg_parse): If REGISTER_PREFIX isn't defined,
209 still accept (but don't require) OPTIONAL_REGISTER_PREFIX before
210 the register name.
211 (insert_reg): put REGISTER_PREFIX before register names before
212 putting them in the symbol table.
213 * tc-m68k.h (OPTIONAL_REGISTER_PREFIX): Define to be "%", if not
214 M68KCOFF.
215
216 * obj-coffbfd.c (fill_section): set STYP_NOLOAD bit for .bss
217 section.
218
219 * atof-ieee.c, atof-ns32k.c, tc-*.c: made EXP_CHARS, FLT_CHARS,
220 comment_chars, line_comment_chars and line_seperator_chars
221 consistently const, and always initialized them. Included read.h.
222
223 Thu Nov 5 17:55:41 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
224
225 * tc-sparc.c (sparc_ip): Add code to flag error if an absolute
226 constant will not fit in an immediate field.
227 (md_apply_fix, RELOC_BASE13 case): Check for relocation overflow.
228
229 Wed Nov 4 07:50:46 1992 Ken Raeburn (raeburn@cygnus.com)
230
231 * obj-coff.c (callj_table): Delete global variable.
232 (obj_emit_relocations): Define it locally here, and only if
233 TC_I960 is defined.
234
235 * tc-m68k.c (m68k_reg_parse): Underscore is part of a symbol name.
236 (m68k_ip): Don't warn about bignum used as float bit-pattern.
237
238 * obj-coff.c: Replaced ANSI and non-ANSI function declarations
239 with a single set using PARAMS macro.
240
241 * tc-i960.c (tc_bout_fix_to_chars): Bit-field fixups want a length
242 of 2.
243
244 * tc-i960.c: Missed a couple of 0->NO_RELOC conversions.
245
246 * tc-i960.h (N_BALNAME, N_CALLNAME): Define as char-type values,
247 so widening works consistently.
248
249 Wed Oct 28 08:52:34 1992 Ken Raeburn (raeburn@cygnus.com)
250
251 * version.c: Put conditional "const" before version_string, not
252 before dummy function for VMS. Now version 1.91.03.
253
254 * app.c (do_scrub_next_char): Need double-\ before `000' to show
255 printed rep of null character.
256
257 Fri Oct 23 14:40:38 1992 Ian Lance Taylor (ian@cygnus.com)
258
259 * obj-coffbfd.c (write_object_file): check return value of
260 bfd_close_all_done.
261
262 Tue Oct 20 12:18:08 1992 Ian Lance Taylor (ian@cygnus.com)
263
264 * Support for i386-sysv.
265 obj-coffbfd.c (do_relocs_for, write_object_file): set segment
266 addresses to reasonable sizes. New define ZERO_BASED_SEGMENTS can
267 be used to set them all to zero as was done before.
268 (fill_section): segment addresses now set in write_object_file.
269 (fill_section): Don't set STYP_NOLOAD for .bss section.
270 (fixup_segment): 386 uses strange common symbol format.
271 tc-i386.c (tc_coff_fix2rtype): use R_DIR32, not R_RELLONG, for
272 compatibility with SVR3.2 linker.
273 * configure.in: i386-sysv and i386-sco use coffbfd.
274
275 * app.c (do_scrub_next_char): discard whitespace after a label.
276
277 Sat Oct 10 12:33:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
278
279 * configure.in: differentiate between SunOS 4 and Solaris2 for Sun4
280 hosts, use the sysv configuration for solaris2
281
282 Mon Oct 5 09:28:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
283
284 fix i960+non-bfd coff bit rot.
285 * obj-coff.c (c_dot_file_symbol, obj_coff_ln, obj_coff_line):
286 support for C source listings. (obj_coff_endef): look in the right
287 part of the symbol for the symbol name
288
289 * tc-m68k.c (get_num): make it work for all segments, not just the
290 first three.
291
292 Mon Oct 5 03:30:36 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
293
294 * configure.in: recognize i386-*-bsd emulation.
295
296 Thu Oct 1 23:05:12 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
297
298 * configure.in: use the cpu-vendor-os triple for host and target
299
300 Tue Sep 29 12:22:52 1992 Steve Chamberlain (sac@thepub.cygnus.com)
301
302 * obj-coffbfd.c (write_object_file): don't fixup for the z8k
303 * tc-z8k.c: lots of bug fixes
304
305 Tue Sep 29 10:51:55 1992 Ian Lance Taylor (ian@cygnus.com)
306
307 * tc-i960.h, tc-i960.c: avoid the ANSI preprocessor addition
308 #elif, since it is not supported by old compilers.
309 ho-rs6000.h, tc-m68k.c: the native RS/6000 compiler miscompiles a
310 couple of expressions in tc-m68k.c.
311
312 Mon Sep 28 21:18:24 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
313
314 * read.c (cons): If NO_RELOC is defined, use it.
315
316 * tc-i960.c (get_cdisp): Use NO_RELOC, not 0, in call to fix_new.
317
318 Fri Sep 25 18:18:52 1992 Ian Lance Taylor (ian@cygnus.com)
319
320 * tc-m68k.h: if M68KCOFF, define DOT_LABEL_PREFIX (to require
321 local labels to start with a .) and set REGISTER_PREFIX to %.
322 tc-m68k.c (m68k_reg_parse): accept REGISTER_PREFIX if defined.
323
324 Fri Sep 25 17:53:43 1992 John Gilmore (gnu@cygnus.com)
325
326 * messages.c: Comment changes.
327
328 Fri Sep 25 14:12:58 1992 Ken Raeburn (raeburn@kyriath.cygnus.com)
329
330 * as.h: Test if __STDC__ is defined only, don't test its value.
331 * messages.c: If __STDC__ is not defined, define NO_STDARG.
332
333 Thu Sep 24 12:42:32 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
334
335 * listing.c (debugging_pseudo): Add stabs and stabn as things to
336 ignore.
337
338 Tue Sep 22 13:02:07 1992 Sean Eric Fagan (sef@cygnus.com)
339
340 * obj-coffbfd.c (do_relocs_for,fill_section): now allocate all
341 sections starting from zero, rather than making them consecutive.
342 This makes subsequent reloc calculations easier, esp if the object
343 format doesn't understand addends. (obj_coff_lcomm): (maybe temporarily)
344 allocate lcomm in .data rather than in .bss. It seems that some
345 tools can't cope with a non-zero sized bss before linkage.
346
347 Tue Sep 22 15:10:51 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
348
349 * tc-m68k.c: Replace "enum m68k_architecture" with "int"
350 throughout. That enum no longer means what we thought it meant.
351
352 * tc-m68k.c (md_assemble, md_parse_option): Handle new
353 "-mno-688[58]1" options.
354
355 * tc-m68k.c: Added CPU32 support.
356
357 Fri Sep 18 08:02:18 1992 Steve Chamberlain (sac@thepub.cygnus.com)
358
359 * tc-m68k.c (m68k_ip): An(disp) is not pc relative.
360
361 Tue Sep 15 17:25:05 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
362
363 * Makefile.in (as.new): Remove dependence on LOCAL_LOADLIBES.
364 Change LIBDEPS dependence to LIBS.
365
366 Tue Sep 15 15:32:02 1992 Ian Lance Taylor (ian@cygnus.com)
367
368 * Makefile.in (install): if $(tooldir) exists, install as in
369 $(tooldir)/bin.
370
371 Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com)
372
373 * Added WARN_SIGNED_OVERFLOW_WORD define to give an error if any
374 .word is < -32768 or > 32767. The -J flag causes the error to be
375 ignored. This is to catch over-sized switches generated by gcc on
376 systems which don't support the broken .word hack.
377 as.c (main): permit -J if WARN_SIGNED_OVERFLOW_WORD.
378 write.c (fixup_segment): check for signed .word overflow if
379 WARN_SIGNED_OVERFLOW_WORD.
380
381 * write.c (fixup_segment): fixed missing parens in expression
382 checking for byte or word overflow.
383
384 * obj-coffbfd.h: define WARN_SIGNED_OVERFLOW_WORD.
385 obj-coffbfd.c (fixup_segment): check for signed .word overflow if
386 WARN_SIGNED_OVERFLOW_WORD.
387
388 * obj-coffbfd.c (fixup_segment): fixed missing parens in
389 expression checking for byte or word overflow.
390
391 Fri Sep 11 10:21:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
392
393 Support for i386 coff
394 * obj-coffbfd.h : added stuff
395 * tc-i386.c (tc_coff_fix2rtype): new function
396 * tc-i386.h : new coff defines
397
398 Thu Sep 10 09:23:15 1992 Ian Lance Taylor (ian@cygnus.com)
399
400 * input-scrub.c (input_scrub_push): call input_file_begin, not
401 input_scrub_begin.
402 messages.c (as_perror): print ": " between the passed in error and
403 the strerror, like perror does.
404
405 Wed Sep 9 11:06:25 1992 Ian Lance Taylor (ian@cygnus.com)
406
407 * Makefile.in: use gas_target instead of modifying target_cpu.
408 From Steve Chamberlain:
409 Makefile.in: Handle m68*-*-coff*.
410 read.c, read.h: add mult argument to s_space
411
412 * tc-m68k.c (m68k_ip, m68k_ip_op, get_num, try_moto_index): merge
413 Motorola and MIT syntax; gas can now assemble either type of
414 file.
415 tc-m68kmote.c, tc-m68kmote.h: removed now superfluous files.
416 From Steve Chamberlain:
417 m68kcoff.mt: for m68k COFF.
418 obj-coffbfd.c: (fixup_mdeps) added
419 (size_section) removed bad sanity check
420 (fill_section) added rs_machine_dependent case
421 (write_object_file) call fixup_mdeps
422 (fixup_segment) set fx_subsy to 0.
423 obj-coffbfd.h: define WORKING_DOT_WORD (too hard to support) and
424 handle m68k.
425 tc-m68k.c, config/tc-m68k.h: added m68k COFF support and Motorala
426 pseudo ops.
427
428 Tue Sep 8 17:10:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
429
430 * Makefile.in (LIBS): Include opcode library.
431
432 Fri Sep 4 18:20:56 1992 Ken Raeburn (raeburn@cygnus.com)
433
434 * config/tc-m68k.c (get_num, case SEG_BIG): If only small integers
435 including zero are accepted, pass +0.0.
436
437 Sun Aug 30 21:24:46 1992 Ian Lance Taylor (ian@cygnus.com)
438
439 * Makefile.in: map "as" through program_transform_name when
440 installing.
441
442 Sat Aug 29 12:11:12 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
443
444 * Makefile.in (as.new): Depend on LOCAL_LOADLIBES.
445
446 Fri Aug 28 16:25:22 1992 Ian Lance Taylor (ian@cygnus.com)
447
448 * obj-bout.h, obj-bout.c (obj_header_append, obj_symbol_to_chars),
449 tc-i960.c (md_ri_to_chars): Always output bout object file in
450 little endian byte order (used to use endianness of host).
451
452 Tue Aug 25 15:50:48 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
453
454 * config/tc-m68k.c (init_table): Now const. Always include 68851
455 data, so that "bc" is available to 68040 cache instructions.
456 Added "tt0", "tt1", and 68ec030 variants.
457 (md_assemble): Complain if 68000 (only) and 68881 are specified.
458 (enum _register): Added TT0, TT1.
459 (m68k_ip, cases '3' and 't'): Handle new operand type codes. Pass
460 line number correctly in "internal error" messages. Don't print
461 architecture-mismatch message for operand errors.
462
463 From Colin Smith (colin@wrs.com):
464 * config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather
465 than install_operand.
466
467 Tue Aug 25 15:13:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
468
469 * listing.c (buffer_line): rewind to the start of include
470 files, they might be included twice.
471
472 * z8k.c, z8k.h, z8k.mt: z8000 support stuff
473
474 Mon Aug 24 12:45:43 1992 Ian Lance Taylor (ian@cygnus.com)
475
476 * Makefile.in: defined TARGET_CPU for C code so that it can choose
477 one element of a family.
478
479 * tc-m68k.c: use TARGET_CPU to choose default cpu type.
480
481 * te-generic.h: default to LOCAL_LABELS_DOLLAR and LOCAL_LABELS_FB
482 so that we can assemble hand-written libgcc code.
483
484 Fri Aug 21 14:38:44 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
485
486 * messages.c (as_warn): Use fputs, not fprintf, with a buffer that
487 has already been formatted (but may still contain %-characters).
488 (as_bad): Likewise.
489
490 Wed Aug 19 11:20:59 1992 Ian Lance Taylor (ian@cygnus.com)
491
492 * tc-m68k.c, tc-m68kmote.c: the cas2 instruction is supposed to be
493 written with indirection on the last two operands, which can be
494 either data or address registers. Added a new operand type 'r'
495 which accepts either register type. Added '(' to notend stuff in
496 tc-m68kmote.c to accept (a0):(a2) in cas2 instruction.
497
498 Wed Aug 19 09:25:09 1992 Ken Raeburn (raeburn@cygnus.com)
499
500 * as.h (enum _relax_state): Start off at one, not zero, to better
501 catch uninitialized-variable errors.
502 (linkrelax): Declare new variable.
503
504 * messages.c (warning_count, error_count): Default initializer is
505 sufficient.
506
507 * write.c: Merged some declarations, using PARMS macro.
508 (text_frag_root, data_frag_root, bss_frag_root, text_last_frag,
509 data_last_frag): No longer static.
510 (write_object_file, case rs_align or rs_org): If HANDLE_ALIGN is
511 defined, call it. Change segments before calling fixup_segment.
512 (relax_align): If linkrelax, provide extra padding.
513
514 * obj-bout.c (obj_emit_relocations): Emit alignment relocs despite
515 their not having symbols associated.
516
517 * tc-i960.c (norelax, instrument_branches): Default initializer is
518 sufficient.
519 (linkrelax): Delete variable definition.
520 (mem_fmt): Call fix_new with NO_RELOC.
521 (tc_bout_fix_to_chars): Handle alignment relocs.
522 (i960_handle_align): New function.
523 * tc-i960.h (linkrelax): Delete declaration.
524 (HANDLE_ALIGN): New macro; calls i960_handle_align.
525 (NEED_FX_R_TYPE, NO_RELOC): New macros.
526
527 Tue Aug 18 14:59:21 1992 Ken Raeburn (raeburn@cygnus.com)
528
529 * config/sparc.mt: New file. Grab sparc opcode table from bfd
530 library.
531
532 Tue Aug 18 14:16:38 1992 Ian Lance Taylor (ian@cygnus.com)
533
534 * Makefile.in: always create installation directories. Removed
535 MINUS_G, set CFLAGS to default to -g, added FLAGS_TO_PASS, passed
536 FLAGS_TO_PASS to recursive makes.
537
538 Mon Aug 17 15:09:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
539
540 * input-scrub.c (input_scrub_pop, input_scrub_push): memcpy was
541 being used with args swapped, causing occasional lossage when
542 refilling buffers after an include file.
543
544 Mon Aug 17 13:18:51 1992 Ken Raeburn (raeburn@cygnus.com)
545
546 * messages.c (as_tsktsk): Use correct ANSI form for stdarg
547 version. Discard bogus DONTDEF version.
548 (as_warn, as_bad, as_fatal): Likewise.
549
550 Fri Aug 14 18:31:14 1992 Ken Raeburn (raeburn@cygnus.com)
551
552 * config/tc-m68k.c (m68k_ip): If instruction is invalid for the
553 selected architecture, print a message saying so and listing what
554 processors support it, rather than saying "operands mismatch".
555
556 Thu Aug 13 13:53:19 1992 Ken Raeburn (raeburn@cygnus.com)
557
558 * as.h [BROKEN_ASSERT]: If defined, turn off all assertion checks.
559
560 * config/ho-rs6000.h (M_RS6000): Don't define it.
561 (free): Declare it.
562 (BROKEN_ASSERT): Define it if not __STDC__.
563
564 Tue Aug 11 12:58:14 1992 Ken Raeburn (raeburn@cygnus.com)
565
566 * sparc.mt: New file.
567
568 Mon Aug 10 14:37:08 1992 Per Bothner (bothner@cygnus.com)
569
570 * tc-m68k.c: ".align N" means align to N-byte boundary *only*
571 if TN_SUN3; otherwise align to 2**N-byte bounary.
572
573 Thu Aug 6 12:10:39 1992 Steve Chamberlain (sac@thepub.cygnus.com)
574
575 * read.c (s_fill): make the .fill size clamped error a warn and
576 fix bug where 0's were always placed.
577
578 * config/tc-h8300.c: if a :8 is seen after an operand, fill top
579 two bytes of any constant with 0xff:
580
581 Wed Aug 5 12:02:40 1992 Steve Chamberlain (sac@thepub.cygnus.com)
582
583 * config/tc-m68k.c (md_pseudo_table): fix the .align thing
584 the right way; for just the 68k. Sun 3 .align is nbytes, not ptwo.
585
586 Wed Aug 5 01:54:34 1992 John Gilmore (gnu at cygnus.com)
587
588 * tc-m68k.c (try_index): Error if index scaling specified and
589 assembling for an older CPU than a 68020.
590
591 Sat Aug 1 19:10:13 1992 Ken Raeburn (raeburn@cygnus.com)
592
593 * config/tc-sparc.c (tc_aout_fix_to_chars): If pc-relative, take
594 fx_offset into account.
595
596 Fri Jul 31 21:53:28 1992 Ken Raeburn (raeburn@cygnus.com)
597
598 * configure.in (mips host): Accept "ultrix" with version number.
599
600 * expr.c (floating_constant): Separate "=-" to avoid confusing
601 ancient or broken compilers.
602
603 * config/tc-m68k.c (m68k_ip): Mismatch error could also indicate
604 processor/opcode mismatch, so reword the error message.
605 (md_assemble): If no CPU has been set (even if FPU/PMMU
606 characteristics have been), default to 68020. Don't need extra
607 quotes around error string.
608
609 Fri Jul 31 12:26:34 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
610
611 * read.c (potable): Revert sac's incorrect change made Jul 13.
612 Align really is supposed to be ptwo not nbytes.
613
614 Mon Jul 20 02:51:59 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
615
616 * Makefile.in: _Do_ include libiberty. (from sef)
617
618 Fri Jul 17 15:15:28 1992 Ken Raeburn (raeburn@cygnus.com)
619
620 * expr.c (integer_constant): Handle "0f" and "0b" label references
621 properly.
622
623 Thu Jul 16 08:20:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
624
625 * write.c (fixup_segment): if relaxing, don't do anything.
626 * config/obj-bout.[ch] : maintain the a_relaxable file header info
627 * config/tc-i960.c: new option -linkrelax
628
629 Mon Jul 13 14:11:36 1992 Steve Chamberlain (sac@thepub.cygnus.com)
630
631 * expr.c (expr): allow SEG_BSS in expressions
632 * read.c (potable): align should be nbytes, not ptwo!
633 * write.c (write_object_file): extra glue for new bss attributes
634 (relax_segment): SEG_BSS is ok now
635 * config/tc-m68k.c (m68k_ip_op): can now parse more @( modes
636
637 Mon Jul 6 17:09:32 1992 Steve Chamberlain (sac@cygnus.com)
638
639 * obj-coffbfd.c (fill_section): mark .lit sections as STYP_LIT
640
641 Mon Jun 1 16:20:22 1992 Michael Tiemann (tiemann@cygnus.com)
642
643 * configure.in: recognize m680x0 as having sun3 emulation mode for
644 vxworks environment.
645
646
647 Tue Jun 30 20:25:54 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
648
649 * Makefile.in: Add program_suffix (parallel to program_prefix)
650
651 Wed Jun 24 10:57:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)
652
653 * app.c (process_escape): new function to handle escapes the right
654 way, (do_scrub_next_char): use new function
655 * cond.c (s_ifdef): do ifdef/ifndef right
656 * read.c (s_fill): make the , expressions optional like the doc
657 says
658 * config/tc-h8300.[ch]: better warnings
659
660 Tue Jun 9 07:54:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)
661
662 * subsegs.c (subsegs_begin): create bss0_frchainP in the same was
663 as data0_frchainP
664
665 * write.c (write_object_file): various changes to handle data in
666 the BSS segment in much the same was as stuff in the DATA segment.
667
668 * tc-m68k.c (m68kip): Fix typo so that only arch's >=68020 do
669 pcrel data stuff. (md_estimate_size_before_relax): when relaxing a
670 68010 bxx into a bra+6 jmpxx, put the bytes of the jmp opcode into
671 the right place. (s_bss): Don't put .bss stuff into SEG_DATA, put
672 it into SEG_BSS
673
674 Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)
675
676 * expr.c(expr): allow SEG_REGISTER in expressions.
677 * read.c(pseudo_set): register expressions can be the source of a
678 set.
679 * subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
680 goto SEG_TEXT (if a.out)
681 * write.c (write_object_file): If a.out don't use the old way for
682 -R.
683 * config/obj-a.out (s_sect): complain if the user tries to use a
684 subsegment with a value which might interfere with out -R hackery.
685 * config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
686 rather than use ugly if tree. (init_regtable): insert register
687 names into symbol table.
688
689 Tue Jun 2 16:47:09 1992 Steve Chamberlain (sac@cygnus.com)
690
691 * write.c (write_object_file): keep the fix_tail clean, which
692 fixes a bug in -R where relocations were being lost.
693
694 Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)
695
696 * expr.c(expr): allow SEG_REGISTER in expressions.
697 * read.c(pseudo_set): register expressions can be the source of a
698 set.
699 * subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
700 goto SEG_TEXT (if a.out)
701 * write.c (write_object_file): If a.out don't use the old way for
702 -R.
703 * config/obj-a.out (s_sect): complain if the user tries to use a
704 subsegment with a value which might interfere with out -R hackery.
705 * config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
706 rather than use ugly if tree. (init_regtable): insert register
707 names into symbol table.
708
709 Tue Jun 2 16:47:09 1992 Steve Chamberlain (sac@cygnus.com)
710
711 * write.c (write_object_file): keep the fix_tail clean, which
712 fixes a bug in -R where relocations were being lost.
713
714 Mon Jun 1 16:20:22 1992 Michael Tiemann (tiemann@cygnus.com)
715
716 * configure.in: recognize m680x0 as having sun3 emulation mode for
717 vxworks environment.
718
719 Sun May 31 05:33:00 1992 david d `zoo' zuhn (zoo@cygnus.com)
720
721 * configure.in: recognize m680x0 as an m68k
722
723 Thu May 28 11:22:02 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
724
725 * configure.in: Recognize sparclite as a sparc variant.
726
727 * tc-sparc.c: Use new ARCHITECTURES_CONFLICT_P macro. Mention new
728 -Asparclite flag.
729
730 Tue May 26 16:47:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
731
732 * config/tc-a29k.c: lint
733 * listing.c, expr.c: patches from Andrew Smith
734
735 Mon May 4 18:56:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
736
737 * obj-coffbfd.c: use is a synonym for section, (do_relocs_for):
738 calc the base of relocs correctly.
739 * tc-a29k.c (parse_operand): allow expressions to be in any section.
740
741 Mon Apr 27 13:13:31 1992 K. Richard Pixley (rich@cygnus.com)
742
743 * as.c, write.c: use -K rather than -k for the broken word warning
744 option.
745
746 Tue Apr 21 13:35:30 1992 K. Richard Pixley (rich@cygnus.com)
747
748 * Makefile.in: do not print recursion lines.
749
750 Wed Apr 15 21:19:31 1992 K. Richard Pixley (rich@rtl.cygnus.com)
751
752 * Makefile.in: the tooldir copy of gas goes directly in tooldir.
753
754 Tue Apr 14 14:50:22 1992 Ken Raeburn (Raeburn@Cygnus.COM)
755
756 * write.c (write_object_file): For b.out format, round up section
757 start addresses to match required alignment.
758
759 Thu Apr 9 05:45:29 1992 Ken Raeburn (Raeburn@Cygnus.COM)
760
761 * Makefile.in (install): Install into $(tooldir)/bin, since that's
762 where gcc looks for it.
763
764 Tue Apr 7 15:12:15 1992 Sean Eric Fagan (sef@cygnus.com)
765
766 * Makefile.in: Changed some lines to be less confusing for some
767 makes.
768
769 * input-file.c: Conditionalize on _IOFBF, not VMS.
770
771 * read.c, write.c: Change a series of ifdef/elif to
772 ifdef/else/ifdef etc.
773
774 Fri Mar 27 12:21:16 1992 K. Richard Pixley (rich@cygnus.com)
775
776 * symbols.c (fb_label_init): fix sizeof to memset.
777
778 Fri Mar 13 15:45:44 1992 K. Richard Pixley (rich@cygnus.com)
779
780 * Makefile.in: install the man page.
781
782 * Makefile.in: pass down MAKEINFO explicitly on info.
783
784 Fri Mar 13 08:03:03 1992 Steve Chamberlain (sac@thepub.cygnus.com)
785
786 * flonum-const.c: renamed flonum-konst.c to stop dos name
787 conflict.
788
789 Thu Mar 12 04:42:38 1992 K. Richard Pixley (rich@cygnus.com)
790
791 * tc-m68k.h, te-sun3.h: moved LOCAL_LABELS_FB definition from
792 tc-m68k.h to te-sun3.h.
793
794 Wed Mar 11 23:32:42 1992 K. Richard Pixley (rich@cygnus.com)
795
796 * configure.in: vxworks68 gets te-sun3.h.
797
798 * expr.c: remove limitation that local_labels_dollar or
799 local_labels_fb must be < 10.
800
801 * symbols.c: remove local_labels_dollar, replace with a function
802 interface for a sparse array. All users adjusted.
803
804 * te-sun3.h: add LOCAL_LABELS_DOLLAR.
805
806 Fri Mar 6 21:57:18 1992 K. Richard Pixley (rich@cygnus.com)
807
808 * Makefile.in: added check target.
809
810 Tue Mar 3 15:45:56 1992 K. Richard Pixley (rich@rtl.cygnus.com)
811
812 * Makefile.in: added tooldir and program_prefix.
813
814 Sun Mar 1 04:43:19 1992 Michael Tiemann (tiemann@cygnus.com)
815
816 * write.{c,h} (fix_new): Make these declarations consistent.
817
818 Sat Feb 29 13:59:10 1992 Michael Tiemann (tiemann@cygnus.com)
819
820 * Makefile.in (strerror.o): Add rule so that broken Sun make can
821 work in subdirs.
822
823 Wed Feb 26 19:26:28 1992 Steve Chamberlain (sac at thepub.cygnus.com)
824
825 * read.c, obj-coffbfd.c : fix h8300 specific bit rot
826
827 * expr.c (operand): if can't work out what sort of operand it is,
828 then look through FLT_CHARS for a hint.
829
830 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
831
832 * Makefile.in, configure.in: removed traces of namesubdir,
833 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
834 copyrights to '92, changed some from Cygnus to FSF.
835
836 Tue Feb 25 14:17:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
837
838 * expr.c: If an expression is single comma, then return with
839 SEG_ABSENT rather than an error - since the sparc front end does
840 really strange things with things like fbge,a
841
842 * as.h: include bfd.h if using many sections
843 * expr.c: LOCAL_LABELS_FB had been changed to lower case - so
844 local labels didn't work.
845 * listing.c (list_symbol_table): don't core dump when there's no
846 symbol there.
847 * write.c, write.h: call fix_new with the right number of args on
848 the H8.
849 * config/tc-h8300.[ch] : fix bugs reported by HMSI, and make
850 errors nices
851
852 Sat Feb 22 12:26:28 1992 Steve Chamberlain (sac at rtl.cygnus.com)
853
854 * app.c: MRI compatibility - allow single quote to start a string.
855 * as.c: fix typo recently introduced.
856 * as.h : Don't include aout/reloc.h - it's not right for COFF!
857 * expr.c: Much rewriting, to accomodate MRI syntax for
858 expressions. Also easier to read now.
859 * listing.c: Put back defuns
860 * read.c: modified to accept MRI syntax, put back listing pseudo
861 ops so that an assembler built with NO_LISTING ignores list ops
862 rather than pukes.
863 * write.c, write.h: fixs - only keep a reloc type in a fix if the target
864 machine is a SPARC or a 29K.
865 * config/obj-aout.c: added s_sect pseudo op
866 * config/obj-coffbfd.c: lints, set the filehdr flags right and
867 fill in the timestamp.
868 * config/obj-coffbfd.h: Since we don't include aout/reloc.h
869 anymore, define all the relocs which the tc-<x> bit will use so we
870 can translate from them to the coff types.
871 * config/tc-a29k.c: reloc_type isn't ane enum any more
872 * config/tc-m68k.c: Added NO_RELOC definition.
873
874 Fri Feb 21 06:21:07 1992 K. Richard Pixley (rich@rtl.cygnus.com)
875
876 * Makefile.in: put header files before C source for TAGS; remove
877 references to non-existent syscalls.h.
878
879 * read.c, write.c subsegs.c: back out the .bss changes.
880
881 * obj-aout.c: do not include stab.gnu.h if NO_LISTING.
882
883 * tc-i860.c, a.out.gnu.h: move i860 relocs to a proper place.
884
885 * a.out.h: removed.
886
887 Fri Feb 21 01:08:48 1992 Minh Tran-Le (TRANLE@INTELLICORP.COM)
888
889 * symbols.c (local_label_name): symbols now start with ^A.
890
891 * read.c, subsegs.c, write.c obj-coff.c: added handling of
892 `.bss` pseudo op for unitialized data. The new gcc (1.37.9x)
893 generate these sections. .align: will use NOP_OPCODE or 0
894 for padding. This is just for being nice to the
895 disassembler.
896
897 * expr.c (operand): changed to generate local label "\001L0"
898 starting with a ^A so that it is recognized as a local label.
899
900 * as.c (perform_an_assembly_pass): zero bss_fix_root, too.
901
902 * tc-i386.c: tc-i386.c: added handling of the following opcodes:
903 i/o opcodes - inb, inw, outb and outw. string manipulation with
904 att syntax - scmp, slod, smov, ssca, ssto.
905
906 * obj-coff.c: (for aix386) Moved the symbols .text, .data and .bss
907 to just after .file .
908
909 In obj_crawl_symbol_chain() where it tries to put the external
910 symbols apart, with the condition:
911 (!S_IS_DEFINED(symbolP) &&
912 !S_IS_DEBUG(symbolP) &&
913 !SF_GET_STATICS(symbolP))
914 it was moving too many symbols out. So I switch it back to the
915 condition:
916 (S_GET_STORAGE_CLASS(symbolP) == C_EXT && !SF_GET_FUNCTION(symbolP))
917
918 In obj_emit_relocations() added the conditional on KEEP_RELOC_INFO
919 so that we don't use the F_RELFLG which make the linker complain
920 that somebody has stripped the relocation info.
921
922 Also, the AIX ld program require that the relocation table
923 is sorted by r_vaddr like the standard ATT assembler does.
924
925 [he also changed the sizeof(struct ...)'s into the coff
926 style FOOSZ macros. I'm not sure this is right, but I can't
927 remember why. xoxorich.]
928
929 Fri Feb 21 01:08:48 1992 K. Richard Pixley (rich@cygnus.com)
930
931 * Makefile.in, configure.in, doc: use the doc. Build it, install
932 it, clean it, etc.
933
934 Tue Feb 18 02:21:25 1992 K. Richard Pixley (rich at cygnus.com)
935
936 * read.c: white space and comments only.
937
938 * configure.in: use the new atof-ns32.c for ns32k.
939
940 * write.c: comment change only.
941
942 * tc-m88k.[hc]: pulled in from hack's unfinished work. These
943 aren't yet integrated.
944
945 * tc-i860.[hc]: blew off the dust. Something must still be done
946 about conflicting relocation types.
947
948 * tc-ns32k.c: Replaced previous tc_aout_fix_to_chars stub with the
949 real thing.
950
951 * tc-i960.c, tc-sparc.c: white space and comments only.
952
953 * tc-a29k.h: delete duplicate macro definition.
954
955 * new file atof-ns32k.c copied from hack's last unreleased gas.
956
957 Mon Feb 17 07:51:06 1992 K. Richard Pixley (rich at cygnus.com)
958
959 * config/tc-ns32k.c: actually make tc_aout_fix_to_chars work
960 rather than abort.
961
962 * nearly everything. flush ChangeLog, package as gas-1.92.1.
963 ChangeLog's prior to this are sketchy at best. I have logs.
964 They just aren't ChangeLogs.