1 Tue Dec 10 04:07:28 1991 K. Richard Pixley (rich at rtl.cygnus.com)
3 * input-file.c: don't close a NULL file pointer.
5 * Makefile.in: infodir belongs in datadir.
7 Sat Dec 7 17:13:42 1991 K. Richard Pixley (rich at rtl.cygnus.com)
9 * Makefile.in: fix fake-as target to also create as.new.
11 Fri Dec 6 23:16:43 1991 K. Richard Pixley (rich at rtl.cygnus.com)
13 * Makefile.in: install using INSTALL_DATA and INSTALL_PROGRAM.
14 correct include directory locations. added standards.text
17 * configure.in: mark this directory as target dependent.
19 Thu Dec 5 22:46:23 1991 K. Richard Pixley (rich at rtl.cygnus.com)
21 * Makefile.in: idestdir and ddestdir go away. Added
22 copyrights and shift gpl to v2. Added ChangeLog if it
23 didn't exist. docdir and mandir now keyed off datadir by
26 Wed Dec 4 10:28:48 1991 Steve Chamberlain (sac at cygnus.com)
28 * config/obj-coff-bfd.c (crawl_symbol_chain): only move a
29 symbol to the end of a file if it really is external.
32 Sat Nov 30 23:03:59 1991 Steve Chamberlain (sac at rtl.cygnus.com)
34 * as.h: reloc.h->aout/reloc.h.
35 * a.out.gnu.h: reloc.h->aout/reloc.h
37 Thu Nov 28 13:21:41 1991 Steve Chamberlain (sac at rtl.cygnus.com)
39 * config/obj-coff-bfd: made multiple sections with subsections
41 * config/tc-h8300.c: made $ statement sep, and int alloc 2 bytes.
44 Mon Nov 25 17:26:22 1991 Steve Chamberlain (sac at cygnus.com)
46 * as.c: (perform_an_assembly_pass): moved declaration of i to
47 avoid a syntax error. Now always create the three default
48 sections when in MANY_SEGMENTS mode.
49 * as.h: New improved way of specifying MANY_SEGMENTS
50 * configure.in: hds object format is now coff-bfd
51 * subsegs.h: add line numbers and section stuff to the
52 segment_info structure. (But go back later and fix.. this is
56 Thu Oct 24 17:25:59 1991 Steve Chamberlain (steve at rtl.cygnus.com)
58 * config/obj-coff.c (obj_coff_dim): Allows newline to end a
61 Mon Oct 21 09:25:33 1991 Steve Chamberlain (steve at rtl.cygnus.com)
63 * configure.in: added ebmon entry.
64 * output-file.c (output_file_create, output_file_close) added
66 * write.c: more bfd support
67 * config/obj-coff.c config/obj-coff.h use bfd for swapping
69 * tc-a29k: added the reloc types we support now
72 Mon Oct 14 11:44:03 1991 Roland H. Pesch (pesch at cygnus.com)
74 * doc/Makefile (as.ms): one more sed workaround for texi2roff
75 (as.mm, as.me): new targets
77 Fri Oct 11 18:18:37 1991 Roland H. Pesch (pesch at cygnus.com)
79 * doc/Makefile: new targets as.info, as.ms
80 doc/as.texinfo: minor changes for texi2roff-2
81 Makefile.in: revise 'doc' target.
83 Fri Jan 4 12:48:22 EST 1991 Jay Fenlason (hack@ai.mit.edu)
85 * messages.c Moved as_perror from input-scrub.c Modified the
86 error messages to look better.
88 * output-file.c Don't call as_fatal, just call exit()
90 expr.c Slightly improve checking for foo-foo case in
91 clean_up_expression(). Detect foo: bar: ... foo-bar...
93 Tue Dec 4 16:29:20 EST 1990 Jay Fenlason (hack@ai.mit.edu)
95 * m68k.c Fixed an obscure bug involving AOFF mode with a
96 large constant displacement (Was forgetting to output the
99 make-gas.com Added a three line patch from Eric Youngdale that
100 makes it possible to submit make-gas.com to a batch queue.
102 Wed Nov 21 15:07:51 EST 1990 Jay Fenlason (hack@ai.mit.edu)
104 * vms.c (VMS_TBT_Routine_END) Add a four line patch from
107 Tue Nov 13 14:02:15 EST 1990 Jay Fenlason (hack@ai.mti.edu)
109 * vms-dbg.c (VMS_DBG_record()) Another one character patch from
112 Mon Oct 29 15:49:21 EST 1990 Jay Fenlason (hack@ai.mit.edu)
114 * read.c Replace some as_warn calls with as_bad.
116 Fri Oct 26 15:21:15 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
118 * i386.c, i860.c, ns32k.c Add const changes.
120 Mon Oct 22 14:04:26 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
122 * sparc.c Add const changes.
124 * make-gas.com define const= for VMS, since many older versions of
125 GCC don't work correctly with const under VMS.
127 Thu Oct 18 12:44:11 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
129 * i860.c i860-opcode.h Added patches from rgb@mcc.com
131 * read.c, symbols.c, vms.c, + new_file vms-dbg-module.c
132 Added Eric Youngdale's <YOUNGDALE@v6550c.nrl.navy.mil> VMS debugging
133 patches, so debugging GCC output now works.
135 * hash.c (hash_grow) Remember to blank out the wall entry in the new
136 hash table. This is important on systems where malloc() returns
137 non-zero storage. . .
139 Tue Oct 16 10:11:35 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
141 * output-file.c (output_file_create) if output filename is given as
142 '-', write to stdout.
144 * m68k.c Finally get the PCREL code to work right. Add relaxation of
145 PCREL stuff This small fix from Ken Woodland
146 (kenny%datacube.uucp@uunet.uu.net).
148 * m68k.c Added some const declarations to constants. (md_relax_table,
149 md_pseudo_table, etc. . .)
151 Thu Oct 11 11:15:10 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
153 * Makefile, read.c, write.c Include the i860 port.
154 (New files i860.c i860-opcode.h i860.h)
156 * m68k.c Fix some addressing modes, (AOFF, AINDEX, etc) to work in
159 * (all over) Raeburn's const hacking. This reduces the data-space size by
160 declaring many tables, etc, as 'const'.
162 Mon Oct 22 22:48:22 1990 John Gilmore (gnu at cygint)
164 Make gas work if you turn on the know() checks.
166 * app.c: Only pass a single space through: the one after
167 the opcode. All other whitespace is removed, to match the
168 expectations of the parser in read.c.
170 * as.h: Remove obsolete comments. Remove JF's NDEBUG so
171 that know() can really work if you turn it on. Make
172 SEG_MAXIMUM_ORDINAL == SEG_REGISTER.
174 * expr.c (operand): Change BITS_PER_INT to 8*sizeof(int).
176 * input-scrub.c: strlen("\0") doesn't return 1...
177 (as_where): Add space after line number in errors, like gcc.
179 * m68k.c (s_bss): Fake .bss into data section 255.
180 We can't cope with a real "BSS section" yet, but we can at
181 least do the right thing less efficiently (with lots of
184 * read.c: Turn lots of as_warn()'s into as_bad()'s.
186 * read.h (SKIP_WHITESPACE): Replace last instance of ASSERT()
189 * sparc.c (s_seg): We can't put frags into the BSS segment
190 yet, so just fake bss seg as 255th data segment.
192 * vax.c: Remove \'s from continued macro *parameters*. These
193 must have been added after the last time someone turned on
196 * write.c (relax_segment): Refine what we know() about the
197 symbols referenced during relaxation.
199 * Makefile (OTHER_ALIGN): Remove, handled in tables now.
200 Flip options a bit. These options really ought to go
203 Sun Oct 21 03:57:21 1990 John Gilmore (gnu at cygint)
207 * expr.c, write.c: Missing semicolon after know().
209 * write.c (fixup_segment): Allow pc-relative accesses to undefined
210 external symbols. Previously this would turn off pc-rel calc
211 of displacement, while leaving pc-rel opcode alone, botching.
213 * m68k.c (m68k_ip): Allow pc-relative effective addresses
214 for source operands. "pea" instructions are a good example
215 where we can shorten from abs long to pc+16bit.
216 (md_convert_frag): Fix "JBSR" comments to refer to "JSR", the
217 actual instruction. Insert comments about bug in 68000 bcc
218 and dbcc long code (that doesn't get exercised much). Add
219 comments about long pcrel displacements for -pic. Remove
220 "this code has not been tested" comment.
221 (md_estimate_size_before_relax): Now that fixup_segment
222 doesn't shortcircuit pc-relative fixups for undefined symbols,
223 only output them if -pic; else turn them absolute, which is
224 slightly faster. More JBSR->JSR comments.
225 (md_parse_options): Parse -pic.
227 Fri Oct 19 14:35:20 1990 John Gilmore (gnu at cygint)
229 * Make sparc assembler more compatible with Sun assembler.
230 sparc.c: reformat pseudo-op table to match main table.
231 (md_assemble): Add SPECIAL_CASE_FDIV to assemble FDIV*
232 instructions as fdiv followed by fmovs to get around chip bug.
233 (s_common, s_seg): Accept "bss" section name.
234 (md_assemble): Handle "set" instructions with absolute
235 operands, that only take one instruction rather than two.
236 sparc-opcode.h (fdiv*): Mark instructions "S"pecial.
237 subsegs.c (subseg_change): Move tail pointer too.
238 symbols.c (colon): Allow new definitions to override .comm symbols,
239 as in VMS. Sun CC depends on this.
240 write.c (new_fix): Always take r_type argument, not just on sparc.
241 Chain fixP's in order, using tail pointer, so relocation
242 records come out in forward order like Sun as. Remove SPARC
244 write.h: Add seg_fix_tailP, data_fix_tailP, text_fix_tailP.
246 * am29k.c: Use s_align_bytes rather than a local copy.
248 * read.c (s_align): Rather than ifdef it, make two functions,
249 s_align_bytes and s_align_ptwo. Individual pseudo-op tables
250 can call whichever one they like.
252 * write.c (append): Move from append.c to here.
253 append.c: Remove file.
255 * Makefile (MDSRC, mdsrc): Easy way to edit all md.c's.
256 Fix options. Add option for -DDEBUG for know() and assert().
257 Remove append.c, am29k.h. Don't build special read-sparc.o.
258 Remove sparc.h. "make clean" removes am29k .o's. Add
259 dependencies on reloc.h.
261 Thu Oct 18 17:56:34 1990 John Gilmore (gnu at cygint)
263 * Generalize sparc extensions to relocation info. Gas now
264 keeps relocation information internally in a different format
265 than how it is stored in the resulting .o. md_ri_to_bytes()
266 converts to external format. md_reloc_size says how large
267 each relocation record is in external format.
268 sparc.h: Remove this file. Rename to reloc.h. Rename struct
269 to reloc_info_generic.
270 reloc.h: Add relocation types for AMD 29000.
271 read.c, write.c: Always call fix_new with reloc-type argument.
272 write.c (emit_relocations): Make md_ri_to_bytes write directly
273 to output area rather than overwriting its argument then
275 md.h: Declare md_reloc_size and md_ri_to_bytes.
276 i386.c, am29k.c, vax.c, ms32k.c, m68k.c, sparc.c: include reloc.h.
277 (md_reloc_size): Specify correct value.
278 (md_ri_to_bytes): Convert format from internal to external.
280 write.c (write_object_file): Call md_section_align() which
281 rounds section sizes up if desired.
282 sparc.c (md_section_align): Round to 8 byte boundary.
283 i386.c, am29k.c, vax.c, ns32k.c, m68k.c (md_section_align): Nop.
285 Mon Oct 15 22:06:11 1990 John Gilmore (gnu at cygint)
287 Changes in support of the AMD 29000 version of gas.
289 * am29k-opcode.h: Add dummy entry to end so we can examine
290 item N+1 without exceeding table.
292 * am29k.h: New include file, derived from sparc.h. Kludged
293 together, still needs major work to get relocation working.
295 * am29k.c: New file, derived from sparc.c.
296 Put 29k-specific ASM29K pseudo-ops into table.
297 Change comment_chars to ASM29K.
298 Change s_seg to s_use.
299 Change s_sparc_align to s_29k_align, default operand to 4.
300 (define_some_regs): Define special register names.
301 (md_begin): Preprocess opcode table to mash together all
302 the variants of single opcodes. This simplifies later handling.
303 Call define_some_regs to preset special reg names.
304 (parse_operand): Add, parses out an operand from a stmt.
305 (machine_ip): Simplify, since 29K is simpler asm language.
306 Handle the various keyletters in the opcode table.
309 Handle include files in the assembler, with a .include
311 * as.h (input_scrub_include_file): declare.
312 * as.c (perform_an_assembly_pass): Avoid buffer hacking.
313 Start us off in text segment.
314 * read.c (read_a_source_file): Take a name as argument,
315 internalize all buffer handling. Don't start a new text
316 subsegment on each entry. Actually use the start and end
317 pointers returned by input_scrub_next_buffer.
318 (s_include): Call input_scrub_include_file for .include.
319 * input-scrub.c: Fix comments.
320 (struct input_save): Add, for saving state at .include.
321 (input_scrub_push, input_scrub_pop): Add, push & pop state.
322 (input_scrub_begin): Initialize next_saved_file.
323 (input_scrub_end): Free buffer.
324 (input_scrub_include_file): Add, to include a file.
325 (input_scrub_close): Add, to close a file.
326 (input_scrub_next_buffer): Set buffer-start address for
327 caller. If we hit EOF and were included, pop to previous file.
328 * input-file.c: Remove old includes. Remove old file-descriptor
329 hacking code, that was commented out.
330 (struct saved_file): Add, for saving state at .include.
331 (input_file_push, input_file_pop): Add, push & pop state.
332 (input_file_open): Don't buffer all files in one place.
333 (input_file_close): Add, close input file.
334 * input-file.h: Declare new functions.
335 * app.c: (struct app_save): Add, for saving state at .include.
336 (app_push, app_pop): Add, push and pop state.
337 (do_scrub_next_char): Move its static state variables out so
338 they can be saved and restored.
341 * app.c: Allow overriding of character meanings by machine
342 dependent strings. Avoid wiring character constants into app.c.
343 (do_scrub_begin): New meanings override old ones, not "OR" them.
344 Only handle /* comments if / is not already in use.
345 (do_scrub_next_char): Reorganize mass of nested if's
346 into a switch for speed. Don't assume ';' is line terminator.
347 Reorganize switch on characters, into a switch on their (machine-
348 dependent) lexer table meanings.
351 Encapsulate knowledge of segment types in fewer places.
352 This allows us to add the "SEG_REGISTER" type, as well as
353 providing flexibility for eventual COFF/ELF support.
354 * struc-symbol.h (symbol_to_segment, symbol_to_segment_type,
355 set_symbol_segment, set_symbol_segment_keep_ext,
356 segment_name): Define macros to encapsulate this info.
357 * as.h: Remove externs for seg_name, seg_N_TYPE, N_TYPE_seg.
358 * symbols.c (symbol_new): Change 'type' arg to 'seg'.
359 * expr.c, i386.c, m68k.c, ns32k.c, read.c, symbols.c, vax.c,
361 * i386.c, m68k.c, ns32k.c, vax.c, write.c: Change 2nd arg type of
362 md_estimate_size_before_relax.
363 * expr.c, read.c: Change 'type' arg to symbol_new.
364 * read.c, symbols.c, vax.c, write.c: Move md.h to end of includes.
367 Allow expressions to evaluate to registers.
368 * as.h: Add SEG_REGISTER.
369 * struc-symbol.h: Add fake N_REGISTER type.
370 * subseg.c: Add types to tables.
371 * expr.c (operand): Symbols of SEG_REGISTER type are
372 immediately evaluated like those of SEG_ABSOLUTE.
373 (clean_up_expression): Clean up SEG_REGISTER exprs.
376 Allow machine descriptions to cleanly extend the set of
378 * expr.c (operand): Call md_operand before rejecting an
379 operand as unacceptable.
381 * i386.c, ns32k.c, m68k.c, sparc.c, vax.c: Define null function.
382 * am29k.c (md_operand): Use this for %% and & prefix operators.
385 Allow machine descriptions to cleanly permit symbols to be
386 predefined upon first usage.
387 * symbols.c (symbol_find_or_make): Call md_undefined_symbol
388 before making an undefined symbol.
390 * i386.c, ns32k.c, m68k.c, sparc.c, vax.c: Define null function.
391 * am29k.c (md_undefined_symbol): use this for the local and
392 global register names; since there are hundreds of them, it
393 only defines them upon their first use.
394 * expr.c (operand): Call symbol_find_or_make rather than
395 roll our own undefined symbols.
398 Miscellaneous changes:
400 * as.h (know): Make this useful if DEBUG defined.
402 * write.h: Support SPARC-like relocation throughout all
405 * read.c (read_a_source_file): Report the name of invalid
406 pseudo-ops. Don't double-report junk characters. Close the
407 input file, which gas never used to do.
408 (ignore_rest_of_line): Report junk chars in ascii if
410 (s_ignore): Ignore entire statement; used for 'listing
411 control' statements from ASM29K, e.g. .eject.
413 * read.c (s_lsym): Handle register equates too.
415 * read.c: Add most ASM29K pseudo-ops to the master table.
416 Not all are implemented yet.
418 * cond.c: New file, for functions implementing conditional
419 assembly pseudo-ops: .ifdef, .ifndef, .else, .endif, .ifseq,
420 .ifsne, .end. So far, they are just stubbed out.
422 * read.c (pobegin): Allow the machine dependent pseudo-op
423 table to override the generic one. Remove #ifdef SPARC
424 on .word, since it can now be overridden.
426 * expr.c (operand): Support radix-2 constants. Kill off
427 support for octals with digits '8' and '9'. Initial steps
428 toward more general support for local-labels.
430 * symbols.h (symbol_table_lookup): Remove macro, change all
431 occurrences (in read.c, expr.c, symbols.c) to symbol_find.
433 * read.h (is_end_of_line): Define for external use.
435 * i386.c (alloca): Use builtin_alloca or include or extern.
437 * Makefile: Add ALL and all: entries. Add asm29k entries.
438 Add cond.c and cond.o. Remove special handling for messages.o.
441 Thu Sep 27 13:43:49 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
443 * m68k.c (get_num) Fix so that 1:w is treated properly.
445 * Makefile Replace references to a.out.h with a.out.gnu.h
447 Tue Sep 25 15:50:36 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
449 * sparc.c (md_number_to_imm) Fix so that RELOC_32 locations contain
450 zero, so that it will work with some sparc loaders which don't assume
451 that the locations in question do. A xix line patch from Michael Bloom
452 (usc!srhqla!quad1!psivax!ttidca!mb@zaphod.mps.ohio-state.edu)
454 Mon Sep 24 11:43:15 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
456 * as.c #include <sys/types.h> if _POSIX_SOURCE defined. This because
457 <signal.h> uses pid_t that's defined in it.
459 * m68k.c reverse the sense of -l option, and allow :w and :l to
460 override the default size of AOFF indexes.
462 Also, allow -l to shorten branches to unknown labels from LONG to WORD.
464 Thu Sep 13 17:05:09 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
466 * vax.c (md_parse_option) Don't print a warning msg if given -J
468 Wed Sep 5 14:26:14 EDT 1990 Jay Fenlason
470 * expr.c (operand) Don't get garbaged high-order bits when given a
471 lot of leading zeroes.
473 Tue Sep 4 11:40:21 EDT 1990 Jay Fenlason
475 * read.c (pseudo_set) Compain if we're setting the symbol to the
476 difference of two symbols which are in different frags. (We can't
477 find out how far apart they are.)
479 Wed Aug 15 12:18:58 EDT 1990 Jay Fenlason
481 * m68k.c (m68k_ip_op) Dyke out the code that deals with parsing
482 :[wl] at the end of expressions since it is handled in get_num()
483 and this was putting the result in the wrong place anyway.
484 Corrected a couple of other references to ->isiz instead of con?->e_siz
486 Mon Aug 13 15:53:46 EDT 1990 Jay Fenlason
488 * read.c Handle .align specially on the sparc, or any other machine
489 where OTHER_ALIGN is defined. Added option and comments about it
492 Fri Aug 10 12:24:33 EDT 1990 Jay Fenlason
494 * m68k.c (get_num) Handle SEG_PASS1 expressions.
496 Mon Aug 6 16:32:29 EDT 1990 Jay Fenlason
498 * write.c (fixup_segment) Added two patches for the NS32k
499 and SEQUENT A six line patch from Ian Dall
500 (asgard!aegir!hugin!augean!sibyl!ian@munnari.oz.au)
502 Wed Aug 1 13:30:48 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
504 * m68k.c Include REGISTER_PREFIX ifdefs.
506 * write.c Include LOCAL_LABEL() and DOT_LABEL_PREFIX feature.
508 * vax.c (md_parse_option) Accept -H option.
510 * vms.c New version of case hasher, etc. These from Eric Youngdale
511 <YOUNGDALE@v6550c.nrl.navy.mil>
513 Fri Jul 20 13:39:02 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
515 * README Added README.APOLLO and README.COFF stuff
517 Wed Jul 18 16:29:22 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
519 * Makefile Added option for SEQUENT_COMPATABILITY
521 * ns32k.c Add configurable syntax feature from
522 ian@sibyl.eleceng.ua.oz@augean.ua.oz.au
523 and SEQUENT_COMPATABILITY
525 * ns32k-opcode.h Add configurable syntax feature.
527 Mon Jul 16 11:44:14 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
529 * write.c (relax_segment) On ns32k, add fragP->fr_pcrel_adjust to
531 (fixup_segment) On ns32k, don't subtract size from
532 add_number on pcrel external symbols.
534 * ns32k.c (md_relax_table) Use correct max displacements.
535 This is a six-line patch from ian@sibyl.eleceng.ua.oz.au
537 * ns32k.c (md_atof, convert_iif) Emit floating point numbers in
538 the correct byte order. A seven line patch from
539 ian@sibyl.eleceng.ua.oz.au
541 * ns32k.c (all over) Some lint fixes.
543 Mon Jul 9 13:17:00 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
545 * app.c (do_scrub_next_char) If a comment is #{whitespace}
546 don't treat the next line as comment also.
548 * m68k.c (...) Accept apc@(num:[wl]), etc.
550 * i386.c (md_assemble) Get bitfields correct when doing cross
551 assembly to 386. A two line patch from Michael Bloom.
552 (usc!srhqla!quad1!ttidca!mb@zaphod.mps.ohio-state.edu).
554 * README.APOLLO a new file with vasta@apollo's name, address
557 * make-gas.com Deleted references to gdb source files.
559 Fri Jul 6 14:34:27 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
561 * i386.c Ignore the .optim directive
563 * input-file.c Change from _IOLBF to _IOFBF in setbuffer emulation
566 Mon Jun 18 15:36:49 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
568 * sparc.c #ifdef DONTDEF s_sparc_align, since it isn't called from
571 Fri Jun 15 15:53:30 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
573 * vax.c (md_parse_option) make the code agree with the documentation
574 on the behaviour of the -d option.
576 Thu Jun 7 14:23:54 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
578 * atof-ieee.c (gen_to_words) Assemble 0r-0 correctly.
580 * Makefile Remove last references to gdb*.c files.
582 * version.c New version 1.36
584 Tue May 22 13:22:26 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
586 * Makefile Mention a work-around for a possible problem with HPUX7.0
588 Mon May 21 14:06:04 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
590 * sparc.c (sparc_ip): Change error message from "not in hash table"
593 Wed May 16 15:33:14 EDT 1990 hack@wookumz
595 * i386.c (i386_operand) Print error msg if given an operand like
596 4(mumble) which we can't parse.
598 * m68k.c (md_assemble) Add '3' to the list of operand-places that
599 can be found in 'symbol-dependent info'. Also change
600 'confusing width' diagnostic to something more meaningful.
602 Fri May 11 12:09:21 EDT 1990 hack@wookumz
604 app.c (do_scrub_next_char) Don't flush the line after a line
605 consisting of a single '/' A one-line patch from Mike Kupfer
606 (kupfer@orc.olivetti.com)
608 * i386.c (md_assemble) Call frag_wane() before calling frag_new()
609 A one line patch from Steve Bleazard (steve@robobar.co.uk
611 Tue May 8 12:56:25 EDT 1990 hack@wookumz
613 * atof-generic.c (atof-generic) Modified the Infinity detection code
614 to accept 0rinfinity and 0r-infinity as well as 0rinf and 0r-inf
616 Thu Apr 26 15:17:31 EDT 1990 hack@wookumz
618 * atof-ieee.c Change value of NaNs to 0x7fff ffff (float) and
619 0x7fff ffff ffff ffff (double) If you want some other value for
620 NaN, use .long and spell it out yourself.
622 atof-generic.c (atof_generic) Cleaned up code that detects NaN
625 vax.c (md_assemble) print a useful error message if expression()
626 returns SEG_PASS1 or SEG_DIFFERENCE and we can't deal with those.
628 Thu Apr 19 10:30:47 EDT 1990 hack@wookumz
630 * input-scrub.c (AFTER_STRING) Make AFTER_STRING contain a null
631 so that the strstr() call when looking for "#NO_APP" after a "#APP"
632 will work. A two character patch from Bruce Robertson
633 (bruce@heather.pooh.com)
635 * Makefile, i386.c Use atof-ieee.c instead of atof-i386.c
637 Mon Apr 16 16:20:55 EDT 1990 hack@wookumz
639 * m68k.c (md_relax_table) Many of the offsets were off by two.
640 Fixed some generic spacing problems thoughout the file.
642 Thu Apr 12 12:22:35 EDT 1990 hack@wookumz
644 * sparc.c (md_ri_to_chars) Handle little-endian cross assembly.
646 * write.c (relax_segment) Compare addresses correctly to avoid
647 accidentally relaxing a branch that we don't have to.
648 These small changes from John Gilmore (gnu@toad.com)
650 Fri Apr 6 12:52:15 EDT 1990 hack@wookumz
652 * Makefile, expr.c symbols.c Correctly document the SUN_ASM_SYNTAX
653 option, and make it work.
655 Tue Mar 20 12:46:59 EST 1990
657 * as.c (main) Only trap SIGHUP, SIGINT, SIGPIPE, and SIGTERM,
658 and only if they aren't being ignored. A three line patch
659 from Paul Eggert (eggert@twinsun.com)
661 * write.c (relax_segment) Correct typo 'growth - ' should have been
664 * atof-vax.c (next_bits, flonum_gen2vax) Clean up by sharing some
665 variables. While we're at it, fix next_bits so that it
666 doesn't use littlenums that don't exist. . .
668 Tue Mar 13 16:23:21 EST 1990 hack@wookumz
670 * Rename atof-m68k.c atof-ieee.c
672 * Delete atof-ns32k.c
674 * m68k.c sparc.c ns32k.c atof-ieee.c Call atof-ieee instead of
675 atof-m68k or atof-ns32k
677 * Makefile Compile with atof-ieee.c instead of atof-ns32k.c or
680 Mon Mar 12 14:06:55 EST 1990 hack@wookumz
682 * as.c If the signal handler gets called twice, exit immediatly.
684 * ns32k.c Call gen_to_words with a pointer of the proper type, and
685 call md_number_to_chars to put the results in the proper byte-order.
686 Whoever wrote this code was *sloppy*!
688 * Makefile ns32k.o depends on ns32k.c
690 * vax.c (md_parse_option) If VMS, accept -+ and -h options.
692 * vms.c (VMS_Case_Hack_Symbol) Replace #if NO_CASE_HACKING
693 with references to the -h option. These small VMS patches
694 from Angel Li (angel@flipper.miami.edu).
696 Thu Mar 8 19:18:59 EST 1990 hack@wookumz
697 * vms.c Some trivial patches from Eric Youngdale
698 (YOUNGDALE@v6550c.nrl.navy.mil)
700 Wed Mar 7 17:12:09 EST 1990 hack@wookumz
701 * make-gas.com (Define error as as_fatal when compiling vax.c and vms.c
702 A two line patch from Eric Youngdale
703 (YOUNGDALE@v6550c.nrl.navy.mil)
705 Tue Mar 6 16:01:09 EST 1990 hack@wookumz
707 * Makefile Include ns32k options in makefile. A small patch from
708 David Taylor (taylor@think.com).
710 * as.c read.c write.c Makefile #ifdef DONTDEF out all the gdb
711 symbol stuff, since it isn't used anymore and it doesn't work.
713 Mon Mar 5 14:51:04 EST 1990 hack@wookumz
715 * i386.c (md_assemble) Replace memchr() with index().
717 * as.c Trap signals 1 through NSIG, print an error msg, and don't
718 produce an object file.
720 * m68k.c Added a hack so that fsincosx fpx,fpy:fpz works.
722 * messages.c New function: as_bad This is like as_warn, except
723 -W doesn't disable it, and calling it inhibits production of an
724 object file and causes a non-zero exit code.
726 Tue Feb 13 14:25:53 EST 1990 hack@wookumz
727 * Makefile Include G0 and LOADLIBES for Sequent Symmetry.
728 Based on a small patch from Johan Widen (jw@sics.se)
730 Thu Feb 1 14:08:58 EST 1990 hack@wookumz
731 * m68k.c Replace 'abort' with 'abort()' which will work.
733 Wed Jan 24 17:15:08 EST 1990 hack@ai.mit.edu
735 * read.c (ignore_rest_of_line) Have it print the first junk char
736 in both decimal and %c form.
738 (read_a_source_file) On bad pseudo-op, print out the unknown
741 Tue Jan 23 13:12:48 EST 1990 hack@ai.mit.edu
743 * read.c (pseudo_set) If the symbol is external, have it remain
746 * i386-opcode.h Allow jc as a synonym for jb and jnc as a syn for jnb.
749 Wed Jan 3 09:35:31 EST 1990 hack@ai.mit.edu
751 * ns32k.c [cpureg_032] Change register id of psr from 0x0b to 0x0d
752 * ns32k-opcode.h Change shift-counts for lsh and lshd
753 to one byte instead of 2 and 4.
754 A Trivial patch from John F. Peters (think!ames!practic.com!jfp@eddie)
756 Tue Dec 5 16:37:44 EST 1989 hack@ai.mit.edu
758 * ns32k.c (md_create_{long,short}_jump) Six line patch from
759 John F Peters (think!ames!vine!practice.com!jfp) to use the
760 correct addressing mode and byte-order for broken-word stuff.
762 * write.c (write_object_file) One line patch to call fix_new_ns32k
763 with the correct # of args.
765 Fri Dec 1 16:44:21 EST 1989 hack@ai.mit.edu
767 * atof-generic.c, flonum-mult.c A real fix for the trailing-zeroes
768 problem from Georg Feil (ghfeil@white.toronto.edu) (two line change)
770 Mon Nov 27 15:30:46 EST 1989 hack@ai.mit.edu
772 * i386-opcode.h Fixed opcode-table entry for ljmp. A one char
773 patch from eliot@mgm.mit.edu
775 Mon Nov 20 12:41:28 EST 1989 hack@ai.mit.edu
777 * expr.c Replace the generic_buffer hack with a more portable one */
779 * atof-generic.c (atof_generic) Ignore trailing zeroes after a decimal
780 point. For some reason trailing zeroes (but not trailing nonzeroes) were
781 causing loss of precision. I don't know why. . .
783 * vms.c Change copyright notice. Install changes from Kenneth Adelman
784 (adelman@tgv.com) for c++? (A dozen lines or so)
786 Mon Nov 13 11:48:44 EST 1989 hack@ai.mit.edu
788 * Makefile Add BINDIR and use it to control where the executable is
791 * i386.c Use __builtin_alloca if possible (trivial patch from
792 Marco S. Hyman pacbell!dumbcat!marc)
794 Mon Nov 6 18:24:47 EST 1989 hack@ai.mit.edu
796 * version.c New version: 1.35 will be distributed with the
799 Mon Oct 30 10:38:11 EST 1989 hack@ai.mit.edu
801 * atof-m68k.c (atof_m68k) Don't put the bits[] array on the stack,
802 since it may be pointed to after atof-m68k exits.
804 Tue Oct 24 11:15:57 EDT 1989 hack@ai.mit.edu
806 * atof-m68k.c Added #define for bcopy on USG systems.
807 #ifdef TEST the print_gen() function.
809 * a.out.h if USE_HP_INC_HDR then use ../binutils/hp-include/a.out.h
811 Fri Oct 13 14:36:48 EDT 1989 hack@ai.mit.edu
813 * vax.c (all) Ran vax through indent -gnu to make it readable.
815 vax.c (vip_op) Correctly assemble code like jmp $*0x11223344
816 by setting vip_nbytes to 4 when using an immediate address.
819 m68k.c (s_proc (new)) Added s_proc no-op pseudo-op.
821 Makefile Added instructions for compiling on Sequent Symmetry
824 a.out.h Modified to compile on Sequent and HP above. (HP port
825 based on a msg from asjl@comp.vuw.ac.nz (real name unknown)).
827 Tue Oct 10 14:39:44 EDT 1989 hack@ai.mit.edu
828 * vax.c (vip_op) Fixed a typo in an error msg and cleaned
829 up some spacing stuff.
831 Wed Sep 27 19:07:12 EDT 1989 hack@ai.mit.edu
833 * app.c (do_scrub_next_char) Fixed parsing of
834 # <line> "file" garbage
835 text so that it'll work again? (8 line patch from Mike Hibler
838 Mon Sep 18 16:26:01 EDT 1989 hack@ai.mit.edu
840 * app.c (do_scrub_next_char): Modify parsing of /* ... */ to work
843 * sparc.c (sparc_ip): Don't abort on insns that use the Alternate
844 Spaces. Try to assemble them correctly.
846 Thu Sep 14 11:42:44 EDT 1989 hack@ai.mit.edu
848 * sparc.c (md_number_to_imm) Dozen line patch from jkp@sauna.hut.fi
849 (Jyrki Kuoppala) so that gas output will work with shared libraries.
851 * ns32k.c Include <string.h> instead of <strings.h> if USG defined.
853 (md_end) free(freeptr_static) instead of free(freeptr) .
855 * atof-ns32k.c Include as.h so that sysV stuff (bzero) will be
856 defined if needed. These ns32k changes from
857 nixbur!mollers.pad@seismo.css.gov (Josef Moellers)
859 Fri Sep 1 11:39:52 EDT 1989 hack@ai.mit.edu
861 * atof-m68k.c (gen_to_words) Get the sign right on negative
862 floating-point numbers.
864 Wed Aug 30 13:59:57 EDT 1989 hack@ai.mit.edu
866 * Makefile Remove the rest of the $< entries that kill sun make
868 Fri Aug 25 15:00:30 EDT 1989 Nobody You Know (hack@ai.mit.edu)
870 * atof-m68k.c (gen_to_words) deal with denormalized floating-point
873 Tue Aug 22 02:03:05 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
875 * Makefile (gas-dist.tar): Put ChangeLog in the tar file.
877 * version.c: Added comment telling Jay Fenl--I mean people--not to put
878 changes in version.c, but to use ChangeLog instead.
880 * version.c (version_string): Put "GNU" in all-caps.
882 * version.c: Moved all comments about changes to ChangeLog (this file).
883 Many anonymous entries have been attributed to Jay Fenlason (hack).
885 Thu Aug 17 15:53:57 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
887 * Makefile: Removed $< references that seem
888 to choke some versions of make.
890 * frags.c (frag_grow): Fixed to deal with requests for very
891 large frags (larger than frags.chunk_size).
893 * app.c (do_scrub_next_char): Have it ignore any characters
894 after the filename in a # line "filename".
896 * sparc.c (s_common): On an error, don't print out
897 input_line_pointer past the end of the line where the error is.
899 * atof-generic.c (atof_generic): Accept any case for
902 * m68k.c (m68_ip): Don't use PC-relative mode for alterable
905 Tue Aug 15 04:58:36 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
907 * sparc.c (md_begin): Rewrote this function to perform consistency
908 checks with the new opcode table.
910 Fri Aug 11 16:01:16 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
912 * sparc-opcode.h (struct sparc_opcode): Replaced `mask' field with
913 `lose'; removed `last' field. Updated all opcodes accordingly.
914 Fixed several opcodes that generated the wrong instructions.
915 sparc.c (md_begin, sparc_ip): Changed to use new struct sparc_opcode.
917 Thu Aug 3 14:44:24 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
919 * Makefile (a32k): Use read- and write-ns32k.o
920 * ns32k.c (encode_operand): Make sure pcrel_adjust starts out zeroed.
921 * read.c (cons): Call fix_new_ns32k() if NS32K is defined.
922 * write.c (write_object_file): Ditto.
923 These so that .word sym-sym (etc) will produce values with
924 the proper byte-order.
926 Wed Aug 2 12:55:?? 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
928 * sparc.c (comment_chars[]): Removed '|' because it was causing
929 problems. Probably not the best fix, since I suspect other
930 assemblers (68020) may get | in .stabs also, and the 68020 needs
931 the '|' comment character.
933 Mon Jul 31 09:22:28 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
935 * sparc.c (sparc_ip): Allow the characters [0123] in opcodes.
937 Tue Jul 25 16:32:12 1989 Jay Fenlason (hack)
939 * atof-generic.c (atof_generic): Tried to keep
940 size_of_digits_in_littlenum from going negative.
942 * sparc-opcode.h: Added duplicate [i+1] entries to go with
943 the [1+i] entries already there. A kludgy fix, but it works.
945 Mon Jul 24 17:20:03 1989 Jay Fenlason (hack)
947 * write.c (relax_segment): Modified rs_org code so it won't
948 occasionally dump core.
950 * write.c (pseudo_set): Modified SEG_DIFFERENCE to (perhaps)
951 allow one to set a symbol to the difference of two other symbols.
953 * ns32k.c (convert_iif): Moved size_so_far+=size and size=0 inside
954 the check for a valid type.
956 * sparc-opcode.h: Modified the entries for std "q,[1+i]", "D,[1+i]",
959 (In version 1.34) Jay Fenlason (hack)
961 * Makefile: Reorganized, added stuff to make asparc.
963 * sparc.c, sparc-opcode.h, sparc.h: Sparc port.
965 * write.c: Set the size of text and bss segments to a multiple of eight
968 * m68k.c: Moved .single pseudo-op to machine independent part.
970 * atof-generic.c: Fixed type in #ifdef __GNUC__.
972 * sparc-opcode.h: Handle "mov REG, %y".
974 * make-gas.com: Know that error.c no longer exists.
976 * sparc.c: Handle [expr+reg].
977 Don't call getExpression when looking for an immediate and getting
978 something that starts with % and isn't %hi or %lo.
980 * Teach the 68k about long conditional branches.
982 (In version 1.33) Jay Fenlason (hack)
984 * Use __builtin_alloca if available.
986 * README: Added more instructions for reporting bugs.
988 * ns32k-opcode.h: Changed the acbb, acbw, and acbd insns.
990 * vax.c: Replaced instances of LENGTH[STRING] with STRING[LENGTH].
992 * ns32k.c (encode_operand): Increased max size of bit field for exts
993 and inss instructions from 31 to 32 bits.
995 * flonum-mult.c (flonum_multip): Fixed typo.
997 * m68kc.: Allow #32 to be the same as #0 for bit-field ops.
999 * make-gas.com, version.c, hex-value.c, flonum-const.c: VMS fixes.
1001 * ns32k.c, ns32k-opcode.h: More fixes from taylor@think.com.
1002 Mostly typos in comments, etc.
1004 * ns32k-opcode.h: Fixed size of immediate operands to andw and andd
1007 (In version 1.32) Jay Fenlason (hack)
1009 * read.c (s_set): Fixed misnamed variable.
1011 * as.c: Don't hang if given an invalid option.
1013 * m68k.c: Fixed bug in creating absolute long addresses for branches.
1015 * ns3k*: Some small ns32k patches.
1017 * m68k.c: Recognize 0rnan, 0rinf, 0r-inf.
1019 * app.c: Don't dump core on unterminated strings.
1021 * symbols.c: Give reasonable error messages.
1023 * ns32k*: Allow -m32032 and -m32532 options.
1025 * atof-*.c: Added support for NaN, Inf, and -Inf in atof_generic and
1026 the various descriptions.
1028 * m68k.c (add_fix): Replace occurrences of "width==" with
1029 "(width)==". This correct a precedence problem.
1031 * write.c, struc-symbol.h, m68k-opcode.h, m-hpux.h, Makefile: Changes
1032 for HP-UX from Chris Hanson (cph@kleph.ai.mit.edu).
1034 * m68k-opcode.h: Reorder movem insns so gdb will see the ones using the
1035 register list syntax first.
1037 * symbols.c (colon): Give more useful error messages when something was
1038 defined as a .comm and is now trying to be defined locally.
1039 Also, redefining a symbol is a fatal, not a warning.
1041 * m68k.c: Fixed a bug in using bignums as literal bit patterns for
1042 floating-point numbers.
1044 (In version 1.31) Jay Fenlason (hack)
1046 * i386*: More patches.
1048 * Moved machine-dependent option parsing into the machine-dependent
1051 (In version 1.30) Jay Fenlason (hack)
1053 * i386*: New new version.
1055 * atof-m68k.c: Changed to be smaller, with somewhat better modularity.
1056 Also fixed an obscure bug wherein next_bits would return random bits.
1058 * m68k.c: Be more careful about creating PC-relative addressing modes
1059 on the 68000 and 68010.
1061 * frags.c (frag_new): Zero out the new frag.
1063 * Don't choke on "foo= bar" or on formfeeds.
1065 * read.c: Allow Sun-syntax local labels #ifdef SUN_ASM_SYNTAX.
1066 * m-sun3.h: Defined SUN_ASM_SYNTAX.
1068 (In version 1.29) Jay Fenlason (hack)
1070 * i386.c: Newer version that fixes a bug wherein a jump instruction
1071 would be split between two frags.
1073 * i386*: New version.
1075 * m68k.c: #ifdef M_SUN and -m68010, produce Sun-2 executables.
1077 (In version 1.28) Jay Fenlason (hack)
1079 * m68k.c: Added .single pseudo-op.
1081 * Made ". = X" and ".set .,X" equivalent to ".org X".
1082 The pseudo-symbol "." has the value of the location the assembler is
1083 currently assembling to.
1085 (In version 1.27) Jay Fenlason (hack)
1087 * Merged ns32k and i386 support.
1089 (In version 1.26) Jay Fenlason (hack)
1091 * Added partial ns32k support.
1093 * Added RMS's evil .word misfeature. Invented the -k (kludge) option
1094 to warn that this misfeature was used.
1096 * Modified some files to get rid of warnings from GCC.
1098 * Added fix so that / can also be a comment character by itself.
1100 (In version 1.25) Jay Fenlason (hack)
1102 * Installed patches for VMS.
1104 * as.h (SIZEOF_STRUCT_FRAG): Added space before backslash-newline.
1106 * messages.c: Fixed typo.
1108 * app.c: Handle : correctly.
1110 * error.c: Removed; no longer used.
1112 * m68k-opcode.h: Added fnop.
1113 Fixed to correctly handle fmovem with a register list and
1114 non-predecriment addressing mode.
1116 * m68k-opcode.h: Fixed to know about long form of FBcc insns.
1118 * write.c: Warn if a fixup ended up being wider than its field width.
1120 (In version 1.24) Jay Fenlason (hack)
1122 * Accept and ignore -mc68010 and -m68010 switches.
1124 * Correctly assemble long subroutine calls on the 68000 without using a
1125 68020-specific instruction.
1127 * When calling with no filenames, read stdin.
1129 (In version 1.23) Jay Fenlason (hack)
1133 * xmalloc.c, xrealloc.c: Replaced to work with GCC.
1135 (In version 1.22) Jay Fenlason (hack)
1137 * write.c: Fixed a VMS bug.
1139 * m68k.c: Fixed a bug having to do with turning absolute into
1142 * atof-m68k.c (atof_m68k, gen_to_words): Try to avoid a problem with
1143 running off the end of the LITTLENUMS.
1145 * vax.c: Fixed so parenthesized expressions work.
1147 * atof-generic.c: Added a cast that fixes problems with some C
1152 * Changes for VMS support and correct bitfield order for
1157 * m68k*: Fixed "fmovel #N, fpcr". Added fpcr and fpsr to the list of
1162 * m68k.c? (md_convert_frag): Don't put the fixups for absolute long to
1163 PC-relative in the data segment.
1165 * atof-generic.c: #include <alloca.h> #ifdef sparc.
1169 * Re-fixed _vfprintf stuff (?).
1171 * Made "movem REG, ADDR" work.
1173 * Improved preprocessing, without temporary files.
1177 * Don't produce an undefined empty symbol for ".globl foo," (a line
1178 ending with a comma).
1180 * Fixed a bug wherein ".long X" became ".long 0" on the Sparc.
1182 * Fixed a bug which caused many "#APP" "#NO_APP" pairs to dump core.
1184 * Fixed calls to _doprnt to call _vfprintf #ifndef NO_VARARGS.
1188 * Merged HP-UX changes from Chris Hanson (cph@zurich.ai.mit.edu).
1190 * flonum-multip.c: Renamed to flonum-mult.c.
1192 * m-hpux.h: Created.
1194 * m68k.c (bcopy): Fixed.
1198 * struct-symbol.h: Renamed to struc-symbol.h.
1202 * vax.c: Added a quick fix for the offset of fixed-width branches not
1203 fitting in the field given.
1205 * gdb-lines.c, read.c: Added support for .gdline and .gdbline
1210 * read.c, atof-generic.c: Fixed bugs in reading in floating-point
1213 * m68k-opcode.h: Made "fmovep a0@, fp0" work.
1217 * write.c: Fixed an obscure bug in relaction that would occasionally
1218 cause the assembler to stop relaxing when it really had at least one
1223 * m68k*: Allow register lists in fmovem.
1225 * Added more floating-point exponents.
1227 * Print an error message on exponent overflow.
1231 * Fixed floating point bugs that made it generate incorrect numbers for
1232 values over 10^16 or so.
1236 * Fixed bug wherein you couldn't forward reference local label 0.
1240 * m68k.c, m68k-opcode.h: Added support for fmovem with register lists.
1242 * Fixed an obscure bug having to do with generating PC-relative
1243 addressing mode for things in the middle of the instruction instead of
1246 Wed Mar 1 15:29:24 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1248 * *.*: Modified copyright notices to reflect new General Public
1251 * Makefile: Added copyright notice.
1253 Fri Feb 17 09:42:01 1989 Jay Fenlason (hack at spiff)
1255 * Patched frags.c so that new frags start out bzero()ed.
1257 Thu Jan 26 14:23:44 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
1259 * Added patches from pace to files as.h i386.c i386-opcode.h
1260 imull foo,%eax no longer gets assembled into the 32-64 bit
1261 multiply, which clobbers %edx behind gcc's back
1263 jcxz/jecxz were backwards
1265 There was a bug when using %ebp as a base register with no
1268 Instructions like andb $0xffffff, %al used to put out too many
1271 The splitting jump instructions across frags could happen when
1272 obstack_room()==6 too.
1277 version-control: never