projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16e9992
)
unsubmitted-ldso-multilib
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Mon, 10 Jun 2024 20:25:19 +0000
(22:25 +0200)
committer
Samuel Thibault
<sthibault@debian.org>
Mon, 10 Jun 2024 20:25:19 +0000
(22:25 +0200)
Gbp-Pq: Topic arm
Gbp-Pq: Name unsubmitted-ldso-multilib.diff
elf/dl-load.c
patch
|
blob
|
history
diff --git
a/elf/dl-load.c
b/elf/dl-load.c
index 9a87fda9c921548c31153c9437ea30f33925089f..959f94b22fcbd56cdf2b88a92283cccaf86b83b3 100644
(file)
--- a/
elf/dl-load.c
+++ b/
elf/dl-load.c
@@
-1700,6
+1700,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)