]> git.ipfire.org Git - thirdparty/glibc.git/commit
hppa: Fix warnings from _dl_lookup_address
authorJohn David Anglin <danglin@gcc.gnu.org>
Tue, 22 Feb 2022 18:51:35 +0000 (18:51 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Thu, 3 Mar 2022 21:18:22 +0000 (21:18 +0000)
commitca0570fee323349bac834cf3bf3aef712f09cdc1
treee81794f4b07db5ae7cd9de4db3a90b886b714968
parentd82d9cdff40492d46f75d5d12b3c9e2ac0c422fe
hppa: Fix warnings from _dl_lookup_address

This change fixes two warnings from _dl_lookup_address.

The first warning comes from dropping the volatile keyword from
desc in the call to _dl_read_access_allowed.  We now have a full
atomic barrier between loading desc[0] and the access check, so
desc no longer needs to be declared as volatile.

The second warning comes from the implicit declaration of
_dl_fix_reloc_arg.  This is fixed by including dl-runtime.h and
declaring _dl_fix_reloc_arg in dl-runtime.h.

(cherry picked from commit d2224ffbddc9d25ed5b0e34c212018c32d1e5a95)
sysdeps/hppa/dl-fptr.c
sysdeps/hppa/dl-lookupcfg.h
sysdeps/hppa/dl-runtime.c
sysdeps/hppa/dl-runtime.h