aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff/rdoff.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-04-30 21:06:16 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-04-30 21:06:16 +0000
commit225c5926f04fb8052be3c12fcd1445934a9fd44f (patch)
treecd1cc5cbe59e1782e510bb4fb31d757797053592 /rdoff/rdoff.c
parent09f6acbb75d7f58aa78691844620b85b6c44919b (diff)
downloadnasm-225c5926f04fb8052be3c12fcd1445934a9fd44f.tar.gz
nasm-225c5926f04fb8052be3c12fcd1445934a9fd44f.tar.xz
nasm-225c5926f04fb8052be3c12fcd1445934a9fd44f.zip
NASM 0.98.22nasm-0.98.22
Diffstat (limited to 'rdoff/rdoff.c')
-rw-r--r--rdoff/rdoff.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/rdoff/rdoff.c b/rdoff/rdoff.c
index e7d8b764..80b96cc2 100644
--- a/rdoff/rdoff.c
+++ b/rdoff/rdoff.c
@@ -13,10 +13,6 @@
/* TODO: The functions in this module assume they are running
* on a little-endian machine. This should be fixed to
* make it portable.
- *
- * This module no longer supports RDOFF1. If anybody *really*
- * needs the functionality of supporting both types at the
- * same time, I'll add it back in.
*/
#include <stdio.h>
@@ -388,6 +384,7 @@ rdfheaderrec *rdfgetheaderrec(rdffile *f)
break;
case 3: /* Exported symbol record */
+ RI8(r.e.flags);
RI8(r.e.segment);
RI32(r.e.offset);
RS(r.e.label,32);
@@ -464,6 +461,7 @@ int rdfaddheader(rdf_headerbuf * h, rdfheaderrec * r)
break ;
case 3: /* export */
+ membufwrite(h->buf,&r->e.flags,1);
membufwrite(h->buf,&r->e.segment,1);
membufwrite(h->buf,&r->e.offset,-4);
membufwrite(h->buf,&r->e.label,strlen(r->e.label) + 1);