projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a13aa6b
)
unsubmitted-ldso-multilib
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Wed, 18 Jun 2025 04:49:31 +0000
(06:49 +0200)
committer
Aurelien Jarno
<aurel32@debian.org>
Wed, 18 Jun 2025 04:49:31 +0000
(06:49 +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 945dd8a231dfdab7109dc0261216a18df8682fa0..c7139246ba7e8f4156ca56b625b009a9162259f5 100644
(file)
--- a/
elf/dl-load.c
+++ b/
elf/dl-load.c
@@
-1647,6
+1647,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)