aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-profstub.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-18 17:18:38 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-18 17:18:38 +0000
commite6574c9ca263afb7d408dd5ebf09ad8cb0178469 (patch)
tree8c9059f8900b7ff3c761f462d534f20c89930564 /elf/dl-profstub.c
parente862aada834365440fc500cb463f2c62edb6142f (diff)
downloadglibc-e6574c9ca263afb7d408dd5ebf09ad8cb0178469.zip
glibc-e6574c9ca263afb7d408dd5ebf09ad8cb0178469.tar.gz
glibc-e6574c9ca263afb7d408dd5ebf09ad8cb0178469.tar.bz2
Update.
2000-07-18 Kaz Kylheku <kaz@ashi.footprints.net> * spinlock.c (__pthread_alt_lock, __pthread_alt_timedlock): Fixed bug whereby thr field of waitnode structure would not be correctly set unless a null self pointer is passed to the functions. Eliminated redundant calls to thread_self().
Diffstat (limited to 'elf/dl-profstub.c')
-rw-r--r--elf/dl-profstub.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/elf/dl-profstub.c b/elf/dl-profstub.c
index db6693b..37b6631 100644
--- a/elf/dl-profstub.c
+++ b/elf/dl-profstub.c
@@ -30,8 +30,7 @@ extern struct link_map *_dl_profile_map;
void
_dl_mcount_wrapper (void *selfpc)
{
- _dl_mcount ((ElfW(Addr)) __builtin_return_address (0),
- (ElfW(Addr)) selfpc);
+ _dl_mcount ((ElfW(Addr)) RETURN_ADDRESS (0), (ElfW(Addr)) selfpc);
}
@@ -39,6 +38,5 @@ void
_dl_mcount_wrapper_check (void *selfpc)
{
if (_dl_profile_map != NULL)
- _dl_mcount ((ElfW(Addr)) __builtin_return_address (0),
- (ElfW(Addr)) selfpc);
+ _dl_mcount ((ElfW(Addr)) RETURN_ADDRESS (0), (ElfW(Addr)) selfpc);
}