mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 00:16:48 +00:00 
			
		
		
		
	alpha doesn't need to redefine this: it only supports PIC codegen anyway.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76682 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -24,8 +24,3 @@ AlphaTargetAsmInfo::AlphaTargetAsmInfo(const AlphaTargetMachine &TM) | |||||||
|   JumpTableDataSection = "\t.section .rodata\n"; |   JumpTableDataSection = "\t.section .rodata\n"; | ||||||
|   WeakRefDirective = "\t.weak\t"; |   WeakRefDirective = "\t.weak\t"; | ||||||
| } | } | ||||||
|  |  | ||||||
| unsigned AlphaTargetAsmInfo::RelocBehaviour() const { |  | ||||||
|   return (TM.getRelocationModel() != Reloc::Static ? |  | ||||||
|           Reloc::LocalOrGlobal : Reloc::Global); |  | ||||||
| } |  | ||||||
|   | |||||||
| @@ -23,8 +23,6 @@ namespace llvm { | |||||||
|  |  | ||||||
|   struct AlphaTargetAsmInfo : public TargetAsmInfo { |   struct AlphaTargetAsmInfo : public TargetAsmInfo { | ||||||
|     explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM); |     explicit AlphaTargetAsmInfo(const AlphaTargetMachine &TM); | ||||||
|  |  | ||||||
|     virtual unsigned RelocBehaviour() const; |  | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
| } // namespace llvm | } // namespace llvm | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user