summaryrefslogtreecommitdiff
path: root/rdoff/rdfload.c
Commit message (Collapse)AuthorAgeFilesLines
* Move <string.h> inclusion to compiler.hH. Peter Anvin2018-12-261-1/+0
| | | | | | | There is absolutely no reason not to include <string.h> globally, and with the inline function for mempcpy() we need it there anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* rdoff: use nasm-provided safe memory allocation and I/OH. Peter Anvin2017-04-171-23/+23
| | | | | | | | | We already have abort-on-error memory allocation and I/O operations in nasmlib, so use them for rdoff as well. Delete long-since-obsolete rdoff Mkfiles directory. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Fixed several resource and memory leaksPhilipp Kloke2013-04-011-0/+1
| | | | | | | Bug found by: CppCheck 1.59 (static source analysis tool) Signed-off-by: Philipp Kloke <philipp.kloke@web.de> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Add new copyright headers to the rdoff codeH. Peter Anvin2009-06-281-8/+33
| | | | | | | | To the best of my knowledge, the only file which we don't have 2-BSD relicensing permission for at this stage is rdf2ihx.c. That file probably should just be rewritten, if anyone cares. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* regularized spelling of license to match name of LICENSE fileBeroset2007-12-291-1/+1
|
* Actually shut up the warning in rdfload.cH. Peter Anvin2007-10-281-3/+3
| | | | Shut the warning in rdfload.c up properly...
* Fix warning about cast to pointer in rdfload.cH. Peter Anvin2007-10-281-3/+3
| | | | | | Fix warning in rdfload.c about cast to pointer of different size when compiling on 64 bits. Of course, rdfload is probably useless on 64 bits, but it's pretty useless in the first place.
* 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.)
* Fixed distinction between char and int8_t data types.Keith Kanios2007-04-131-3/+3
|
* Remove obsolete types; add <inttypes.h> where needed; header fixesH. Peter Anvin2007-04-121-1/+1
| | | | | | | | | | | - Remove obsolete types like "uint32"; use "uint32_t" consistently. - Make sure we include <inttypes.h> where needed. - Header file guards should be FOO_H or SUBDIR_FOO_H; _FOO_H infringes on the C implementation's namespace and should only be used when writing libc! - Change a few "int8_t" back to "char" where appropriate. There are a lot more places where that should be done, though. - Clean up the check for getuid/getgid in rdoff/rdlar.h.
* General push for x86-64 support, dubbed 0.99.00.Keith Kanios2007-04-121-11/+11
|
* Apply Nindent to all .c and .h filesnasm-0.98.39LATESTH. Peter Anvin2005-01-151-108/+113
|
* outrdf2.c now uses the same definitions of RDOFF2 format that RDOFF utils.Yuri Zaporogets2004-09-151-19/+12
| | | | | | | | 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.
* Include <string.h> to get rid of compiler warningsYuri Zaporogets2004-05-151-1/+2
|
* Update rdoffFrank Kotler2003-12-121-1/+0
|
* Add missing header filesH. Peter Anvin2002-12-051-0/+1
|
* Yuri's 12/3/2002 rdoff patches-Frank Kotler2002-12-041-1/+0
|
* This file needs <string.h>H. Peter Anvin2002-05-261-0/+1
|
* NASM 0.98.16nasm-0.98.16fork-0.98eH. Peter Anvin2002-04-301-1/+0
|
* NASM 0.98.11nasm-0.98.11H. Peter Anvin2002-04-301-0/+1
|
* NASM 0.98.08nasm-0.98.08H. Peter Anvin2002-04-301-3/+4
|
* NASM 0.98nasm-0.98fork-0.98bfH. Peter Anvin2002-04-301-3/+15
|
* NASM 0.94nasm-0.94H. Peter Anvin2002-04-301-6/+6
|
* NASM 0.91nasm-0.91H. Peter Anvin2002-04-301-0/+173