This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix __libc_signal_block_all on sparc64
- From: Florian Weimer <fweimer at redhat dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 05 Dec 2019 15:45:45 +0100
- Subject: Re: [PATCH] Fix __libc_signal_block_all on sparc64
- References: <20191205143526.27478-1-adhemerval.zanella@linaro.org>
* Adhemerval Zanella:
> Where SIGALL_SET is defined as:
>
> ((__sigset_t) { .__val = {[0 ... _SIGSET_NWORDS-1 ] = -1 } })
Shouldn't this refer to a global constant data object? Then we wouldn't
have to emit many local copies of the same object and then copy it onto
the stack.
(GCC cannot know that the system call will not modify the object.)
Thanks,
Florian