unsubmitted-ldso-multilib
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)
Gbp-Pq: Topic arm
Gbp-Pq: Name unsubmitted-ldso-multilib.diff

elf/dl-load.c

index 71867e7c1a59d397a5532b04e0985478e3fd1ccd..f3c822d36b62282efefda5788590e9f5488f594c 100644 (file)
@@ -1701,6 +1701,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)