Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Side by Side Diff: binutils-2.20/dlwrap.h

Issue 8713008: Add dlwrap.c to binutils to simulate dlopen/dlsym for gold plugin (Closed)
Patch Set: x Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #ifndef __DLWRAP_H
2
3 /* Drop-in replacement for dlfcn.h */
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 void *pnacl_dlopen(const char *filename, int flag);
9 char *pnacl_dlerror(void);
10 void *pnacl_dlsym(void *handle, const char *symbol);
11 int pnacl_dlclose(void *handle);
12
13 #ifdef __cplusplus
14 }
15 #endif
16
17 #define dlopen pnacl_dlopen
18 #define dlerror pnacl_dlerror
19 #define dlsym pnacl_dlsym
20 #define dlclose pnacl_dlclose
21
22 #define RTLD_NOW 0x2
23
24 #endif
OLDNEW
« no previous file with comments | « binutils-2.20/bfd/plugin.c ('k') | binutils-2.20/dlwrap.c » ('j') | binutils-2.20/dlwrap.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698