initial commit
[glibc.git] / debian / patches / arm / unsubmitted-ldso-multilib.diff
1 ---
2 elf/dl-load.c | 11 +++++++++++
3 1 file changed, 11 insertions(+)
4
5 --- a/elf/dl-load.c
6 +++ b/elf/dl-load.c
7 @@ -1706,6 +1706,17 @@
8 __set_errno (ENOENT);
9 return -1;
10 }
11 +#ifdef __arm__
12 + else if (!VALID_FLOAT_ABI (ehdr->e_flags))
13 + {
14 + /* This is not a fatal error. On architectures where
15 + soft-float and hard-float binaries can be run this
16 + might happen. */
17 + __close_nocancel (fd);
18 + __set_errno (ENOENT);
19 + return -1;
20 + }
21 +#endif
22 else if (ehdr->e_ident[EI_DATA] != byteorder)
23 {
24 if (BYTE_ORDER == BIG_ENDIAN)