hurd: Fix build with GCC 9
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 14 Nov 2018 00:36:11 +0000 (01:36 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 14 Nov 2018 00:36:44 +0000 (01:36 +0100)
commit8c6c3fb0bceba87045eccadcfa50129ea95a6ebf
tree4a519dfcd84f45314adc2efc00190225db667a0b
parent6923f6db1e688dedcf3a6556da76e0bf24a41872
hurd: Fix build with GCC 9

* sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
__attribute_copy__ to copy attributes from name. Drop static qualifier
to avoid warnings about leaf attribute not having effect on static
functions.
ChangeLog
sysdeps/mach/hurd/dl-sysdep.c