unsubmitted-ldso-multilib
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 29 Jun 2024 10:27:34 +0000 (13:27 +0300)
committerAdrian Bunk <bunk@debian.org>
Sat, 29 Jun 2024 10:27:34 +0000 (13:27 +0300)
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)