projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15851ff
)
unsubmitted-ldso-multilib
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Wed, 7 Feb 2024 18:25:17 +0000
(18:25 +0000)
committer
Raspbian forward porter
<root@raspbian.org>
Wed, 7 Feb 2024 18:25:17 +0000
(18:25 +0000)
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 fcb39a78d4a19e41c4326f5ecbdc8795cf343182..333ad358054e19d3907084ffd79c8c7bb58b7668 100644
(file)
--- a/
elf/dl-load.c
+++ b/
elf/dl-load.c
@@
-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)