unsubmitted-ldso-machine-mismatch

Gbp-Pq: Topic any
Gbp-Pq: Name unsubmitted-ldso-machine-mismatch.diff
This commit is contained in:
Ubuntu Developers 2022-05-13 23:32:11 +08:00 committed by openKylinBot
parent ac9a34dc1e
commit 39beb59c99
1 changed files with 6 additions and 0 deletions

View File

@ -1621,6 +1621,12 @@ open_verify (const char *name, int fd,
goto close_and_out;
}
#endif
else if (! __builtin_expect (elf_machine_matches_host (ehdr), 1))
{
/* Another non-fatal error, let's skip right past the
the libraries obviously built for other machines. */
goto close_and_out;
}
else if (ehdr->e_ident[EI_DATA] != byteorder)
{
if (BYTE_ORDER == BIG_ENDIAN)