search for: asmprefix

Displaying 4 results from an estimated 4 matches for "asmprefix".

2009 Aug 18
0
[LLVMdev] Build issues on Solaris
Hello, Nathan > or if it should be a configure test, which might be safer. Are there > any x86 platforms (other than apple) that don't need PLT-indirect calls? Yes, mingw. However just tweaking the define is not enough - we're not loading address of GOT into ebx before the call (on 32 bit ABIs) thus the call will be to nowhere. -- With best regards, Anton Korobeynikov Faculty of
2009 Aug 25
2
[LLVMdev] Build issues on Solaris
...8,6 +18,7 @@ #include "llvm/Function.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" +#include "llvm/Config/config.h" #include <cstdlib> #include <cstring> using namespace llvm; @@ -52,7 +53,7 @@ #define ASMPREFIX GETASMPREFIX(__USER_LABEL_PREFIX__) // Check if building with -fPIC -#if defined(__PIC__) && __PIC__ && defined(__linux__) +#if defined(__PIC__) && __PIC__ && defined(NEED_PLT_CALL) #define ASMCALLSUFFIX "@PLT" #else #define ASMCALLSUFFIX Index: au...
2009 Aug 11
6
[LLVMdev] Build issues on Solaris
Hi all, I've encountered a couple of minor build issues on Solaris that have crept in since 2.5, fixes below: 1. In lib/Target/X86/X86JITInfo.cpp, there is: // Check if building with -fPIC #if defined(__PIC__) && __PIC__ && defined(__linux__) #define ASMCALLSUFFIX "@PLT" #else #define ASMCALLSUFFIX #endif Which causes a link failure due to the non-PLT
2012 Dec 28
1
[LLVMdev] [PATCH] LLVM build failure on OpenBSD/mips64
...-------------- next part -------------- Index: lib/Target/Mips/MipsJITInfo.cpp =================================================================== --- lib/Target/Mips/MipsJITInfo.cpp (revision 171175) +++ lib/Target/Mips/MipsJITInfo.cpp (working copy) @@ -102,11 +102,11 @@ ".globl " ASMPREFIX "MipsCompilationCallback\n" ASMPREFIX "MipsCompilationCallback:\n" ".ent " ASMPREFIX "MipsCompilationCallback\n" - ".frame $sp, 32, $ra\n" + ".frame $29, 32, $31\n" ".set noreorder\n" - ".cpload $t...