aboutsummaryrefslogtreecommitdiff
path: root/gprofng/libcollector/mmaptrace.c
diff options
context:
space:
mode:
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>2022-10-04 09:13:56 -0700
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>2022-10-04 19:59:49 -0700
commit9c48ba47b36c3b243727af49bfebb867d7930de3 (patch)
tree6536235c566d1e2c21b6ca6554aa39893b1c76d5 /gprofng/libcollector/mmaptrace.c
parent63418f080f7f47f5c0cd644850cd82474a541d10 (diff)
downloadgdb-9c48ba47b36c3b243727af49bfebb867d7930de3.zip
gdb-9c48ba47b36c3b243727af49bfebb867d7930de3.tar.gz
gdb-9c48ba47b36c3b243727af49bfebb867d7930de3.tar.bz2
gprofng: fix build with --enable-pgo-build=lto
gprofng/ChangeLog 2022-10-04 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> PR gprofng/29579 * libcollector/dispatcher.c: Fix the symbol version in SYMVER_ATTRIBUTE. * libcollector/iotrace.c: Likewise. * libcollector/linetrace.c: Likewise. * libcollector/mmaptrace.c: Likewise. * libcollector/synctrace.c: Likewise.
Diffstat (limited to 'gprofng/libcollector/mmaptrace.c')
-rw-r--r--gprofng/libcollector/mmaptrace.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gprofng/libcollector/mmaptrace.c b/gprofng/libcollector/mmaptrace.c
index bd299e6..867fead 100644
--- a/gprofng/libcollector/mmaptrace.c
+++ b/gprofng/libcollector/mmaptrace.c
@@ -1600,20 +1600,20 @@ dlopen (const char *pathname, int mode)
{
if (NULL_PTR (dlopen))
init_mmap_intf ();
- void* caller = __builtin_return_address (0); // must be called inside dlopen first layer interpostion
+ void* caller = __builtin_return_address (0); // must be called inside dlopen first layer interposition
return __collector_dlopen_symver (CALL_REAL (dlopen), caller, pathname, mode);
}
#if !defined(__MUSL_LIBC) && ((ARCH(Intel) && WSIZE(32)) || ARCH(SPARC))
// map interposed symbol versions
-SYMVER_ATTRIBUTE (__collector_dlopen_2_1, dlopen@@GLIBC_2.1)
+SYMVER_ATTRIBUTE (__collector_dlopen_2_1, dlopen@GLIBC_2.1)
void *
__collector_dlopen_2_1 (const char *pathname, int mode)
{
if (NULL_PTR (dlopen_2_1))
init_mmap_intf ();
- void *caller = __builtin_return_address (0); // must be called inside dlopen first layer interpostion
+ void *caller = __builtin_return_address (0); // must be called inside dlopen first layer interposition
return __collector_dlopen_symver (CALL_REAL (dlopen_2_1), caller, pathname, mode);
}
@@ -1623,7 +1623,7 @@ __collector_dlopen_2_0 (const char *pathname, int mode)
{
if (NULL_PTR (dlopen_2_0))
init_mmap_intf ();
- void* caller = __builtin_return_address (0); // must be called inside dlopen first layer interpostion
+ void* caller = __builtin_return_address (0); // must be called inside dlopen first layer interposition
return __collector_dlopen_symver (CALL_REAL (dlopen_2_0), caller, pathname, mode);
}
#endif