unsubmitted-ldso-multilib
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 29 Nov 2017 03:00:21 +0000 (03:00 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 29 Nov 2017 03:00:21 +0000 (03:00 +0000)
Gbp-Pq: Topic arm
Gbp-Pq: Name unsubmitted-ldso-multilib.diff

elf/dl-load.c

index 2763b66b346d0c2527befadb0936bd00d27d7c62..5c8b87385e0b0f42cf6ba61047aeb6983d425236 100644 (file)
@@ -1800,6 +1800,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)