]> git.ipfire.org Git - thirdparty/glibc.git/commit
hppa: Fix warnings from _dl_lookup_address
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 6 Mar 2022 16:04:32 +0000 (16:04 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 6 Mar 2022 16:04:32 +0000 (16:04 +0000)
commit6c9c2307657529e52c5fa7037618835f2a50b916
treefb332f9f6625b7911a20a95d5f1a555886611309
parent40fc6a74ee3dd600c84d311d91cbb16962f11a71
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.
sysdeps/hppa/dl-fptr.c
sysdeps/hppa/dl-lookupcfg.h
sysdeps/hppa/dl-runtime.c
sysdeps/hppa/dl-runtime.h