From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1792) id D04E1385828A; Wed, 3 Jan 2024 21:00:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D04E1385828A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704315607; bh=boMrlvVfhAPpo7rfPCdg/MoICpKCbetl1KmrwI8JBEM=; h=From:To:Subject:Date:From; b=Kn37BWT3qsVq6iqGXkDbeZo5jsqCGdrMxjxZjZxmdR7e5IUSA67VTbRU/q5ZQOww2 tUZtktERNzPWNAmHXUf7YDPXX+AfAMJiWRUGwMWHKfqqNcTSjcgFT+gBzNSYUIXcfI 37m6RSkLsh7mMrpDUVMBEV+DfoDa96jL550UnM0k= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Samuel Thibault To: glibc-cvs@sourceware.org Subject: [glibc] hurd: Declare _hurd_intr_rpc_msg* with protected visibility X-Act-Checkin: glibc X-Git-Author: Sergey Bugaev X-Git-Refname: refs/heads/master X-Git-Oldrev: dac7c6406582e36d38bc94794c15d581e3c6ebda X-Git-Newrev: b6931d6d14c71fd229cc2ff94c810bd3390687db Message-Id: <20240103210007.D04E1385828A@sourceware.org> Date: Wed, 3 Jan 2024 21:00:07 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b6931d6d14c71fd229cc2ff94c810bd3390687db commit b6931d6d14c71fd229cc2ff94c810bd3390687db Author: Sergey Bugaev 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 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;