]> Shamusworld >> Repos - rmac/blobdiff - sect.c
Tentative fix for bug #218 - allow unresolved symbols with trivial expressions to...
[rmac] / sect.c
diff --git a/sect.c b/sect.c
index 834df9d9b5d1d58f60e56ac2e030a598a50979d0..12f9c89eae2f7eda973f63765816c21bb87f3c57 100644 (file)
--- a/sect.c
+++ b/sect.c
@@ -463,7 +463,7 @@ int ResolveFixups(int sno)
                                continue;
 
                        if (esym)
-                               if (!(esym->sattr & DEFINED))
+                               if (!(esym->sattr & DEFINED) && eval==0)
                                {
                                        // If our expression still has an undefined symbol at this stage, it's bad news.
                                        // The linker is never going to resolve the expression, so that's an error.