mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-03 14:21:30 +00:00 
			
		
		
		
	single object format can be shared. This also adds support for mov zed+(bar-foo), %eax on ELF and COFF targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116675 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			14 lines
		
	
	
		
			261 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			261 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s 2> %t
 | 
						|
// RUN: FileCheck -input-file %t %s
 | 
						|
 | 
						|
.global zed
 | 
						|
        .data
 | 
						|
foo:
 | 
						|
        .text
 | 
						|
        nop
 | 
						|
bar:
 | 
						|
        nop
 | 
						|
zed:
 | 
						|
// CHECK: expected relocatable expression
 | 
						|
        mov zed+(bar-foo), %eax
 |