From: ceriel Date: Mon, 19 Jun 1989 11:19:22 +0000 (+0000) Subject: don't remove compiler generated labels when they are external X-Git-Tag: release-5-5~2376 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9953b58092a1aad9193f92acaa0526655f8c3d96;p=ack.git don't remove compiler generated labels when they are external --- diff --git a/mach/proto/as/comm6.c b/mach/proto/as/comm6.c index 1ecf20cf1..4c3991263 100644 --- a/mach/proto/as/comm6.c +++ b/mach/proto/as/comm6.c @@ -61,7 +61,8 @@ register item_t *ip; flag = SYM_EXT|SYM_LOC; /* S_EXT not stable in PASS_1 */ #endif THREE_PASS #ifdef GENLAB - if (strncmp(ip->i_name, genlab, sizeof(genlab)-1) == 0) + if (!(flag & SYM_EXT) && + strncmp(ip->i_name, genlab, sizeof(genlab)-1) == 0) flag = SYM_LAB; #endif GENLAB if (sflag & flag)