From 32499bbc04f5a74de0ceccba79661e1dca274f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Jos=C3=A9=20Garc=C3=ADa=20Garc=C3=ADa?= Date: Wed, 6 Jan 2021 16:57:42 +0100 Subject: [PATCH] Mark pthread_setup as used to avoid whole_archive --- platform/vita/vita_osal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/vita/vita_osal.c b/platform/vita/vita_osal.c index 7a258d0..a8568a3 100644 --- a/platform/vita/vita_osal.c +++ b/platform/vita/vita_osal.c @@ -630,7 +630,7 @@ int ftime(struct timeb *tb) void __sinit(struct _reent *); -__attribute__((constructor(101))) +__attribute__((constructor(101), used)) void pthread_setup(void) { pthread_init();