OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [linux/] [uClibc/] [test/] [dlopen/] [libtest.c] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1325 phoenix
#include <stdio.h>
2
#include <pthread.h>
3
#include <stdint.h>
4
 
5
extern int __pthread_once(void);
6
 
7
void dltest(uint32_t **value1, uint32_t **value2)
8
{
9
        *value1 = (uint32_t *) __pthread_once;
10
        *value2 = (uint32_t *) pthread_self;
11
}
12
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.