platform/upstream/nasm.git
19 years agoAdd basic support for Mach-O file format.
Eric Christopher [Thu, 22 Sep 2005 21:22:33 +0000 (21:22 +0000)]
Add basic support for Mach-O file format.

19 years agofix outobj.c bug - every 256th extern crashed nasm
Frank Kotler [Wed, 8 Jun 2005 16:41:10 +0000 (16:41 +0000)]
fix outobj.c bug - every 256th extern crashed nasm

-

19 years agoJindrich Novy's buffer overrun patch to outieee.c
Frank Kotler [Mon, 9 May 2005 16:34:43 +0000 (16:34 +0000)]
Jindrich Novy's buffer overrun patch to outieee.c

-

19 years agoadd John Coffman's optimizer documentation
Frank Kotler [Thu, 10 Mar 2005 02:03:11 +0000 (02:03 +0000)]
add John Coffman's optimizer documentation

19 years agoUpdate "version" to 0.98.40
Frank Kotler [Fri, 4 Feb 2005 22:17:49 +0000 (22:17 +0000)]
Update "version" to 0.98.40

19 years agoupdate my address in AUTHORS
Frank Kotler [Mon, 17 Jan 2005 05:30:47 +0000 (05:30 +0000)]
update my address in AUTHORS

19 years agoApply Nindent to all .c and .h files
H. Peter Anvin [Sat, 15 Jan 2005 22:15:51 +0000 (22:15 +0000)]
Apply Nindent to all .c and .h files

19 years agoUpdate dependencies
H. Peter Anvin [Fri, 14 Jan 2005 23:05:31 +0000 (23:05 +0000)]
Update dependencies

19 years agoFix comment
H. Peter Anvin [Fri, 14 Jan 2005 23:03:42 +0000 (23:03 +0000)]
Fix comment

19 years agoUpdate to match SF changes
H. Peter Anvin [Fri, 14 Jan 2005 22:57:03 +0000 (22:57 +0000)]
Update to match SF changes

19 years agoConsistent capitalization
H. Peter Anvin [Fri, 14 Jan 2005 22:56:01 +0000 (22:56 +0000)]
Consistent capitalization

19 years agoupdate "CHANGES"
Frank Kotler [Thu, 13 Jan 2005 02:52:55 +0000 (02:52 +0000)]
update "CHANGES"

19 years agoDummy change to test CVS mail
H. Peter Anvin [Sat, 1 Jan 2005 22:54:25 +0000 (22:54 +0000)]
Dummy change to test CVS mail

19 years agoDocument maximum identifier length
Frank Kotler [Fri, 31 Dec 2004 03:38:32 +0000 (03:38 +0000)]
Document maximum identifier length

19 years agoScript to format the source code in a standard format
H. Peter Anvin [Wed, 29 Dec 2004 23:53:40 +0000 (23:53 +0000)]
Script to format the source code in a standard format

19 years agoAdd ieee_ prefix to filenames with otherwise highly ambiguous names;
H. Peter Anvin [Wed, 29 Dec 2004 00:41:28 +0000 (00:41 +0000)]
Add ieee_ prefix to filenames with otherwise highly ambiguous names;
esp round() which is a standard C function.

19 years agoAndreas Ericsson's patch to misc/nasm.sl
Frank Kotler [Tue, 21 Dec 2004 18:06:22 +0000 (18:06 +0000)]
Andreas Ericsson's patch to misc/nasm.sl

-

19 years agoAdded "splint" as a target to simplify running splint on all sources.
Ed Beroset [Fri, 17 Dec 2004 01:06:10 +0000 (01:06 +0000)]
Added "splint" as a target to simplify running splint on all sources.

19 years agoPlaced guards around strdup declaration to avoid compiler errors on sane
Ed Beroset [Fri, 17 Dec 2004 00:55:19 +0000 (00:55 +0000)]
Placed guards around strdup declaration to avoid compiler errors on sane
systems.

19 years agoAdded todo item to point out the somewhat tricky fact about snprintf's
Ed Beroset [Wed, 15 Dec 2004 23:32:57 +0000 (23:32 +0000)]
Added todo item to point out the somewhat tricky fact about snprintf's
return value.

19 years agoadded checks for vsnprintf and snprintf (ISO C99) and changed gcc
Ed Beroset [Wed, 15 Dec 2004 23:02:20 +0000 (23:02 +0000)]
added checks for vsnprintf and snprintf (ISO C99) and changed gcc
compile flag from -ansi to -std=c99

19 years agoCorrected typo in variable name.
Ed Beroset [Wed, 15 Dec 2004 23:00:13 +0000 (23:00 +0000)]
Corrected typo in variable name.

19 years agochanged last sprintf to more secure snprintf to prevent vulnerability to buffer
Ed Beroset [Wed, 15 Dec 2004 18:30:54 +0000 (18:30 +0000)]
changed last sprintf to more secure snprintf to prevent vulnerability to buffer
overflow exploits.

19 years agochanged sprintf to more secure snprintf to prevent vulnerability to buffer
Ed Beroset [Wed, 15 Dec 2004 18:27:50 +0000 (18:27 +0000)]
changed sprintf to more secure snprintf to prevent vulnerability to buffer
overflow exploits.

19 years agoadded buffer length parameter to prevent vulnerability to buffer
Ed Beroset [Wed, 15 Dec 2004 18:27:21 +0000 (18:27 +0000)]
added buffer length parameter to prevent vulnerability to buffer
overflow exploits.

19 years agoadded buffer length parameters to prevent vulnerability to buffer
Ed Beroset [Wed, 15 Dec 2004 18:26:37 +0000 (18:26 +0000)]
added buffer length parameters to prevent vulnerability to buffer
overflow exploits.

19 years agochanged sprintf to more secure snprintf to prevent vulnerability to buffer
Ed Beroset [Wed, 15 Dec 2004 18:03:20 +0000 (18:03 +0000)]
changed sprintf to more secure snprintf to prevent vulnerability to buffer
overflow exploits.

19 years agochanged sprintf to more secure snprintf to prevent vulnerability to buffer
Ed Beroset [Wed, 15 Dec 2004 17:10:25 +0000 (17:10 +0000)]
changed sprintf to more secure snprintf to prevent vulnerability to buffer
overflow exploits.

19 years agocleaned up most but not all sprintf() and vsprintf() calls to avoid
Ed Beroset [Wed, 15 Dec 2004 17:07:03 +0000 (17:07 +0000)]
cleaned up most but not all sprintf() and vsprintf() calls to avoid
vulnerability to buffer overflow exploits.

19 years agoreplaced vsprintf() with vsnprintf() to avoid buffer overflow exploit
Ed Beroset [Wed, 15 Dec 2004 16:45:46 +0000 (16:45 +0000)]
replaced vsprintf() with vsnprintf() to avoid buffer overflow exploit

20 years agooutrdf2.c now uses the same definitions of RDOFF2 format that RDOFF utils.
Yuri Zaporogets [Wed, 15 Sep 2004 06:54:34 +0000 (06:54 +0000)]
outrdf2.c now uses the same definitions of RDOFF2 format that RDOFF utils.
Export/import/common label size is increased from 33 to 64. Fixed the bug
that caused wrong behavior of rdfgetheaderrec() if label length was 32.
Changed error codes from numeric values to symbolic constants.
Moved some routines from rdfdump.c to rdoff.c. They will be utilized also
by rdfdisasm, which is being developed.

20 years agoRemoved old header that was once used by ldrdf.
Yuri Zaporogets [Sun, 8 Aug 2004 20:09:32 +0000 (20:09 +0000)]
Removed old header that was once used by ldrdf.

20 years agoInclude <string.h> to get rid of compiler warnings
Yuri Zaporogets [Sat, 15 May 2004 14:41:04 +0000 (14:41 +0000)]
Include <string.h> to get rid of compiler warnings

20 years agoFix of the critical bug in ldrdf.c
Yuri Zaporogets [Sat, 15 May 2004 09:48:58 +0000 (09:48 +0000)]
Fix of the critical bug in ldrdf.c

20 years agofix as86 .bss handling per John Coffman's patch
Frank Kotler [Sun, 25 Apr 2004 02:57:00 +0000 (02:57 +0000)]
fix as86 .bss handling per John Coffman's patch

20 years agofix man page per Eric Raymond
Frank Kotler [Wed, 7 Jan 2004 06:17:21 +0000 (06:17 +0000)]
fix man page per Eric Raymond

20 years agoTouch up docs
Frank Kotler [Fri, 12 Dec 2003 07:54:15 +0000 (07:54 +0000)]
Touch up docs

20 years agoUpdate rdoff
Frank Kotler [Fri, 12 Dec 2003 06:18:07 +0000 (06:18 +0000)]
Update rdoff

21 years agoFor compatibility with older code removed feature:
Nickolay Yurchenko [Fri, 26 Sep 2003 19:03:40 +0000 (19:03 +0000)]
For compatibility with older code removed feature:
* Unterminated string auto termination.

21 years agoBacked out another patch =)
Stanislav Karchebny [Fri, 26 Sep 2003 04:20:30 +0000 (04:20 +0000)]
Backed out another patch =)

21 years agoRevert erroneous macro added and modify __OUTPUT_FORMAT__ to a string const
Stanislav Karchebny [Thu, 25 Sep 2003 11:43:28 +0000 (11:43 +0000)]
Revert erroneous macro added and modify __OUTPUT_FORMAT__ to a string const

21 years agoConsistency fix
Stanislav Karchebny [Thu, 25 Sep 2003 11:28:45 +0000 (11:28 +0000)]
Consistency fix

21 years agoAdded _NASM_FORMAT_ macro
Stanislav Karchebny [Wed, 24 Sep 2003 10:30:56 +0000 (10:30 +0000)]
Added _NASM_FORMAT_ macro

21 years ago* Unterminated string auto termination.
Nickolay Yurchenko [Sun, 21 Sep 2003 20:38:43 +0000 (20:38 +0000)]
* Unterminated string auto termination.
* %(el)if(n)idn insensitivity to string quotes difference (#809300).

21 years agoDocument fix
H. Peter Anvin [Fri, 12 Sep 2003 22:31:42 +0000 (22:31 +0000)]
Document fix

21 years agoDon't delete config.h.in when doing "make spotless"
H. Peter Anvin [Fri, 12 Sep 2003 22:30:50 +0000 (22:30 +0000)]
Don't delete config.h.in when doing "make spotless"

21 years agoNext version = 0.98.39
H. Peter Anvin [Fri, 12 Sep 2003 20:52:49 +0000 (20:52 +0000)]
Next version = 0.98.39

21 years agoFix list iterator
H. Peter Anvin [Fri, 12 Sep 2003 20:49:25 +0000 (20:49 +0000)]
Fix list iterator

21 years agoDocument change to -g internals
H. Peter Anvin [Fri, 12 Sep 2003 17:06:52 +0000 (17:06 +0000)]
Document change to -g internals

21 years agoIf we don't specify -g, actually suppress debugging output
H. Peter Anvin [Wed, 10 Sep 2003 23:34:23 +0000 (23:34 +0000)]
If we don't specify -g, actually suppress debugging output

21 years agoUse the version of tmap.nas that actually caused problems
H. Peter Anvin [Wed, 10 Sep 2003 23:33:38 +0000 (23:33 +0000)]
Use the version of tmap.nas that actually caused problems

21 years agoMore test files...
H. Peter Anvin [Mon, 8 Sep 2003 22:59:45 +0000 (22:59 +0000)]
More test files...

21 years agoCannot free "lnfname" since it's now static...
H. Peter Anvin [Mon, 8 Sep 2003 22:59:07 +0000 (22:59 +0000)]
Cannot free "lnfname" since it's now static...

21 years agoMake sure autoheader has actually been run by conditionalizing
H. Peter Anvin [Mon, 8 Sep 2003 20:02:10 +0000 (20:02 +0000)]
Make sure autoheader has actually been run by conditionalizing
the running of configure on the existence of config.h.in.

21 years agofixed bug #677841 by limiting the scanner to no more than 4095 characters for a singl...
Ed Beroset [Mon, 8 Sep 2003 01:49:30 +0000 (01:49 +0000)]
fixed bug #677841 by limiting the scanner to no more than 4095 characters for a single ID token

21 years agofixed bug #677841 by limiting the scanner to no more than 4095 characters for a singl...
Ed Beroset [Mon, 8 Sep 2003 00:30:40 +0000 (00:30 +0000)]
fixed bug #677841 by limiting the scanner to no more than 4095 characters for a single ID token

21 years ago* Fix for %rep with no arguments (#560568)
Nickolay Yurchenko [Sun, 7 Sep 2003 22:46:26 +0000 (22:46 +0000)]
* Fix for %rep with no arguments (#560568)
* Fix concatenation of preprocessor function call  (#794686)

21 years agonasm_malloc-ize Martin's outelf.c stabs stuff
Frank Kotler [Sat, 6 Sep 2003 05:48:16 +0000 (05:48 +0000)]
nasm_malloc-ize Martin's outelf.c stabs stuff

21 years agoquick fix to -f obj debug format - put "static" back in assemble.c
Frank Kotler [Sat, 6 Sep 2003 04:45:37 +0000 (04:45 +0000)]
quick fix to -f obj debug format - put "static" back in assemble.c

-

21 years agoDocument ELF fix
H. Peter Anvin [Sat, 6 Sep 2003 00:55:49 +0000 (00:55 +0000)]
Document ELF fix

21 years agoFirst attempt at fixing the stabs/ELF issue.
H. Peter Anvin [Sat, 6 Sep 2003 00:50:27 +0000 (00:50 +0000)]
First attempt at fixing the stabs/ELF issue.

21 years agoDocument STR fix
H. Peter Anvin [Tue, 2 Sep 2003 21:39:22 +0000 (21:39 +0000)]
Document STR fix

21 years agoSTR also has SMSW/SLDT-like semantics for operand size
H. Peter Anvin [Tue, 2 Sep 2003 21:38:48 +0000 (21:38 +0000)]
STR also has SMSW/SLDT-like semantics for operand size

21 years agoAdd autoheader command
H. Peter Anvin [Mon, 1 Sep 2003 04:20:40 +0000 (04:20 +0000)]
Add autoheader command

21 years agoEnable the use of a config.h file and autoheader. At this point we don't
H. Peter Anvin [Mon, 1 Sep 2003 04:19:37 +0000 (04:19 +0000)]
Enable the use of a config.h file and autoheader.  At this point we don't
actually *use* the resulting configuration file, but it keeps autoconf
from creating an insanely long compiler command line, which can cause
problems all by itself.  Eventually we can do:

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

... to get the same information.

21 years ago-O10 and -O15, not -O5 and -O10
H. Peter Anvin [Mon, 1 Sep 2003 04:14:15 +0000 (04:14 +0000)]
-O10 and -O15, not -O5 and -O10

21 years agoNow working toward 0.98.38
H. Peter Anvin [Sat, 30 Aug 2003 05:04:22 +0000 (05:04 +0000)]
Now working toward 0.98.38

21 years agoSupport building 16-bit DOS binaries using OpenWatcom
H. Peter Anvin [Sat, 30 Aug 2003 03:49:30 +0000 (03:49 +0000)]
Support building 16-bit DOS binaries using OpenWatcom

21 years agoUpdate for newer RH releases
H. Peter Anvin [Fri, 29 Aug 2003 21:03:44 +0000 (21:03 +0000)]
Update for newer RH releases

21 years ago%{_arch} doesn't work with newer RPMs; use %{_target_cpu} instead
H. Peter Anvin [Fri, 29 Aug 2003 20:48:37 +0000 (20:48 +0000)]
%{_arch} doesn't work with newer RPMs; use %{_target_cpu} instead

21 years agoFix "make doc"
H. Peter Anvin [Fri, 29 Aug 2003 20:00:26 +0000 (20:00 +0000)]
Fix "make doc"

21 years agoDon't rename the spec file
H. Peter Anvin [Fri, 29 Aug 2003 19:58:02 +0000 (19:58 +0000)]
Don't rename the spec file

21 years agoMaking the spec file part of dist is something for the Makefile, not
H. Peter Anvin [Fri, 29 Aug 2003 19:56:40 +0000 (19:56 +0000)]
Making the spec file part of dist is something for the Makefile, not
for the release script

21 years agoInclude spec file in tarball for rpm -ta
H. Peter Anvin [Fri, 29 Aug 2003 19:53:10 +0000 (19:53 +0000)]
Include spec file in tarball for rpm -ta

21 years agoUpdate URLs; make compatible with newer RPMs
H. Peter Anvin [Fri, 29 Aug 2003 19:50:25 +0000 (19:50 +0000)]
Update URLs; make compatible with newer RPMs

21 years agoStandard formatting.
H. Peter Anvin [Fri, 29 Aug 2003 19:37:58 +0000 (19:37 +0000)]
Standard formatting.

21 years agoDocument -O2/-O3 change
H. Peter Anvin [Fri, 29 Aug 2003 19:29:37 +0000 (19:29 +0000)]
Document -O2/-O3 change

21 years agoUpdate documentation slightly; remove weird special-casing of -O2 and -O3
H. Peter Anvin [Fri, 29 Aug 2003 19:25:46 +0000 (19:25 +0000)]
Update documentation slightly; remove weird special-casing of -O2 and -O3

21 years agoUpdate
H. Peter Anvin [Fri, 29 Aug 2003 19:06:40 +0000 (19:06 +0000)]
Update

21 years agoStandard line breaks
H. Peter Anvin [Fri, 29 Aug 2003 19:05:39 +0000 (19:05 +0000)]
Standard line breaks

21 years agoUpdate status
H. Peter Anvin [Fri, 29 Aug 2003 19:01:46 +0000 (19:01 +0000)]
Update status

21 years agoHandle subdirectories
H. Peter Anvin [Fri, 29 Aug 2003 18:57:50 +0000 (18:57 +0000)]
Handle subdirectories

21 years agoRemove obsolete comment
H. Peter Anvin [Fri, 29 Aug 2003 18:55:22 +0000 (18:55 +0000)]
Remove obsolete comment

21 years agoTouch up Makefile.b32
Frank Kotler [Fri, 29 Aug 2003 05:15:35 +0000 (05:15 +0000)]
Touch up Makefile.b32

21 years agoSMSW and SLDT are implicitly 16 bits when accessing memory, but can set
H. Peter Anvin [Wed, 27 Aug 2003 21:25:44 +0000 (21:25 +0000)]
SMSW and SLDT are implicitly 16 bits when accessing memory, but can set
the upper part of a 16-bit register if used with a 32-bit register
argument.

21 years agoAlexei's patch to allow "-I" paths to be searched for "incbin"ed files
Frank Kotler [Wed, 27 Aug 2003 11:33:56 +0000 (11:33 +0000)]
Alexei's patch to allow "-I" paths to be searched for "incbin"ed files

21 years agoAllow leading whitespace on output format specific directives.
Michael K. Ter Louw [Fri, 15 Aug 2003 22:25:53 +0000 (22:25 +0000)]
Allow leading whitespace on output format specific directives.

21 years agofix comment in test/lnxhello.asm
Frank Kotler [Wed, 6 Aug 2003 07:13:59 +0000 (07:13 +0000)]
fix comment in test/lnxhello.asm

21 years agoRemove "backslash()"
Frank Kotler [Wed, 6 Aug 2003 07:10:16 +0000 (07:10 +0000)]
Remove "backslash()"

21 years agoAdded -d key (merge duplicate strings) to to compiler keys string.
Nickolay Yurchenko [Fri, 25 Jul 2003 21:55:35 +0000 (21:55 +0000)]
Added -d key (merge duplicate strings) to to compiler keys string.

21 years agoDocument fixing bug 574861
H. Peter Anvin [Wed, 16 Jul 2003 19:54:49 +0000 (19:54 +0000)]
Document fixing bug 574861

21 years agoFix offset computation in the presence of explicit prefixes.
H. Peter Anvin [Wed, 16 Jul 2003 19:53:51 +0000 (19:53 +0000)]
Fix offset computation in the presence of explicit prefixes.

21 years agoAdd Linux "hello world" example
H. Peter Anvin [Thu, 10 Jul 2003 00:40:46 +0000 (00:40 +0000)]
Add Linux "hello world" example

21 years agoRestore the adjusted symbol id start
H. Peter Anvin [Thu, 10 Jul 2003 00:40:33 +0000 (00:40 +0000)]
Restore the adjusted symbol id start

21 years agoGenerate stabs format debugging info for ELF
H. Peter Anvin [Wed, 9 Jul 2003 19:11:10 +0000 (19:11 +0000)]
Generate stabs format debugging info for ELF

21 years agoQuiet spurious gcc warning
H. Peter Anvin [Wed, 9 Jul 2003 19:10:47 +0000 (19:10 +0000)]
Quiet spurious gcc warning

21 years agostart/vstart/align/valign can now be >0x80000000
Michael K. Ter Louw [Wed, 9 Jul 2003 08:10:22 +0000 (08:10 +0000)]
start/vstart/align/valign can now be >0x80000000

21 years agoFixed outbin.c to allow origin > 80000000h
Frank Kotler [Mon, 30 Jun 2003 20:39:23 +0000 (20:39 +0000)]
Fixed outbin.c to allow origin > 80000000h

21 years agoapply dborca's patch - make the "-U" switch work - finally!
Frank Kotler [Sat, 14 Jun 2003 12:12:26 +0000 (12:12 +0000)]
apply dborca's patch - make the "-U" switch work - finally!

21 years agoRemove "malloc.h" from rdoff/symtab.c - BSD build problem?
Frank Kotler [Tue, 1 Apr 2003 06:42:15 +0000 (06:42 +0000)]
Remove "malloc.h" from rdoff/symtab.c - BSD build problem?