unsubmitted-ldso-multilib
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 1 May 2019 17:24:19 +0000 (18:24 +0100)
committerAurelien Jarno <aurel32@debian.org>
Wed, 1 May 2019 17:24:19 +0000 (18:24 +0100)
Gbp-Pq: Topic arm
Gbp-Pq: Name unsubmitted-ldso-multilib.diff

elf/dl-load.c

index 412c4807c9a477eddaa713e99426faa7381719e9..78a698641f78fc137bd7dd5d70d495a7cbbacb27 100644 (file)
@@ -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)