Hello,

Are there any news on this?

Samuel

Samuel Thibault, le jeu. 02 janv. 2025 16:33:43 +0100, a ecrit:
> From: Svante Signell <svante.sign...@gmail.com>
> 
> GNU/Hurd uses glibc just like GNU/Linux.
> 
> This is needed for gcc to notice that glibc supports split stack in
> finish_options.
> 
> gcc/ChangeLog:
>       * gcc/config/gnu.h (OPTION_GLIBC_P, OPTION_GLIBC): Define.
> 
> Patch from Svante Signell for PR go/104290.
> ---
>  gcc/config/gnu.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/gcc/config/gnu.h b/gcc/config/gnu.h
> index e2a33baf040..4e921e0d51e 100644
> --- a/gcc/config/gnu.h
> +++ b/gcc/config/gnu.h
> @@ -19,6 +19,10 @@ You should have received a copy of the GNU General Public 
> License
>  along with GCC.  If not, see <http://www.gnu.org/licenses/>.
>  */
>  
> +/* C libraries used on GNU/Hurd.  */
> +#define OPTION_GLIBC_P(opts) (DEFAULT_LIBC == LIBC_GLIBC)
> +#define OPTION_GLIBC         OPTION_GLIBC_P (&global_options)
> +
>  #undef GNU_USER_TARGET_OS_CPP_BUILTINS
>  #define GNU_USER_TARGET_OS_CPP_BUILTINS()            \
>      do {                                     \
> -- 
> 2.43.0

Reply via email to