From e6574c9ca263afb7d408dd5ebf09ad8cb0178469 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 18 Jul 2000 17:18:38 +0000 Subject: Update. 2000-07-18 Kaz Kylheku * 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(). --- dlfcn/dlopen.c | 2 +- dlfcn/dlopenold.c | 2 +- dlfcn/dlsym.c | 4 ++-- dlfcn/dlvsym.c | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'dlfcn') diff --git a/dlfcn/dlopen.c b/dlfcn/dlopen.c index 76636fdba4..dae0b5880e 100644 --- a/dlfcn/dlopen.c +++ b/dlfcn/dlopen.c @@ -46,7 +46,7 @@ __dlopen_check (const char *file, int mode) struct dlopen_args args; args.file = file; args.mode = mode; - args.caller = __builtin_return_address (0); + args.caller = RETURN_ADDRESS (0); return _dlerror_run (dlopen_doit, &args) ? NULL : args.new; } diff --git a/dlfcn/dlopenold.c b/dlfcn/dlopenold.c index 3fc39d6999..d08427aef7 100644 --- a/dlfcn/dlopenold.c +++ b/dlfcn/dlopenold.c @@ -50,7 +50,7 @@ __dlopen_nocheck (const char *file, int mode) { struct dlopen_args args; args.file = file; - args.caller = __builtin_return_address (0); + args.caller = RETURN_ADDRESS (0); if ((mode & RTLD_BINDING_MASK) == 0) /* By default assume RTLD_LAZY. */ diff --git a/dlfcn/dlsym.c b/dlfcn/dlsym.c index d1c5f735f8..8793da9746 100644 --- a/dlfcn/dlsym.c +++ b/dlfcn/dlsym.c @@ -1,5 +1,5 @@ /* Look up a symbol in a shared object loaded by `dlopen'. - Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1995, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -44,7 +44,7 @@ void * dlsym (void *handle, const char *name) { struct dlsym_args args; - args.who = __builtin_return_address (0); + args.who = RETURN_ADDRESS (0); args.handle = handle; args.name = name; diff --git a/dlfcn/dlvsym.c b/dlfcn/dlvsym.c index e316cb53e0..a46fc8cddf 100644 --- a/dlfcn/dlvsym.c +++ b/dlfcn/dlvsym.c @@ -1,5 +1,5 @@ /* Look up a versioned symbol in a shared object loaded by `dlopen'. - Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1995, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -48,7 +48,7 @@ __dlvsym (void *handle, const char *name, const char *version_str) args.handle = handle; args.name = name; - args.who = __builtin_return_address (0); + args.who = RETURN_ADDRESS (0); args.version = version_str; return (_dlerror_run (dlvsym_doit, &args) ? NULL : args.sym); -- cgit v1.2.3