mirror of https://gitee.com/openkylin/glibc.git
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:
parent
719734ae1d
commit
8621aebc03
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue