]> Shamusworld >> Repos - rln/blobdiff - rln.c
Patch to accept gcc objects submitted by ggn.
[rln] / rln.c
diff --git a/rln.c b/rln.c
index 2fa5be420c93d4369b77c89ae9f561f0b83b62ee..9f1a01e5ea72c5910f7d8721a96379f8b605b9fb 100644 (file)
--- a/rln.c
+++ b/rln.c
@@ -2315,8 +2315,8 @@ int flush_handles(void)
                        lseek(handle[i], 0L, 0);        // Reset to start of input file
 //                     test = getlong(magic); printf("Magic Number is 0x%08X\n", test);
 
-                       // Look for RMAC/MAC object files
-                       if (getlong(magic) == 0x00000107)
+                       // Look for RMAC/MAC/GCC ($20107) object files
+                       if ((getlong(magic) == 0x00000107) || (getlong(magic) == 0x00020107))
                        {
                                // Process input object file
                                if (doobject(name[i], handle[i], 0L))