don't remove compiler generated labels when they are external
This commit is contained in:
		
							parent
							
								
									1205b95090
								
							
						
					
					
						commit
						9953b58092
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue