From: GNU Libc Maintainers Date: Tue, 23 Apr 2024 16:23:00 +0000 (+0300) Subject: unsubmitted-ldso-multilib X-Git-Tag: archive/raspbian/2.28-10+rpi1+deb10u3^2~131 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2867b6f054d1b39afdcfb68c91953069f98f2e8b;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 412c4807c..78a698641 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1804,6 +1804,15 @@ open_verify (const char *name, int fd, *found_other_class = true; goto close_and_out; } +#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. */ + goto close_and_out; + } +#endif else if (ehdr->e_ident[EI_DATA] != byteorder) { if (BYTE_ORDER == BIG_ENDIAN)