From: GNU Libc Maintainers Date: Tue, 7 Sep 2021 19:57:34 +0000 (+0100) Subject: local-stack_chk_guard X-Git-Tag: archive/raspbian/2.32-4+rpi1~1^2^2~50 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3d9da46b9caa6ceca2fdba54c7d767c96e63d6b8;p=glibc.git local-stack_chk_guard Fix compatibility with binaries that reference __stack_chk_guard TODO: find where these references are coming from. Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name local-stack_chk_guard.diff --- diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index ce19e4e75..9ae255725 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -68,6 +68,8 @@ void *_dl_random attribute_relro = NULL; struct hurd_startup_data *_dl_hurd_data; +uintptr_t __stack_chk_guard attribute_relro; + ElfW(Addr) _dl_sysdep_start (void **start_argptr, diff --git a/sysdeps/mach/hurd/i386/ld.abilist b/sysdeps/mach/hurd/i386/ld.abilist index b4fce5e5f..8b010cc78 100644 --- a/sysdeps/mach/hurd/i386/ld.abilist +++ b/sysdeps/mach/hurd/i386/ld.abilist @@ -19,3 +19,4 @@ GLIBC_2.2.6 _r_debug D 0x14 GLIBC_2.2.6 abort F GLIBC_2.3 ___tls_get_addr F GLIBC_2.3 __tls_get_addr F +GLIBC_2.4 __stack_chk_guard D 0x4