mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 02:11:25 +01:00 
			
		
		
		
	i386: Fix global label in inline asm compile error
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
This commit is contained in:
		
							parent
							
								
									4ee4e413ba
								
							
						
					
					
						commit
						141a62cc12
					
				@ -234,8 +234,8 @@
 | 
				
			|||||||
#ifndef __ASSEMBLER__
 | 
					#ifndef __ASSEMBLER__
 | 
				
			||||||
extern unsigned long ip;
 | 
					extern unsigned long ip;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define PRINTIP				asm ("call next_line\n" \
 | 
					#define PRINTIP				asm ("call 0\n" \
 | 
				
			||||||
					    "next_line:\n" \
 | 
										    "0:\n" \
 | 
				
			||||||
					    "pop %%eax\n" \
 | 
										    "pop %%eax\n" \
 | 
				
			||||||
					    "movl %%eax, %0\n" \
 | 
										    "movl %%eax, %0\n" \
 | 
				
			||||||
					    :"=r"(ip) \
 | 
										    :"=r"(ip) \
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user