don't remove compiler generated labels when they are external
This commit is contained in:
parent
1205b95090
commit
9953b58092
|
@ -61,7 +61,8 @@ register item_t *ip;
|
||||||
flag = SYM_EXT|SYM_LOC; /* S_EXT not stable in PASS_1 */
|
flag = SYM_EXT|SYM_LOC; /* S_EXT not stable in PASS_1 */
|
||||||
#endif THREE_PASS
|
#endif THREE_PASS
|
||||||
#ifdef GENLAB
|
#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;
|
flag = SYM_LAB;
|
||||||
#endif GENLAB
|
#endif GENLAB
|
||||||
if (sflag & flag)
|
if (sflag & flag)
|
||||||
|
|
Loading…
Reference in a new issue