]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Declare _hurd_intr_rpc_msg* with protected visibility
authorSergey Bugaev <bugaevc@gmail.com>
Wed, 3 Jan 2024 17:14:35 +0000 (20:14 +0300)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 3 Jan 2024 20:59:54 +0000 (21:59 +0100)
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 <bugaevc@gmail.com>
hurd/hurdsig.c

index fe788193022d8ecddfae3391c43cb4c394799ab5..882a03471d7fa66340f544f6d3c8dbff485ebefa 100644 (file)
@@ -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;