|
From: <sv...@va...> - 2006-01-26 18:04:54
|
Author: sewardj Date: 2006-01-26 18:04:46 +0000 (Thu, 26 Jan 2006) New Revision: 5595 Log: Get rid of some will-never-be-used redirections -- names which are in libstdc++ but which are not (C++) mangled. Modified: trunk/coregrind/m_replacemalloc/vg_replace_malloc.c Modified: trunk/coregrind/m_replacemalloc/vg_replace_malloc.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/m_replacemalloc/vg_replace_malloc.c 2006-01-26 14:25:= 51 UTC (rev 5594) +++ trunk/coregrind/m_replacemalloc/vg_replace_malloc.c 2006-01-26 18:04:= 46 UTC (rev 5595) @@ -150,14 +150,6 @@ //ALLOC_or_NULL(m_libpgc_dot_so, malloc, malloc); =20 =20 -// operator new(unsigned int), unmangled for some bizarre reason -ALLOC_or_BOMB(m_libstc_plus_plus_star, builtin_new, __builtin_new); -ALLOC_or_BOMB(m_libc_dot_so_star, builtin_new, __builtin_new); - -ALLOC_or_BOMB(m_libstc_plus_plus_star, __builtin_new, __builtin_new); -ALLOC_or_BOMB(m_libc_dot_so_star, __builtin_new, __builtin_new); - - // operator new(unsigned int), GNU mangling, 32-bit platforms // operator new(unsigned long), GNU mangling, 64-bit platforms #if VG_WORDSIZE =3D=3D 4 @@ -186,11 +178,6 @@ #endif =20 =20 -// operator new[](unsigned int), unmangled for some bizarre reason -ALLOC_or_BOMB(m_libstc_plus_plus_star, __builtin_vec_new, __builtin_vec_= new ); -ALLOC_or_BOMB(m_libc_dot_so_star, __builtin_vec_new, __builtin_vec_= new ); - - // operator new[](unsigned int), GNU mangling, 32-bit platforms // operator new[](unsigned long), GNU mangling, 64-bit platforms #if VG_WORDSIZE =3D=3D 4 @@ -238,10 +225,6 @@ FREE(m_libstc_plus_plus_star, cfree, free ); FREE(m_libc_dot_so_star, cfree, free ); =20 -// do we really need these? -FREE(m_libstc_plus_plus_star, __builtin_delete, __builtin_delete ); -FREE(m_libc_dot_so_star, __builtin_delete, __builtin_delete ); - // operator delete(void*), GNU mangling FREE(m_libstc_plus_plus_star, _ZdlPv, __builtin_delete ); FREE(m_libc_dot_so_star, _ZdlPv, __builtin_delete ); @@ -251,8 +234,6 @@ FREE(m_libc_dot_so_star, _ZdlPvRKSt9nothrow_t, __builtin_delete ); =20 // operator delete[](void*), GNU mangling -FREE(m_libstc_plus_plus_star, __builtin_vec_delete, __builtin_vec_delet= e ); -FREE(m_libc_dot_so_star, __builtin_vec_delete, __builtin_vec_delet= e ); FREE(m_libstc_plus_plus_star, _ZdaPv, __builtin_vec_delet= e ); FREE(m_libc_dot_so_star, _ZdaPv, __builtin_vec_delet= e ); =20 |