[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/23] hurd: Declare _hurd_intr_rpc_msg* with protected visib
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 02/23] hurd: Declare _hurd_intr_rpc_msg* with protected visibility |
Date: |
Wed, 3 Jan 2024 22:00:15 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
Sergey Bugaev, le mer. 03 janv. 2024 20:14:35 +0300, a ecrit:
> 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 | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
> index fe788193..882a0347 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;
>
> --
> 2.43.0
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
[PATCH 02/23] hurd: Declare _hurd_intr_rpc_msg* with protected visibility, Sergey Bugaev, 2024/01/03
- Re: [PATCH 02/23] hurd: Declare _hurd_intr_rpc_msg* with protected visibility,
Samuel Thibault <=
[PATCH 04/23] mach: Drop some unnecessary vm_param.h includes, Sergey Bugaev, 2024/01/03
[RFC PATCH 03/23] Allow glibc to be compiled without EXEC_PAGESIZE, Sergey Bugaev, 2024/01/03
[RFC PATCH 08/23] hurd: Drop x86-specific assembly from init-first.c, Sergey Bugaev, 2024/01/03
[RFC PATCH 07/23] hurd: Pass the data pointer to _hurd_stack_setup explicitly, Sergey Bugaev, 2024/01/03
[PATCH 06/23] mach: Drop SNARF_ARGS macro, Sergey Bugaev, 2024/01/03
[RFC PATCH 09/23] hurd: Make init-first.c no longer x86-specific, Sergey Bugaev, 2024/01/03