From 7c221ce04d79f336cba745f3c42e29d8df9d1542 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Fri, 20 Sep 2019 20:39:03 +0100 Subject: [PATCH] unsubmitted-ldso-multilib Gbp-Pq: Topic arm Gbp-Pq: Name unsubmitted-ldso-multilib.diff --- elf/dl-load.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/elf/dl-load.c b/elf/dl-load.c index aa4f2d4a1..d8a217d43 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) -- 2.30.2