summaryrefslogtreecommitdiff
path: root/lib/builtins/trampoline_setup.c
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-03-01 15:30:50 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-03-01 15:30:50 +0000
commitbfbb8bbc8e4a4fce3538aa85b095543fee291df7 (patch)
tree66760b0732edf7228f5920aa69b9a105d7913afe /lib/builtins/trampoline_setup.c
parent8467eeb64062221a2b8d36629f907d072336d989 (diff)
Consistently use COMPILER_RT_ABI for all public symbols.
Move prototypes into headers and fix a few inconsistencies. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/trampoline_setup.c')
-rw-r--r--lib/builtins/trampoline_setup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/builtins/trampoline_setup.c b/lib/builtins/trampoline_setup.c
index e0765b16b..25b627ab7 100644
--- a/lib/builtins/trampoline_setup.c
+++ b/lib/builtins/trampoline_setup.c
@@ -21,8 +21,9 @@ extern void __clear_cache(void* start, void* end);
*/
#if __ppc__ && !defined(__powerpc64__)
-void __trampoline_setup(uint32_t* trampOnStack, int trampSizeAllocated,
- const void* realFunc, void* localsPtr)
+COMPILER_RT_ABI void
+__trampoline_setup(uint32_t* trampOnStack, int trampSizeAllocated,
+ const void* realFunc, void* localsPtr)
{
/* should never happen, but if compiler did not allocate */
/* enough space on stack for the trampoline, abort */