diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:51:32 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:51:32 +0000 |
commit | ea6e34db64c7da7cb885197316c6b5e7d048bdb9 (patch) | |
tree | 78e728348f8fe09e394a51c3617e6261de0f4001 /rdoff/rdfload.h | |
download | nasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.tar.gz nasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.tar.bz2 nasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.zip |
NASM 0.91
Diffstat (limited to 'rdoff/rdfload.h')
-rw-r--r-- | rdoff/rdfload.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/rdoff/rdfload.h b/rdoff/rdfload.h new file mode 100644 index 0000000..5e264b9 --- /dev/null +++ b/rdoff/rdfload.h @@ -0,0 +1,29 @@ +/* rdfload.h RDOFF Object File loader library header file + * + * The Netwide Assembler is copyright (C) 1996 Simon Tatham and + * Julian Hall. All rights reserved. The software is + * redistributable under the licence given in the file "Licence" + * distributed in the NASM archive. + * + * See the file 'rdfload.c' for special license information for this + * file. + */ + +#ifndef _RDFLOAD_H +#define _RDFLOAD_H + +#include "rdoff.h" + +typedef struct RDFModuleStruct { + rdffile f; /* file structure */ + unsigned char * t, * d, * b; /* text, data, and bss segments */ + long textrel; + long datarel; + long bssrel; + void * symtab; +} rdfmodule; + +rdfmodule * rdfload(const char * filename); +int rdf_relocate(rdfmodule * m); + +#endif |