diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2010-05-06 15:25:43 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-05-06 15:33:24 -0700 |
commit | 55ae12052cd110cc27fa8ef15a114b4e75fa4c24 (patch) | |
tree | bdb7acd17f7c4b75f2ff48e527a9d454260b35ba /nasm.h | |
parent | 97ec06a16a0871330d8f4544de9cd95fc88d31df (diff) | |
download | nasm-55ae12052cd110cc27fa8ef15a114b4e75fa4c24.tar.gz nasm-55ae12052cd110cc27fa8ef15a114b4e75fa4c24.tar.bz2 nasm-55ae12052cd110cc27fa8ef15a114b4e75fa4c24.zip |
Add support for one-byte relocations
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>
Diffstat (limited to 'nasm.h')
-rw-r--r-- | nasm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -101,6 +101,7 @@ enum out_type { OUT_RAWDATA, /* Plain bytes */ OUT_ADDRESS, /* An address (symbol value) */ OUT_RESERVE, /* Reserved bytes (RESB et al) */ + OUT_REL1ADR, /* 1-byte relative address */ OUT_REL2ADR, /* 2-byte relative address */ OUT_REL4ADR, /* 4-byte relative address */ OUT_REL8ADR, /* 8-byte relative address */ |