Patch to accept gcc objects submitted by ggn.

This commit is contained in:
Shamus Hammons 2014-12-11 08:32:52 -06:00
parent 1bfcf5edc6
commit a1f6a3912c
2 changed files with 3 additions and 3 deletions

4
rln.c
View File

@ -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))

2
rln.h
View File

@ -52,7 +52,7 @@
#define MAJOR 1 // Major version number
#define MINOR 2 // Minor version number
#define PATCH 2 // Patch release number
#define PATCH 3 // Patch release number
#ifdef WIN32
#define PLATFORM "Win32" // Release platform - Windows