From 5ca10a0c9ad1edb3b2e2e59ac6dccdd879cf84ae Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 3 Feb 2015 07:41:25 -0500 Subject: powerpc: Remove HAVE_ASM_GLOBAL_DOT_NAME define With AIX port deprecated there is no need to check/define HAVE_ASM_GLOBAL_DOT_NAME anymore since the current minimum binutils supported (2.22) does not emit global symbol with dot. This patch removes all the HAVE_ASM_GLOBAL_DOT_NAME definition and checks for powerpc64 port. --- nptl_db/td_symbol_list.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'nptl_db/td_symbol_list.c') diff --git a/nptl_db/td_symbol_list.c b/nptl_db/td_symbol_list.c index 6b14d3683e..6915ed78eb 100644 --- a/nptl_db/td_symbol_list.c +++ b/nptl_db/td_symbol_list.c @@ -48,13 +48,5 @@ td_lookup (struct ps_prochandle *ps, int idx, psaddr_t *sym_addr) result = ps_pglobal_lookup (ps, LIBPTHREAD_SO, symbol_list_arr[idx], sym_addr); -#ifdef HAVE_ASM_GLOBAL_DOT_NAME - /* For PowerPC, 64-bit uses dot symbols but 32-bit does not. - We could be a 64-bit libthread_db debugging a 32-bit libpthread. */ - if (result == PS_NOSYM && symbol_list_arr[idx][0] == '.') - result = ps_pglobal_lookup (ps, LIBPTHREAD_SO, &symbol_list_arr[idx][1], - sym_addr); -#endif - return result; } -- cgit v1.2.3