rdfload: make the base addresses unsigned
authorH. Peter Anvin <hpa@zytor.com>
Fri, 3 Jul 2009 22:28:45 +0000 (15:28 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 3 Jul 2009 22:28:45 +0000 (15:28 -0700)
Make the base addresses in rdfload unsigned.  Note: this file is
really obsolete; it can't represent RDF2 with more than the 3
old-style segments.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
rdoff/rdfload.h

index 8f66694d437c27ee347193e5939260bb303492c2..87d7ecc5d147cc970621fe73e259878e67b445e0 100644 (file)
@@ -19,9 +19,9 @@
 typedef struct RDFModuleStruct {
     rdffile f;                  /* file structure */
     uint8_t *t, *d, *b;   /* text, data, and bss segments */
-    int32_t textrel;
-    int32_t datarel;
-    int32_t bssrel;
+    uint32_t textrel;
+    uint32_t datarel;
+    uint32_t bssrel;
     void *symtab;
 } rdfmodule;