all: mark the trampoline symbol hidden

this should not be a part of the public ABI
master
Daniel Kolesa 2021-01-08 15:07:08 +01:00
parent 739894e9a7
commit 4801f0bdd8
4 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,7 @@
#include <stdlib.h>
#include <stdio.h>
__attribute__ ((visibility ("hidden")))
void
libucontext_trampoline(void)
{

View File

@ -14,6 +14,7 @@ LOCALSZ = 1
#include "defs.h"
.hidden libucontext_trampoline
FUNC(libucontext_trampoline)
move $gp, $s1

View File

@ -14,6 +14,7 @@ LOCALSZ = 1
#include "defs.h"
.hidden libucontext_trampoline
FUNC(libucontext_trampoline)
move $gp, $s1

View File

@ -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 */