platform/upstream/nasm.git
22 years agoFix Borland C++ optimization bug; add test for bad DOS binaries.
H. Peter Anvin [Thu, 12 Sep 2002 04:33:58 +0000 (04:33 +0000)]
Fix Borland C++ optimization bug; add test for bad DOS binaries.

22 years agoUse tmpfile() instead of tmpnam()
H. Peter Anvin [Thu, 12 Sep 2002 02:24:53 +0000 (02:24 +0000)]
Use tmpfile() instead of tmpnam()

22 years ago"const"-ipation fixes from Trevor Woerner
H. Peter Anvin [Thu, 12 Sep 2002 02:23:54 +0000 (02:23 +0000)]
"const"-ipation fixes from Trevor Woerner

22 years agofixed multiple %ROTATE bugs (numbers 560567 and 560930) and changed
Ed Beroset [Tue, 11 Jun 2002 03:31:49 +0000 (03:31 +0000)]
fixed multiple %ROTATE bugs (numbers 560567 and 560930) and changed
return value of do_directive from meaningless numbers to #defined values.

22 years agocorrected comment above the report_error_vc function
Ed Beroset [Tue, 11 Jun 2002 03:29:36 +0000 (03:29 +0000)]
corrected comment above the report_error_vc function

22 years agoVisual C++ error format needs <space>:<space> after the parentheses.
H. Peter Anvin [Mon, 10 Jun 2002 00:41:41 +0000 (00:41 +0000)]
Visual C++ error format needs <space>:<space> after the parentheses.

22 years agoAdded documentation for -X command line switch which allows the user to
Ed Beroset [Sun, 9 Jun 2002 23:22:25 +0000 (23:22 +0000)]
Added documentation for -X command line switch which allows the user to
specify the desired error reporting output format.

22 years agoAddressed feature request 555987 (Visual Studio integration) by adding the
Ed Beroset [Sun, 9 Jun 2002 20:56:40 +0000 (20:56 +0000)]
Addressed feature request 555987 (Visual Studio integration) by adding the
requisite command line switch (-X) to select the error reporting format.

22 years ago0.98.34 is out, next is 0.98.35
H. Peter Anvin [Sat, 8 Jun 2002 23:00:55 +0000 (23:00 +0000)]
0.98.34 is out, next is 0.98.35

22 years agoBring CHANGES up to date.
H. Peter Anvin [Sat, 8 Jun 2002 22:46:31 +0000 (22:46 +0000)]
Bring CHANGES up to date.

22 years agoAdded *1 case support for NOSPLIT ([NOSPLIT EAX] to generate SIB with dword offset 0x0
Debbie Wiles [Sat, 8 Jun 2002 19:30:14 +0000 (19:30 +0000)]
Added *1 case support for NOSPLIT ([NOSPLIT EAX] to generate SIB with dword offset 0x0

22 years agoThis is Jim's outcoff patch.
H. Peter Anvin [Fri, 7 Jun 2002 20:42:22 +0000 (20:42 +0000)]
This is Jim's outcoff patch.

22 years agoRemoved unnecessary address size flags from register only versions of instructions
Debbie Wiles [Fri, 7 Jun 2002 07:12:49 +0000 (07:12 +0000)]
Removed unnecessary address size flags from register only versions of instructions

22 years agoFix for BR 561137 (gcc3 compilation issue.)
H. Peter Anvin [Fri, 7 Jun 2002 06:02:14 +0000 (06:02 +0000)]
Fix for BR 561137 (gcc3 compilation issue.)

22 years agoUpdate Makefile.bc3 so that it actually works again.
H. Peter Anvin [Thu, 6 Jun 2002 03:33:38 +0000 (03:33 +0000)]
Update Makefile.bc3 so that it actually works again.

22 years agoThis is the "megapatch":
H. Peter Anvin [Thu, 6 Jun 2002 02:41:20 +0000 (02:41 +0000)]
This is the "megapatch":
a) Automatically generate dependencies for all Makefiles;
b) Move register definitions to a separate .dat file;
c) Add support for "unimplemented but there in theory" registers.

22 years agoComments are more useful when correct
H. Peter Anvin [Tue, 4 Jun 2002 20:04:59 +0000 (20:04 +0000)]
Comments are more useful when correct

22 years agoBreak long lines by default.
H. Peter Anvin [Tue, 4 Jun 2002 19:53:35 +0000 (19:53 +0000)]
Break long lines by default.

22 years agoAdded code to prevent FAR from being used with a register
Debbie Wiles [Tue, 4 Jun 2002 19:31:24 +0000 (19:31 +0000)]
Added code to prevent FAR from being used with a register

22 years agoCorrect the command line parsing of --
H. Peter Anvin [Tue, 4 Jun 2002 04:11:01 +0000 (04:11 +0000)]
Correct the command line parsing of --

22 years agoDon't hard-code '.' as the current directory
H. Peter Anvin [Tue, 4 Jun 2002 00:44:46 +0000 (00:44 +0000)]
Don't hard-code '.' as the current directory

22 years agoAllow multiple Makefiles to be specified
H. Peter Anvin [Tue, 4 Jun 2002 00:44:15 +0000 (00:44 +0000)]
Allow multiple Makefiles to be specified

22 years agoSupport generating dependencies in different syntaxes.
H. Peter Anvin [Tue, 4 Jun 2002 00:26:13 +0000 (00:26 +0000)]
Support generating dependencies in different syntaxes.

22 years agoDocument "CPU IA64"
H. Peter Anvin [Sun, 2 Jun 2002 07:23:28 +0000 (07:23 +0000)]
Document "CPU IA64"

22 years agoMake the disassembler correctly handle the new \34-\36 and \44-\46 codes.
H. Peter Anvin [Sun, 2 Jun 2002 05:35:05 +0000 (05:35 +0000)]
Make the disassembler correctly handle the new \34-\36 and \44-\46 codes.

22 years agoAltered the documentation for the %! directive
Debbie Wiles [Sat, 1 Jun 2002 11:16:49 +0000 (11:16 +0000)]
Altered the documentation for the %! directive

22 years agoRemove obsolete script
H. Peter Anvin [Fri, 31 May 2002 00:47:24 +0000 (00:47 +0000)]
Remove obsolete script

22 years agoCorrectly recognize $$ as TOKEN_BASE
H. Peter Anvin [Thu, 30 May 2002 21:30:33 +0000 (21:30 +0000)]
Correctly recognize $$ as TOKEN_BASE

22 years agoDocumented the %! (get environment) preprocessor directive.
Debbie Wiles [Wed, 29 May 2002 15:36:49 +0000 (15:36 +0000)]
Documented the %! (get environment) preprocessor directive.

22 years agoAdd the JMPE instruction.
H. Peter Anvin [Tue, 28 May 2002 01:25:06 +0000 (01:25 +0000)]
Add the JMPE instruction.

22 years agoDeal with another case of address/operand size confusion, BR 560873
H. Peter Anvin [Mon, 27 May 2002 23:19:35 +0000 (23:19 +0000)]
Deal with another case of address/operand size confusion, BR 560873

22 years agoDrop the version number from the README file
H. Peter Anvin [Mon, 27 May 2002 21:46:20 +0000 (21:46 +0000)]
Drop the version number from the README file

22 years agoCorrect handling of SEG <nonsegment>; per BR 560575
H. Peter Anvin [Mon, 27 May 2002 02:19:43 +0000 (02:19 +0000)]
Correct handling of SEG <nonsegment>; per BR 560575

22 years ago0.98.33 is out, so next will be 0.98.34
H. Peter Anvin [Mon, 27 May 2002 01:29:28 +0000 (01:29 +0000)]
0.98.33 is out, so next will be 0.98.34

22 years agoGenerate a spec file *correctly*
H. Peter Anvin [Mon, 27 May 2002 01:18:45 +0000 (01:18 +0000)]
Generate a spec file *correctly*

22 years agoAutomatically make a specfile
H. Peter Anvin [Mon, 27 May 2002 01:14:00 +0000 (01:14 +0000)]
Automatically make a specfile

22 years agoNeed "make cleaner" not "make clean"
H. Peter Anvin [Mon, 27 May 2002 00:55:53 +0000 (00:55 +0000)]
Need "make cleaner" not "make clean"

22 years agoAvoid releasing intermediate files in the doc bundle
H. Peter Anvin [Mon, 27 May 2002 00:52:46 +0000 (00:52 +0000)]
Avoid releasing intermediate files in the doc bundle

22 years agoMore CHANGES updates...
H. Peter Anvin [Sun, 26 May 2002 23:55:48 +0000 (23:55 +0000)]
More CHANGES updates...

22 years agoAdd a way to link with specific system libraries (e.g. efence).
H. Peter Anvin [Sun, 26 May 2002 23:55:34 +0000 (23:55 +0000)]
Add a way to link with specific system libraries (e.g. efence).

22 years agoUpdate the list of changes until now.
H. Peter Anvin [Sun, 26 May 2002 23:52:16 +0000 (23:52 +0000)]
Update the list of changes until now.

22 years agoFix off-by-one error found when running theowl's test cases.
H. Peter Anvin [Sun, 26 May 2002 23:48:09 +0000 (23:48 +0000)]
Fix off-by-one error found when running theowl's test cases.

22 years agoThis file needs <stdlib.h>
H. Peter Anvin [Sun, 26 May 2002 23:45:30 +0000 (23:45 +0000)]
This file needs <stdlib.h>

22 years agoThis file needs <string.h>
H. Peter Anvin [Sun, 26 May 2002 23:35:02 +0000 (23:35 +0000)]
This file needs <string.h>

22 years agoFix really stupid thinko on my part...
H. Peter Anvin [Sun, 26 May 2002 22:49:19 +0000 (22:49 +0000)]
Fix really stupid thinko on my part...

22 years agoClean up Makefile.unx and document it better
H. Peter Anvin [Sun, 26 May 2002 22:43:16 +0000 (22:43 +0000)]
Clean up Makefile.unx and document it better

22 years agoraa_read() is defined to return 0 for all uninitialized entries, do
H. Peter Anvin [Sun, 26 May 2002 22:30:48 +0000 (22:30 +0000)]
raa_read() is defined to return 0 for all uninitialized entries, do
not issue an error.

Some minor ANSI C cleanups (memset(...,0,...) is *not* a valid way to
initialize an array of pointers to NULL.)

22 years agoUndo accidental checkin of old code
H. Peter Anvin [Sun, 26 May 2002 21:48:18 +0000 (21:48 +0000)]
Undo accidental checkin of old code

22 years agoReversed a change in 1.27 that affects ABSOLUTE.
Debbie Wiles [Sun, 26 May 2002 21:08:39 +0000 (21:08 +0000)]
Reversed a change in 1.27 that affects ABSOLUTE.

22 years agoHandle $ and $$ in ABSOLUTE sections
H. Peter Anvin [Sun, 26 May 2002 19:49:41 +0000 (19:49 +0000)]
Handle $ and $$ in ABSOLUTE sections

22 years agoAccount for ./output directory
John Coffman [Sun, 26 May 2002 19:43:26 +0000 (19:43 +0000)]
Account for ./output directory

22 years agoMove optimizer output from '-g' switch to '-Ov' switch
John Coffman [Sun, 26 May 2002 19:20:08 +0000 (19:20 +0000)]
Move optimizer output from '-g' switch to '-Ov' switch

22 years agoMake "ABSOLUTE <label>" work again; code based on 0.97.
H. Peter Anvin [Sun, 26 May 2002 18:19:19 +0000 (18:19 +0000)]
Make "ABSOLUTE <label>" work again; code based on 0.97.

22 years agoAllow passing options to genps.pl from the user command line
H. Peter Anvin [Sat, 25 May 2002 22:21:27 +0000 (22:21 +0000)]
Allow passing options to genps.pl from the user command line

22 years agoDocumented %xdefine and %xidefine, and fixed an index item in %define.
Debbie Wiles [Sat, 25 May 2002 13:12:21 +0000 (13:12 +0000)]
Documented %xdefine and %xidefine, and fixed an index item in %define.

22 years agoDocumented the ___NASM_PATCHLEVEL__ and __NASM_VERSION_ID__ macros.
Debbie Wiles [Sat, 25 May 2002 03:05:05 +0000 (03:05 +0000)]
Documented the ___NASM_PATCHLEVEL__ and __NASM_VERSION_ID__ macros.

22 years agoUpdate from John Coffman
H. Peter Anvin [Sat, 25 May 2002 02:22:02 +0000 (02:22 +0000)]
Update from John Coffman

22 years agoMake it an error to supply a non-constant expression to ABSOLUTE
H. Peter Anvin [Sat, 25 May 2002 01:45:11 +0000 (01:45 +0000)]
Make it an error to supply a non-constant expression to ABSOLUTE

22 years agoBetter explanation why insnsa.c is a separate module
H. Peter Anvin [Sat, 25 May 2002 01:39:12 +0000 (01:39 +0000)]
Better explanation why insnsa.c is a separate module

22 years agoMissed one undecorated ORG
H. Peter Anvin [Fri, 24 May 2002 20:33:51 +0000 (20:33 +0000)]
Missed one undecorated ORG

22 years agoFixed a few typos, tidied up index entries for BIN and its' subentries.
Debbie Wiles [Fri, 24 May 2002 20:00:52 +0000 (20:00 +0000)]
Fixed a few typos, tidied up index entries for BIN and its' subentries.

22 years agoReversed a few changes erroneously removed in the last update
Debbie Wiles [Fri, 24 May 2002 19:10:40 +0000 (19:10 +0000)]
Reversed a few changes erroneously removed in the last update

22 years agoAdded multisection to documentation for the .bin format, and removed obsolete details.
Debbie Wiles [Fri, 24 May 2002 14:36:19 +0000 (14:36 +0000)]
Added multisection to documentation for the .bin format, and removed obsolete details.

22 years agoAdded extra tests, to fully test multisection support for .bin format
Debbie Wiles [Fri, 24 May 2002 14:33:35 +0000 (14:33 +0000)]
Added extra tests, to fully test multisection support for .bin format

22 years agoFix typo: "BIT 16" -> "BITS 16"
H. Peter Anvin [Thu, 23 May 2002 06:40:32 +0000 (06:40 +0000)]
Fix typo: "BIT 16" -> "BITS 16"

22 years agoChange space to NBSP to avoid breakage on 'doze platforms
H. Peter Anvin [Wed, 22 May 2002 23:23:02 +0000 (23:23 +0000)]
Change space to NBSP to avoid breakage on 'doze platforms

22 years agoAdd %elif preprocessor test
H. Peter Anvin [Wed, 22 May 2002 23:01:06 +0000 (23:01 +0000)]
Add %elif preprocessor test

22 years agoUndo broken %elif change, and put in a big comment explaining why the
H. Peter Anvin [Wed, 22 May 2002 22:59:40 +0000 (22:59 +0000)]
Undo broken %elif change, and put in a big comment explaining why the
existing code is correct.

22 years agoAdd 16-bit imul test for strictness
H. Peter Anvin [Wed, 22 May 2002 20:48:01 +0000 (20:48 +0000)]
Add 16-bit imul test for strictness

22 years agoFix the handling of the STRICT keyword
H. Peter Anvin [Wed, 22 May 2002 20:45:09 +0000 (20:45 +0000)]
Fix the handling of the STRICT keyword

22 years agoAnother change to the STRICT documentation
Debbie Wiles [Wed, 22 May 2002 20:44:11 +0000 (20:44 +0000)]
Another change to the STRICT documentation

22 years agoNo C++ comments, please!
H. Peter Anvin [Wed, 22 May 2002 20:23:14 +0000 (20:23 +0000)]
No C++ comments, please!

22 years agoUpdated documentation for the STRICT keyword.
Debbie Wiles [Wed, 22 May 2002 20:14:52 +0000 (20:14 +0000)]
Updated documentation for the STRICT keyword.

22 years agoFixed the ABSOLUTE LABEL problem
Debbie Wiles [Wed, 22 May 2002 19:50:30 +0000 (19:50 +0000)]
Fixed the ABSOLUTE LABEL problem

22 years agoDocument the STRICT keyword
H. Peter Anvin [Wed, 22 May 2002 05:40:50 +0000 (05:40 +0000)]
Document the STRICT keyword

22 years agoFix em dashes which were broken by charset cleanup change
H. Peter Anvin [Tue, 21 May 2002 06:07:36 +0000 (06:07 +0000)]
Fix em dashes which were broken by charset cleanup change

22 years agoUse File::Spec to try to be more system-independent...
H. Peter Anvin [Tue, 21 May 2002 04:10:57 +0000 (04:10 +0000)]
Use File::Spec to try to be more system-independent...

22 years agoJMP instructions use the operand size prefix, not the address size
H. Peter Anvin [Tue, 21 May 2002 03:31:21 +0000 (03:31 +0000)]
JMP instructions use the operand size prefix, not the address size
prefix, to determine the size of the jump target.

22 years agoImplement new "strict" keyword to inhibit optimization.
H. Peter Anvin [Tue, 21 May 2002 03:16:33 +0000 (03:16 +0000)]
Implement new "strict" keyword to inhibit optimization.

22 years agoSpec file now depends on version.pl too
H. Peter Anvin [Tue, 21 May 2002 02:47:08 +0000 (02:47 +0000)]
Spec file now depends on version.pl too

22 years agoCorrect the generation of the spec file with a serial number.
H. Peter Anvin [Tue, 21 May 2002 02:46:45 +0000 (02:46 +0000)]
Correct the generation of the spec file with a serial number.

22 years agoAccept X.YYplZ as a valid version number (equivalent to X.YY.0.Z) and
H. Peter Anvin [Tue, 21 May 2002 02:28:51 +0000 (02:28 +0000)]
Accept X.YYplZ as a valid version number (equivalent to X.YY.0.Z) and
generate Serial: tags in the RPM spec file to help clue RPM in.

22 years agoAdded a reference to the section on mixed size addressing (9.2) to the section on...
Debbie Wiles [Mon, 20 May 2002 21:46:47 +0000 (21:46 +0000)]
Added a reference to the section on mixed size addressing (9.2) to the section on effective addresses (3.3).

22 years agoClean up the character set handling somewhat.
H. Peter Anvin [Mon, 20 May 2002 19:50:34 +0000 (19:50 +0000)]
Clean up the character set handling somewhat.

22 years agoRemove some duplicated spaces.
H. Peter Anvin [Mon, 20 May 2002 19:49:53 +0000 (19:49 +0000)]
Remove some duplicated spaces.

22 years agoAdded make rules for files generated from perl scripts
Debbie Wiles [Mon, 20 May 2002 02:26:35 +0000 (02:26 +0000)]
Added make rules for files generated from perl scripts

22 years agoAdd __NASM_PATCHLEVEL__ and __NASM_VERSION_ID__ macros
H. Peter Anvin [Mon, 20 May 2002 01:04:34 +0000 (01:04 +0000)]
Add __NASM_PATCHLEVEL__ and __NASM_VERSION_ID__ macros

22 years agoAutomatically update the LATEST tag if doing a "real" release
H. Peter Anvin [Sun, 19 May 2002 05:37:08 +0000 (05:37 +0000)]
Automatically update the LATEST tag if doing a "real" release

22 years ago0.98.32 is out; now working on 0.98.33
H. Peter Anvin [Sun, 19 May 2002 05:34:55 +0000 (05:34 +0000)]
0.98.32 is out; now working on 0.98.33

22 years agoFix stray character that had snuck in. Damned.
H. Peter Anvin [Sun, 19 May 2002 05:22:45 +0000 (05:22 +0000)]
Fix stray character that had snuck in.  Damned.

22 years agoDocument new Cygwin compatibility
H. Peter Anvin [Sun, 19 May 2002 05:06:04 +0000 (05:06 +0000)]
Document new Cygwin compatibility

22 years agoCheck in the rest of the Cygwin support patch...
H. Peter Anvin [Sun, 19 May 2002 02:26:38 +0000 (02:26 +0000)]
Check in the rest of the Cygwin support patch...

22 years agoRemove autom4te.cache when cleaning up config.*
H. Peter Anvin [Sun, 19 May 2002 02:02:20 +0000 (02:02 +0000)]
Remove autom4te.cache when cleaning up config.*

22 years agoCleaner way to handle the PERLREQ removal
H. Peter Anvin [Sun, 19 May 2002 01:59:37 +0000 (01:59 +0000)]
Cleaner way to handle the PERLREQ removal

22 years agoFix so that the configure.in works with autoconf 2.5x; make sure
H. Peter Anvin [Sun, 19 May 2002 01:57:54 +0000 (01:57 +0000)]
Fix so that the configure.in works with autoconf 2.5x; make sure
"make cleaner" cleans up all that it needs to clean up

22 years agoFix a couple of perl4-isms that are now illegal
H. Peter Anvin [Sun, 19 May 2002 01:51:00 +0000 (01:51 +0000)]
Fix a couple of perl4-isms that are now illegal

22 years agoUse a driver Perl script to run genps.pl, since Windows Make can't
H. Peter Anvin [Sat, 18 May 2002 22:17:28 +0000 (22:17 +0000)]
Use a driver Perl script to run genps.pl, since Windows Make can't
handle `cat ...`

22 years agoAdd version number to the cover page, generated from the version file.
H. Peter Anvin [Sat, 18 May 2002 20:36:25 +0000 (20:36 +0000)]
Add version number to the cover page, generated from the version file.

22 years agouncomment "use strict" in macros.pl
Frank Kotler [Sat, 18 May 2002 07:28:31 +0000 (07:28 +0000)]
uncomment "use strict" in macros.pl

22 years agoapplied theowl's patch to raa_write - errors to raa_read
Frank Kotler [Sat, 18 May 2002 07:26:18 +0000 (07:26 +0000)]
applied theowl's patch to raa_write - errors to raa_read