From: GNU Libc Maintainers Date: Thu, 6 Mar 2025 22:46:53 +0000 (+0100) Subject: unsubmitted-ldso-multilib X-Git-Tag: archive/raspbian/2.36-9+rpi1+deb12u10^2~86 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4da908a6c1488def1c46f31d1f4ff032ec8e9078;p=glibc.git unsubmitted-ldso-multilib Gbp-Pq: Topic arm Gbp-Pq: Name unsubmitted-ldso-multilib.diff --- diff --git a/elf/dl-load.c b/elf/dl-load.c index 1ad0868da..653b3c465 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1706,6 +1706,17 @@ open_verify (const char *name, int fd, __set_errno (ENOENT); return -1; } +#ifdef __arm__ + else if (!VALID_FLOAT_ABI (ehdr->e_flags)) + { + /* This is not a fatal error. On architectures where + soft-float and hard-float binaries can be run this + might happen. */ + __close_nocancel (fd); + __set_errno (ENOENT); + return -1; + } +#endif else if (ehdr->e_ident[EI_DATA] != byteorder) { if (BYTE_ORDER == BIG_ENDIAN)