search for: __aeabi

Displaying 13 results from an estimated 13 matches for "__aeabi".

2013 Nov 11
1
[LLVMdev] Android JIT patch
I think __aeabi is ARM EABI not Android EABI, e.g. http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ihi0043d/index.html. The problem is not that the __aeabi functions are missing on Android, they're defined in libgcc.a, the problem is that they don't get linked in unless they're referenc...
2013 Nov 11
0
[LLVMdev] Android JIT patch
On 11 November 2013 01:45, James Lyon <jameslyon0 at gmail.com> wrote: > I've attached a patch which has got JIT compilation working (for me at > least!) on Android. It turns out that the problem was a bunch of intrinsic > __aeabi* functions which reside in libgcc.a rather than libc.so so are not > available unless explicitly linked in, so it's rather similar to the > StatSymbols hack. > Hi James, I may be wrong, but I remember LLVM treating "androideabi" as "aeabi", which is wrong. This ma...
2013 Nov 11
4
[LLVMdev] Android JIT patch
I've attached a patch which has got JIT compilation working (for me at least!) on Android. It turns out that the problem was a bunch of intrinsic __aeabi* functions which reside in libgcc.a rather than libc.so so are not available unless explicitly linked in, so it's rather similar to the StatSymbols hack. I moved the StatSymbols code into ExecutionEngine.cpp rather than JITMemoryManager.cpp since it's required for both the JIT and MCJIT...
2015 Mar 30
2
[LLVMdev] About Compiler-RT
Hi, all I used Clang to compile an ARM-v6m project. The runtime library is from GNU-ARM. But as I used 'memcpy' function, an error 'undefined reference to `__aeabi_memcpy' was emitted by linker. Does it mean that I must use LLVM compiler-RT instead? Thanks a lot. -------------- Steven ***************************** Legal Disclaimer ***************************** "This email may contain confidential and privileged material for the sole use of the inte...
2013 Nov 11
0
[LLVMdev] Android JIT patch
...to:llvmdev-bounces at cs.uiuc.edu] On Behalf Of James Lyon Sent: Sunday, November 10, 2013 5:45 PM To: LLVM Dev Subject: [LLVMdev] Android JIT patch I've attached a patch which has got JIT compilation working (for me at least!) on Android. It turns out that the problem was a bunch of intrinsic __aeabi* functions which reside in libgcc.a rather than libc.so so are not available unless explicitly linked in, so it's rather similar to the StatSymbols hack. I moved the StatSymbols code into ExecutionEngine.cpp rather than JITMemoryManager.cpp since it's required for both the JIT and MCJIT, a...
2013 Nov 11
2
[LLVMdev] Android JIT patch
....edu] On Behalf Of James Lyon > Sent: Sunday, November 10, 2013 5:45 PM > To: LLVM Dev > Subject: [LLVMdev] Android JIT patch > > I've attached a patch which has got JIT compilation working (for me at > least!) on Android. It turns out that the problem was a bunch of intrinsic __aeabi* functions which reside in libgcc.a rather than libc.so so are not available unless explicitly linked in, so it's rather similar to the StatSymbols hack. > > I moved the StatSymbols code into ExecutionEngine.cpp rather than JITMemoryManager.cpp since it's required for both the JIT and...
2013 Nov 11
0
[LLVMdev] Android JIT patch
...> On Behalf Of James Lyon > Sent: Sunday, November 10, 2013 5:45 PM > To: LLVM Dev > Subject: [LLVMdev] Android JIT patch > > I've attached a patch which has got JIT compilation working (for me at > least!) on Android. It turns out that the problem was a bunch of intrinsic __aeabi* functions which reside in libgcc.a rather than libc.so so are not available unless explicitly linked in, so it's rather similar to the StatSymbols hack. > > I moved the StatSymbols code into ExecutionEngine.cpp rather than JITMemoryManager.cpp since it's required for both the JIT and...
2013 Nov 14
3
[LLVMdev] Android JIT patch
...Lyon >> Sent: Sunday, November 10, 2013 5:45 PM >> To: LLVM Dev >> Subject: [LLVMdev] Android JIT patch >> >> I've attached a patch which has got JIT compilation working (for me at >> least!) on Android. It turns out that the problem was a bunch of intrinsic __aeabi* functions which reside in libgcc.a rather than libc.so so are not available unless explicitly linked in, so it's rather similar to the StatSymbols hack. >> >> I moved the StatSymbols code into ExecutionEngine.cpp rather than JITMemoryManager.cpp since it's required for both the...
2013 Nov 15
3
[LLVMdev] Android JIT patch
...ich is quite ugly. >> >> What do you think of this? >> >> #define EXPOSE_STATIC_FUNCTION (fn) if (Name == #fn) return >> (uint64_t)&fn; >> >> And then inside getSymbolAddress: >> >> #if ... conditions ... >> EXPOSE_STATIC_FUNCTION(__aeabi_d2f); >> EXPOSE_STATIC_FUNCTION(__aeabi_d2iz); >> EXPOSE_STATIC_FUNCTION(__aeabi_d2lz); >> etc. >> #endif >> >> -Andy >> >> -----Original Message----- >> From: James Lyon [mailto:jameslyon0 at gmail.com] >> Sent: Thursday, Nove...
2013 Nov 14
2
[LLVMdev] Android JIT patch
...;) return (uint64_t)&foo;' pattern, which is quite ugly. > > What do you think of this? > > #define EXPOSE_STATIC_FUNCTION (fn) if (Name == #fn) return (uint64_t)&fn; > > And then inside getSymbolAddress: > > #if ... conditions ... > EXPOSE_STATIC_FUNCTION(__aeabi_d2f); > EXPOSE_STATIC_FUNCTION(__aeabi_d2iz); > EXPOSE_STATIC_FUNCTION(__aeabi_d2lz); > etc. > #endif > > -Andy > > -----Original Message----- > From: James Lyon [mailto:jameslyon0 at gmail.com] > Sent: Thursday, November 14, 2013 1:25 PM > To: Kaylor, Andr...
2013 Nov 14
0
[LLVMdev] Android JIT patch
...rapped the 'if (Name == "foo") return (uint64_t)&foo;' pattern, which is quite ugly. What do you think of this? #define EXPOSE_STATIC_FUNCTION (fn) if (Name == #fn) return (uint64_t)&fn; And then inside getSymbolAddress: #if ... conditions ... EXPOSE_STATIC_FUNCTION(__aeabi_d2f); EXPOSE_STATIC_FUNCTION(__aeabi_d2iz); EXPOSE_STATIC_FUNCTION(__aeabi_d2lz); etc. #endif -Andy -----Original Message----- From: James Lyon [mailto:jameslyon0 at gmail.com] Sent: Thursday, November 14, 2013 1:25 PM To: Kaylor, Andrew; LLVM Dev Subject: Re: [LLVMdev] Android JIT patch...
2013 Nov 14
0
[LLVMdev] Android JIT patch
...urn (uint64_t)&foo;' pattern, which is quite ugly. > > What do you think of this? > > #define EXPOSE_STATIC_FUNCTION (fn) if (Name == #fn) return > (uint64_t)&fn; > > And then inside getSymbolAddress: > > #if ... conditions ... > EXPOSE_STATIC_FUNCTION(__aeabi_d2f); > EXPOSE_STATIC_FUNCTION(__aeabi_d2iz); > EXPOSE_STATIC_FUNCTION(__aeabi_d2lz); > etc. > #endif > > -Andy > > -----Original Message----- > From: James Lyon [mailto:jameslyon0 at gmail.com] > Sent: Thursday, November 14, 2013 1:25 PM > To: Kaylor, Andr...
2013 Nov 15
0
[LLVMdev] Android JIT patch
...ch is quite ugly. >> >> What do you think of this? >> >> #define EXPOSE_STATIC_FUNCTION (fn) if (Name == #fn) return >> (uint64_t)&fn; >> >> And then inside getSymbolAddress: >> >> #if ... conditions ... >> EXPOSE_STATIC_FUNCTION(__aeabi_d2f); >> EXPOSE_STATIC_FUNCTION(__aeabi_d2iz); >> EXPOSE_STATIC_FUNCTION(__aeabi_d2lz); >> etc. >> #endif >> >> -Andy >> >> -----Original Message----- >> From: James Lyon [mailto:jameslyon0 at gmail.com] >> Sent: Thursday, Nove...