mirror of http://shamusworld.gotdns.org/git/rmac
Tentative fix for bug #218 - allow unresolved symbols with trivial expressions to be exported
This commit is contained in:
parent
64dd9e00ec
commit
41ec2754c0
2
sect.c
2
sect.c
|
@ -463,7 +463,7 @@ int ResolveFixups(int sno)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (esym)
|
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.
|
// 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.
|
// The linker is never going to resolve the expression, so that's an error.
|
||||||
|
|
Loading…
Reference in New Issue