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