]> granicus.if.org Git - gc/commit
Use __builtin_extract_return_addr in GC_RETURN_ADDR_PARENT (gcc/x86)
authorIvan Maidanski <ivmai@mail.ru>
Sun, 25 Aug 2013 05:59:42 +0000 (09:59 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 25 Aug 2013 18:42:39 +0000 (22:42 +0400)
commite6018f57838f85f75c092034678b60fef7d23f50
treee2d71849866a1a3a2ddb6d4372849a2bcd903ad1
parente432c9688374ffb31721caf8ffac6d28b1472365
Use __builtin_extract_return_addr in GC_RETURN_ADDR_PARENT (gcc/x86)

* include/gc_config_macros.h (GC_RETURN_ADDR_PARENT): Use
__builtin_extract_return_addr (since the address passed to dladdr);
do not define the macro for GCC pre-v4.
include/gc_config_macros.h