Index: libunwindTest3/libunwind/src/ppc64/get_func_addr.c =================================================================== --- libunwindTest3.orig/libunwind/src/ppc64/get_func_addr.c +++ libunwindTest3/libunwind/src/ppc64/get_func_addr.c @@ -35,8 +35,10 @@ tdep_get_func_addr (unw_addr_space_t as, int ret; a = unw_get_accessors (as); - /* entry-point is stored in the 1st word of the function descriptor: */ - ret = (a->access_mem) (as, addr + offset, entry_point, 0, NULL); + /* entry-point is stored in the 1st word of the function descriptor. + In current ABI its not necessary to add an offset, it can be diferent + in the future, if that happens you read mem in addr + offset */ + ret = (a->access_mem) (as, addr, entry_point, 0, NULL); if (ret < 0) return ret; return 0;