forked from ariadne/libucontext
all: mark the trampoline symbol hidden
this should not be a part of the public ABIarm_linker_fix
parent
739894e9a7
commit
4801f0bdd8
|
@ -14,6 +14,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
__attribute__ ((visibility ("hidden")))
|
||||
void
|
||||
libucontext_trampoline(void)
|
||||
{
|
||||
|
|
|
@ -14,6 +14,7 @@ LOCALSZ = 1
|
|||
|
||||
#include "defs.h"
|
||||
|
||||
.hidden libucontext_trampoline
|
||||
FUNC(libucontext_trampoline)
|
||||
move $gp, $s1
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ LOCALSZ = 1
|
|||
|
||||
#include "defs.h"
|
||||
|
||||
.hidden libucontext_trampoline
|
||||
FUNC(libucontext_trampoline)
|
||||
move $gp, $s1
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include "defs.h"
|
||||
|
||||
.hidden libucontext_trampoline
|
||||
FUNC(libucontext_trampoline)
|
||||
basr %r14, %r7 /* run function pointer (%r7) and return here */
|
||||
ltgr %r8, %r8 /* check to see if uc_link (%r8) is null */
|
||||
|
|
Loading…
Reference in New Issue