From: Shamus Hammons Date: Sat, 10 Feb 2018 17:41:18 +0000 (-0600) Subject: Add fixup stubs for FU_FLOATfoo types. Now at version 1.12.4. X-Git-Tag: v2.1.0~80 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=commitdiff_plain;h=4ca3c2db2690ab998707415f8555ecd2fabc6ef2 Add fixup stubs for FU_FLOATfoo types. Now at version 1.12.4. --- diff --git a/sect.c b/sect.c index 26fe2f9..2269403 100644 --- a/sect.c +++ b/sect.c @@ -727,6 +727,21 @@ int ResolveFixups(int sno) *locp = (uint8_t)eval; break; + // Fixup a 4-byte float + case FU_FLOATSING: + warn("FU_FLOATSING missing implementation\n%s", "And you may ask yourself, \"Self, how did I get here?\""); + break; + + // Fixup a 8-byte float + case FU_FLOATDOUB: + warn("FU_FLOATDOUB missing implementation\n%s", "And you may ask yourself, \"Self, how did I get here?\""); + break; + + // Fixup a 12-byte float + case FU_FLOATEXT: + warn("FU_FLOATEXT missing implementation\n%s", "And you may ask yourself, \"Self, how did I get here?\""); + break; + default: // Bad fixup type--this should *never* happen! // Once we call this function, it winds down immediately; it diff --git a/sect.h b/sect.h index 58c81ec..dc5e167 100644 --- a/sect.h +++ b/sect.h @@ -98,10 +98,9 @@ #define FU_DONE 0x8000 // Fixup has been done // FPU fixups -// TODO: these are obviously bogus for now! -#define FU_FLOATSING 0x0D0B // Fixup 32-bit float -#define FU_FLOATDOUB 0x0E0B // Fixup 64-bit float -#define FU_FLOATEXT 0x0F0B // Fixup 96-bit float +#define FU_FLOATSING 0x000A // Fixup 32-bit float +#define FU_FLOATDOUB 0x000B // Fixup 64-bit float +#define FU_FLOATEXT 0x000C // Fixup 96-bit float // Chunks are used to hold generated code and fixup records #define CHUNK struct _chunk diff --git a/version.h b/version.h index 315f981..e80f72d 100644 --- a/version.h +++ b/version.h @@ -15,7 +15,7 @@ #define MAJOR 1 // Major version number #define MINOR 12 // Minor version number -#define PATCH 3 // Patch release number +#define PATCH 4 // Patch release number #endif // __VERSION_H__