Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 14:12:09 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336969 - head/contrib/llvm/include/llvm/BinaryFormat
Message-ID:  <201807311412.w6VEC9Tj020024@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Jul 31 14:12:09 2018
New Revision: 336969
URL: https://svnweb.freebsd.org/changeset/base/336969

Log:
  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

Modified:
  head/contrib/llvm/include/llvm/BinaryFormat/ELF.h

Modified: head/contrib/llvm/include/llvm/BinaryFormat/ELF.h
==============================================================================
--- head/contrib/llvm/include/llvm/BinaryFormat/ELF.h	Tue Jul 31 13:32:36 2018	(r336968)
+++ head/contrib/llvm/include/llvm/BinaryFormat/ELF.h	Tue Jul 31 14:12:09 2018	(r336969)
@@ -418,8 +418,10 @@ enum {
 
 // ARM Specific e_flags
 enum : unsigned {
-  EF_ARM_SOFT_FLOAT = 0x00000200U,
-  EF_ARM_VFP_FLOAT = 0x00000400U,
+  EF_ARM_SOFT_FLOAT = 0x00000200U,     // Legacy pre EABI_VER5
+  EF_ARM_ABI_FLOAT_SOFT = 0x00000200U, // EABI_VER5
+  EF_ARM_VFP_FLOAT = 0x00000400U,      // Legacy pre EABI_VER5
+  EF_ARM_ABI_FLOAT_HARD = 0x00000400U, // EABI_VER5
   EF_ARM_EABI_UNKNOWN = 0x00000000U,
   EF_ARM_EABI_VER1 = 0x01000000U,
   EF_ARM_EABI_VER2 = 0x02000000U,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807311412.w6VEC9Tj020024>