mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
weakref.m4: New file.
config: * weakref.m4: New file. libitm: * configure.ac: Use GCC_CHECK_ELF_STYLE_WEAKREF. * alloc_cpp.cc: Generate dummy functions if we don't HAVE_ELF_STYLE_WEAKREF. * eh_cpp.cc: Likewise. * configure: Regenerate. * aclocal.m4: Likewise. * config.h.in: Likewise. * Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. From-SVN: r181618
This commit is contained in:
@@ -60,7 +60,7 @@ extern void _ZdlPvRKSt9nothrow_t (void *, c_nothrow_p) __attribute__((weak));
|
||||
extern void *_ZnaXRKSt9nothrow_t (size_t, c_nothrow_p) __attribute__((weak));
|
||||
extern void _ZdaPvRKSt9nothrow_t (void *, c_nothrow_p) __attribute__((weak));
|
||||
|
||||
#ifdef __osf__ /* Really: !HAVE_WEAKDEF */
|
||||
#if !defined (HAVE_ELF_STYLE_WEAKREF)
|
||||
void *_ZnwX (size_t) { return NULL; }
|
||||
void _ZdlPv (void *) { return; }
|
||||
void *_ZnaX (size_t) { return NULL; }
|
||||
@@ -70,7 +70,7 @@ void *_ZnwXRKSt9nothrow_t (size_t, c_nothrow_p) { return NULL; }
|
||||
void _ZdlPvRKSt9nothrow_t (void *, c_nothrow_p) { return; }
|
||||
void *_ZnaXRKSt9nothrow_t (size_t, c_nothrow_p) { return NULL; }
|
||||
void _ZdaPvRKSt9nothrow_t (void *, c_nothrow_p) { return; }
|
||||
#endif /* __osf__ */
|
||||
#endif /* HAVE_ELF_STYLE_WEAKREF */
|
||||
|
||||
/* Wrap the delete nothrow symbols for usage with a single argument.
|
||||
Perhaps should have a configure type check for this, because the
|
||||
|
||||
Reference in New Issue
Block a user