1 Mon Oct 21 09:25:33 1991 Steve Chamberlain (steve at rtl.cygnus.com)
3 * configure.in: added ebmon entry.
4 * output-file.c (output_file_create, output_file_close) added
6 * write.c: more bfd support
7 * config/obj-coff.c config/obj-coff.h use bfd for swapping
9 * tc-a29k: added the reloc types we support now
12 Mon Oct 14 11:44:03 1991 Roland H. Pesch (pesch at cygnus.com)
14 * doc/Makefile (as.ms): one more sed workaround for texi2roff
15 (as.mm, as.me): new targets
17 Fri Oct 11 18:18:37 1991 Roland H. Pesch (pesch at cygnus.com)
19 * doc/Makefile: new targets as.info, as.ms
20 doc/as.texinfo: minor changes for texi2roff-2
21 Makefile.in: revise 'doc' target.
25 * messages.c Moved as_perror from input-scrub.c Modified the
26 error messages to look better.
28 * output-file.c Don't call as_fatal, just call exit()
30 expr.c Slightly improve checking for foo-foo case in
31 clean_up_expression(). Detect foo: bar: ... foo-bar...
35 * m68k.c Fixed an obscure bug involving AOFF mode with a
36 large constant displacement (Was forgetting to output the
39 make-gas.com Added a three line patch from Eric Youngdale that
40 makes it possible to submit make-gas.com to a batch queue.
44 * vms.c (VMS_TBT_Routine_END) Add a four line patch from
49 * vms-dbg.c (VMS_DBG_record()) Another one character patch from
54 * read.c Replace some as_warn calls with as_bad.
58 * i386.c, i860.c, ns32k.c Add const changes.
62 * sparc.c Add const changes.
64 * make-gas.com define const= for VMS, since many older versions of
65 GCC don't work correctly with const under VMS.
71 * read.c, symbols.c, vms.c, + new_file vms-dbg-module.c
73 patches, so debugging GCC output now works.
75 * hash.c (hash_grow) Remember to blank out the wall entry in the new
76 hash table. This is important on systems where malloc() returns
81 * output-file.c (output_file_create) if output filename is given as
84 * m68k.c Finally get the PCREL code to work right. Add relaxation of
85 PCREL stuff This small fix from Ken Woodland
88 * m68k.c Added some const declarations to constants. (md_relax_table,
89 md_pseudo_table, etc. . .)
93 * Makefile, read.c, write.c Include the i860 port.
94 (New files i860.c i860-opcode.h i860.h)
96 * m68k.c Fix some addressing modes, (AOFF, AINDEX, etc) to work in
99 * (all over) Raeburn's const hacking. This reduces the data-space size by
100 declaring many tables, etc, as 'const'.
102 Mon Oct 22 22:48:22 1990 John Gilmore (gnu at cygint)
104 Make gas work if you turn on the know() checks.
106 * app.c: Only pass a single space through: the one after
107 the opcode. All other whitespace is removed, to match the
108 expectations of the parser in read.c.
110 * as.h: Remove obsolete comments. Remove JF's NDEBUG so
111 that know() can really work if you turn it on. Make
112 SEG_MAXIMUM_ORDINAL == SEG_REGISTER.
114 * expr.c (operand): Change BITS_PER_INT to 8*sizeof(int).
116 * input-scrub.c: strlen("\0") doesn't return 1...
117 (as_where): Add space after line number in errors, like gcc.
119 * m68k.c (s_bss): Fake .bss into data section 255.
120 We can't cope with a real "BSS section" yet, but we can at
121 least do the right thing less efficiently (with lots of
124 * read.c: Turn lots of as_warn()'s into as_bad()'s.
126 * read.h (SKIP_WHITESPACE): Replace last instance of ASSERT()
129 * sparc.c (s_seg): We can't put frags into the BSS segment
130 yet, so just fake bss seg as 255th data segment.
132 * vax.c: Remove \'s from continued macro *parameters*. These
133 must have been added after the last time someone turned on
136 * write.c (relax_segment): Refine what we know() about the
137 symbols referenced during relaxation.
139 * Makefile (OTHER_ALIGN): Remove, handled in tables now.
140 Flip options a bit. These options really ought to go
143 Sun Oct 21 03:57:21 1990 John Gilmore (gnu at cygint)
147 * expr.c, write.c: Missing semicolon after know().
149 * write.c (fixup_segment): Allow pc-relative accesses to undefined
150 external symbols. Previously this would turn off pc-rel calc
151 of displacement, while leaving pc-rel opcode alone, botching.
153 * m68k.c (m68k_ip): Allow pc-relative effective addresses
154 for source operands. "pea" instructions are a good example
155 where we can shorten from abs long to pc+16bit.
156 (md_convert_frag): Fix "JBSR" comments to refer to "JSR", the
157 actual instruction. Insert comments about bug in 68000 bcc
158 and dbcc long code (that doesn't get exercised much). Add
159 comments about long pcrel displacements for -pic. Remove
160 "this code has not been tested" comment.
161 (md_estimate_size_before_relax): Now that fixup_segment
162 doesn't shortcircuit pc-relative fixups for undefined symbols,
163 only output them if -pic; else turn them absolute, which is
164 slightly faster. More JBSR->JSR comments.
165 (md_parse_options): Parse -pic.
167 Fri Oct 19 14:35:20 1990 John Gilmore (gnu at cygint)
169 * Make sparc assembler more compatible with Sun assembler.
170 sparc.c: reformat pseudo-op table to match main table.
171 (md_assemble): Add SPECIAL_CASE_FDIV to assemble FDIV*
172 instructions as fdiv followed by fmovs to get around chip bug.
173 (s_common, s_seg): Accept "bss" section name.
174 (md_assemble): Handle "set" instructions with absolute
175 operands, that only take one instruction rather than two.
176 sparc-opcode.h (fdiv*): Mark instructions "S"pecial.
177 subsegs.c (subseg_change): Move tail pointer too.
178 symbols.c (colon): Allow new definitions to override .comm symbols,
179 as in VMS. Sun CC depends on this.
180 write.c (new_fix): Always take r_type argument, not just on sparc.
181 Chain fixP's in order, using tail pointer, so relocation
182 records come out in forward order like Sun as. Remove SPARC
184 write.h: Add seg_fix_tailP, data_fix_tailP, text_fix_tailP.
186 * am29k.c: Use s_align_bytes rather than a local copy.
188 * read.c (s_align): Rather than ifdef it, make two functions,
189 s_align_bytes and s_align_ptwo. Individual pseudo-op tables
190 can call whichever one they like.
192 * write.c (append): Move from append.c to here.
193 append.c: Remove file.
195 * Makefile (MDSRC, mdsrc): Easy way to edit all md.c's.
196 Fix options. Add option for -DDEBUG for know() and assert().
197 Remove append.c, am29k.h. Don't build special read-sparc.o.
198 Remove sparc.h. "make clean" removes am29k .o's. Add
199 dependencies on reloc.h.
201 Thu Oct 18 17:56:34 1990 John Gilmore (gnu at cygint)
203 * Generalize sparc extensions to relocation info. Gas now
204 keeps relocation information internally in a different format
205 than how it is stored in the resulting .o. md_ri_to_bytes()
206 converts to external format. md_reloc_size says how large
207 each relocation record is in external format.
208 sparc.h: Remove this file. Rename to reloc.h. Rename struct
209 to reloc_info_generic.
210 reloc.h: Add relocation types for AMD 29000.
211 read.c, write.c: Always call fix_new with reloc-type argument.
212 write.c (emit_relocations): Make md_ri_to_bytes write directly
213 to output area rather than overwriting its argument then
215 md.h: Declare md_reloc_size and md_ri_to_bytes.
216 i386.c, am29k.c, vax.c, ms32k.c, m68k.c, sparc.c: include reloc.h.
217 (md_reloc_size): Specify correct value.
218 (md_ri_to_bytes): Convert format from internal to external.
220 write.c (write_object_file): Call md_section_align() which
221 rounds section sizes up if desired.
222 sparc.c (md_section_align): Round to 8 byte boundary.
223 i386.c, am29k.c, vax.c, ns32k.c, m68k.c (md_section_align): Nop.
225 Mon Oct 15 22:06:11 1990 John Gilmore (gnu at cygint)
227 Changes in support of the AMD 29000 version of gas.
229 * am29k-opcode.h: Add dummy entry to end so we can examine
230 item N+1 without exceeding table.
232 * am29k.h: New include file, derived from sparc.h. Kludged
233 together, still needs major work to get relocation working.
235 * am29k.c: New file, derived from sparc.c.
236 Put 29k-specific ASM29K pseudo-ops into table.
237 Change comment_chars to ASM29K.
238 Change s_seg to s_use.
239 Change s_sparc_align to s_29k_align, default operand to 4.
240 (define_some_regs): Define special register names.
241 (md_begin): Preprocess opcode table to mash together all
242 the variants of single opcodes. This simplifies later handling.
243 Call define_some_regs to preset special reg names.
244 (parse_operand): Add, parses out an operand from a stmt.
245 (machine_ip): Simplify, since 29K is simpler asm language.
246 Handle the various keyletters in the opcode table.
249 Handle include files in the assembler, with a .include
251 * as.h (input_scrub_include_file): declare.
252 * as.c (perform_an_assembly_pass): Avoid buffer hacking.
253 Start us off in text segment.
254 * read.c (read_a_source_file): Take a name as argument,
255 internalize all buffer handling. Don't start a new text
256 subsegment on each entry. Actually use the start and end
257 pointers returned by input_scrub_next_buffer.
258 (s_include): Call input_scrub_include_file for .include.
259 * input-scrub.c: Fix comments.
260 (struct input_save): Add, for saving state at .include.
261 (input_scrub_push, input_scrub_pop): Add, push & pop state.
262 (input_scrub_begin): Initialize next_saved_file.
263 (input_scrub_end): Free buffer.
264 (input_scrub_include_file): Add, to include a file.
265 (input_scrub_close): Add, to close a file.
266 (input_scrub_next_buffer): Set buffer-start address for
267 caller. If we hit EOF and were included, pop to previous file.
268 * input-file.c: Remove old includes. Remove old file-descriptor
269 hacking code, that was commented out.
270 (struct saved_file): Add, for saving state at .include.
271 (input_file_push, input_file_pop): Add, push & pop state.
272 (input_file_open): Don't buffer all files in one place.
273 (input_file_close): Add, close input file.
274 * input-file.h: Declare new functions.
275 * app.c: (struct app_save): Add, for saving state at .include.
276 (app_push, app_pop): Add, push and pop state.
277 (do_scrub_next_char): Move its static state variables out so
278 they can be saved and restored.
281 * app.c: Allow overriding of character meanings by machine
282 dependent strings. Avoid wiring character constants into app.c.
283 (do_scrub_begin): New meanings override old ones, not "OR" them.
284 Only handle /* comments if / is not already in use.
285 (do_scrub_next_char): Reorganize mass of nested if's
286 into a switch for speed. Don't assume ';' is line terminator.
287 Reorganize switch on characters, into a switch on their (machine-
288 dependent) lexer table meanings.
291 Encapsulate knowledge of segment types in fewer places.
292 This allows us to add the "SEG_REGISTER" type, as well as
293 providing flexibility for eventual COFF/ELF support.
294 * struc-symbol.h (symbol_to_segment, symbol_to_segment_type,
295 set_symbol_segment, set_symbol_segment_keep_ext,
296 segment_name): Define macros to encapsulate this info.
297 * as.h: Remove externs for seg_name, seg_N_TYPE, N_TYPE_seg.
298 * symbols.c (symbol_new): Change 'type' arg to 'seg'.
299 * expr.c, i386.c, m68k.c, ns32k.c, read.c, symbols.c, vax.c,
301 * i386.c, m68k.c, ns32k.c, vax.c, write.c: Change 2nd arg type of
302 md_estimate_size_before_relax.
303 * expr.c, read.c: Change 'type' arg to symbol_new.
304 * read.c, symbols.c, vax.c, write.c: Move md.h to end of includes.
307 Allow expressions to evaluate to registers.
308 * as.h: Add SEG_REGISTER.
309 * struc-symbol.h: Add fake N_REGISTER type.
310 * subseg.c: Add types to tables.
311 * expr.c (operand): Symbols of SEG_REGISTER type are
312 immediately evaluated like those of SEG_ABSOLUTE.
313 (clean_up_expression): Clean up SEG_REGISTER exprs.
316 Allow machine descriptions to cleanly extend the set of
318 * expr.c (operand): Call md_operand before rejecting an
319 operand as unacceptable.
321 * i386.c, ns32k.c, m68k.c, sparc.c, vax.c: Define null function.
322 * am29k.c (md_operand): Use this for %% and & prefix operators.
325 Allow machine descriptions to cleanly permit symbols to be
326 predefined upon first usage.
327 * symbols.c (symbol_find_or_make): Call md_undefined_symbol
328 before making an undefined symbol.
330 * i386.c, ns32k.c, m68k.c, sparc.c, vax.c: Define null function.
331 * am29k.c (md_undefined_symbol): use this for the local and
332 global register names; since there are hundreds of them, it
333 only defines them upon their first use.
334 * expr.c (operand): Call symbol_find_or_make rather than
335 roll our own undefined symbols.
338 Miscellaneous changes:
340 * as.h (know): Make this useful if DEBUG defined.
342 * write.h: Support SPARC-like relocation throughout all
345 * read.c (read_a_source_file): Report the name of invalid
346 pseudo-ops. Don't double-report junk characters. Close the
347 input file, which gas never used to do.
348 (ignore_rest_of_line): Report junk chars in ascii if
350 (s_ignore): Ignore entire statement; used for 'listing
351 control' statements from ASM29K, e.g. .eject.
353 * read.c (s_lsym): Handle register equates too.
355 * read.c: Add most ASM29K pseudo-ops to the master table.
356 Not all are implemented yet.
358 * cond.c: New file, for functions implementing conditional
359 assembly pseudo-ops: .ifdef, .ifndef, .else, .endif, .ifseq,
360 .ifsne, .end. So far, they are just stubbed out.
362 * read.c (pobegin): Allow the machine dependent pseudo-op
363 table to override the generic one. Remove #ifdef SPARC
364 on .word, since it can now be overridden.
366 * expr.c (operand): Support radix-2 constants. Kill off
367 support for octals with digits '8' and '9'. Initial steps
368 toward more general support for local-labels.
370 * symbols.h (symbol_table_lookup): Remove macro, change all
371 occurrences (in read.c, expr.c, symbols.c) to symbol_find.
373 * read.h (is_end_of_line): Define for external use.
375 * i386.c (alloca): Use builtin_alloca or include or extern.
377 * Makefile: Add ALL and all: entries. Add asm29k entries.
378 Add cond.c and cond.o. Remove special handling for messages.o.
383 * m68k.c (get_num) Fix so that 1:w is treated properly.
385 * Makefile Replace references to a.out.h with a.out.gnu.h
389 * sparc.c (md_number_to_imm) Fix so that RELOC_32 locations contain
390 zero, so that it will work with some sparc loaders which don't assume
391 that the locations in question do. A xix line patch from Michael Bloom
396 * as.c #include <sys/types.h> if _POSIX_SOURCE defined. This because
397 <signal.h> uses pid_t that's defined in it.
399 * m68k.c reverse the sense of -l option, and allow :w and :l to
400 override the default size of AOFF indexes.
402 Also, allow -l to shorten branches to unknown labels from LONG to WORD.
406 * vax.c (md_parse_option) Don't print a warning msg if given -J
408 Wed Sep 5 14:26:14 EDT 1990 Jay Fenlason
410 * expr.c (operand) Don't get garbaged high-order bits when given a
411 lot of leading zeroes.
413 Tue Sep 4 11:40:21 EDT 1990 Jay Fenlason
415 * read.c (pseudo_set) Compain if we're setting the symbol to the
416 difference of two symbols which are in different frags. (We can't
417 find out how far apart they are.)
419 Wed Aug 15 12:18:58 EDT 1990 Jay Fenlason
421 * m68k.c (m68k_ip_op) Dyke out the code that deals with parsing
422 :[wl] at the end of expressions since it is handled in get_num()
423 and this was putting the result in the wrong place anyway.
424 Corrected a couple of other references to ->isiz instead of con?->e_siz
426 Mon Aug 13 15:53:46 EDT 1990 Jay Fenlason
428 * read.c Handle .align specially on the sparc, or any other machine
429 where OTHER_ALIGN is defined. Added option and comments about it
432 Fri Aug 10 12:24:33 EDT 1990 Jay Fenlason
434 * m68k.c (get_num) Handle SEG_PASS1 expressions.
436 Mon Aug 6 16:32:29 EDT 1990 Jay Fenlason
438 * write.c (fixup_segment) Added two patches for the NS32k
439 and SEQUENT A six line patch from Ian Dall
444 * m68k.c Include REGISTER_PREFIX ifdefs.
446 * write.c Include LOCAL_LABEL() and DOT_LABEL_PREFIX feature.
448 * vax.c (md_parse_option) Accept -H option.
450 * vms.c New version of case hasher, etc. These from Eric Youngdale
455 * README Added README.APOLLO and README.COFF stuff
459 * Makefile Added option for SEQUENT_COMPATABILITY
461 * ns32k.c Add configurable syntax feature from
463 and SEQUENT_COMPATABILITY
465 * ns32k-opcode.h Add configurable syntax feature.
469 * write.c (relax_segment) On ns32k, add fragP->fr_pcrel_adjust to
471 (fixup_segment) On ns32k, don't subtract size from
472 add_number on pcrel external symbols.
474 * ns32k.c (md_relax_table) Use correct max displacements.
477 * ns32k.c (md_atof, convert_iif) Emit floating point numbers in
478 the correct byte order. A seven line patch from
481 * ns32k.c (all over) Some lint fixes.
485 * app.c (do_scrub_next_char) If a comment is #{whitespace}
486 don't treat the next line as comment also.
488 * m68k.c (...) Accept apc@(num:[wl]), etc.
490 * i386.c (md_assemble) Get bitfields correct when doing cross
491 assembly to 386. A two line patch from Michael Bloom.
494 * README.APOLLO a new file with vasta@apollo's name, address
497 * make-gas.com Deleted references to gdb source files.
501 * i386.c Ignore the .optim directive
503 * input-file.c Change from _IOLBF to _IOFBF in setbuffer emulation
508 * sparc.c #ifdef DONTDEF s_sparc_align, since it isn't called from
513 * vax.c (md_parse_option) make the code agree with the documentation
514 on the behaviour of the -d option.
518 * atof-ieee.c (gen_to_words) Assemble 0r-0 correctly.
520 * Makefile Remove last references to gdb*.c files.
522 * version.c New version 1.36
526 * Makefile Mention a work-around for a possible problem with HPUX7.0
528 Mon May 21 14:06:04 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
530 * sparc.c (sparc_ip): Change error message from "not in hash table"
533 Wed May 16 15:33:14 EDT 1990 hack@wookumz
535 * i386.c (i386_operand) Print error msg if given an operand like
536 4(mumble) which we can't parse.
538 * m68k.c (md_assemble) Add '3' to the list of operand-places that
539 can be found in 'symbol-dependent info'. Also change
540 'confusing width' diagnostic to something more meaningful.
542 Fri May 11 12:09:21 EDT 1990 hack@wookumz
544 app.c (do_scrub_next_char) Don't flush the line after a line
545 consisting of a single '/' A one-line patch from Mike Kupfer
548 * i386.c (md_assemble) Call frag_wane() before calling frag_new()
551 Tue May 8 12:56:25 EDT 1990 hack@wookumz
553 * atof-generic.c (atof-generic) Modified the Infinity detection code
554 to accept 0rinfinity and 0r-infinity as well as 0rinf and 0r-inf
556 Thu Apr 26 15:17:31 EDT 1990 hack@wookumz
558 * atof-ieee.c Change value of NaNs to 0x7fff ffff (float) and
559 0x7fff ffff ffff ffff (double) If you want some other value for
560 NaN, use .long and spell it out yourself.
562 atof-generic.c (atof_generic) Cleaned up code that detects NaN
565 vax.c (md_assemble) print a useful error message if expression()
566 returns SEG_PASS1 or SEG_DIFFERENCE and we can't deal with those.
568 Thu Apr 19 10:30:47 EDT 1990 hack@wookumz
570 * input-scrub.c (AFTER_STRING) Make AFTER_STRING contain a null
571 so that the strstr() call when looking for "#NO_APP" after a "#APP"
572 will work. A two character patch from Bruce Robertson
575 * Makefile, i386.c Use atof-ieee.c instead of atof-i386.c
577 Mon Apr 16 16:20:55 EDT 1990 hack@wookumz
579 * m68k.c (md_relax_table) Many of the offsets were off by two.
580 Fixed some generic spacing problems thoughout the file.
582 Thu Apr 12 12:22:35 EDT 1990 hack@wookumz
584 * sparc.c (md_ri_to_chars) Handle little-endian cross assembly.
586 * write.c (relax_segment) Compare addresses correctly to avoid
587 accidentally relaxing a branch that we don't have to.
590 Fri Apr 6 12:52:15 EDT 1990 hack@wookumz
592 * Makefile, expr.c symbols.c Correctly document the SUN_ASM_SYNTAX
593 option, and make it work.
595 Tue Mar 20 12:46:59 EST 1990
597 * as.c (main) Only trap SIGHUP, SIGINT, SIGPIPE, and SIGTERM,
598 and only if they aren't being ignored. A three line patch
601 * write.c (relax_segment) Correct typo 'growth - ' should have been
604 * atof-vax.c (next_bits, flonum_gen2vax) Clean up by sharing some
605 variables. While we're at it, fix next_bits so that it
606 doesn't use littlenums that don't exist. . .
608 Tue Mar 13 16:23:21 EST 1990 hack@wookumz
610 * Rename atof-m68k.c atof-ieee.c
612 * Delete atof-ns32k.c
614 * m68k.c sparc.c ns32k.c atof-ieee.c Call atof-ieee instead of
615 atof-m68k or atof-ns32k
617 * Makefile Compile with atof-ieee.c instead of atof-ns32k.c or
620 Mon Mar 12 14:06:55 EST 1990 hack@wookumz
622 * as.c If the signal handler gets called twice, exit immediatly.
624 * ns32k.c Call gen_to_words with a pointer of the proper type, and
625 call md_number_to_chars to put the results in the proper byte-order.
626 Whoever wrote this code was *sloppy*!
628 * Makefile ns32k.o depends on ns32k.c
630 * vax.c (md_parse_option) If VMS, accept -+ and -h options.
632 * vms.c (VMS_Case_Hack_Symbol) Replace #if NO_CASE_HACKING
633 with references to the -h option. These small VMS patches
636 Thu Mar 8 19:18:59 EST 1990 hack@wookumz
637 * vms.c Some trivial patches from Eric Youngdale
640 Wed Mar 7 17:12:09 EST 1990 hack@wookumz
641 * make-gas.com (Define error as as_fatal when compiling vax.c and vms.c
642 A two line patch from Eric Youngdale
645 Tue Mar 6 16:01:09 EST 1990 hack@wookumz
647 * Makefile Include ns32k options in makefile. A small patch from
650 * as.c read.c write.c Makefile #ifdef DONTDEF out all the gdb
651 symbol stuff, since it isn't used anymore and it doesn't work.
653 Mon Mar 5 14:51:04 EST 1990 hack@wookumz
655 * i386.c (md_assemble) Replace memchr() with index().
657 * as.c Trap signals 1 through NSIG, print an error msg, and don't
658 produce an object file.
660 * m68k.c Added a hack so that fsincosx fpx,fpy:fpz works.
662 * messages.c New function: as_bad This is like as_warn, except
663 -W doesn't disable it, and calling it inhibits production of an
664 object file and causes a non-zero exit code.
666 Tue Feb 13 14:25:53 EST 1990 hack@wookumz
667 * Makefile Include G0 and LOADLIBES for Sequent Symmetry.
670 Thu Feb 1 14:08:58 EST 1990 hack@wookumz
671 * m68k.c Replace 'abort' with 'abort()' which will work.
675 * read.c (ignore_rest_of_line) Have it print the first junk char
676 in both decimal and %c form.
678 (read_a_source_file) On bad pseudo-op, print out the unknown
683 * read.c (pseudo_set) If the symbol is external, have it remain
686 * i386-opcode.h Allow jc as a synonym for jb and jnc as a syn for jnb.
691 * ns32k.c [cpureg_032] Change register id of psr from 0x0b to 0x0d
692 * ns32k-opcode.h Change shift-counts for lsh and lshd
693 to one byte instead of 2 and 4.
694 A Trivial patch from John F. Peters (think!ames!practic.com!jfp@eddie)
698 * ns32k.c (md_create_{long,short}_jump) Six line patch from
699 John F Peters (think!ames!vine!practice.com!jfp) to use the
700 correct addressing mode and byte-order for broken-word stuff.
702 * write.c (write_object_file) One line patch to call fix_new_ns32k
703 with the correct # of args.
707 * atof-generic.c, flonum-mult.c A real fix for the trailing-zeroes
712 * i386-opcode.h Fixed opcode-table entry for ljmp. A one char
717 * expr.c Replace the generic_buffer hack with a more portable one */
719 * atof-generic.c (atof_generic) Ignore trailing zeroes after a decimal
720 point. For some reason trailing zeroes (but not trailing nonzeroes) were
721 causing loss of precision. I don't know why. . .
723 * vms.c Change copyright notice. Install changes from Kenneth Adelman
728 * Makefile Add BINDIR and use it to control where the executable is
731 * i386.c Use __builtin_alloca if possible (trivial patch from
732 Marco S. Hyman pacbell!dumbcat!marc)
736 * version.c New version: 1.35 will be distributed with the
741 * atof-m68k.c (atof_m68k) Don't put the bits[] array on the stack,
742 since it may be pointed to after atof-m68k exits.
746 * atof-m68k.c Added #define for bcopy on USG systems.
747 #ifdef TEST the print_gen() function.
749 * a.out.h if USE_HP_INC_HDR then use ../binutils/hp-include/a.out.h
753 * vax.c (all) Ran vax through indent -gnu to make it readable.
755 vax.c (vip_op) Correctly assemble code like jmp $*0x11223344
756 by setting vip_nbytes to 4 when using an immediate address.
759 m68k.c (s_proc (new)) Added s_proc no-op pseudo-op.
761 Makefile Added instructions for compiling on Sequent Symmetry
764 a.out.h Modified to compile on Sequent and HP above. (HP port
768 * vax.c (vip_op) Fixed a typo in an error msg and cleaned
769 up some spacing stuff.
773 * app.c (do_scrub_next_char) Fixed parsing of
774 # <line> "file" garbage
775 text so that it'll work again? (8 line patch from Mike Hibler
780 * app.c (do_scrub_next_char): Modify parsing of /* ... */ to work
783 * sparc.c (sparc_ip): Don't abort on insns that use the Alternate
784 Spaces. Try to assemble them correctly.
789 (Jyrki Kuoppala) so that gas output will work with shared libraries.
791 * ns32k.c Include <string.h> instead of <strings.h> if USG defined.
793 (md_end) free(freeptr_static) instead of free(freeptr) .
795 * atof-ns32k.c Include as.h so that sysV stuff (bzero) will be
796 defined if needed. These ns32k changes from
801 * atof-m68k.c (gen_to_words) Get the sign right on negative
802 floating-point numbers.
806 * Makefile Remove the rest of the $< entries that kill sun make
810 * atof-m68k.c (gen_to_words) deal with denormalized floating-point
813 Tue Aug 22 02:03:05 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
815 * Makefile (gas-dist.tar): Put ChangeLog in the tar file.
817 * version.c: Added comment telling Jay Fenl--I mean people--not to put
818 changes in version.c, but to use ChangeLog instead.
820 * version.c (version_string): Put "GNU" in all-caps.
822 * version.c: Moved all comments about changes to ChangeLog (this file).
823 Many anonymous entries have been attributed to Jay Fenlason (hack).
825 Thu Aug 17 15:53:57 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
827 * Makefile: Removed $< references that seem
828 to choke some versions of make.
830 * frags.c (frag_grow): Fixed to deal with requests for very
831 large frags (larger than frags.chunk_size).
833 * app.c (do_scrub_next_char): Have it ignore any characters
834 after the filename in a # line "filename".
836 * sparc.c (s_common): On an error, don't print out
837 input_line_pointer past the end of the line where the error is.
839 * atof-generic.c (atof_generic): Accept any case for
842 * m68k.c (m68_ip): Don't use PC-relative mode for alterable
845 Tue Aug 15 04:58:36 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
847 * sparc.c (md_begin): Rewrote this function to perform consistency
848 checks with the new opcode table.
850 Fri Aug 11 16:01:16 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
852 * sparc-opcode.h (struct sparc_opcode): Replaced `mask' field with
853 `lose'; removed `last' field. Updated all opcodes accordingly.
854 Fixed several opcodes that generated the wrong instructions.
855 sparc.c (md_begin, sparc_ip): Changed to use new struct sparc_opcode.
857 Thu Aug 3 14:44:24 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
859 * Makefile (a32k): Use read- and write-ns32k.o
860 * ns32k.c (encode_operand): Make sure pcrel_adjust starts out zeroed.
861 * read.c (cons): Call fix_new_ns32k() if NS32K is defined.
862 * write.c (write_object_file): Ditto.
863 These so that .word sym-sym (etc) will produce values with
864 the proper byte-order.
866 Wed Aug 2 12:55:?? 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
868 * sparc.c (comment_chars[]): Removed '|' because it was causing
869 problems. Probably not the best fix, since I suspect other
870 assemblers (68020) may get | in .stabs also, and the 68020 needs
871 the '|' comment character.
873 Mon Jul 31 09:22:28 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
875 * sparc.c (sparc_ip): Allow the characters [0123] in opcodes.
877 Tue Jul 25 16:32:12 1989 Jay Fenlason (hack)
879 * atof-generic.c (atof_generic): Tried to keep
880 size_of_digits_in_littlenum from going negative.
882 * sparc-opcode.h: Added duplicate [i+1] entries to go with
883 the [1+i] entries already there. A kludgy fix, but it works.
885 Mon Jul 24 17:20:03 1989 Jay Fenlason (hack)
887 * write.c (relax_segment): Modified rs_org code so it won't
888 occasionally dump core.
890 * write.c (pseudo_set): Modified SEG_DIFFERENCE to (perhaps)
891 allow one to set a symbol to the difference of two other symbols.
893 * ns32k.c (convert_iif): Moved size_so_far+=size and size=0 inside
894 the check for a valid type.
896 * sparc-opcode.h: Modified the entries for std "q,[1+i]", "D,[1+i]",
899 (In version 1.34) Jay Fenlason (hack)
901 * Makefile: Reorganized, added stuff to make asparc.
903 * sparc.c, sparc-opcode.h, sparc.h: Sparc port.
905 * write.c: Set the size of text and bss segments to a multiple of eight
908 * m68k.c: Moved .single pseudo-op to machine independent part.
910 * atof-generic.c: Fixed type in #ifdef __GNUC__.
912 * sparc-opcode.h: Handle "mov REG, %y".
914 * make-gas.com: Know that error.c no longer exists.
916 * sparc.c: Handle [expr+reg].
917 Don't call getExpression when looking for an immediate and getting
918 something that starts with % and isn't %hi or %lo.
920 * Teach the 68k about long conditional branches.
922 (In version 1.33) Jay Fenlason (hack)
924 * Use __builtin_alloca if available.
926 * README: Added more instructions for reporting bugs.
928 * ns32k-opcode.h: Changed the acbb, acbw, and acbd insns.
930 * vax.c: Replaced instances of LENGTH[STRING] with STRING[LENGTH].
932 * ns32k.c (encode_operand): Increased max size of bit field for exts
933 and inss instructions from 31 to 32 bits.
935 * flonum-mult.c (flonum_multip): Fixed typo.
937 * m68kc.: Allow #32 to be the same as #0 for bit-field ops.
939 * make-gas.com, version.c, hex-value.c, flonum-const.c: VMS fixes.
942 Mostly typos in comments, etc.
944 * ns32k-opcode.h: Fixed size of immediate operands to andw and andd
947 (In version 1.32) Jay Fenlason (hack)
949 * read.c (s_set): Fixed misnamed variable.
951 * as.c: Don't hang if given an invalid option.
953 * m68k.c: Fixed bug in creating absolute long addresses for branches.
955 * ns3k*: Some small ns32k patches.
957 * m68k.c: Recognize 0rnan, 0rinf, 0r-inf.
959 * app.c: Don't dump core on unterminated strings.
961 * symbols.c: Give reasonable error messages.
963 * ns32k*: Allow -m32032 and -m32532 options.
965 * atof-*.c: Added support for NaN, Inf, and -Inf in atof_generic and
966 the various descriptions.
968 * m68k.c (add_fix): Replace occurrences of "width==" with
969 "(width)==". This correct a precedence problem.
971 * write.c, struc-symbol.h, m68k-opcode.h, m-hpux.h, Makefile: Changes
974 * m68k-opcode.h: Reorder movem insns so gdb will see the ones using the
975 register list syntax first.
977 * symbols.c (colon): Give more useful error messages when something was
978 defined as a .comm and is now trying to be defined locally.
979 Also, redefining a symbol is a fatal, not a warning.
981 * m68k.c: Fixed a bug in using bignums as literal bit patterns for
982 floating-point numbers.
984 (In version 1.31) Jay Fenlason (hack)
986 * i386*: More patches.
988 * Moved machine-dependent option parsing into the machine-dependent
991 (In version 1.30) Jay Fenlason (hack)
993 * i386*: New new version.
995 * atof-m68k.c: Changed to be smaller, with somewhat better modularity.
996 Also fixed an obscure bug wherein next_bits would return random bits.
998 * m68k.c: Be more careful about creating PC-relative addressing modes
999 on the 68000 and 68010.
1001 * frags.c (frag_new): Zero out the new frag.
1003 * Don't choke on "foo= bar" or on formfeeds.
1005 * read.c: Allow Sun-syntax local labels #ifdef SUN_ASM_SYNTAX.
1006 * m-sun3.h: Defined SUN_ASM_SYNTAX.
1008 (In version 1.29) Jay Fenlason (hack)
1010 * i386.c: Newer version that fixes a bug wherein a jump instruction
1011 would be split between two frags.
1013 * i386*: New version.
1015 * m68k.c: #ifdef M_SUN and -m68010, produce Sun-2 executables.
1017 (In version 1.28) Jay Fenlason (hack)
1019 * m68k.c: Added .single pseudo-op.
1021 * Made ". = X" and ".set .,X" equivalent to ".org X".
1022 The pseudo-symbol "." has the value of the location the assembler is
1023 currently assembling to.
1025 (In version 1.27) Jay Fenlason (hack)
1027 * Merged ns32k and i386 support.
1029 (In version 1.26) Jay Fenlason (hack)
1031 * Added partial ns32k support.
1033 * Added RMS's evil .word misfeature. Invented the -k (kludge) option
1034 to warn that this misfeature was used.
1036 * Modified some files to get rid of warnings from GCC.
1038 * Added fix so that / can also be a comment character by itself.
1040 (In version 1.25) Jay Fenlason (hack)
1042 * Installed patches for VMS.
1044 * as.h (SIZEOF_STRUCT_FRAG): Added space before backslash-newline.
1046 * messages.c: Fixed typo.
1048 * app.c: Handle : correctly.
1050 * error.c: Removed; no longer used.
1052 * m68k-opcode.h: Added fnop.
1053 Fixed to correctly handle fmovem with a register list and
1054 non-predecriment addressing mode.
1056 * m68k-opcode.h: Fixed to know about long form of FBcc insns.
1058 * write.c: Warn if a fixup ended up being wider than its field width.
1060 (In version 1.24) Jay Fenlason (hack)
1062 * Accept and ignore -mc68010 and -m68010 switches.
1064 * Correctly assemble long subroutine calls on the 68000 without using a
1065 68020-specific instruction.
1067 * When calling with no filenames, read stdin.
1069 (In version 1.23) Jay Fenlason (hack)
1073 * xmalloc.c, xrealloc.c: Replaced to work with GCC.
1075 (In version 1.22) Jay Fenlason (hack)
1077 * write.c: Fixed a VMS bug.
1079 * m68k.c: Fixed a bug having to do with turning absolute into
1082 * atof-m68k.c (atof_m68k, gen_to_words): Try to avoid a problem with
1083 running off the end of the LITTLENUMS.
1085 * vax.c: Fixed so parenthesized expressions work.
1087 * atof-generic.c: Added a cast that fixes problems with some C
1092 * Changes for VMS support and correct bitfield order for
1097 * m68k*: Fixed "fmovel #N, fpcr". Added fpcr and fpsr to the list of
1102 * m68k.c? (md_convert_frag): Don't put the fixups for absolute long to
1103 PC-relative in the data segment.
1105 * atof-generic.c: #include <alloca.h> #ifdef sparc.
1109 * Re-fixed _vfprintf stuff (?).
1111 * Made "movem REG, ADDR" work.
1113 * Improved preprocessing, without temporary files.
1117 * Don't produce an undefined empty symbol for ".globl foo," (a line
1118 ending with a comma).
1120 * Fixed a bug wherein ".long X" became ".long 0" on the Sparc.
1122 * Fixed a bug which caused many "#APP" "#NO_APP" pairs to dump core.
1124 * Fixed calls to _doprnt to call _vfprintf #ifndef NO_VARARGS.
1130 * flonum-multip.c: Renamed to flonum-mult.c.
1132 * m-hpux.h: Created.
1134 * m68k.c (bcopy): Fixed.
1138 * struct-symbol.h: Renamed to struc-symbol.h.
1142 * vax.c: Added a quick fix for the offset of fixed-width branches not
1143 fitting in the field given.
1145 * gdb-lines.c, read.c: Added support for .gdline and .gdbline
1150 * read.c, atof-generic.c: Fixed bugs in reading in floating-point
1153 * m68k-opcode.h: Made "fmovep a0@, fp0" work.
1157 * write.c: Fixed an obscure bug in relaction that would occasionally
1158 cause the assembler to stop relaxing when it really had at least one
1163 * m68k*: Allow register lists in fmovem.
1165 * Added more floating-point exponents.
1167 * Print an error message on exponent overflow.
1171 * Fixed floating point bugs that made it generate incorrect numbers for
1172 values over 10^16 or so.
1176 * Fixed bug wherein you couldn't forward reference local label 0.
1180 * m68k.c, m68k-opcode.h: Added support for fmovem with register lists.
1182 * Fixed an obscure bug having to do with generating PC-relative
1183 addressing mode for things in the middle of the instruction instead of
1186 Wed Mar 1 15:29:24 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1188 * *.*: Modified copyright notices to reflect new General Public
1191 * Makefile: Added copyright notice.
1193 Fri Feb 17 09:42:01 1989 Jay Fenlason (hack at spiff)
1195 * Patched frags.c so that new frags start out bzero()ed.
1197 Thu Jan 26 14:23:44 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
1199 * Added patches from pace to files as.h i386.c i386-opcode.h
1200 imull foo,%eax no longer gets assembled into the 32-64 bit
1201 multiply, which clobbers %edx behind gcc's back
1203 jcxz/jecxz were backwards
1205 There was a bug when using %ebp as a base register with no
1208 Instructions like andb $0xffffff, %al used to put out too many
1211 The splitting jump instructions across frags could happen when
1212 obstack_room()==6 too.
1217 version-control: never