public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] hurd: Declare _hurd_intr_rpc_msg* with protected visibility
@ 2024-01-03 21:00 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2024-01-03 21:00 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b6931d6d14c71fd229cc2ff94c810bd3390687db
commit b6931d6d14c71fd229cc2ff94c810bd3390687db
Author: Sergey Bugaev <bugaevc@gmail.com>
Date: Wed Jan 3 20:14:35 2024 +0300
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>
Diff:
---
hurd/hurdsig.c | 6 +++---
1 file 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-03 21:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-03 21:00 [glibc] hurd: Declare _hurd_intr_rpc_msg* with protected visibility Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).