]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
llvm: [ELF][ARM] Add Arm ABI names for float ABI ELF Header flags
authorEd Maste <emaste@FreeBSD.org>
Tue, 31 Jul 2018 14:12:09 +0000 (14:12 +0000)
committerEd Maste <emaste@FreeBSD.org>
Tue, 31 Jul 2018 14:12:09 +0000 (14:12 +0000)
commite1853cf4c542e7ac9e7f158113dee9af1156a910
tree105763c77acfa0cd61954c04d2977db54368562a
parent0594061ee6fbd63d428e70cab4c82171f87f7604
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