projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r600: clean up fragment shader input scan code
[mesa.git]
/
src
/
mapi
/
entry_x86_tls.h
diff --git
a/src/mapi/entry_x86_tls.h
b/src/mapi/entry_x86_tls.h
index 46d2eced24f87678c8ab781858e5d87ec3bbff15..545b5a3c786d90e6b4e0d3376f21ee8956068b4e 100644
(file)
--- a/
src/mapi/entry_x86_tls.h
+++ b/
src/mapi/entry_x86_tls.h
@@
-27,6
+27,12
@@
#include <string.h>
#include <string.h>
+#ifdef HAVE_FUNC_ATTRIBUTE_VISIBILITY
+#define HIDDEN __attribute__((visibility("hidden")))
+#else
+#define HIDDEN
+#endif
+
__asm__(".text");
__asm__("x86_current_tls:\n\t"
__asm__(".text");
__asm__("x86_current_tls:\n\t"
@@
-71,8
+77,8
@@
__asm__(".text");
extern unsigned long
x86_current_tls();
extern unsigned long
x86_current_tls();
-
static char x86_entry_start[]
;
-
static char x86_entry_end[]
;
+
extern char x86_entry_start[] HIDDEN
;
+
extern char x86_entry_end[] HIDDEN
;
void
entry_patch_public(void)
void
entry_patch_public(void)