mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Otherwise, assembler (gas) fails to assemble them with error message "operation combines symbols in different segments". This is because MC computes pc_rel entries with subtract expression between labels from different sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200373 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			35 lines
		
	
	
		
			936 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			936 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| //===-- SparcTargetObjectFile.h - Sparc Object Info -------------*- C++ -*-===//
 | |
| //
 | |
| //                     The LLVM Compiler Infrastructure
 | |
| //
 | |
| // This file is distributed under the University of Illinois Open Source
 | |
| // License. See LICENSE.TXT for details.
 | |
| //
 | |
| //===----------------------------------------------------------------------===//
 | |
| 
 | |
| #ifndef LLVM_TARGET_SPARC_TARGETOBJECTFILE_H
 | |
| #define LLVM_TARGET_SPARC_TARGETOBJECTFILE_H
 | |
| 
 | |
| #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
 | |
| 
 | |
| namespace llvm {
 | |
| 
 | |
| class MCContext;
 | |
| class TargetMachine;
 | |
| 
 | |
| class SparcELFTargetObjectFile : public TargetLoweringObjectFileELF {
 | |
| public:
 | |
|   SparcELFTargetObjectFile() :
 | |
|     TargetLoweringObjectFileELF()
 | |
|   {}
 | |
| 
 | |
|   const MCExpr *
 | |
|   getTTypeGlobalReference(const GlobalValue *GV, Mangler *Mang,
 | |
|                           MachineModuleInfo *MMI, unsigned Encoding,
 | |
|                           MCStreamer &Streamer) const;
 | |
| };
 | |
| 
 | |
| } // end namespace llvm
 | |
| 
 | |
| #endif
 |