Displaying 2 results from an estimated 2 matches for "entry_patch_publ".
Did you mean:
entry_patch_public
2015 Feb 17
7
[LLVMdev] [PATCH 0/2 v3] add visibility hidden to tls entry points
Patch 1 adds a check for the compilers visibility macro to configure.ac.
Patch 2 avoids redefined symbol errors in clang of the tls entry points.
Based on a suggestion from Rafael Ávila de Espíndola <rafael.espindola at gmail.com>
in http://llvm.org/bugs/show_bug.cgi?id=19778.
Tested with gcc 4.9 and clang 3.6(rc)
Marc Dietrich (2):
configure: add visibility macro detection to configure
2015 Feb 17
3
[LLVMdev] [PATCH 2/2 v3] add visibility hidden to tls entry points
...> --- a/src/mapi/entry_x86-64_tls.h
> +++ b/src/mapi/entry_x86-64_tls.h
> @@ -25,6 +25,7 @@
> * Chia-I Wu <olv at lunarg.com>
> */
>
> +#include "macros.h"
> #include "u_macros.h"
>
> __asm__(".text\n"
> @@ -62,8 +63,7 @@ entry_patch_public(void)
> {
> }
>
> -static char
> -x86_64_entry_start[];
> +extern const char HIDDEN x86_64_entry_start[];
>
> mapi_func
> entry_get_public(int slot)
> diff --git a/src/mapi/entry_x86_tls.h b/src/mapi/entry_x86_tls.h
> index fa7bc15..a66edec 100644
> --- a/s...