summaryrefslogtreecommitdiff
path: root/listing.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for one-byte relocationsH. Peter Anvin2010-05-061-84/+29
| | | | | | | | | Add OUT_REL1ADR (one-byte relative address) and support for OUT_ADDRESs with size == 1. Add support for it in outbin and outdbg. *It still needs to be added to other backends*, both the OUT_REL*ADR and OUT_ADDRESS codepaths need to be handled. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* listing: preserve list file on error, include errorsH. Peter Anvin2009-07-071-3/+37
| | | | | | | | | Instead of removing the list file on error, keep the list file and include the errors in the list file. This makes it actually possible to debug things that involve deep macro recursion, where the line number is pretty much meaningless. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* NASM: relicense under the 2-clause BSD licenseH. Peter Anvin2009-07-061-12/+0
| | | | | | | | *To the best of my knowledge*, we now have authorization from everyone who has significantly contributed to NASM in the past. As such, change the license to the 2-clause BSD license. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Add copyright headers to the *.c/*.h files in the main directoryH. Peter Anvin2009-06-281-6/+45
| | | | | | | | | | Add copyright headers to the *.c/*.h files in the main directory. For files where I'm sure enough that we have all the approvals, I have given them the 2-BSD license, the others have been given the "LGPL for now" license header. Most of them can probably be changed after auditing. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Fix overflow in listing.c (BR 1991797)H. Peter Anvin2008-06-121-1/+1
| | | | | | | Fix a buffer overflow in listing.c (BR 1991797). Putting this on the nasm-2.03.x branch as a potential candidate for a patch release.
* regularized spelling of license to match name of LICENSE fileBeroset2007-12-291-1/+1
|
* BR 863173: Fix offsets of TIMES/INCBIN in list fileH. Peter Anvin2007-11-191-0/+2
| | | | Correct the emission of offsets for TIMES/INCBIN in the list file.
* Address data is int64_t; simplify writing an address objectH. Peter Anvin2007-11-131-1/+1
| | | | | | | Address data is always int64_t even if the size itself is smaller; this was broken on bigendian hosts (still need testing!) Create simple "write sized object" macros.
* Don't combine type and size into a single argumentH. Peter Anvin2007-11-091-12/+43
| | | | | | | Don't combine type and size into a single argument; *every* backend immediately breaks them apart, so it's really just a huge waste of effort. Additionally, it avoids using short immediates in the resulting code, which is a bad thing.
* Pass 64-bit instruction lengths to back-ends.Charles Crayne2007-11-061-3/+3
|
* Formatting: kill off "stealth whitespace"H. Peter Anvin2007-10-191-1/+1
| | | | | "Stealth whitespace" makes it harder to read diffs, and just generally cause unwanted weirdness. Do a source-wide pass to get rid of it.
* Use the compiler-provided booleans if available, otherwise emulateH. Peter Anvin2007-10-101-6/+6
| | | | | | | Both C and C++ have "bool", "true" and "false" in lower case; C requires <stdbool.h> for this, in C++ it is an inherent type built into the compiler. Use those instead of the old macros; emulate with a simple typedef enum if unavailable.
* Portability fixesH. Peter Anvin2007-10-021-0/+2
| | | | | | | | | Concentrate compiler dependencies to compiler.h; make sure compiler.h is included first in every .c file (since some prototypes may depend on the presence of feature request macros.) Actually use the conditional inclusion of various functions (totally broken in previous releases.)
* c99 printf/fprintf compliance.Keith Kanios2007-04-141-3/+3
|
* Fixed distinction between char and int8_t data types.Keith Kanios2007-04-131-11/+11
|
* General push for x86-64 support, dubbed 0.99.00.Keith Kanios2007-04-121-23/+39
|
* Apply Nindent to all .c and .h filesnasm-0.98.39LATESTH. Peter Anvin2005-01-151-138/+129
|
* changed sprintf to more secure snprintf to prevent vulnerability to bufferEd Beroset2004-12-151-1/+1
| | | | overflow exploits.
* "const"-ipation fixes from Trevor WoernerH. Peter Anvin2002-09-121-2/+2
|
* NASM 0.98.09nasm-0.98.09H. Peter Anvin2002-04-301-1/+1
|
* NASM 0.98.08nasm-0.98.08H. Peter Anvin2002-04-301-1/+5
|
* NASM 0.98p3nasm-0.98p3H. Peter Anvin2002-04-301-22/+62
|
* NASM 0.95nasm-0.95H. Peter Anvin2002-04-301-0/+240