about summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2024-01-03 20:14:35 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-01-03 21:59:54 +0100
commitb6931d6d14c71fd229cc2ff94c810bd3390687db (patch)
tree6b91e1516c398f667d7c1b8107a00bceec94667c /hurd
parentdac7c6406582e36d38bc94794c15d581e3c6ebda (diff)
downloadglibc-b6931d6d14c71fd229cc2ff94c810bd3390687db.tar.gz
glibc-b6931d6d14c71fd229cc2ff94c810bd3390687db.tar.xz
glibc-b6931d6d14c71fd229cc2ff94c810bd3390687db.zip
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 <bugaevc@gmail.com>
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdsig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index fe78819302..882a03471d 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;