summaryrefslogtreecommitdiff
path: root/src/internal/libc.c
blob: 954efedf8b04eee03e09d26b36563097ef2c65db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include "libc.h"

#ifdef __PIC__
struct __libc *__libc_loc()
{
	static struct __libc __libc;
	return &__libc;
}
#else
struct __libc __libc;
#endif