platform/upstream/nasm.git
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

20 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.

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

20 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

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

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

20 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?

21 years agoThe next release will be 0.98.37
H. Peter Anvin [Wed, 12 Mar 2003 22:17:32 +0000 (22:17 +0000)]
The next release will be 0.98.37

21 years agoDocument XSTORE
H. Peter Anvin [Wed, 12 Mar 2003 04:59:00 +0000 (04:59 +0000)]
Document XSTORE

21 years agoAdd Cyrix XSTORE
H. Peter Anvin [Wed, 12 Mar 2003 04:57:51 +0000 (04:57 +0000)]
Add Cyrix XSTORE

21 years agoSupport "cpu prescott"
H. Peter Anvin [Tue, 25 Feb 2003 00:03:00 +0000 (00:03 +0000)]
Support "cpu prescott"

21 years agoUpdate copyright year
H. Peter Anvin [Mon, 24 Feb 2003 23:32:00 +0000 (23:32 +0000)]
Update copyright year

21 years agoImprove language
H. Peter Anvin [Mon, 24 Feb 2003 23:28:48 +0000 (23:28 +0000)]
Improve language

21 years agoPrescott instructions.
H. Peter Anvin [Mon, 24 Feb 2003 23:25:45 +0000 (23:25 +0000)]
Prescott instructions.

21 years agoAdd support for the new instructions in Prescott
H. Peter Anvin [Mon, 24 Feb 2003 23:22:45 +0000 (23:22 +0000)]
Add support for the new instructions in Prescott

21 years ago"Q" and "O" suffixes now indicate octal - touch up docs
Frank Kotler [Thu, 6 Feb 2003 02:44:08 +0000 (02:44 +0000)]
"Q" and "O" suffixes now indicate octal - touch up docs

21 years agoChanges to CHANGES, AUTHORS
Frank Kotler [Tue, 4 Feb 2003 17:30:58 +0000 (17:30 +0000)]
Changes to CHANGES, AUTHORS

21 years agoupdate docs - multisection, [list +/-], --prefix, pslldq/psrldq (?), etc.
Frank Kotler [Tue, 4 Feb 2003 17:21:02 +0000 (17:21 +0000)]
update docs - multisection, [list +/-], --prefix, pslldq/psrldq (?), etc.

21 years agobugfixes to insns.dat pmovhps, pmovlps, sysexit
Frank Kotler [Tue, 4 Feb 2003 17:13:49 +0000 (17:13 +0000)]
bugfixes to insns.dat pmovhps, pmovlps, sysexit

21 years agoMike's multisection outbin.c "align bug fix"
Frank Kotler [Tue, 4 Feb 2003 07:11:20 +0000 (07:11 +0000)]
Mike's multisection outbin.c "align bug fix"

21 years agofix reported bug in doc - cosmetic touchups
Frank Kotler [Sat, 7 Dec 2002 00:44:19 +0000 (00:44 +0000)]
fix reported bug in doc - cosmetic touchups

21 years agoAdd missing header files
H. Peter Anvin [Thu, 5 Dec 2002 19:33:20 +0000 (19:33 +0000)]
Add missing header files

21 years agochanges to CHANGES
Frank Kotler [Wed, 4 Dec 2002 19:10:20 +0000 (19:10 +0000)]
changes to CHANGES

21 years agotry again to finish Yuri's patch
Frank Kotler [Wed, 4 Dec 2002 14:01:01 +0000 (14:01 +0000)]
try again to finish Yuri's patch

21 years agofinish adding Yuri's patch?
Frank Kotler [Wed, 4 Dec 2002 02:48:07 +0000 (02:48 +0000)]
finish adding Yuri's patch?

21 years agoYuri's 12/3/2002 rdoff patches-
Frank Kotler [Wed, 4 Dec 2002 00:49:37 +0000 (00:49 +0000)]
Yuri's 12/3/2002 rdoff patches-

21 years agoFix BR 632459: endianness error
H. Peter Anvin [Sun, 10 Nov 2002 06:29:23 +0000 (06:29 +0000)]
Fix BR 632459: endianness error

21 years agoFix the definition of PSLLDQ (BR 578123)
H. Peter Anvin [Sun, 10 Nov 2002 06:13:37 +0000 (06:13 +0000)]
Fix the definition of PSLLDQ (BR 578123)

21 years agoFix bug 615409 (UNPCKHPD xmmreg,mem not vice versa)
H. Peter Anvin [Fri, 8 Nov 2002 20:18:51 +0000 (20:18 +0000)]
Fix bug 615409 (UNPCKHPD xmmreg,mem not vice versa)

21 years agoAdd a test for incorrect handing of offsets with prefixes
H. Peter Anvin [Thu, 7 Nov 2002 22:45:46 +0000 (22:45 +0000)]
Add a test for incorrect handing of offsets with prefixes