Bring CHANGES hopefully up to date
[platform/upstream/nasm.git] / CHANGES
1 2.02
2 ----
3 * Additional fixes for MMX operands with explicit "qword", as well as
4   (hopefully) SSE operands with "oword".
5 * Fix handling of truncated strings with DO.
6 * Fix segfaults due to memory overwrites when floating-point constants
7   were used.
8 * Fix segfaults due to missing include files.
9 * Fix OpenWatcom Makefiles for DOS and OS/2.
10 * Add autogenerated instruction list back into the documentation.
11 * ELF: Fix segfault when generating stabs, and no symbols have been
12   defined.
13 * ELF: Experimental support for DWARF debugging information.
14 * New compile date and time standard macros.
15 * %ifnum now returns true for negative numbers.
16 * Add support for the XSAVE instruction group.
17 * Makefile for Netware/gcc.
18 * Fix issue with some warnings getting emitted way too many times.
19 * Autogenerated instruction list added to the documentation.
20
21 2.01
22 ----
23 * Fix the handling of MMX registers with explicit "qword" tags on
24   memory (broken in 2.00 due to 64-bit changes.)
25 * Fix the PREFETCH instructions.
26 * Fix the documentation.
27 * Fix debugging info when using "-f elf" (backwards alias for "-f
28   elf32").
29 * Man pages for rdoff tools (from the Debian project.)
30 * ELF: handle large numbers of sections.
31 * Fix corrupt output when the optimizer runs out of passes.
32
33 2.00
34 ----
35 * Added c99 data-type compliance.
36 * Added general x86-64 support.
37 * Added win64 (x86-64 COFF) output format.
38 * Added __BITS__ standard macro.
39 * Renamed the elf output format to elf32 for clarity.
40 * Added elf64 and macho (MacOS X) output formats.
41 * Added Numeric constants in DQ directive.
42 * Added oword, do and reso pseudo operands.
43 * Allow underscores in numbers.
44 * Added 8-, 16- and 128-bit floating-point formats.
45 * Added binary, octal and hexadecimal floating-point.
46 * Correct the generation of floating-point constants.
47 * Added Floating-point option control.
48 * Added Infinity and NaN floating point support.
49 * Added ELF Symbol Visibility support.
50 * Added Setting OSABI value in ELF header directive.
51 * Added Generate Makefile Dependencies option.
52 * Added Unlimited Optimization Passes option.
53 * Added %IFN and %ELIFN support.
54 * Added Logical Negation Operator.
55 * Enhanced Stack Relative Preprocessor Directives.
56 * Enhanced ELF Debug Formats.
57 * Enhanced Send Errors to a File option.
58 * Added SSSE3, SSE4.1, SSE4.2, SSE5 support.
59 * Added a large number of additional instructions.
60 * Significant performance improvements.
61
62 0.98.39
63 -------
64 * fix buffer overflow
65 * fix outas86's .bss handling
66 * "make spotless" no longer deletes config.h.in.
67 * %(el)if(n)idn insensitivity to string quotes difference (#809300).
68 * (nasm.c) __OUTPUT_FORMAT__ changed to string value instead of symbol.
69
70 0.98.38
71 -------
72 * Add Makefile for 16-bit DOS binaries under OpenWatcom, and modify
73   mkdep.pl to be able to generate completely pathless dependencies, as
74   required by OpenWatcom wmake (it supports path searches, but not
75   explicit paths.)
76 * Fix the STR instruction.
77 * Fix the ELF output format, which was broken under certain
78   circumstances due to the addition of stabs support.
79 * Quick-fix Borland format debug-info for -f obj  
80 * Fix for %rep with no arguments (#560568)
81 * Fix concatenation of preprocessor function call (#794686)
82 * Fix long label causes coredump (#677841)
83 * Use autoheader as well as autoconf to keep configure from generating
84   ridiculously long command lines.
85 * Make sure that all of the formats which support debugging output
86   actually will suppress debugging output when -g not specified.
87
88 0.98.37
89 -------
90 * Paths given in "-I" switch searched for "incbin"ed as
91   well as "%include"ed files.
92 * Added stabs debugging for the ELF output format, patch from
93   Martin Wawro.
94 * Fix output/outbin.c to allow origin > 80000000h.
95 * Make -U switch work.
96 * Fix the use of relative offsets with explicit prefixes, e.g. "a32 loop foo".
97 * Remove "backslash()".
98 * Fix the SMSW and SLDT instructions.
99 * -O2 and -O3 are no longer aliases for -O10 and -O15.  If you mean the
100   latter, please say so! :)
101
102 0.98.36
103 -------
104 * Update rdoff - librarian/archiver - common rec - docs!
105 * Fix signed/unsigned problems.
106 * Fix JMP FAR label and CALL FAR label.
107 * Add new multisection support - map files - fix align bug
108 * Fix sysexit, movhps/movlps reg,reg bugs in insns.dat
109 * "Q" or "O" suffixes indicate octal
110 * Support Prescott new instructions (PNI).
111 * Cyrix XSTORE instruction.
112
113 0.98.35
114 -------
115 * Fix build failure on 16-bit DOS (Makefile.bc3 workaround for compiler bug.)
116 * Fix dependencies and compiler warnings.
117 * Add "const" in a number of places.
118 * Add -X option to specify error reporting format (use -Xvc to
119   integrate with Microsoft Visual Studio.)
120 * Minor changes for code legibility.
121 * Drop use of tmpnam() in rdoff (security fix.)
122
123 0.98.34
124 -------
125 * Correct additional address-size vs. operand-size confusions.
126 * Generate dependencies for all Makefiles automatically.
127 * Add support for unimplemented (but theoretically available)
128   registers such as tr0 and cr5.  Segment registers 6 and 7 are called
129   segr6 and segr7 for the operations which they can be represented.
130 * Correct some disassembler bugs related to redundant address-size prefixes.
131   Some work still remains in this area.
132 * Correctly generate an error for things like "SEG eax".
133 * Add the JMPE instruction, enabled by "CPU IA64".
134 * Correct compilation on newer gcc/glibc platforms.
135 * Issue an error on things like "jmp far eax".
136
137
138 0.98.33
139 -------
140
141 * New __NASM_PATCHLEVEL__ and __NASM_VERSION_ID__ standard macros to
142   round out the version-query macros.  version.pl now understands
143   X.YYplWW or X.YY.ZZplWW as a version number, equivalent to
144   X.YY.ZZ.WW (or X.YY.0.WW, as appropriate).
145 * New keyword "strict" to disable the optimization of specific
146   operands.
147 * Fix the handing of size overrides with JMP instructions
148   (instructions such as "jmp dword foo".)
149 * Fix the handling of "ABSOLUTE label", where "label" points into a
150   relocatable segment.
151 * Fix OBJ output format with lots of externs.
152 * More documentation updates.
153 * Add -Ov option to get verbose information about optimizations.
154 * Undo a braindead change which broke %elif directives.
155 * Makefile updates.
156
157
158 0.98.32
159 -------
160
161 * Fix NASM crashing when %macro directives were left unterminated.
162 * Lots of documentation updates.
163 * Complete rewrite of the PostScript/PDF documentation generator.
164 * The MS Visual C++ Makefile was updated and corrected.
165 * Recognize .rodata as a standard section name in ELF.
166 * Fix some obsolete Perl4-isms in Perl scripts.
167 * Fix configure.in to work with autoconf 2.5x.
168 * Fix a couple of "make cleaner" misses.
169 * Make the normal "./configure && make" work with Cygwin.
170
171
172 0.98.31
173 -------
174
175 * Correctly build in a separate object directory again.
176 * Derive all references to the version number from the version file.
177 * New standard macros __NASM_SUBMINOR__ and __NASM_VER__ macros.
178 * Lots of Makefile updates and bug fixes.
179 * New %ifmacro directive to test for multiline macros.
180 * Documentation updates.
181 * Fixes for 16-bit OBJ format output.
182 * Changed the NASM environment variable to NASMENV.
183
184
185 0.98.30
186 -------
187
188 * Changed doc files a lot: completely removed old READMExx and
189   Wishlist files, incorporating all information in CHANGES and TODO.
190 * I waited a long time to rename zoutieee.c to (original) outieee.c
191 * moved all output modules to output/ subdirectory.
192 * Added 'make strip' target to strip debug info from nasm & ndisasm.
193 * Added INSTALL file with installation instructions.
194 * Added -v option description to nasm man.
195 * Added dist makefile target to produce source distributions.
196 * 16-bit support for ELF output format (GNU extension, but useful.)
197
198
199 0.98.28
200 -------
201
202 * Fastcooked this for Debian's Woody release:
203 Frank applied the INCBIN bug patch to 0.98.25alt and called
204 it 0.98.28 to not confuse poor little apt-get.
205
206
207 0.98.26
208 -------
209
210 * Reorganised files even better from 0.98.25alt
211
212
213 0.98.25alt
214 ----------
215
216 * Prettified the source tree. Moved files to more reasonable places.
217 * Added findleak.pl script to misc/ directory.
218 * Attempted to fix doc.
219
220 0.98.25
221 -------
222
223 * Line continuation character '\'
224 * Docs inadvertantly reverted - "dos packaging".
225
226
227 0.98.24p1
228 ---------
229
230 * FIXME: Someone, document this please.
231
232
233 0.98.24
234 -------
235
236 * Documentation - Ndisasm doc added to Nasm.doc.
237
238
239 0.98.23
240 -------
241
242 * Attempted to remove rdoff version1
243 * Lino Mastrodomenico's patches to preproc.c (%$$ bug?).
244
245
246 0.98.22
247 -------
248
249 * Update rdoff2 - attempt to remove v1.
250
251
252 0.98.21
253 -------
254
255 * Optimization fixes.
256
257
258 0.98.20
259 -------
260
261 * Optimization fixes.
262
263
264 0.98.19
265 -------
266
267 * H. J. Lu's patch back out.
268
269
270 0.98.18
271 -------
272
273 * Added ".rdata" to "-f win32".
274
275
276 0.98.17
277 -------
278
279 * H. J. Lu's "bogus elf" patch. (Red Hat problem?)
280
281
282 0.98.16
283 -------
284
285 * Fix whitespace before "[section ..." bug.
286
287 0.98.15
288 -------
289
290 * Rdoff changes (?).
291 * Fix fixes to memory leaks.
292
293 0.98.14
294 -------
295
296 * Fix memory leaks.
297 * (there was no '.13)
298
299 0.98.12
300 -------
301
302 * Update optimization (new function of "-O1")
303 * Changes to test/bintest.asm (?).
304
305 0.98.11
306 -------
307
308 * Optimization changes.
309 * Ndisasm fixed.
310 * (there was no '.10)
311
312 0.98.09
313 -------
314
315 * Add multiple sections support to "-f bin".
316 * Changed GLOBAL_TEMP_BASE in outelf.c from 6 to 15.
317 * Add "-v" as an alias to the "-r" switch.
318 * Remove "#ifdef" from Tasm compatibility options.
319 * Remove redundant size-overrides on "mov ds, ex", etc.
320 * Fixes to SSE2, other insns.dat (?).
321 * Enable uppercase "I" and "P" switches.
322 * Case insinsitive "seg" and "wrt".
323 * Update install.sh (?).
324 * Allocate tokens in blocks.
325 * Improve "invalid effective address" messages.
326
327 0.98.08
328 -------
329
330 * Add "%strlen" and "%substr" macro operators
331 * Fixed broken c16.mac.
332 * Unterminated string error reported.
333 * Fixed bugs as per 0.98bf
334
335
336 0.98.09b with John Coffman patches released 28-Oct-2001
337 -------------------------------------------------------
338
339 Changes from 0.98.07 release to 98.09b as of 28-Oct-2001
340
341 * More closely compatible with 0.98 when -O0 is implied
342 or specified.  Not strictly identical, since backward 
343 branches in range of short offsets are recognized, and signed
344 byte values with no explicit size specification will be
345 assembled as a single byte.
346
347 * More forgiving with the PUSH instruction.  0.98 requires
348 a size to be specified always.  0.98.09b will imply the size
349 from the current BITS setting (16 or 32).
350
351 * Changed definition of the optimization flag:
352
353         -O0     strict two-pass assembly, JMP and Jcc are
354                 handled more like 0.98, except that back-
355                 ward JMPs are short, if possible.
356
357         -O1     strict two-pass assembly, but forward
358                 branches are assembled with code guaranteed
359                 to reach; may produce larger code than
360                 -O0, but will produce successful assembly
361                 more often if branch offset sizes are not
362                 specified.
363
364         -O2     multi-pass optimization, minimize branch
365                 offsets; also will minimize signed immed-
366                 iate bytes, overriding size specification.
367
368         -O3     like -O2, but more passes taken, if needed
369
370
371 0.98.07 released 01/28/01
372 -------------------------
373
374 *       Added Stepane Denis' SSE2 instructions to a *working*
375         version of the code - some earlier versions were based on
376         broken code - sorry 'bout that. version "0.98.07"
377
378
379 01/28/01
380 --------
381
382 *       Cosmetic modifications to nasm.c, nasm.h,
383         AUTHORS, MODIFIED
384
385
386 0.98.06f released 01/18/01
387 --------------------------
388
389 *       - Add "metalbrain"s jecxz bug fix in insns.dat
390         - alter nasmdoc.src to match - version "0.98.06f"
391
392
393 0.98.06e released 01/09/01
394 --------------------------
395
396 *       Removed the "outforms.h" file - it appears to be
397         someone's old backup of "outform.h". version "0.98.06e" 
398
399
400 01/09/01
401 --------
402
403 * fbk - finally added the fix for the "multiple %includes bug",
404         known since 7/27/99 - reported originally (?) and sent to
405         us by Austin Lunnen - he reports that John Fine had a fix
406         within the day. Here it is...
407
408 * Nelson Rush resigns from the group. Big thanks to Nelson for
409   his leadership and enthusiasm in getting these changes
410   incorporated into Nasm!
411
412 * fbk - [list +], [list -] directives - ineptly implemented, should
413         be re-written or removed, perhaps.
414
415 * Brian Raiter / fbk - "elfso bug" fix - applied to aoutb format
416                        as well - testing might be desirable...
417
418
419 08/07/00
420 --------
421
422 * James Seter - -postfix, -prefix command line switches.
423 * Yuri Zaporogets - rdoff utility changes.
424
425
426 0.98p1
427 ------
428
429 * GAS-like palign (Panos Minos)
430 * FIXME: Someone, fill this in with details
431
432
433 0.98bf (bug-fixed)
434 ----------------------------------
435
436 * Fixed - elf and aoutb bug - shared libraries
437         - multiple "%include" bug in "-f obj"   
438         - jcxz, jecxz bug
439         - unrecognized option bug in ndisasm 
440
441 0.98.03 with John Coffman's changes released 27-Jul-2000
442 --------------------------------------------------------
443
444 * Added signed byte optimizations for the 0x81/0x83 class
445 of instructions: ADC, ADD, AND, CMP, OR, SBB, SUB, XOR:
446 when used as 'ADD reg16,imm' or 'ADD reg32,imm.'  Also
447 optimization of signed byte form of 'PUSH imm' and 'IMUL
448 reg,imm'/'IMUL reg,reg,imm.'  No size specification is needed.
449
450 * Added multi-pass JMP and Jcc offset optimization.  Offsets
451 on forward references will preferentially use the short form,
452 without the need to code a specific size (short or near) for
453 the branch.  Added instructions for 'Jcc label' to use the
454 form 'Jnotcc $+3/JMP label', in cases where a short offset
455 is out of bounds.  If compiling for a 386 or higher CPU, then
456 the 386 form of Jcc will be used instead.
457
458 This feature is controlled by a new command-line switch: "O",
459 (upper case letter O).  "-O0" reverts the assembler to no
460 extra optimization passes, "-O1" allows up to 5 extra passes,
461 and "-O2"(default), allows up to 10 extra optimization passes.
462
463 * Added a new directive:  'cpu XXX', where XXX is any of: 
464 8086, 186, 286, 386, 486, 586, pentium, 686, PPro, P2, P3 or
465 Katmai.  All are case insensitive.  All instructions will
466 be selected only if they apply to the selected cpu or lower.
467 Corrected a couple of bugs in cpu-dependence in 'insns.dat'.
468
469 * Added to 'standard.mac', the "use16" and "use32" forms of
470 the "bits 16/32" directive. This is nothing new, just conforms
471 to a lot of other assemblers. (minor)
472
473 * Changed label allocation from 320/32 (10000 labels @ 200K+) 
474 to 32/37 (1000 labels); makes running under DOS much easier.
475 Since additional label space is allocated dynamically, this
476 should have no effect on large programs with lots of labels.
477 The 37 is a prime, believed to be better for hashing. (minor)
478
479 * Integrated patchfile 0.98-0.98.01.  I call this version
480 0.98.03, for historical reasons:  0.98.02 was trashed.
481
482 --John Coffman <johninsd@san.rr.com>               27-Jul-2000
483
484
485 Kendall Bennett's SciTech MGL changes
486 -------------------------------------
487 Note that you must define "TASM_COMPAT" at compile-time
488 to get the Tasm Ideal Mode compatibility.
489
490 All changes can be compiled in and out using the TASM_COMPAT macros,
491 and when compiled without TASM_COMPAT defined we get the exact same
492 binary as the unmodified 0.98 sources.
493
494 standard.mac, macros.c:
495  . Added macros to ignore TASM directives before first include
496
497 nasm.h:
498  . Added extern declaration for tasm_compatible_mode
499
500 nasm.c:
501  . Added global variable tasm_compatible_mode
502  . Added command line switch for TASM compatible mode (-t)
503  . Changed version command line to reflect when compiled with TASM additions
504  . Added response file processing to allow all arguments on a single
505    line (response file is @resp rather than -@resp for NASM format).
506
507 labels.c:
508  . Changes islocal() macro to support TASM style @@local labels.
509  . Added islocalchar() macro to support TASM style @@local labels.
510
511 parser.c:
512  . Added support for TASM style memory references (ie: mov [DWORD eax],10
513    rather than the NASM style mov DWORD [eax],10).
514
515 preproc.c:
516  . Added new directives, %arg, %local, %stacksize to directives table
517  . Added support for TASM style directives without a leading % symbol.
518
519 Integrated a block of changes from Andrew Zabolotny <bit@eltech.ru>:
520
521 * A new keyword %xdefine and its case-insensitive counterpart %ixdefine.
522     They work almost the same way as %define and %idefine but expand
523     the definition immediately, not on the invocation. Something like a cross
524     between %define and %assign. The "x" suffix stands for "eXpand", so
525     "xdefine" can be deciphered as "expand-and-define". Thus you can do
526     things like this:
527
528         %assign ofs     0
529         
530         %macro  arg     1
531                 %xdefine %1 dword [esp+ofs]
532                 %assign ofs ofs+4
533         %endmacro
534
535 * Changed the place where the expansion of %$name macros are expanded.
536     Now they are converted into ..@ctxnum.name form when detokenizing, so
537     there are no quirks as before when using %$name arguments to macros,
538     in macros etc. For example:
539
540         %macro  abc     1
541                 %define %1 hello
542         %endm
543
544         abc     %$here
545         %$here
546
547     Now last line will be expanded into "hello" as expected. This also allows
548     for lots of goodies, a good example are extended "proc" macros included
549     in this archive.
550
551 * Added a check for "cstk" in smacro_defined() before calling get_ctx() -
552     this allows for things like:
553
554         %ifdef %$abc
555         %endif
556
557     to work without warnings even in no context.
558
559 * Added a check for "cstk" in %if*ctx and %elif*ctx directives -
560     this allows to use %ifctx without excessive warnings. If there is
561     no active context, %ifctx goes through "false" branch.
562
563 * Removed "user error: " prefix with %error directive: it just clobbers the
564     output and has absolutely no functionality. Besides, this allows to write
565     macros that does not differ from built-in functions in any way.
566
567 * Added expansion of string that is output by %error directive. Now you
568     can do things like:
569
570         %define hello(x) Hello, x!
571
572         %define %$name andy
573         %error "hello(%$name)"
574
575     Same happened with %include directive.
576
577 * Now all directives that expect an identifier will try to expand and
578     concatenate everything without whitespaces in between before usage.
579     For example, with "unfixed" nasm the commands
580
581         %define %$abc hello
582         %define __%$abc goodbye
583         __%$abc
584
585     would produce "incorrect" output: last line will expand to
586
587         hello goodbyehello
588
589     Not quite what you expected, eh? :-) The answer is that preprocessor
590     treats the %define construct as if it would be
591
592         %define __ %$abc goodbye
593
594     (note the white space between __ and %$abc). After my "fix" it
595     will "correctly" expand into
596
597         goodbye
598
599     as expected. Note that I use quotes around words "correct", "incorrect"
600     etc because this is rather a feature not a bug; however current behaviour
601     is more logical (and allows more advanced macro usage :-).
602
603     Same change was applied to:
604         %push,%macro,%imacro,%define,%idefine,%xdefine,%ixdefine,
605         %assign,%iassign,%undef
606
607 * A new directive [WARNING {+|-}warning-id] have been added. It works only
608     if the assembly phase is enabled (i.e. it doesn't work with nasm -e).
609
610 * A new warning type: macro-selfref. By default this warning is disabled;
611     when enabled NASM warns when a macro self-references itself; for example
612     the following source:
613
614         [WARNING macro-selfref]
615
616         %macro          push    1-*
617                 %rep    %0
618                         push    %1
619                         %rotate 1
620                 %endrep
621         %endmacro
622
623                         push    eax,ebx,ecx
624
625     will produce a warning, but if we remove the first line we won't see it
626     anymore (which is The Right Thing To Do {tm} IMHO since C preprocessor
627     eats such constructs without warnings at all).
628
629 * Added a "error" routine to preprocessor which always will set ERR_PASS1
630     bit in severity_code. This removes annoying repeated errors on first
631     and second passes from preprocessor.
632
633 * Added the %+ operator in single-line macros for concatenating two
634     identifiers. Usage example:
635
636         %define _myfunc _otherfunc
637         %define cextern(x) _ %+ x
638         cextern (myfunc)
639
640     After first expansion, third line will become "_myfunc". After this
641     expansion is performed again so it becomes "_otherunc".
642
643 * Now if preprocessor is in a non-emmitting state, no warning or error
644     will be emmitted. Example:
645
646         %if 1
647                 mov     eax,ebx
648         %else
649                 put anything you want between these two brackets,
650                 even macro-parameter references %1 or local labels %$zz
651                 or macro-local labels %%zz - no warning will be emmitted.
652         %endif
653
654 * Context-local variables on expansion as a last resort are looked up
655     in outer contexts. For example, the following piece:
656
657         %push   outer
658         %define %$a [esp]
659
660                 %push   inner
661                 %$a
662                 %pop
663         %pop
664
665     will expand correctly the fourth line to [esp]; if we'll define another
666     %$a inside the "inner" context, it will take precedence over outer
667     definition. However, this modification has been applied only to
668     expand_smacro and not to smacro_define: as a consequence expansion
669     looks in outer contexts, but %ifdef won't look in outer contexts.
670
671     This behaviour is needed because we don't want nested contexts to
672     act on already defined local macros. Example:
673
674         %define %$arg1  [esp+4]
675         test    eax,eax
676         if      nz
677                 mov     eax,%$arg1
678         endif
679
680     In this example the "if" mmacro enters into the "if" context, so %$arg1
681     is not valid anymore inside "if". Of course it could be worked around
682     by using explicitely %$$arg1 but this is ugly IMHO.
683
684 * Fixed memory leak in %undef. The origline wasn't freed before
685     exiting on success.
686
687 * Fixed trap in preprocessor when line expanded to empty set of tokens.
688     This happens, for example, in the following case:
689
690         #define SOMETHING
691         SOMETHING
692
693
694 0.98
695 ----
696
697 All changes since NASM 0.98p3 have been produced by H. Peter Anvin <hpa@zytor.com>.
698
699 * The documentation comment delimiter is \# not #.
700 * Allow EQU definitions to refer to external labels; reported by
701   Pedro Gimeno.
702 * Re-enable support for RDOFF v1; reported by Pedro Gimeno.
703 * Updated License file per OK from Simon and Julian.
704
705
706 0.98p9
707 ------
708
709 * Update documentation (although the instruction set reference will
710   have to wait; I don't want to hold up the 0.98 release for it.)
711 * Verified that the NASM implementation of the PEXTRW and PMOVMSKB
712   instructions is correct.  The encoding differs from what the Intel
713   manuals document, but the Pentium III behaviour matches NASM, not
714   the Intel manuals.
715 * Fix handling of implicit sizes in PSHUFW and PINSRW, reported by
716   Stefan Hoffmeister.
717 * Resurrect the -s option, which was removed when changing the
718   diagnostic output to stdout.
719
720
721 0.98p8
722 ------
723
724 * Fix for "DB" when NASM is running on a bigendian machine.
725 * Invoke insns.pl once for each output script, making Makefile.in
726   legal for "make -j".
727 * Improve the Unix configure-based makefiles to make package
728   creation easier.
729 * Included an RPM .spec file for building RPM (RedHat Package Manager)
730   packages on Linux or Unix systems.
731 * Fix Makefile dependency problems.
732 * Change src/rdsrc.pl to include sectioning information in info
733   output; required for install-info to work.
734 * Updated the RDOFF distribution to version 2 from Jules; minor
735   massaging to make it compile in my environment.
736 * Split doc files that can be built by anyone with a Perl interpreter off
737   into a separate archive.
738 * "Dress rehearsal" release!
739
740
741 0.98p7
742 ------
743
744 * Fixed opcodes with a third byte-sized immediate argument to not
745   complain if given "byte" on the immediate.
746 * Allow %undef to remove single-line macros with arguments.  This
747   matches the behaviour of #undef in the C preprocessor.
748 * Allow -d, -u, -i and -p to be specified as -D, -U, -I and -P for
749   compatibility with most C compilers and preprocessors.  This allows
750   Makefile options to be shared between cc and nasm, for example.
751 * Minor cleanups.
752 * Went through the list of Katmai instructions and hopefully fixed the
753   (rather few) mistakes in it.
754 * (Hopefully) fixed a number of disassembler bugs related to ambiguous
755   instructions (disambiguated by -p) and SSE instructions with REP.
756 * Fix for bug reported by Mark Junger: "call dword 0x12345678" should
757   work and may add an OSP (affected CALL, JMP, Jcc).
758 * Fix for environments when "stderr" isn't a compile-time constant.
759
760
761 0.98p6
762 ------
763
764 * Took officially over coordination of the 0.98 release; so drop
765   the p3.x notation. Skipped p4 and p5 to avoid confusion with John
766   Fine's J4 and J5 releases.
767 * Update the documentation; however, it still doesn't include
768   documentation for the various new instructions.  I somehow wonder if
769   it makes sense to have an instruction set reference in the assembler
770   manual when Intel et al have PDF versions of their manuals online.
771 * Recognize "idt" or "centaur" for the -p option to ndisasm.
772 * Changed error messages back to stderr where they belong, but add an
773   -E option to redirect them elsewhere (the DOS shell cannot redirect
774   stderr.)
775 * -M option to generate Makefile dependencies (based on code from Alex
776   Verstak.)
777 * %undef preprocessor directive, and -u option, that undefines a
778   single-line macro.
779 * OS/2 Makefile (Mkfiles/Makefile.os2) for Borland under OS/2; from
780   Chuck Crayne.
781 * Various minor bugfixes (reported by):
782   - Dangling %s in preproc.c (Martin Junker)
783 * THERE ARE KNOWN BUGS IN SSE AND THE OTHER KATMAI INSTRUCTIONS.  I am
784   on a trip and didn't bring the Katmai instruction reference, so I
785   can't work on them right now.
786 * Updated the License file per agreement with Simon and Jules to
787   include a GPL distribution clause.
788
789
790 0.98p3.7
791 --------
792
793 * (Hopefully) fixed the canned Makefiles to include the outrdf2 and
794   zoutieee modules.
795 * Renamed changes.asm to changed.asm.
796
797
798 0.98p3.6
799 --------
800
801 * Fixed a bunch of instructions that were added in 0.98p3.5 which had
802   memory operands, and the address-size prefix was missing from the
803   instruction pattern.
804
805
806 0.98p3.5
807 --------
808
809 * Merged in changes from John S. Fine's 0.98-J5 release.  John's based
810   0.98-J5 on my 0.98p3.3 release; this merges the changes.
811 * Expanded the instructions flag field to a long so we can fit more
812   flags; mark SSE (KNI) and AMD or Katmai-specific instructions as
813   such.
814 * Fix the "PRIV" flag on a bunch of instructions, and create new
815   "PROT" flag for protected-mode-only instructions (orthogonal to if
816   the instruction is privileged!) and new "SMM" flag for SMM-only
817   instructions.
818 * Added AMD-only SYSCALL and SYSRET instructions.
819 * Make SSE actually work, and add new Katmai MMX instructions.
820 * Added a -p (preferred vendor) option to ndisasm so that it can
821   distinguish e.g. Cyrix opcodes also used in SSE.  For example:
822
823         ndisasm -p cyrix aliased.bin
824         00000000  670F514310        paddsiw mm0,[ebx+0x10]
825         00000005  670F514320        paddsiw mm0,[ebx+0x20]
826         ndisasm -p intel aliased.bin
827         00000000  670F514310        sqrtps xmm0,[ebx+0x10]
828         00000005  670F514320        sqrtps xmm0,[ebx+0x20]
829 * Added a bunch of Cyrix-specific instructions.
830
831
832 0.98p3.4
833 --------
834
835 * Made at least an attempt to modify all the additional Makefiles (in
836   the Mkfiles directory).  I can't test it, but this was the best I
837   could do.
838 * DOS DJGPP+"Opus Make" Makefile from John S. Fine.
839 * changes.asm changes from John S. Fine.
840
841
842 0.98p3.3
843 --------
844
845 * Patch from Conan Brink to allow nesting of %rep directives.
846 * If we're going to allow INT01 as an alias for INT1/ICEBP (one of
847   Jules 0.98p3 changes), then we should allow INT03 as an alias for INT3
848   as well.
849 * Updated changes.asm to include the latest changes.
850 * Tried to clean up the <CR>s that had snuck in from a DOS/Windows
851   environment into my Unix environment, and try to make sure than
852   DOS/Windows users get them back.
853 * We would silently generate broken tools if insns.dat wasn't sorted
854   properly.  Change insns.pl so that the order doesn't matter.
855 * Fix bug in insns.pl (introduced by me) which would cause conditional
856   instructions to have an extra "cc" in disassembly, e.g. "jnz"
857   disassembled as "jccnz".
858
859
860 0.98p3.2
861 --------
862
863 * Merged in John S. Fine's changes from his 0.98-J4 prerelease; see
864   http://www.csoft.net/cz/johnfine/
865 * Changed previous "spotless" Makefile target (appropriate for distribution)
866   to "distclean", and added "cleaner" target which is same as "clean"
867   except deletes files generated by Perl scripts; "spotless" is union.
868 * Removed BASIC programs from distribution.  Get a Perl interpreter
869   instead (see below.)
870 * Calling this "pre-release 3.2" rather than "p3-hpa2" because of
871   John's contributions.
872 * Actually link in the IEEE output format (zoutieee.c); fix a bunch of
873   compiler warnings in that file.  Note I don't know what IEEE output
874   is supposed to look like, so these changes were made "blind".
875
876
877 0.98p3-hpa
878 ----------
879
880 * Merged nasm098p3.zip with nasm-0.97.tar.gz to create a fully
881   buildable version for Unix systems (Makefile.in updates, etc.)
882 * Changed insns.pl to create the instruction tables in nasm.h and
883   names.c, so that a new instruction can be added by adding it *only*
884   to insns.dat.
885 * Added the following new instructions: SYSENTER, SYSEXIT, FXSAVE,
886   FXRSTOR, UD1, UD2 (the latter two are two opcodes that Intel
887   guarantee will never be used; one of them is documented as UD2 in
888   Intel documentation, the other one just as "Undefined Opcode" --
889   calling it UD1 seemed to make sense.)
890 * MAX_SYMBOL was defined to be 9, but LOADALL286 and LOADALL386 are 10
891   characters long.  Now MAX_SYMBOL is derived from insns.dat.
892 * A note on the BASIC programs included: forget them.  insns.bas is
893   already out of date.  Get yourself a Perl interpreter for your
894   platform of choice at:
895
896         http://www.cpan.org/ports/index.html
897
898
899 0.98 pre-release 3
900 -------------------
901
902 added response file support, improved command line handling, new layout
903 help screen
904
905 fixed limit checking bug, 'OUT byte nn, reg' bug, and a couple of rdoff
906 related bugs, updated Wishlist; 0.98 Prerelease 3.
907
908
909 0.98 pre-release 2
910 -------------------
911
912 fixed bug in outcoff.c to do with truncating section names longer
913 than 8 characters, referencing beyond end of string; 0.98 pre-release 2
914
915
916 0.98 pre-released May 1999
917 --------------------------
918
919 Fixed a bug whereby STRUC didn't work at all in RDF.
920
921 Fixed a problem with group specification in PUBDEFs in OBJ.
922
923 Improved ease of adding new output formats. Contribution due to
924 Fox Cutter.
925
926 Fixed a bug in relocations in the `bin' format: was showing up when
927 a relocatable reference crossed an 8192-byte boundary in any output
928 section.
929
930 Fixed a bug in local labels: local-label lookups were inconsistent
931 between passes one and two if an EQU occurred between the definition
932 of a global label and the subsequent use of a local label local to
933 that global.
934
935 Fixed a seg-fault in the preprocessor (again) which happened when
936 you use a blank line as the first line of a multi-line macro
937 definition and then defined a label on the same line as a call to
938 that macro.
939
940 Fixed a stale-pointer bug in the handling of the NASM environment
941 variable. Thanks to Thomas McWilliams.
942
943 ELF had a hard limit on the number of sections which caused
944 segfaults when transgressed. Fixed.
945
946 Added ability for ndisasm to read from stdin by using `-' as the
947 filename.
948
949 ndisasm wasn't outputting the TO keyword. Fixed.
950
951 Fixed error cascade on bogus expression in %if - an error in
952 evaluation was causing the entire %if to be discarded, thus creating
953 trouble later when the %else or %endif was encountered.
954
955 Forward reference tracking was instruction-granular not operand-
956 granular, which was causing 286-specific code to be generated
957 needlessly on code of the form `shr word [forwardref],1'. Thanks to
958 Jim Hague for sending a patch.
959
960 All messages now appear on stdout, as sending them to stderr serves
961 no useful purpose other than to make redirection difficult.
962
963 Fixed the problem with EQUs pointing to an external symbol - this
964 now generates an error message.
965
966 Allowed multiple size prefixes to an operand, of which only the first
967 is taken into account.
968
969 Incorporated John Fine's changes, including fixes of a large number
970 of preprocessor bugs, some small problems in OBJ, and a reworking of
971 label handling to define labels before their line is assembled, rather
972 than after.
973
974 Reformatted a lot of the source code to be more readable. Included
975 'coding.txt' as a guideline for how to format code for contributors.
976
977 Stopped nested %reps causing a panic - they now cause a slightly more
978 friendly error message instead.
979
980 Fixed floating point constant problems (patch by Pedro Gimeno)
981
982 Fixed the return value of insn_size() not being checked for -1, indicating
983 an error.
984
985 Incorporated 3D now instructions.
986
987 Fixed the 'mov eax, eax + ebx' bug.
988
989 Fixed the GLOBAL EQU bug in ELF. Released developers release 3.
990
991 Incorporated John Fine's command line parsing changes
992
993 Incorporated David Lindauer's OMF debug support
994
995 Made changes for LCC 4.0 support (__NASM_CDecl__, removed register size
996 specification warning when sizes agree).
997
998 Released NASM 0.98 Pre-release 1
999
1000
1001 0.97 released December 1997
1002 ---------------------------
1003
1004 This was entirely a bug-fix release to 0.96, which seems to have got
1005 cursed. Silly me.
1006
1007 Fixed stupid mistake in OBJ which caused `MOV EAX,<constant>' to
1008 fail. Caused by an error in the `MOV EAX,<segment>' support.
1009
1010 ndisasm hung at EOF when compiled with lcc on Linux because lcc on
1011 Linux somehow breaks feof(). ndisasm now does not rely on feof().
1012
1013 A heading in the documentation was missing due to a markup error in
1014 the indexing. Fixed.
1015
1016 Fixed failure to update all pointers on realloc() within extended-
1017 operand code in parser.c. Was causing wrong behaviour and seg faults
1018 on lines such as `dd 0.0,0.0,0.0,0.0,...'
1019
1020 Fixed a subtle preprocessor bug whereby invoking one multi-line
1021 macro on the first line of the expansion of another, when the second
1022 had been invoked with a label defined before it, didn't expand the
1023 inner macro. 
1024
1025 Added internal.doc back in to the distribution archives - it was
1026 missing in 0.96 *blush*
1027
1028 Fixed bug causing 0.96 to be unable to assemble its own test files,
1029 specifically objtest.asm. *blush again*
1030
1031 Fixed seg-faults and bogus error messages caused by mismatching
1032 %rep and %endrep within multi-line macro definitions.
1033
1034 Fixed a problem with buffer overrun in OBJ, which was causing
1035 corruption at ends of long PUBDEF records.
1036
1037 Separated DOS archives into main-program and documentation to reduce
1038 download size.
1039
1040
1041 0.96 released November 1997
1042 ---------------------------
1043
1044 Fixed a bug whereby, if `nasm sourcefile' would cause a filename
1045 collision warning and put output into `nasm.out', then `nasm
1046 sourcefile -o outputfile' still gave the warning even though the
1047 `-o' was honoured.
1048
1049 Fixed name pollution under Digital UNIX: one of its header files
1050 defined R_SP, which broke the enum in nasm.h.
1051
1052 Fixed minor instruction table problems: FUCOM and FUCOMP didn't have
1053 two-operand forms; NDISASM didn't recognise the longer register
1054 forms of PUSH and POP (eg FF F3 for PUSH BX); TEST mem,imm32 was
1055 flagged as undocumented; the 32-bit forms of CMOV had 16-bit operand
1056 size prefixes; `AAD imm' and `AAM imm' are no longer flagged as
1057 undocumented because the Intel Architecture reference documents
1058 them.
1059
1060 Fixed a problem with the local-label mechanism, whereby strange
1061 types of symbol (EQUs, auto-defined OBJ segment base symbols)
1062 interfered with the `previous global label' value and screwed up
1063 local labels.
1064
1065 Fixed a bug whereby the stub preprocessor didn't communicate with
1066 the listing file generator, so that the -a and -l options in
1067 conjunction would produce a useless listing file.
1068
1069 Merged `os2' object file format back into `obj', after discovering
1070 that `obj' _also_ shouldn't have a link pass separator in a module
1071 containing a non-trivial MODEND. Flat segments are now declared
1072 using the FLAT attribute. `os2' is no longer a valid object format
1073 name: use `obj'.
1074
1075 Removed the fixed-size temporary storage in the evaluator. Very very
1076 long expressions (like `mov ax,1+1+1+1+...' for two hundred 1s or
1077 so) should now no longer crash NASM.
1078
1079 Fixed a bug involving segfaults on disassembly of MMX instructions,
1080 by changing the meaning of one of the operand-type flags in nasm.h.
1081 This may cause other apparently unrelated MMX problems; it needs to
1082 be tested thoroughly.
1083
1084 Fixed some buffer overrun problems with large OBJ output files.
1085 Thanks to DJ Delorie for the bug report and fix.
1086
1087 Made preprocess-only mode actually listen to the %line markers as it
1088 prints them, so that it can report errors more sanely.
1089
1090 Re-designed the evaluator to keep more sensible track of expressions
1091 involving forward references: can now cope with previously-nightmare
1092 situations such as
1093    mov ax,foo | bar
1094    foo equ 1
1095    bar equ 2
1096
1097 Added the ALIGN and ALIGNB standard macros.
1098
1099 Added PIC support in ELF: use of WRT to obtain the four extra
1100 relocation types needed.
1101
1102 Added the ability for output file formats to define their own
1103 extensions to the GLOBAL, COMMON and EXTERN directives.
1104
1105 Implemented common-variable alignment, and global-symbol type and
1106 size declarations, in ELF.
1107
1108 Implemented NEAR and FAR keywords for common variables, plus
1109 far-common element size specification, in OBJ.
1110
1111 Added a feature whereby EXTERNs and COMMONs in OBJ can be given a
1112 default WRT specification (either a segment or a group).
1113
1114 Transformed the Unix NASM archive into an auto-configuring package.
1115
1116 Added a sanity-check for people applying SEG to things which are
1117 already segment bases: this previously went unnoticed by the SEG
1118 processing and caused OBJ-driver panics later.
1119
1120 Added the ability, in OBJ format, to deal with `MOV EAX,<segment>'
1121 type references: OBJ doesn't directly support dword-size segment
1122 base fixups, but as long as the low two bytes of the constant term
1123 are zero, a word-size fixup can be generated instead and it will
1124 work.
1125
1126 Added the ability to specify sections' alignment requirements in
1127 Win32 object files and pure binary files.
1128
1129 Added preprocess-time expression evaluation: the %assign (and
1130 %iassign) directive and the bare %if (and %elif) conditional. Added
1131 relational operators to the evaluator, for use only in %if
1132 constructs: the standard relationals = < > <= >= <> (and C-like
1133 synonyms == and !=) plus low-precedence logical operators &&, ^^ and
1134 ||.
1135
1136 Added a preprocessor repeat construct: %rep / %exitrep / %endrep.
1137
1138 Added the __FILE__ and __LINE__ standard macros.
1139
1140 Added a sanity check for number constants being greater than
1141 0xFFFFFFFF. The warning can be disabled.
1142
1143 Added the %0 token whereby a variadic multi-line macro can tell how
1144 many parameters it's been given in a specific invocation.
1145
1146 Added %rotate, allowing multi-line macro parameters to be cycled.
1147
1148 Added the `*' option for the maximum parameter count on multi-line
1149 macros, allowing them to take arbitrarily many parameters.
1150
1151 Added the ability for the user-level forms of EXTERN, GLOBAL and
1152 COMMON to take more than one argument.
1153
1154 Added the IMPORT and EXPORT directives in OBJ format, to deal with
1155 Windows DLLs.
1156
1157 Added some more preprocessor %if constructs: %ifidn / %ifidni (exact
1158 textual identity), and %ifid / %ifnum / %ifstr (token type testing).
1159
1160 Added the ability to distinguish SHL AX,1 (the 8086 version) from
1161 SHL AX,BYTE 1 (the 286-and-upwards version whose constant happens to
1162 be 1).
1163
1164 Added NetBSD/FreeBSD/OpenBSD's variant of a.out format, complete
1165 with PIC shared library features.
1166
1167 Changed NASM's idiosyncratic handling of FCLEX, FDISI, FENI, FINIT,
1168 FSAVE, FSTCW, FSTENV, and FSTSW to bring it into line with the
1169 otherwise accepted standard. The previous behaviour, though it was a
1170 deliberate feature, was a deliberate feature based on a
1171 misunderstanding. Apologies for the inconvenience.
1172
1173 Improved the flexibility of ABSOLUTE: you can now give it an
1174 expression rather than being restricted to a constant, and it can
1175 take relocatable arguments as well.
1176
1177 Added the ability for a variable to be declared as EXTERN multiple
1178 times, and the subsequent definitions are just ignored.
1179
1180 We now allow instruction prefixes (CS, DS, LOCK, REPZ etc) to be
1181 alone on a line (without a following instruction).
1182
1183 Improved sanity checks on whether the arguments to EXTERN, GLOBAL
1184 and COMMON are valid identifiers.
1185
1186 Added misc/exebin.mac to allow direct generation of .EXE files by
1187 hacking up an EXE header using DB and DW; also added test/binexe.asm
1188 to demonstrate the use of this. Thanks to Yann Guidon for
1189 contributing the EXE header code.
1190
1191 ndisasm forgot to check whether the input file had been successfully
1192 opened. Now it does. Doh!
1193
1194 Added the Cyrix extensions to the MMX instruction set.
1195
1196 Added a hinting mechanism to allow [EAX+EBX] and [EBX+EAX] to be
1197 assembled differently. This is important since [ESI+EBP] and
1198 [EBP+ESI] have different default base segment registers.
1199
1200 Added support for the PharLap OMF extension for 4096-byte segment
1201 alignment.
1202
1203
1204 0.95 released July 1997
1205 -----------------------
1206
1207 Fixed yet another ELF bug. This one manifested if the user relied on
1208 the default segment, and attempted to define global symbols without
1209 first explicitly declaring the target segment.
1210
1211 Added makefiles (for NASM and the RDF tools) to build Win32 console
1212 apps under Symantec C++. Donated by Mark Junker.
1213
1214 Added `macros.bas' and `insns.bas', QBasic versions of the Perl
1215 scripts that convert `standard.mac' to `macros.c' and convert
1216 `insns.dat' to `insnsa.c' and `insnsd.c'. Also thanks to Mark
1217 Junker.
1218
1219 Changed the diassembled forms of the conditional instructions so
1220 that JB is now emitted as JC, and other similar changes. Suggested
1221 list by Ulrich Doewich.
1222
1223 Added `@' to the list of valid characters to begin an identifier
1224 with.
1225
1226 Documentary changes, notably the addition of the `Common Problems'
1227 section in nasm.doc.
1228
1229 Fixed a bug relating to 32-bit PC-relative fixups in OBJ.
1230
1231 Fixed a bug in perm_copy() in labels.c which was causing exceptions
1232 in cleanup_labels() on some systems.
1233
1234 Positivity sanity check in TIMES argument changed from a warning to
1235 an error following a further complaint.
1236
1237 Changed the acceptable limits on byte and word operands to allow
1238 things like `~10111001b' to work.
1239
1240 Fixed a major problem in the preprocessor which caused seg-faults if
1241 macro definitions contained blank lines or comment-only lines.
1242
1243 Fixed inadequate error checking on the commas separating the
1244 arguments to `db', `dw' etc.
1245
1246 Fixed a crippling bug in the handling of macros with operand counts
1247 defined with a `+' modifier.
1248
1249 Fixed a bug whereby object file formats which stored the input file
1250 name in the output file (such as OBJ and COFF) weren't doing so
1251 correctly when the output file name was specified on the command
1252 line.
1253
1254 Removed [INC] and [INCLUDE] support for good, since they were
1255 obsolete anyway.
1256
1257 Fixed a bug in OBJ which caused all fixups to be output in 16-bit
1258 (old-format) FIXUPP records, rather than putting the 32-bit ones in
1259 FIXUPP32 (new-format) records.
1260
1261 Added, tentatively, OS/2 object file support (as a minor variant on
1262 OBJ).
1263
1264 Updates to Fox Cutter's Borland C makefile, Makefile.bc2.
1265
1266 Removed a spurious second fclose() on the output file.
1267
1268 Added the `-s' command line option to redirect all messages which
1269 would go to stderr (errors, help text) to stdout instead.
1270
1271 Added the `-w' command line option to selectively suppress some
1272 classes of assembly warning messages.
1273
1274 Added the `-p' pre-include and `-d' pre-define command-line options.
1275
1276 Added an include file search path: the `-i' command line option.
1277
1278 Fixed a silly little preprocessor bug whereby starting a line with a
1279 `%!' environment-variable reference caused an `unknown directive'
1280 error.
1281
1282 Added the long-awaited listing file support: the `-l' command line
1283 option.
1284
1285 Fixed a problem with OBJ format whereby, in the absence of any
1286 explicit segment definition, non-global symbols declared in the
1287 implicit default segment generated spurious EXTDEF records in the
1288 output.
1289
1290 Added the NASM environment variable.
1291
1292 From this version forward, Win32 console-mode binaries will be
1293 included in the DOS distribution in addition to the 16-bit binaries.
1294 Added Makefile.vc for this purpose.
1295
1296 Added `return 0;' to test/objlink.c to prevent compiler warnings.
1297
1298 Added the __NASM_MAJOR__ and __NASM_MINOR__ standard defines.
1299
1300 Added an alternative memory-reference syntax in which prefixing an
1301 operand with `&' is equivalent to enclosing it in square brackets,
1302 at the request of Fox Cutter.
1303
1304 Errors in pass two now cause the program to return a non-zero error
1305 code, which they didn't before.
1306
1307 Fixed the single-line macro cycle detection, which didn't work at
1308 all on macros with no parameters (caused an infinite loop). Also
1309 changed the behaviour of single-line macro cycle detection to work
1310 like cpp, so that macros like `extrn' as given in the documentation
1311 can be implemented.
1312
1313 Fixed the implementation of WRT, which was too restrictive in that
1314 you couldn't do `mov ax,[di+abc wrt dgroup]' because (di+abc) wasn't
1315 a relocatable reference.
1316
1317
1318 0.94 released April 1997
1319 ------------------------
1320
1321 Major item: added the macro processor.
1322
1323 Added undocumented instructions SMI, IBTS, XBTS and LOADALL286. Also
1324 reorganised CMPXCHG instruction into early-486 and Pentium forms.
1325 Thanks to Thobias Jones for the information.
1326
1327 Fixed two more stupid bugs in ELF, which were causing `ld' to
1328 continue to seg-fault in a lot of non-trivial cases.
1329
1330 Fixed a seg-fault in the label manager.
1331
1332 Stopped FBLD and FBSTP from _requiring_ the TWORD keyword, which is
1333 the only option for BCD loads/stores in any case.
1334
1335 Ensured FLDCW, FSTCW and FSTSW can cope with the WORD keyword, if
1336 anyone bothers to provide it. Previously they complained unless no
1337 keyword at all was present.
1338
1339 Some forms of FDIV/FDIVR and FSUB/FSUBR were still inverted: a
1340 vestige of a bug that I thought had been fixed in 0.92. This was
1341 fixed, hopefully for good this time...
1342
1343 Another minor phase error (insofar as a phase error can _ever_ be
1344 minor) fixed, this one occurring in code of the form
1345    rol ax,forward_reference
1346    forward_reference equ 1
1347
1348 The number supplied to TIMES is now sanity-checked for positivity,
1349 and also may be greater than 64K (which previously didn't work on
1350 16-bit systems).
1351
1352 Added Watcom C makefiles, and misc/pmw.bat, donated by Dominik Behr.
1353
1354 Added the INCBIN pseudo-opcode.
1355
1356 Due to the advent of the preprocessor, the [INCLUDE] and [INC]
1357 directives have become obsolete. They are still supported in this
1358 version, with a warning, but won't be in the next.
1359
1360 Fixed a bug in OBJ format, which caused incorrect object records to
1361 be output when absolute labels were made global.
1362
1363 Updates to RDOFF subdirectory, and changes to outrdf.c.
1364
1365
1366 0.93 released January 1997
1367 --------------------------
1368
1369 This release went out in a great hurry after semi-crippling bugs
1370 were found in 0.92.
1371
1372 Really _did_ fix the stack overflows this time. *blush*
1373
1374 Had problems with EA instruction sizes changing between passes, when
1375 an offset contained a forward reference and so 4 bytes were
1376 allocated for the offset in pass one; by pass two the symbol had
1377 been defined and happened to be a small absolute value, so only 1
1378 byte got allocated, causing instruction size mismatch between passes
1379 and hence incorrect address calculations. Fixed.
1380
1381 Stupid bug in the revised ELF section generation fixed (associated
1382 string-table section for .symtab was hard-coded as 7, even when this
1383 didn't fit with the real section table). Was causing `ld' to
1384 seg-fault under Linux.
1385
1386 Included a new Borland C makefile, Makefile.bc2, donated by Fox
1387 Cutter <lmb@comtch.iea.com>.
1388
1389
1390 0.92 released January 1997
1391 --------------------------
1392
1393 The FDIVP/FDIVRP and FSUBP/FSUBRP pairs had been inverted: this was
1394 fixed. This also affected the LCC driver.
1395
1396 Fixed a bug regarding 32-bit effective addresses of the form
1397 [other_register+ESP].
1398
1399 Documentary changes, notably documentation of the fact that Borland
1400 Win32 compilers use `obj' rather than `win32' object format.
1401
1402 Fixed the COMENT record in OBJ files, which was formatted
1403 incorrectly.
1404
1405 Fixed a bug causing segfaults in large RDF files.
1406
1407 OBJ format now strips initial periods from segment and group
1408 definitions, in order to avoid complications with the local label
1409 syntax.
1410
1411 Fixed a bug in disassembling far calls and jumps in NDISASM.
1412
1413 Added support for user-defined sections in COFF and ELF files.
1414
1415 Compiled the DOS binaries with a sensible amount of stack, to
1416 prevent stack overflows on any arithmetic expression containing
1417 parentheses.
1418
1419 Fixed a bug in handling of files that do not terminate in a newline.
1420
1421
1422 0.91 released November 1996
1423 ---------------------------
1424
1425 Loads of bug fixes.
1426 Support for RDF added.
1427 Support for DBG debugging format added.
1428 Support for 32-bit extensions to Microsoft OBJ format added.
1429 Revised for Borland C: some variable names changed, makefile added.
1430 LCC support revised to actually work.
1431 JMP/CALL NEAR/FAR notation added.
1432 `a16', `o16', `a32' and `o32' prefixes added.
1433 Range checking on short jumps implemented.
1434 MMX instruction support added.
1435 Negative floating point constant support added.
1436 Memory handling improved to bypass 64K barrier under DOS.
1437 $ prefix to force treatment of reserved words as identifiers added.
1438 Default-size mechanism for object formats added.
1439 Compile-time configurability added.
1440 `#', `@', `~' and `?' are now valid characters in labels.
1441 `-e' and `-k' options in NDISASM added.
1442
1443
1444 0.90 released October 1996
1445 --------------------------
1446
1447 First release version. First support for object file output. Other
1448 changes from previous version (0.3x) too numerous to document.