From: Sergey Bugaev Date: Wed, 3 Jan 2024 17:14:35 +0000 (+0300) Subject: hurd: Declare _hurd_intr_rpc_msg* with protected visibility X-Git-Tag: glibc-2.39~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6931d6d14c71fd229cc2ff94c810bd3390687db;p=thirdparty%2Fglibc.git hurd: Declare _hurd_intr_rpc_msg* with protected visibility These symbols are internal and never exported; make sure the compiler realizes that when compiling hurdsig.c and does not try to emit GOT reads. Signed-off-by: Sergey Bugaev --- diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index fe788193022..882a03471d7 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -416,9 +416,9 @@ _hurdsig_abort_rpcs (struct hurd_sigstate *ss, int signo, int sigthread, struct machine_thread_all_state *state, int *state_change, void (*reply) (void)) { - extern const void _hurd_intr_rpc_msg_about_to; - extern const void _hurd_intr_rpc_msg_setup_done; - extern const void _hurd_intr_rpc_msg_in_trap; + extern const void _hurd_intr_rpc_msg_about_to attribute_hidden; + extern const void _hurd_intr_rpc_msg_setup_done attribute_hidden; + extern const void _hurd_intr_rpc_msg_in_trap attribute_hidden; mach_port_t rcv_port = MACH_PORT_NULL; mach_port_t intr_port;