summaryrefslogtreecommitdiff
path: root/output/outrdf2.c
diff options
context:
space:
mode:
authorCharles Crayne <chuck@thor.crayne.org>2007-11-06 21:48:12 -0800
committerCharles Crayne <chuck@thor.crayne.org>2007-11-06 21:48:12 -0800
commit8c7eca493600aa2ee39554dfe8712fb30a8cec3f (patch)
treebd1e9129e666eba8f5087f2af62659407cfe0a59 /output/outrdf2.c
parent1f8bc4c9a90ef5c28ba65627f4088920bfb61df4 (diff)
downloadnasm-8c7eca493600aa2ee39554dfe8712fb30a8cec3f.tar.gz
Pass 64-bit instruction lengths to back-ends.
Diffstat (limited to 'output/outrdf2.c')
-rw-r--r--output/outrdf2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/output/outrdf2.c b/output/outrdf2.c
index 0122ff70..3c7b6821 100644
--- a/output/outrdf2.c
+++ b/output/outrdf2.c
@@ -507,10 +507,10 @@ static int getsegmentlength(int segment)
return segments[i].seglength;
}
-static void rdf2_out(int32_t segto, const void *data, uint32_t type,
+static void rdf2_out(int32_t segto, const void *data, uint64_t type,
int32_t segment, int32_t wrt)
{
- int32_t bytes = type & OUT_SIZMASK;
+ int64_t bytes = type & OUT_SIZMASK;
struct RelocRec rr;
uint8_t databuf[8], *pd;
int seg;