1 Sat Dec 12 15:26:34 1992 Ian Lance Taylor (ian@cygnus.com)
3 * listing.c: Call xmalloc, not malloc; don't declare malloc.
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.
34 Tue Dec 8 00:06:48 1992 Ken Raeburn (raeburn@rtl.cygnus.com)
36 * config/obj-coffbfd.c: Include libcoff.h.
38 * version.c: Now version 1.93.
40 Mon Dec 7 00:39:09 1992 Ken Raeburn (raeburn@cygnus.com)
42 * config/tc-i386.c (md_pseudo_table): For 386bsd and linux, do
43 power-of-two alignment for .align.
45 * as.h: If BROKEN_ASSERT, just redefine `assert' to be trivial,
46 and leave everything else alone.
48 Fri Dec 4 16:58:42 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
50 * Makefile.in (as.new): Don't bother saving as.old.
52 * write.c: Conditionalize on OBJ_VMS, not VMS.
53 (magic_number_for_object_file): Don't define if OBJ_VMS.
55 * config/obj-vms.c: Changes for traditional C.
57 Thu Dec 3 01:24:07 1992 Ken Raeburn (raeburn@kr-pc.cygnus.com)
59 * config/ho-generic.h (malloc, realloc): Declare.
61 * Lots of comment/whitespace changes.
63 * write.h (struct fix): Some fields reordered, narrowed.
65 * read.c (MASK_CHAR): Define using C types, not magic number.
67 * as.c, input-file.c: Deleted some unused code.
69 * app.c, as.h: Doc fix.
71 * flonum-konst.c, flonum-mult.c: Include ansidecl.h.
73 * as.h (xmalloc): Argument is long.
75 * xmalloc.c (error): Remove declaration; as.h takes care of it.
77 Mon Nov 30 11:42:11 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
79 * configure.in: Accept target OS "vms".
81 * symbols.c: Merged ANSI and non-ANSI function decls, using
84 * xmalloc.c: Just include as.h, don't bother trying to figure out
87 * strstr.c, strerror.c: Deleted.
88 * Makefile.in: Deleted references.
90 * config/tc-ns32k.c: Don't include header file for string
91 declarations; leave that to ho-*.h.
93 Fri Nov 27 04:11:36 1992 Ken Raeburn (raeburn at cambridge-laptop.cygnus.com)
95 * config/coff_gnu.h [TC_I860]: Guesses for reloc type values,
96 imported from FSF sources.
98 * messages.c (strerror): Declare unconditionally.
100 * as.h: Delete alloca and register definitions.
102 * config/atof-ieee.c (mask): Now const.
104 * obstack.c, obstack.h: Deleted.
106 * as.h (flag_readonly_data_in_text): New flag.
107 * as.c (main): Set it for -R.
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'].
113 * as.h (flag_always_generate_output): New flag.
114 * as.c (main): Set it for -Z.
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
121 * as.h: Merged ANSI and non-ANSI function decls, using PARAMS
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,
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.
133 * configure.in: For host CPU a29k, rs6000, vax, consider using bsd
136 * config/ho-sysv.h (setbuffer, HO_USG): Deleted.
138 * config/atof-ieee.c (atof_ieee): Exponent field isn't a pointer;
139 don't initialize it with NULL.
141 * config/ho-vax.h (M_VAX): Deleted; was unused.
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.
147 * ChangeLog, config/ChangeLog: Merged.
149 * config/*tahoe*, configure.in: Tahoe support brought in from FSF
152 * input-file.c (input_file_open): Eliminate call to setvbuf.
153 [USG] (setbuffer): Deleted macro.
155 Mon Nov 23 11:00:16 1992 Ken Raeburn (raeburn@cygnus.com)
157 * all files: Whitespace changes for GNU indentation style, done by
158 GNU `indent'. Some cleanup still needed, especially of comments.
160 * configure.in: No te-386bsd.h file exists; don't try to use it.
162 * obj-coff.c (obj_coff_endef): Use as_warn, not fprintf.
164 * tc-m68k.c (md_assemble): Don't complain about 68000 with 68881;
165 could be doing emulation.
167 Tue Nov 10 09:49:24 1992 Ian Lance Taylor (ian@cygnus.com)
169 * Makefile.in (as.o, obj-format.o): added dependency on subsegs.h.
171 * subsegs.h: add extern to segment_info declaration.
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.
178 * tc-m68k.c (m68k_reg_parse): If REGISTER_PREFIX isn't defined,
179 still accept (but don't require) OPTIONAL_REGISTER_PREFIX before
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
186 * obj-coffbfd.c (fill_section): set STYP_NOLOAD bit for .bss
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.
193 Thu Nov 5 17:55:41 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
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.
199 Wed Nov 4 07:50:46 1992 Ken Raeburn (raeburn@cygnus.com)
201 * obj-coff.c (callj_table): Delete global variable.
202 (obj_emit_relocations): Define it locally here, and only if
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.
208 * obj-coff.c: Replaced ANSI and non-ANSI function declarations
209 with a single set using PARAMS macro.
211 * tc-i960.c (tc_bout_fix_to_chars): Bit-field fixups want a length
214 * tc-i960.c: Missed a couple of 0->NO_RELOC conversions.
216 * tc-i960.h (N_BALNAME, N_CALLNAME): Define as char-type values,
217 so widening works consistently.
219 Wed Oct 28 08:52:34 1992 Ken Raeburn (raeburn@cygnus.com)
221 * version.c: Put conditional "const" before version_string, not
222 before dummy function for VMS. Now version 1.91.03.
224 * app.c (do_scrub_next_char): Need double-\ before `000' to show
225 printed rep of null character.
227 Fri Oct 23 14:40:38 1992 Ian Lance Taylor (ian@cygnus.com)
229 * obj-coffbfd.c (write_object_file): check return value of
232 Tue Oct 20 12:18:08 1992 Ian Lance Taylor (ian@cygnus.com)
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.
245 * app.c (do_scrub_next_char): discard whitespace after a label.
247 Sat Oct 10 12:33:45 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
249 * configure.in: differentiate between SunOS 4 and Solaris2 for Sun4
250 hosts, use the sysv configuration for solaris2
252 Mon Oct 5 09:28:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
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
259 * tc-m68k.c (get_num): make it work for all segments, not just the
262 Mon Oct 5 03:30:36 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
264 * configure.in: recognize i386-*-bsd emulation.
266 Thu Oct 1 23:05:12 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
268 * configure.in: use the cpu-vendor-os triple for host and target
270 Tue Sep 29 12:22:52 1992 Steve Chamberlain (sac@thepub.cygnus.com)
272 * obj-coffbfd.c (write_object_file): don't fixup for the z8k
273 * tc-z8k.c: lots of bug fixes
275 Tue Sep 29 10:51:55 1992 Ian Lance Taylor (ian@cygnus.com)
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.
282 Mon Sep 28 21:18:24 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
284 * read.c (cons): If NO_RELOC is defined, use it.
286 * tc-i960.c (get_cdisp): Use NO_RELOC, not 0, in call to fix_new.
288 Fri Sep 25 18:18:52 1992 Ian Lance Taylor (ian@cygnus.com)
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.
294 Fri Sep 25 17:53:43 1992 John Gilmore (gnu@cygnus.com)
296 * messages.c: Comment changes.
298 Fri Sep 25 14:12:58 1992 Ken Raeburn (raeburn@kyriath.cygnus.com)
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.
303 Thu Sep 24 12:42:32 1992 Brendan Kehoe (brendan@rtl.cygnus.com)
305 * listing.c (debugging_pseudo): Add stabs and stabn as things to
308 Tue Sep 22 13:02:07 1992 Sean Eric Fagan (sef@cygnus.com)
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.
317 Tue Sep 22 15:10:51 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
319 * tc-m68k.c: Replace "enum m68k_architecture" with "int"
320 throughout. That enum no longer means what we thought it meant.
322 * tc-m68k.c (md_assemble, md_parse_option): Handle new
323 "-mno-688[58]1" options.
325 * tc-m68k.c: Added CPU32 support.
327 Fri Sep 18 08:02:18 1992 Steve Chamberlain (sac@thepub.cygnus.com)
329 * tc-m68k.c (m68k_ip): An(disp) is not pc relative.
331 Tue Sep 15 17:25:05 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
333 * Makefile.in (as.new): Remove dependence on LOCAL_LOADLIBES.
334 Change LIBDEPS dependence to LIBS.
336 Tue Sep 15 15:32:02 1992 Ian Lance Taylor (ian@cygnus.com)
338 * Makefile.in (install): if $(tooldir) exists, install as in
341 Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com)
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.
351 * write.c (fixup_segment): fixed missing parens in expression
352 checking for byte or word overflow.
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.
358 * obj-coffbfd.c (fixup_segment): fixed missing parens in
359 expression checking for byte or word overflow.
361 Fri Sep 11 10:21:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
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
368 Thu Sep 10 09:23:15 1992 Ian Lance Taylor (ian@cygnus.com)
370 * input-scrub.c (input_scrub_push): call input_file_begin, not
372 messages.c (as_perror): print ": " between the passed in error and
373 the strerror, like perror does.
375 Wed Sep 9 11:06:25 1992 Ian Lance Taylor (ian@cygnus.com)
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
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
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
395 tc-m68k.c, config/tc-m68k.h: added m68k COFF support and Motorala
398 Tue Sep 8 17:10:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
400 * Makefile.in (LIBS): Include opcode library.
402 Fri Sep 4 18:20:56 1992 Ken Raeburn (raeburn@cygnus.com)
404 * config/tc-m68k.c (get_num, case SEG_BIG): If only small integers
405 including zero are accepted, pass +0.0.
407 Sun Aug 30 21:24:46 1992 Ian Lance Taylor (ian@cygnus.com)
409 * Makefile.in: map "as" through program_transform_name when
412 Sat Aug 29 12:11:12 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
414 * Makefile.in (as.new): Depend on LOCAL_LOADLIBES.
416 Fri Aug 28 16:25:22 1992 Ian Lance Taylor (ian@cygnus.com)
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).
422 Tue Aug 25 15:50:48 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
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.
433 From Colin Smith (colin@wrs.com):
434 * config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather
435 than install_operand.
437 Tue Aug 25 15:13:48 1992 Steve Chamberlain (sac@thepub.cygnus.com)
439 * listing.c (buffer_line): rewind to the start of include
440 files, they might be included twice.
442 * z8k.c, z8k.h, z8k.mt: z8000 support stuff
444 Mon Aug 24 12:45:43 1992 Ian Lance Taylor (ian@cygnus.com)
446 * Makefile.in: defined TARGET_CPU for C code so that it can choose
447 one element of a family.
449 * tc-m68k.c: use TARGET_CPU to choose default cpu type.
451 * te-generic.h: default to LOCAL_LABELS_DOLLAR and LOCAL_LABELS_FB
452 so that we can assemble hand-written libgcc code.
454 Fri Aug 21 14:38:44 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
456 * messages.c (as_warn): Use fputs, not fprintf, with a buffer that
457 has already been formatted (but may still contain %-characters).
460 Wed Aug 19 11:20:59 1992 Ian Lance Taylor (ian@cygnus.com)
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.
468 Wed Aug 19 09:25:09 1992 Ken Raeburn (raeburn@cygnus.com)
470 * as.h (enum _relax_state): Start off at one, not zero, to better
471 catch uninitialized-variable errors.
472 (linkrelax): Declare new variable.
474 * messages.c (warning_count, error_count): Default initializer is
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.
484 * obj-bout.c (obj_emit_relocations): Emit alignment relocs despite
485 their not having symbols associated.
487 * tc-i960.c (norelax, instrument_branches): Default initializer is
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.
497 Tue Aug 18 14:59:21 1992 Ken Raeburn (raeburn@cygnus.com)
499 * config/sparc.mt: New file. Grab sparc opcode table from bfd
502 Tue Aug 18 14:16:38 1992 Ian Lance Taylor (ian@cygnus.com)
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.
508 Mon Aug 17 15:09:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
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.
514 Mon Aug 17 13:18:51 1992 Ken Raeburn (raeburn@cygnus.com)
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.
520 Fri Aug 14 18:31:14 1992 Ken Raeburn (raeburn@cygnus.com)
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".
526 Thu Aug 13 13:53:19 1992 Ken Raeburn (raeburn@cygnus.com)
528 * as.h [BROKEN_ASSERT]: If defined, turn off all assertion checks.
530 * config/ho-rs6000.h (M_RS6000): Don't define it.
532 (BROKEN_ASSERT): Define it if not __STDC__.
534 Tue Aug 11 12:58:14 1992 Ken Raeburn (raeburn@cygnus.com)
536 * sparc.mt: New file.
538 Mon Aug 10 14:37:08 1992 Per Bothner (bothner@cygnus.com)
540 * tc-m68k.c: ".align N" means align to N-byte boundary *only*
541 if TN_SUN3; otherwise align to 2**N-byte bounary.
543 Thu Aug 6 12:10:39 1992 Steve Chamberlain (sac@thepub.cygnus.com)
545 * read.c (s_fill): make the .fill size clamped error a warn and
546 fix bug where 0's were always placed.
548 * config/tc-h8300.c: if a :8 is seen after an operand, fill top
549 two bytes of any constant with 0xff:
551 Wed Aug 5 12:02:40 1992 Steve Chamberlain (sac@thepub.cygnus.com)
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.
556 Wed Aug 5 01:54:34 1992 John Gilmore (gnu at cygnus.com)
558 * tc-m68k.c (try_index): Error if index scaling specified and
559 assembling for an older CPU than a 68020.
561 Sat Aug 1 19:10:13 1992 Ken Raeburn (raeburn@cygnus.com)
563 * config/tc-sparc.c (tc_aout_fix_to_chars): If pc-relative, take
564 fx_offset into account.
566 Fri Jul 31 21:53:28 1992 Ken Raeburn (raeburn@cygnus.com)
568 * configure.in (mips host): Accept "ultrix" with version number.
570 * expr.c (floating_constant): Separate "=-" to avoid confusing
571 ancient or broken compilers.
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.
579 Fri Jul 31 12:26:34 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
581 * read.c (potable): Revert sac's incorrect change made Jul 13.
582 Align really is supposed to be ptwo not nbytes.
584 Mon Jul 20 02:51:59 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
586 * Makefile.in: _Do_ include libiberty. (from sef)
588 Fri Jul 17 15:15:28 1992 Ken Raeburn (raeburn@cygnus.com)
590 * expr.c (integer_constant): Handle "0f" and "0b" label references
593 Thu Jul 16 08:20:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
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
599 Mon Jul 13 14:11:36 1992 Steve Chamberlain (sac@thepub.cygnus.com)
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
607 Mon Jul 6 17:09:32 1992 Steve Chamberlain (sac@cygnus.com)
609 * obj-coffbfd.c (fill_section): mark .lit sections as STYP_LIT
611 Mon Jun 1 16:20:22 1992 Michael Tiemann (tiemann@cygnus.com)
613 * configure.in: recognize m680x0 as having sun3 emulation mode for
617 Tue Jun 30 20:25:54 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
619 * Makefile.in: Add program_suffix (parallel to program_prefix)
621 Wed Jun 24 10:57:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)
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
628 * config/tc-h8300.[ch]: better warnings
630 Tue Jun 9 07:54:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)
632 * subsegs.c (subsegs_begin): create bss0_frchainP in the same was
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.
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
644 Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)
646 * expr.c(expr): allow SEG_REGISTER in expressions.
647 * read.c(pseudo_set): register expressions can be the source of a
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
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.
659 Tue Jun 2 16:47:09 1992 Steve Chamberlain (sac@cygnus.com)
661 * write.c (write_object_file): keep the fix_tail clean, which
662 fixes a bug in -R where relocations were being lost.
664 Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)
666 * expr.c(expr): allow SEG_REGISTER in expressions.
667 * read.c(pseudo_set): register expressions can be the source of a
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
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.
679 Tue Jun 2 16:47:09 1992 Steve Chamberlain (sac@cygnus.com)
681 * write.c (write_object_file): keep the fix_tail clean, which
682 fixes a bug in -R where relocations were being lost.
684 Mon Jun 1 16:20:22 1992 Michael Tiemann (tiemann@cygnus.com)
686 * configure.in: recognize m680x0 as having sun3 emulation mode for
689 Sun May 31 05:33:00 1992 david d `zoo' zuhn (zoo@cygnus.com)
691 * configure.in: recognize m680x0 as an m68k
693 Thu May 28 11:22:02 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
695 * configure.in: Recognize sparclite as a sparc variant.
697 * tc-sparc.c: Use new ARCHITECTURES_CONFLICT_P macro. Mention new
700 Tue May 26 16:47:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
702 * config/tc-a29k.c: lint
703 * listing.c, expr.c: patches from Andrew Smith
705 Mon May 4 18:56:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
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.
711 Mon Apr 27 13:13:31 1992 K. Richard Pixley (rich@cygnus.com)
713 * as.c, write.c: use -K rather than -k for the broken word warning
716 Tue Apr 21 13:35:30 1992 K. Richard Pixley (rich@cygnus.com)
718 * Makefile.in: do not print recursion lines.
720 Wed Apr 15 21:19:31 1992 K. Richard Pixley (rich@rtl.cygnus.com)
722 * Makefile.in: the tooldir copy of gas goes directly in tooldir.
724 Tue Apr 14 14:50:22 1992 Ken Raeburn (Raeburn@Cygnus.COM)
726 * write.c (write_object_file): For b.out format, round up section
727 start addresses to match required alignment.
729 Thu Apr 9 05:45:29 1992 Ken Raeburn (Raeburn@Cygnus.COM)
731 * Makefile.in (install): Install into $(tooldir)/bin, since that's
732 where gcc looks for it.
734 Tue Apr 7 15:12:15 1992 Sean Eric Fagan (sef@cygnus.com)
736 * Makefile.in: Changed some lines to be less confusing for some
739 * input-file.c: Conditionalize on _IOFBF, not VMS.
741 * read.c, write.c: Change a series of ifdef/elif to
742 ifdef/else/ifdef etc.
744 Fri Mar 27 12:21:16 1992 K. Richard Pixley (rich@cygnus.com)
746 * symbols.c (fb_label_init): fix sizeof to memset.
748 Fri Mar 13 15:45:44 1992 K. Richard Pixley (rich@cygnus.com)
750 * Makefile.in: install the man page.
752 * Makefile.in: pass down MAKEINFO explicitly on info.
754 Fri Mar 13 08:03:03 1992 Steve Chamberlain (sac@thepub.cygnus.com)
756 * flonum-const.c: renamed flonum-konst.c to stop dos name
759 Thu Mar 12 04:42:38 1992 K. Richard Pixley (rich@cygnus.com)
761 * tc-m68k.h, te-sun3.h: moved LOCAL_LABELS_FB definition from
762 tc-m68k.h to te-sun3.h.
764 Wed Mar 11 23:32:42 1992 K. Richard Pixley (rich@cygnus.com)
766 * configure.in: vxworks68 gets te-sun3.h.
768 * expr.c: remove limitation that local_labels_dollar or
769 local_labels_fb must be < 10.
771 * symbols.c: remove local_labels_dollar, replace with a function
772 interface for a sparse array. All users adjusted.
774 * te-sun3.h: add LOCAL_LABELS_DOLLAR.
776 Fri Mar 6 21:57:18 1992 K. Richard Pixley (rich@cygnus.com)
778 * Makefile.in: added check target.
780 Tue Mar 3 15:45:56 1992 K. Richard Pixley (rich@rtl.cygnus.com)
782 * Makefile.in: added tooldir and program_prefix.
784 Sun Mar 1 04:43:19 1992 Michael Tiemann (tiemann@cygnus.com)
786 * write.{c,h} (fix_new): Make these declarations consistent.
788 Sat Feb 29 13:59:10 1992 Michael Tiemann (tiemann@cygnus.com)
790 * Makefile.in (strerror.o): Add rule so that broken Sun make can
793 Wed Feb 26 19:26:28 1992 Steve Chamberlain (sac at thepub.cygnus.com)
795 * read.c, obj-coffbfd.c : fix h8300 specific bit rot
797 * expr.c (operand): if can't work out what sort of operand it is,
798 then look through FLT_CHARS for a hint.
800 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
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.
806 Tue Feb 25 14:17:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
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
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
817 * write.c, write.h: call fix_new with the right number of args on
819 * config/tc-h8300.[ch] : fix bugs reported by HMSI, and make
822 Sat Feb 22 12:26:28 1992 Steve Chamberlain (sac at rtl.cygnus.com)
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
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.
844 Fri Feb 21 06:21:07 1992 K. Richard Pixley (rich@rtl.cygnus.com)
846 * Makefile.in: put header files before C source for TAGS; remove
847 references to non-existent syscalls.h.
849 * read.c, write.c subsegs.c: back out the .bss changes.
851 * obj-aout.c: do not include stab.gnu.h if NO_LISTING.
853 * tc-i860.c, a.out.gnu.h: move i860 relocs to a proper place.
857 Fri Feb 21 01:08:48 1992 Minh Tran-Le (TRANLE@INTELLICORP.COM)
859 * symbols.c (local_label_name): symbols now start with ^A.
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
867 * expr.c (operand): changed to generate local label "\001L0"
868 starting with a ^A so that it is recognized as a local label.
870 * as.c (perform_an_assembly_pass): zero bss_fix_root, too.
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.
876 * obj-coff.c: (for aix386) Moved the symbols .text, .data and .bss
877 to just after .file .
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
886 (S_GET_STORAGE_CLASS(symbolP) == C_EXT && !SF_GET_FUNCTION(symbolP))
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.
892 Also, the AIX ld program require that the relocation table
893 is sorted by r_vaddr like the standard ATT assembler does.
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.]
899 Fri Feb 21 01:08:48 1992 K. Richard Pixley (rich@cygnus.com)
901 * Makefile.in, configure.in, doc: use the doc. Build it, install
904 Tue Feb 18 02:21:25 1992 K. Richard Pixley (rich at cygnus.com)
906 * read.c: white space and comments only.
908 * configure.in: use the new atof-ns32.c for ns32k.
910 * write.c: comment change only.
912 * tc-m88k.[hc]: pulled in from hack's unfinished work. These
913 aren't yet integrated.
915 * tc-i860.[hc]: blew off the dust. Something must still be done
916 about conflicting relocation types.
918 * tc-ns32k.c: Replaced previous tc_aout_fix_to_chars stub with the
921 * tc-i960.c, tc-sparc.c: white space and comments only.
923 * tc-a29k.h: delete duplicate macro definition.
925 * new file atof-ns32k.c copied from hack's last unreleased gas.
927 Mon Feb 17 07:51:06 1992 K. Richard Pixley (rich at cygnus.com)
929 * config/tc-ns32k.c: actually make tc_aout_fix_to_chars work
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.