X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=eagen0.c;h=bcddb193f64f51e76ceaaab1e0b6e3da158d0655;hp=60b7e4a6c40d564b76f526cb78186f952a15ff91;hb=4a08774b122ba509b13c79975b2ad0f2e441c56b;hpb=9afaf60ca24cdb08f900ae584107e29e3af46566 diff --git a/eagen0.c b/eagen0.c index 60b7e4a..bcddb19 100644 --- a/eagen0.c +++ b/eagen0.c @@ -327,8 +327,10 @@ int eaNgen(WORD siz) if (w) // Defined { if (CHECK_OPTS(OPT_PC_RELATIVE)) - if (aNexattr&(DEFINED | REFERENCED | EQUATED) == DEFINED | REFERENCED) + { + if ((aNexattr & (DEFINED | REFERENCED | EQUATED)) == (DEFINED | REFERENCED)) return error("relocation not allowed"); + } if (tdb) MarkRelocatable(cursect, sloc, tdb, MLONG, NULL);