unsubmitted-ldso-multilib.diff

From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Date: Fri, 11 Nov 2022 23:32:08 +0800
Subject: unsubmitted-ldso-multilib
This commit is contained in:
denghao 2022-11-10 05:12:05 +03:00
parent 719734ae1d
commit 8621aebc03
1 changed files with 11 additions and 0 deletions

View File

@ -1706,6 +1706,17 @@ open_verify (const char *name, int fd,
__set_errno (ENOENT);
return -1;
}
#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. */
__close_nocancel (fd);
__set_errno (ENOENT);
return -1;
}
#endif
else if (ehdr->e_ident[EI_DATA] != byteorder)
{
if (BYTE_ORDER == BIG_ENDIAN)