On Mon, Jan 27, 2014 at 5:37 AM, Kostya Serebryany <[email protected]> wrote:

>> > How do I "export" __signal_safe_memalign? (I/d like to experiment myself)
>> You'll need this snippet of above patch: (line 61,5):
>
> Paul, I tried this:
>
> --- a/elf/Versions
> +++ b/elf/Versions
> @@ -62,5 +62,8 @@ ld {
>
>      # Pointer protection.
>      __pointer_chk_guard;
> +    # for signal safe TLS
> +    __signal_safe_malloc; __signal_safe_free; __signal_safe_memalign;
> +    __signal_safe_realloc; __signal_safe_calloc;
>    }
>  }
>
> it did not help: "nm libc.so | grep signal_safe_memalign" is empty.

It probably did. I believe these functions are defined and used in
'ld.so', so try 'nm ld.so | grep signal_safe'.


-- 
Paul Pluzhnikov

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to