1 Mon Oct 14 11:44:03 1991 Roland H. Pesch (pesch at cygnus.com)
3 * doc/Makefile (as.ms): one more sed workaround for texi2roff
5 Fri Oct 11 18:18:37 1991 Roland H. Pesch (pesch at cygnus.com)
7 * doc/Makefile: new targets as.info, as.ms
8 doc/as.texinfo: minor changes for texi2roff-2
9 Makefile.in: revise 'doc' target.
11 Fri Jan 4 12:48:22 EST 1991 Jay Fenlason (hack@ai.mit.edu)
13 * messages.c Moved as_perror from input-scrub.c Modified the
14 error messages to look better.
16 * output-file.c Don't call as_fatal, just call exit()
18 expr.c Slightly improve checking for foo-foo case in
19 clean_up_expression(). Detect foo: bar: ... foo-bar...
21 Tue Dec 4 16:29:20 EST 1990 Jay Fenlason (hack@ai.mit.edu)
23 * m68k.c Fixed an obscure bug involving AOFF mode with a
24 large constant displacement (Was forgetting to output the
27 make-gas.com Added a three line patch from Eric Youngdale that
28 makes it possible to submit make-gas.com to a batch queue.
30 Wed Nov 21 15:07:51 EST 1990 Jay Fenlason (hack@ai.mit.edu)
32 * vms.c (VMS_TBT_Routine_END) Add a four line patch from
35 Tue Nov 13 14:02:15 EST 1990 Jay Fenlason (hack@ai.mti.edu)
37 * vms-dbg.c (VMS_DBG_record()) Another one character patch from
40 Mon Oct 29 15:49:21 EST 1990 Jay Fenlason (hack@ai.mit.edu)
42 * read.c Replace some as_warn calls with as_bad.
44 Fri Oct 26 15:21:15 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
46 * i386.c, i860.c, ns32k.c Add const changes.
48 Mon Oct 22 14:04:26 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
50 * sparc.c Add const changes.
52 * make-gas.com define const= for VMS, since many older versions of
53 GCC don't work correctly with const under VMS.
55 Thu Oct 18 12:44:11 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
57 * i860.c i860-opcode.h Added patches from rgb@mcc.com
59 * read.c, symbols.c, vms.c, + new_file vms-dbg-module.c
60 Added Eric Youngdale's <YOUNGDALE@v6550c.nrl.navy.mil> VMS debugging
61 patches, so debugging GCC output now works.
63 * hash.c (hash_grow) Remember to blank out the wall entry in the new
64 hash table. This is important on systems where malloc() returns
67 Tue Oct 16 10:11:35 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
69 * output-file.c (output_file_create) if output filename is given as
72 * m68k.c Finally get the PCREL code to work right. Add relaxation of
73 PCREL stuff This small fix from Ken Woodland
74 (kenny%datacube.uucp@uunet.uu.net).
76 * m68k.c Added some const declarations to constants. (md_relax_table,
77 md_pseudo_table, etc. . .)
79 Thu Oct 11 11:15:10 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
81 * Makefile, read.c, write.c Include the i860 port.
82 (New files i860.c i860-opcode.h i860.h)
84 * m68k.c Fix some addressing modes, (AOFF, AINDEX, etc) to work in
87 * (all over) Raeburn's const hacking. This reduces the data-space size by
88 declaring many tables, etc, as 'const'.
90 Mon Oct 22 22:48:22 1990 John Gilmore (gnu at cygint)
92 Make gas work if you turn on the know() checks.
94 * app.c: Only pass a single space through: the one after
95 the opcode. All other whitespace is removed, to match the
96 expectations of the parser in read.c.
98 * as.h: Remove obsolete comments. Remove JF's NDEBUG so
99 that know() can really work if you turn it on. Make
100 SEG_MAXIMUM_ORDINAL == SEG_REGISTER.
102 * expr.c (operand): Change BITS_PER_INT to 8*sizeof(int).
104 * input-scrub.c: strlen("\0") doesn't return 1...
105 (as_where): Add space after line number in errors, like gcc.
107 * m68k.c (s_bss): Fake .bss into data section 255.
108 We can't cope with a real "BSS section" yet, but we can at
109 least do the right thing less efficiently (with lots of
112 * read.c: Turn lots of as_warn()'s into as_bad()'s.
114 * read.h (SKIP_WHITESPACE): Replace last instance of ASSERT()
117 * sparc.c (s_seg): We can't put frags into the BSS segment
118 yet, so just fake bss seg as 255th data segment.
120 * vax.c: Remove \'s from continued macro *parameters*. These
121 must have been added after the last time someone turned on
124 * write.c (relax_segment): Refine what we know() about the
125 symbols referenced during relaxation.
127 * Makefile (OTHER_ALIGN): Remove, handled in tables now.
128 Flip options a bit. These options really ought to go
131 Sun Oct 21 03:57:21 1990 John Gilmore (gnu at cygint)
135 * expr.c, write.c: Missing semicolon after know().
137 * write.c (fixup_segment): Allow pc-relative accesses to undefined
138 external symbols. Previously this would turn off pc-rel calc
139 of displacement, while leaving pc-rel opcode alone, botching.
141 * m68k.c (m68k_ip): Allow pc-relative effective addresses
142 for source operands. "pea" instructions are a good example
143 where we can shorten from abs long to pc+16bit.
144 (md_convert_frag): Fix "JBSR" comments to refer to "JSR", the
145 actual instruction. Insert comments about bug in 68000 bcc
146 and dbcc long code (that doesn't get exercised much). Add
147 comments about long pcrel displacements for -pic. Remove
148 "this code has not been tested" comment.
149 (md_estimate_size_before_relax): Now that fixup_segment
150 doesn't shortcircuit pc-relative fixups for undefined symbols,
151 only output them if -pic; else turn them absolute, which is
152 slightly faster. More JBSR->JSR comments.
153 (md_parse_options): Parse -pic.
155 Fri Oct 19 14:35:20 1990 John Gilmore (gnu at cygint)
157 * Make sparc assembler more compatible with Sun assembler.
158 sparc.c: reformat pseudo-op table to match main table.
159 (md_assemble): Add SPECIAL_CASE_FDIV to assemble FDIV*
160 instructions as fdiv followed by fmovs to get around chip bug.
161 (s_common, s_seg): Accept "bss" section name.
162 (md_assemble): Handle "set" instructions with absolute
163 operands, that only take one instruction rather than two.
164 sparc-opcode.h (fdiv*): Mark instructions "S"pecial.
165 subsegs.c (subseg_change): Move tail pointer too.
166 symbols.c (colon): Allow new definitions to override .comm symbols,
167 as in VMS. Sun CC depends on this.
168 write.c (new_fix): Always take r_type argument, not just on sparc.
169 Chain fixP's in order, using tail pointer, so relocation
170 records come out in forward order like Sun as. Remove SPARC
172 write.h: Add seg_fix_tailP, data_fix_tailP, text_fix_tailP.
174 * am29k.c: Use s_align_bytes rather than a local copy.
176 * read.c (s_align): Rather than ifdef it, make two functions,
177 s_align_bytes and s_align_ptwo. Individual pseudo-op tables
178 can call whichever one they like.
180 * write.c (append): Move from append.c to here.
181 append.c: Remove file.
183 * Makefile (MDSRC, mdsrc): Easy way to edit all md.c's.
184 Fix options. Add option for -DDEBUG for know() and assert().
185 Remove append.c, am29k.h. Don't build special read-sparc.o.
186 Remove sparc.h. "make clean" removes am29k .o's. Add
187 dependencies on reloc.h.
189 Thu Oct 18 17:56:34 1990 John Gilmore (gnu at cygint)
191 * Generalize sparc extensions to relocation info. Gas now
192 keeps relocation information internally in a different format
193 than how it is stored in the resulting .o. md_ri_to_bytes()
194 converts to external format. md_reloc_size says how large
195 each relocation record is in external format.
196 sparc.h: Remove this file. Rename to reloc.h. Rename struct
197 to reloc_info_generic.
198 reloc.h: Add relocation types for AMD 29000.
199 read.c, write.c: Always call fix_new with reloc-type argument.
200 write.c (emit_relocations): Make md_ri_to_bytes write directly
201 to output area rather than overwriting its argument then
203 md.h: Declare md_reloc_size and md_ri_to_bytes.
204 i386.c, am29k.c, vax.c, ms32k.c, m68k.c, sparc.c: include reloc.h.
205 (md_reloc_size): Specify correct value.
206 (md_ri_to_bytes): Convert format from internal to external.
208 write.c (write_object_file): Call md_section_align() which
209 rounds section sizes up if desired.
210 sparc.c (md_section_align): Round to 8 byte boundary.
211 i386.c, am29k.c, vax.c, ns32k.c, m68k.c (md_section_align): Nop.
213 Mon Oct 15 22:06:11 1990 John Gilmore (gnu at cygint)
215 Changes in support of the AMD 29000 version of gas.
217 * am29k-opcode.h: Add dummy entry to end so we can examine
218 item N+1 without exceeding table.
220 * am29k.h: New include file, derived from sparc.h. Kludged
221 together, still needs major work to get relocation working.
223 * am29k.c: New file, derived from sparc.c.
224 Put 29k-specific ASM29K pseudo-ops into table.
225 Change comment_chars to ASM29K.
226 Change s_seg to s_use.
227 Change s_sparc_align to s_29k_align, default operand to 4.
228 (define_some_regs): Define special register names.
229 (md_begin): Preprocess opcode table to mash together all
230 the variants of single opcodes. This simplifies later handling.
231 Call define_some_regs to preset special reg names.
232 (parse_operand): Add, parses out an operand from a stmt.
233 (machine_ip): Simplify, since 29K is simpler asm language.
234 Handle the various keyletters in the opcode table.
237 Handle include files in the assembler, with a .include
239 * as.h (input_scrub_include_file): declare.
240 * as.c (perform_an_assembly_pass): Avoid buffer hacking.
241 Start us off in text segment.
242 * read.c (read_a_source_file): Take a name as argument,
243 internalize all buffer handling. Don't start a new text
244 subsegment on each entry. Actually use the start and end
245 pointers returned by input_scrub_next_buffer.
246 (s_include): Call input_scrub_include_file for .include.
247 * input-scrub.c: Fix comments.
248 (struct input_save): Add, for saving state at .include.
249 (input_scrub_push, input_scrub_pop): Add, push & pop state.
250 (input_scrub_begin): Initialize next_saved_file.
251 (input_scrub_end): Free buffer.
252 (input_scrub_include_file): Add, to include a file.
253 (input_scrub_close): Add, to close a file.
254 (input_scrub_next_buffer): Set buffer-start address for
255 caller. If we hit EOF and were included, pop to previous file.
256 * input-file.c: Remove old includes. Remove old file-descriptor
257 hacking code, that was commented out.
258 (struct saved_file): Add, for saving state at .include.
259 (input_file_push, input_file_pop): Add, push & pop state.
260 (input_file_open): Don't buffer all files in one place.
261 (input_file_close): Add, close input file.
262 * input-file.h: Declare new functions.
263 * app.c: (struct app_save): Add, for saving state at .include.
264 (app_push, app_pop): Add, push and pop state.
265 (do_scrub_next_char): Move its static state variables out so
266 they can be saved and restored.
269 * app.c: Allow overriding of character meanings by machine
270 dependent strings. Avoid wiring character constants into app.c.
271 (do_scrub_begin): New meanings override old ones, not "OR" them.
272 Only handle /* comments if / is not already in use.
273 (do_scrub_next_char): Reorganize mass of nested if's
274 into a switch for speed. Don't assume ';' is line terminator.
275 Reorganize switch on characters, into a switch on their (machine-
276 dependent) lexer table meanings.
279 Encapsulate knowledge of segment types in fewer places.
280 This allows us to add the "SEG_REGISTER" type, as well as
281 providing flexibility for eventual COFF/ELF support.
282 * struc-symbol.h (symbol_to_segment, symbol_to_segment_type,
283 set_symbol_segment, set_symbol_segment_keep_ext,
284 segment_name): Define macros to encapsulate this info.
285 * as.h: Remove externs for seg_name, seg_N_TYPE, N_TYPE_seg.
286 * symbols.c (symbol_new): Change 'type' arg to 'seg'.
287 * expr.c, i386.c, m68k.c, ns32k.c, read.c, symbols.c, vax.c,
289 * i386.c, m68k.c, ns32k.c, vax.c, write.c: Change 2nd arg type of
290 md_estimate_size_before_relax.
291 * expr.c, read.c: Change 'type' arg to symbol_new.
292 * read.c, symbols.c, vax.c, write.c: Move md.h to end of includes.
295 Allow expressions to evaluate to registers.
296 * as.h: Add SEG_REGISTER.
297 * struc-symbol.h: Add fake N_REGISTER type.
298 * subseg.c: Add types to tables.
299 * expr.c (operand): Symbols of SEG_REGISTER type are
300 immediately evaluated like those of SEG_ABSOLUTE.
301 (clean_up_expression): Clean up SEG_REGISTER exprs.
304 Allow machine descriptions to cleanly extend the set of
306 * expr.c (operand): Call md_operand before rejecting an
307 operand as unacceptable.
309 * i386.c, ns32k.c, m68k.c, sparc.c, vax.c: Define null function.
310 * am29k.c (md_operand): Use this for %% and & prefix operators.
313 Allow machine descriptions to cleanly permit symbols to be
314 predefined upon first usage.
315 * symbols.c (symbol_find_or_make): Call md_undefined_symbol
316 before making an undefined symbol.
318 * i386.c, ns32k.c, m68k.c, sparc.c, vax.c: Define null function.
319 * am29k.c (md_undefined_symbol): use this for the local and
320 global register names; since there are hundreds of them, it
321 only defines them upon their first use.
322 * expr.c (operand): Call symbol_find_or_make rather than
323 roll our own undefined symbols.
326 Miscellaneous changes:
328 * as.h (know): Make this useful if DEBUG defined.
330 * write.h: Support SPARC-like relocation throughout all
333 * read.c (read_a_source_file): Report the name of invalid
334 pseudo-ops. Don't double-report junk characters. Close the
335 input file, which gas never used to do.
336 (ignore_rest_of_line): Report junk chars in ascii if
338 (s_ignore): Ignore entire statement; used for 'listing
339 control' statements from ASM29K, e.g. .eject.
341 * read.c (s_lsym): Handle register equates too.
343 * read.c: Add most ASM29K pseudo-ops to the master table.
344 Not all are implemented yet.
346 * cond.c: New file, for functions implementing conditional
347 assembly pseudo-ops: .ifdef, .ifndef, .else, .endif, .ifseq,
348 .ifsne, .end. So far, they are just stubbed out.
350 * read.c (pobegin): Allow the machine dependent pseudo-op
351 table to override the generic one. Remove #ifdef SPARC
352 on .word, since it can now be overridden.
354 * expr.c (operand): Support radix-2 constants. Kill off
355 support for octals with digits '8' and '9'. Initial steps
356 toward more general support for local-labels.
358 * symbols.h (symbol_table_lookup): Remove macro, change all
359 occurrences (in read.c, expr.c, symbols.c) to symbol_find.
361 * read.h (is_end_of_line): Define for external use.
363 * i386.c (alloca): Use builtin_alloca or include or extern.
365 * Makefile: Add ALL and all: entries. Add asm29k entries.
366 Add cond.c and cond.o. Remove special handling for messages.o.
369 Thu Sep 27 13:43:49 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
371 * m68k.c (get_num) Fix so that 1:w is treated properly.
373 * Makefile Replace references to a.out.h with a.out.gnu.h
375 Tue Sep 25 15:50:36 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
377 * sparc.c (md_number_to_imm) Fix so that RELOC_32 locations contain
378 zero, so that it will work with some sparc loaders which don't assume
379 that the locations in question do. A xix line patch from Michael Bloom
380 (usc!srhqla!quad1!psivax!ttidca!mb@zaphod.mps.ohio-state.edu)
382 Mon Sep 24 11:43:15 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
384 * as.c #include <sys/types.h> if _POSIX_SOURCE defined. This because
385 <signal.h> uses pid_t that's defined in it.
387 * m68k.c reverse the sense of -l option, and allow :w and :l to
388 override the default size of AOFF indexes.
390 Also, allow -l to shorten branches to unknown labels from LONG to WORD.
392 Thu Sep 13 17:05:09 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
394 * vax.c (md_parse_option) Don't print a warning msg if given -J
396 Wed Sep 5 14:26:14 EDT 1990 Jay Fenlason
398 * expr.c (operand) Don't get garbaged high-order bits when given a
399 lot of leading zeroes.
401 Tue Sep 4 11:40:21 EDT 1990 Jay Fenlason
403 * read.c (pseudo_set) Compain if we're setting the symbol to the
404 difference of two symbols which are in different frags. (We can't
405 find out how far apart they are.)
407 Wed Aug 15 12:18:58 EDT 1990 Jay Fenlason
409 * m68k.c (m68k_ip_op) Dyke out the code that deals with parsing
410 :[wl] at the end of expressions since it is handled in get_num()
411 and this was putting the result in the wrong place anyway.
412 Corrected a couple of other references to ->isiz instead of con?->e_siz
414 Mon Aug 13 15:53:46 EDT 1990 Jay Fenlason
416 * read.c Handle .align specially on the sparc, or any other machine
417 where OTHER_ALIGN is defined. Added option and comments about it
420 Fri Aug 10 12:24:33 EDT 1990 Jay Fenlason
422 * m68k.c (get_num) Handle SEG_PASS1 expressions.
424 Mon Aug 6 16:32:29 EDT 1990 Jay Fenlason
426 * write.c (fixup_segment) Added two patches for the NS32k
427 and SEQUENT A six line patch from Ian Dall
428 (asgard!aegir!hugin!augean!sibyl!ian@munnari.oz.au)
430 Wed Aug 1 13:30:48 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
432 * m68k.c Include REGISTER_PREFIX ifdefs.
434 * write.c Include LOCAL_LABEL() and DOT_LABEL_PREFIX feature.
436 * vax.c (md_parse_option) Accept -H option.
438 * vms.c New version of case hasher, etc. These from Eric Youngdale
439 <YOUNGDALE@v6550c.nrl.navy.mil>
441 Fri Jul 20 13:39:02 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
443 * README Added README.APOLLO and README.COFF stuff
445 Wed Jul 18 16:29:22 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
447 * Makefile Added option for SEQUENT_COMPATABILITY
449 * ns32k.c Add configurable syntax feature from
450 ian@sibyl.eleceng.ua.oz@augean.ua.oz.au
451 and SEQUENT_COMPATABILITY
453 * ns32k-opcode.h Add configurable syntax feature.
455 Mon Jul 16 11:44:14 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
457 * write.c (relax_segment) On ns32k, add fragP->fr_pcrel_adjust to
459 (fixup_segment) On ns32k, don't subtract size from
460 add_number on pcrel external symbols.
462 * ns32k.c (md_relax_table) Use correct max displacements.
463 This is a six-line patch from ian@sibyl.eleceng.ua.oz.au
465 * ns32k.c (md_atof, convert_iif) Emit floating point numbers in
466 the correct byte order. A seven line patch from
467 ian@sibyl.eleceng.ua.oz.au
469 * ns32k.c (all over) Some lint fixes.
471 Mon Jul 9 13:17:00 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
473 * app.c (do_scrub_next_char) If a comment is #{whitespace}
474 don't treat the next line as comment also.
476 * m68k.c (...) Accept apc@(num:[wl]), etc.
478 * i386.c (md_assemble) Get bitfields correct when doing cross
479 assembly to 386. A two line patch from Michael Bloom.
480 (usc!srhqla!quad1!ttidca!mb@zaphod.mps.ohio-state.edu).
482 * README.APOLLO a new file with vasta@apollo's name, address
485 * make-gas.com Deleted references to gdb source files.
487 Fri Jul 6 14:34:27 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
489 * i386.c Ignore the .optim directive
491 * input-file.c Change from _IOLBF to _IOFBF in setbuffer emulation
494 Mon Jun 18 15:36:49 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
496 * sparc.c #ifdef DONTDEF s_sparc_align, since it isn't called from
499 Fri Jun 15 15:53:30 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
501 * vax.c (md_parse_option) make the code agree with the documentation
502 on the behaviour of the -d option.
504 Thu Jun 7 14:23:54 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
506 * atof-ieee.c (gen_to_words) Assemble 0r-0 correctly.
508 * Makefile Remove last references to gdb*.c files.
510 * version.c New version 1.36
512 Tue May 22 13:22:26 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
514 * Makefile Mention a work-around for a possible problem with HPUX7.0
516 Mon May 21 14:06:04 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
518 * sparc.c (sparc_ip): Change error message from "not in hash table"
521 Wed May 16 15:33:14 EDT 1990 hack@wookumz
523 * i386.c (i386_operand) Print error msg if given an operand like
524 4(mumble) which we can't parse.
526 * m68k.c (md_assemble) Add '3' to the list of operand-places that
527 can be found in 'symbol-dependent info'. Also change
528 'confusing width' diagnostic to something more meaningful.
530 Fri May 11 12:09:21 EDT 1990 hack@wookumz
532 app.c (do_scrub_next_char) Don't flush the line after a line
533 consisting of a single '/' A one-line patch from Mike Kupfer
534 (kupfer@orc.olivetti.com)
536 * i386.c (md_assemble) Call frag_wane() before calling frag_new()
537 A one line patch from Steve Bleazard (steve@robobar.co.uk
539 Tue May 8 12:56:25 EDT 1990 hack@wookumz
541 * atof-generic.c (atof-generic) Modified the Infinity detection code
542 to accept 0rinfinity and 0r-infinity as well as 0rinf and 0r-inf
544 Thu Apr 26 15:17:31 EDT 1990 hack@wookumz
546 * atof-ieee.c Change value of NaNs to 0x7fff ffff (float) and
547 0x7fff ffff ffff ffff (double) If you want some other value for
548 NaN, use .long and spell it out yourself.
550 atof-generic.c (atof_generic) Cleaned up code that detects NaN
553 vax.c (md_assemble) print a useful error message if expression()
554 returns SEG_PASS1 or SEG_DIFFERENCE and we can't deal with those.
556 Thu Apr 19 10:30:47 EDT 1990 hack@wookumz
558 * input-scrub.c (AFTER_STRING) Make AFTER_STRING contain a null
559 so that the strstr() call when looking for "#NO_APP" after a "#APP"
560 will work. A two character patch from Bruce Robertson
561 (bruce@heather.pooh.com)
563 * Makefile, i386.c Use atof-ieee.c instead of atof-i386.c
565 Mon Apr 16 16:20:55 EDT 1990 hack@wookumz
567 * m68k.c (md_relax_table) Many of the offsets were off by two.
568 Fixed some generic spacing problems thoughout the file.
570 Thu Apr 12 12:22:35 EDT 1990 hack@wookumz
572 * sparc.c (md_ri_to_chars) Handle little-endian cross assembly.
574 * write.c (relax_segment) Compare addresses correctly to avoid
575 accidentally relaxing a branch that we don't have to.
576 These small changes from John Gilmore (gnu@toad.com)
578 Fri Apr 6 12:52:15 EDT 1990 hack@wookumz
580 * Makefile, expr.c symbols.c Correctly document the SUN_ASM_SYNTAX
581 option, and make it work.
583 Tue Mar 20 12:46:59 EST 1990
585 * as.c (main) Only trap SIGHUP, SIGINT, SIGPIPE, and SIGTERM,
586 and only if they aren't being ignored. A three line patch
587 from Paul Eggert (eggert@twinsun.com)
589 * write.c (relax_segment) Correct typo 'growth - ' should have been
592 * atof-vax.c (next_bits, flonum_gen2vax) Clean up by sharing some
593 variables. While we're at it, fix next_bits so that it
594 doesn't use littlenums that don't exist. . .
596 Tue Mar 13 16:23:21 EST 1990 hack@wookumz
598 * Rename atof-m68k.c atof-ieee.c
600 * Delete atof-ns32k.c
602 * m68k.c sparc.c ns32k.c atof-ieee.c Call atof-ieee instead of
603 atof-m68k or atof-ns32k
605 * Makefile Compile with atof-ieee.c instead of atof-ns32k.c or
608 Mon Mar 12 14:06:55 EST 1990 hack@wookumz
610 * as.c If the signal handler gets called twice, exit immediatly.
612 * ns32k.c Call gen_to_words with a pointer of the proper type, and
613 call md_number_to_chars to put the results in the proper byte-order.
614 Whoever wrote this code was *sloppy*!
616 * Makefile ns32k.o depends on ns32k.c
618 * vax.c (md_parse_option) If VMS, accept -+ and -h options.
620 * vms.c (VMS_Case_Hack_Symbol) Replace #if NO_CASE_HACKING
621 with references to the -h option. These small VMS patches
622 from Angel Li (angel@flipper.miami.edu).
624 Thu Mar 8 19:18:59 EST 1990 hack@wookumz
625 * vms.c Some trivial patches from Eric Youngdale
626 (YOUNGDALE@v6550c.nrl.navy.mil)
628 Wed Mar 7 17:12:09 EST 1990 hack@wookumz
629 * make-gas.com (Define error as as_fatal when compiling vax.c and vms.c
630 A two line patch from Eric Youngdale
631 (YOUNGDALE@v6550c.nrl.navy.mil)
633 Tue Mar 6 16:01:09 EST 1990 hack@wookumz
635 * Makefile Include ns32k options in makefile. A small patch from
636 David Taylor (taylor@think.com).
638 * as.c read.c write.c Makefile #ifdef DONTDEF out all the gdb
639 symbol stuff, since it isn't used anymore and it doesn't work.
641 Mon Mar 5 14:51:04 EST 1990 hack@wookumz
643 * i386.c (md_assemble) Replace memchr() with index().
645 * as.c Trap signals 1 through NSIG, print an error msg, and don't
646 produce an object file.
648 * m68k.c Added a hack so that fsincosx fpx,fpy:fpz works.
650 * messages.c New function: as_bad This is like as_warn, except
651 -W doesn't disable it, and calling it inhibits production of an
652 object file and causes a non-zero exit code.
654 Tue Feb 13 14:25:53 EST 1990 hack@wookumz
655 * Makefile Include G0 and LOADLIBES for Sequent Symmetry.
656 Based on a small patch from Johan Widen (jw@sics.se)
658 Thu Feb 1 14:08:58 EST 1990 hack@wookumz
659 * m68k.c Replace 'abort' with 'abort()' which will work.
661 Wed Jan 24 17:15:08 EST 1990 hack@ai.mit.edu
663 * read.c (ignore_rest_of_line) Have it print the first junk char
664 in both decimal and %c form.
666 (read_a_source_file) On bad pseudo-op, print out the unknown
669 Tue Jan 23 13:12:48 EST 1990 hack@ai.mit.edu
671 * read.c (pseudo_set) If the symbol is external, have it remain
674 * i386-opcode.h Allow jc as a synonym for jb and jnc as a syn for jnb.
677 Wed Jan 3 09:35:31 EST 1990 hack@ai.mit.edu
679 * ns32k.c [cpureg_032] Change register id of psr from 0x0b to 0x0d
680 * ns32k-opcode.h Change shift-counts for lsh and lshd
681 to one byte instead of 2 and 4.
682 A Trivial patch from John F. Peters (think!ames!practic.com!jfp@eddie)
684 Tue Dec 5 16:37:44 EST 1989 hack@ai.mit.edu
686 * ns32k.c (md_create_{long,short}_jump) Six line patch from
687 John F Peters (think!ames!vine!practice.com!jfp) to use the
688 correct addressing mode and byte-order for broken-word stuff.
690 * write.c (write_object_file) One line patch to call fix_new_ns32k
691 with the correct # of args.
693 Fri Dec 1 16:44:21 EST 1989 hack@ai.mit.edu
695 * atof-generic.c, flonum-mult.c A real fix for the trailing-zeroes
696 problem from Georg Feil (ghfeil@white.toronto.edu) (two line change)
698 Mon Nov 27 15:30:46 EST 1989 hack@ai.mit.edu
700 * i386-opcode.h Fixed opcode-table entry for ljmp. A one char
701 patch from eliot@mgm.mit.edu
703 Mon Nov 20 12:41:28 EST 1989 hack@ai.mit.edu
705 * expr.c Replace the generic_buffer hack with a more portable one */
707 * atof-generic.c (atof_generic) Ignore trailing zeroes after a decimal
708 point. For some reason trailing zeroes (but not trailing nonzeroes) were
709 causing loss of precision. I don't know why. . .
711 * vms.c Change copyright notice. Install changes from Kenneth Adelman
712 (adelman@tgv.com) for c++? (A dozen lines or so)
714 Mon Nov 13 11:48:44 EST 1989 hack@ai.mit.edu
716 * Makefile Add BINDIR and use it to control where the executable is
719 * i386.c Use __builtin_alloca if possible (trivial patch from
720 Marco S. Hyman pacbell!dumbcat!marc)
722 Mon Nov 6 18:24:47 EST 1989 hack@ai.mit.edu
724 * version.c New version: 1.35 will be distributed with the
727 Mon Oct 30 10:38:11 EST 1989 hack@ai.mit.edu
729 * atof-m68k.c (atof_m68k) Don't put the bits[] array on the stack,
730 since it may be pointed to after atof-m68k exits.
732 Tue Oct 24 11:15:57 EDT 1989 hack@ai.mit.edu
734 * atof-m68k.c Added #define for bcopy on USG systems.
735 #ifdef TEST the print_gen() function.
737 * a.out.h if USE_HP_INC_HDR then use ../binutils/hp-include/a.out.h
739 Fri Oct 13 14:36:48 EDT 1989 hack@ai.mit.edu
741 * vax.c (all) Ran vax through indent -gnu to make it readable.
743 vax.c (vip_op) Correctly assemble code like jmp $*0x11223344
744 by setting vip_nbytes to 4 when using an immediate address.
747 m68k.c (s_proc (new)) Added s_proc no-op pseudo-op.
749 Makefile Added instructions for compiling on Sequent Symmetry
752 a.out.h Modified to compile on Sequent and HP above. (HP port
753 based on a msg from asjl@comp.vuw.ac.nz (real name unknown)).
755 Tue Oct 10 14:39:44 EDT 1989 hack@ai.mit.edu
756 * vax.c (vip_op) Fixed a typo in an error msg and cleaned
757 up some spacing stuff.
759 Wed Sep 27 19:07:12 EDT 1989 hack@ai.mit.edu
761 * app.c (do_scrub_next_char) Fixed parsing of
762 # <line> "file" garbage
763 text so that it'll work again? (8 line patch from Mike Hibler
766 Mon Sep 18 16:26:01 EDT 1989 hack@ai.mit.edu
768 * app.c (do_scrub_next_char): Modify parsing of /* ... */ to work
771 * sparc.c (sparc_ip): Don't abort on insns that use the Alternate
772 Spaces. Try to assemble them correctly.
774 Thu Sep 14 11:42:44 EDT 1989 hack@ai.mit.edu
776 * sparc.c (md_number_to_imm) Dozen line patch from jkp@sauna.hut.fi
777 (Jyrki Kuoppala) so that gas output will work with shared libraries.
779 * ns32k.c Include <string.h> instead of <strings.h> if USG defined.
781 (md_end) free(freeptr_static) instead of free(freeptr) .
783 * atof-ns32k.c Include as.h so that sysV stuff (bzero) will be
784 defined if needed. These ns32k changes from
785 nixbur!mollers.pad@seismo.css.gov (Josef Moellers)
787 Fri Sep 1 11:39:52 EDT 1989 hack@ai.mit.edu
789 * atof-m68k.c (gen_to_words) Get the sign right on negative
790 floating-point numbers.
792 Wed Aug 30 13:59:57 EDT 1989 hack@ai.mit.edu
794 * Makefile Remove the rest of the $< entries that kill sun make
796 Fri Aug 25 15:00:30 EDT 1989 Nobody You Know (hack@ai.mit.edu)
798 * atof-m68k.c (gen_to_words) deal with denormalized floating-point
801 Tue Aug 22 02:03:05 1989 Roland McGrath (roland at hobbes.ai.mit.edu)
803 * Makefile (gas-dist.tar): Put ChangeLog in the tar file.
805 * version.c: Added comment telling Jay Fenl--I mean people--not to put
806 changes in version.c, but to use ChangeLog instead.
808 * version.c (version_string): Put "GNU" in all-caps.
810 * version.c: Moved all comments about changes to ChangeLog (this file).
811 Many anonymous entries have been attributed to Jay Fenlason (hack).
813 Thu Aug 17 15:53:57 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
815 * Makefile: Removed $< references that seem
816 to choke some versions of make.
818 * frags.c (frag_grow): Fixed to deal with requests for very
819 large frags (larger than frags.chunk_size).
821 * app.c (do_scrub_next_char): Have it ignore any characters
822 after the filename in a # line "filename".
824 * sparc.c (s_common): On an error, don't print out
825 input_line_pointer past the end of the line where the error is.
827 * atof-generic.c (atof_generic): Accept any case for
830 * m68k.c (m68_ip): Don't use PC-relative mode for alterable
833 Tue Aug 15 04:58:36 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
835 * sparc.c (md_begin): Rewrote this function to perform consistency
836 checks with the new opcode table.
838 Fri Aug 11 16:01:16 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
840 * sparc-opcode.h (struct sparc_opcode): Replaced `mask' field with
841 `lose'; removed `last' field. Updated all opcodes accordingly.
842 Fixed several opcodes that generated the wrong instructions.
843 sparc.c (md_begin, sparc_ip): Changed to use new struct sparc_opcode.
845 Thu Aug 3 14:44:24 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
847 * Makefile (a32k): Use read- and write-ns32k.o
848 * ns32k.c (encode_operand): Make sure pcrel_adjust starts out zeroed.
849 * read.c (cons): Call fix_new_ns32k() if NS32K is defined.
850 * write.c (write_object_file): Ditto.
851 These so that .word sym-sym (etc) will produce values with
852 the proper byte-order.
854 Wed Aug 2 12:55:?? 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
856 * sparc.c (comment_chars[]): Removed '|' because it was causing
857 problems. Probably not the best fix, since I suspect other
858 assemblers (68020) may get | in .stabs also, and the 68020 needs
859 the '|' comment character.
861 Mon Jul 31 09:22:28 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu)
863 * sparc.c (sparc_ip): Allow the characters [0123] in opcodes.
865 Tue Jul 25 16:32:12 1989 Jay Fenlason (hack)
867 * atof-generic.c (atof_generic): Tried to keep
868 size_of_digits_in_littlenum from going negative.
870 * sparc-opcode.h: Added duplicate [i+1] entries to go with
871 the [1+i] entries already there. A kludgy fix, but it works.
873 Mon Jul 24 17:20:03 1989 Jay Fenlason (hack)
875 * write.c (relax_segment): Modified rs_org code so it won't
876 occasionally dump core.
878 * write.c (pseudo_set): Modified SEG_DIFFERENCE to (perhaps)
879 allow one to set a symbol to the difference of two other symbols.
881 * ns32k.c (convert_iif): Moved size_so_far+=size and size=0 inside
882 the check for a valid type.
884 * sparc-opcode.h: Modified the entries for std "q,[1+i]", "D,[1+i]",
887 (In version 1.34) Jay Fenlason (hack)
889 * Makefile: Reorganized, added stuff to make asparc.
891 * sparc.c, sparc-opcode.h, sparc.h: Sparc port.
893 * write.c: Set the size of text and bss segments to a multiple of eight
896 * m68k.c: Moved .single pseudo-op to machine independent part.
898 * atof-generic.c: Fixed type in #ifdef __GNUC__.
900 * sparc-opcode.h: Handle "mov REG, %y".
902 * make-gas.com: Know that error.c no longer exists.
904 * sparc.c: Handle [expr+reg].
905 Don't call getExpression when looking for an immediate and getting
906 something that starts with % and isn't %hi or %lo.
908 * Teach the 68k about long conditional branches.
910 (In version 1.33) Jay Fenlason (hack)
912 * Use __builtin_alloca if available.
914 * README: Added more instructions for reporting bugs.
916 * ns32k-opcode.h: Changed the acbb, acbw, and acbd insns.
918 * vax.c: Replaced instances of LENGTH[STRING] with STRING[LENGTH].
920 * ns32k.c (encode_operand): Increased max size of bit field for exts
921 and inss instructions from 31 to 32 bits.
923 * flonum-mult.c (flonum_multip): Fixed typo.
925 * m68kc.: Allow #32 to be the same as #0 for bit-field ops.
927 * make-gas.com, version.c, hex-value.c, flonum-const.c: VMS fixes.
929 * ns32k.c, ns32k-opcode.h: More fixes from taylor@think.com.
930 Mostly typos in comments, etc.
932 * ns32k-opcode.h: Fixed size of immediate operands to andw and andd
935 (In version 1.32) Jay Fenlason (hack)
937 * read.c (s_set): Fixed misnamed variable.
939 * as.c: Don't hang if given an invalid option.
941 * m68k.c: Fixed bug in creating absolute long addresses for branches.
943 * ns3k*: Some small ns32k patches.
945 * m68k.c: Recognize 0rnan, 0rinf, 0r-inf.
947 * app.c: Don't dump core on unterminated strings.
949 * symbols.c: Give reasonable error messages.
951 * ns32k*: Allow -m32032 and -m32532 options.
953 * atof-*.c: Added support for NaN, Inf, and -Inf in atof_generic and
954 the various descriptions.
956 * m68k.c (add_fix): Replace occurrences of "width==" with
957 "(width)==". This correct a precedence problem.
959 * write.c, struc-symbol.h, m68k-opcode.h, m-hpux.h, Makefile: Changes
960 for HP-UX from Chris Hanson (cph@kleph.ai.mit.edu).
962 * m68k-opcode.h: Reorder movem insns so gdb will see the ones using the
963 register list syntax first.
965 * symbols.c (colon): Give more useful error messages when something was
966 defined as a .comm and is now trying to be defined locally.
967 Also, redefining a symbol is a fatal, not a warning.
969 * m68k.c: Fixed a bug in using bignums as literal bit patterns for
970 floating-point numbers.
972 (In version 1.31) Jay Fenlason (hack)
974 * i386*: More patches.
976 * Moved machine-dependent option parsing into the machine-dependent
979 (In version 1.30) Jay Fenlason (hack)
981 * i386*: New new version.
983 * atof-m68k.c: Changed to be smaller, with somewhat better modularity.
984 Also fixed an obscure bug wherein next_bits would return random bits.
986 * m68k.c: Be more careful about creating PC-relative addressing modes
987 on the 68000 and 68010.
989 * frags.c (frag_new): Zero out the new frag.
991 * Don't choke on "foo= bar" or on formfeeds.
993 * read.c: Allow Sun-syntax local labels #ifdef SUN_ASM_SYNTAX.
994 * m-sun3.h: Defined SUN_ASM_SYNTAX.
996 (In version 1.29) Jay Fenlason (hack)
998 * i386.c: Newer version that fixes a bug wherein a jump instruction
999 would be split between two frags.
1001 * i386*: New version.
1003 * m68k.c: #ifdef M_SUN and -m68010, produce Sun-2 executables.
1005 (In version 1.28) Jay Fenlason (hack)
1007 * m68k.c: Added .single pseudo-op.
1009 * Made ". = X" and ".set .,X" equivalent to ".org X".
1010 The pseudo-symbol "." has the value of the location the assembler is
1011 currently assembling to.
1013 (In version 1.27) Jay Fenlason (hack)
1015 * Merged ns32k and i386 support.
1017 (In version 1.26) Jay Fenlason (hack)
1019 * Added partial ns32k support.
1021 * Added RMS's evil .word misfeature. Invented the -k (kludge) option
1022 to warn that this misfeature was used.
1024 * Modified some files to get rid of warnings from GCC.
1026 * Added fix so that / can also be a comment character by itself.
1028 (In version 1.25) Jay Fenlason (hack)
1030 * Installed patches for VMS.
1032 * as.h (SIZEOF_STRUCT_FRAG): Added space before backslash-newline.
1034 * messages.c: Fixed typo.
1036 * app.c: Handle : correctly.
1038 * error.c: Removed; no longer used.
1040 * m68k-opcode.h: Added fnop.
1041 Fixed to correctly handle fmovem with a register list and
1042 non-predecriment addressing mode.
1044 * m68k-opcode.h: Fixed to know about long form of FBcc insns.
1046 * write.c: Warn if a fixup ended up being wider than its field width.
1048 (In version 1.24) Jay Fenlason (hack)
1050 * Accept and ignore -mc68010 and -m68010 switches.
1052 * Correctly assemble long subroutine calls on the 68000 without using a
1053 68020-specific instruction.
1055 * When calling with no filenames, read stdin.
1057 (In version 1.23) Jay Fenlason (hack)
1061 * xmalloc.c, xrealloc.c: Replaced to work with GCC.
1063 (In version 1.22) Jay Fenlason (hack)
1065 * write.c: Fixed a VMS bug.
1067 * m68k.c: Fixed a bug having to do with turning absolute into
1070 * atof-m68k.c (atof_m68k, gen_to_words): Try to avoid a problem with
1071 running off the end of the LITTLENUMS.
1073 * vax.c: Fixed so parenthesized expressions work.
1075 * atof-generic.c: Added a cast that fixes problems with some C
1080 * Changes for VMS support and correct bitfield order for
1085 * m68k*: Fixed "fmovel #N, fpcr". Added fpcr and fpsr to the list of
1090 * m68k.c? (md_convert_frag): Don't put the fixups for absolute long to
1091 PC-relative in the data segment.
1093 * atof-generic.c: #include <alloca.h> #ifdef sparc.
1097 * Re-fixed _vfprintf stuff (?).
1099 * Made "movem REG, ADDR" work.
1101 * Improved preprocessing, without temporary files.
1105 * Don't produce an undefined empty symbol for ".globl foo," (a line
1106 ending with a comma).
1108 * Fixed a bug wherein ".long X" became ".long 0" on the Sparc.
1110 * Fixed a bug which caused many "#APP" "#NO_APP" pairs to dump core.
1112 * Fixed calls to _doprnt to call _vfprintf #ifndef NO_VARARGS.
1116 * Merged HP-UX changes from Chris Hanson (cph@zurich.ai.mit.edu).
1118 * flonum-multip.c: Renamed to flonum-mult.c.
1120 * m-hpux.h: Created.
1122 * m68k.c (bcopy): Fixed.
1126 * struct-symbol.h: Renamed to struc-symbol.h.
1130 * vax.c: Added a quick fix for the offset of fixed-width branches not
1131 fitting in the field given.
1133 * gdb-lines.c, read.c: Added support for .gdline and .gdbline
1138 * read.c, atof-generic.c: Fixed bugs in reading in floating-point
1141 * m68k-opcode.h: Made "fmovep a0@, fp0" work.
1145 * write.c: Fixed an obscure bug in relaction that would occasionally
1146 cause the assembler to stop relaxing when it really had at least one
1151 * m68k*: Allow register lists in fmovem.
1153 * Added more floating-point exponents.
1155 * Print an error message on exponent overflow.
1159 * Fixed floating point bugs that made it generate incorrect numbers for
1160 values over 10^16 or so.
1164 * Fixed bug wherein you couldn't forward reference local label 0.
1168 * m68k.c, m68k-opcode.h: Added support for fmovem with register lists.
1170 * Fixed an obscure bug having to do with generating PC-relative
1171 addressing mode for things in the middle of the instruction instead of
1174 Wed Mar 1 15:29:24 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1176 * *.*: Modified copyright notices to reflect new General Public
1179 * Makefile: Added copyright notice.
1181 Fri Feb 17 09:42:01 1989 Jay Fenlason (hack at spiff)
1183 * Patched frags.c so that new frags start out bzero()ed.
1185 Thu Jan 26 14:23:44 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
1187 * Added patches from pace to files as.h i386.c i386-opcode.h
1188 imull foo,%eax no longer gets assembled into the 32-64 bit
1189 multiply, which clobbers %edx behind gcc's back
1191 jcxz/jecxz were backwards
1193 There was a bug when using %ebp as a base register with no
1196 Instructions like andb $0xffffff, %al used to put out too many
1199 The splitting jump instructions across frags could happen when
1200 obstack_room()==6 too.
1205 version-control: never