]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
llvm: [ELF][ARM] Add Arm ABI names for float ABI ELF Header flags
authoremaste <emaste@FreeBSD.org>
Tue, 31 Jul 2018 14:12:09 +0000 (14:12 +0000)
committeremaste <emaste@FreeBSD.org>
Tue, 31 Jul 2018 14:12:09 +0000 (14:12 +0000)
commitaead6529cb19cc85eaf6fe8e310b1246ae504eb8
tree105763c77acfa0cd61954c04d2977db54368562a
parent1b0b80446a0da8dc94667ce6cd713d54691d9f24
llvm: [ELF][ARM] Add Arm ABI names for float ABI ELF Header flags

The ELF for the Arm architecture document defines, for EF_ARM_EABI_VER5
and above, the flags EF_ARM_ABI_FLOAT_HARD and EF_ARM_ABI_FLOAT_SOFT.
These have been defined to be compatible with the existing
EF_ARM_VFP_FLOAT and EF_ARM_SOFT_FLOAT used by gcc for
EF_ARM_EABI_UNKNOWN.

This patch adds the flags in addition to the existing ones so that any
code depending on the old names will still work.

Obtained from: llvm r338370 by Peter Smith
contrib/llvm/include/llvm/BinaryFormat/ELF.h