Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173317271
D2401.id5168.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
731 B
Referenced Files
None
Subscribers
None
D2401.id5168.diff
View Options
Index: head/contrib/binutils/bfd/elf32-arm.c
===================================================================
--- head/contrib/binutils/bfd/elf32-arm.c
+++ head/contrib/binutils/bfd/elf32-arm.c
@@ -9372,6 +9372,16 @@
if (globals->byteswap_code)
i_ehdrp->e_flags |= EF_ARM_BE8;
}
+
+ /*
+ * For EABI 5, we have to tag dynamic binaries and execs as either
+ * soft float or hard float.
+ */
+ if (EF_ARM_EABI_VERSION (i_ehdrp->e_flags) == EF_ARM_EABI_VER5 &&
+ (i_ehdrp->e_type == ET_DYN || i_ehdrp->e_type == ET_EXEC))
+ i_ehdrp->e_flags |=
+ bfd_elf_get_obj_attr_int (abfd, OBJ_ATTR_PROC, Tag_ABI_VFP_args) ?
+ EF_ARM_VFP_FLOAT : EF_ARM_SOFT_FLOAT;
}
static enum elf_reloc_type_class
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 26, 5:08 AM (22 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39637596
Default Alt Text
D2401.id5168.diff (731 B)
Attached To
Mode
D2401: Mark EABI 5 files as either SOFT or HARD float.
Attached
Detach File
Event Timeline
Log In to Comment