Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 2015 03:01:04 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r282334 - head/sys/arm/arm
Message-ID:  <201505020301.t42314de059964@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat May  2 03:01:03 2015
New Revision: 282334
URL: https://svnweb.freebsd.org/changeset/base/282334

Log:
  Remove support for being compiled under OABI. We don't support that
  any more, so this is just dead code.
  
  Differential Revision: https://reviews.freebsd.org/D2419

Modified:
  head/sys/arm/arm/elf_machdep.c

Modified: head/sys/arm/arm/elf_machdep.c
==============================================================================
--- head/sys/arm/arm/elf_machdep.c	Sat May  2 00:29:27 2015	(r282333)
+++ head/sys/arm/arm/elf_machdep.c	Sat May  2 03:01:03 2015	(r282334)
@@ -105,7 +105,6 @@ elf32_arm_abi_supported(struct image_par
 {
 	const Elf_Ehdr *hdr = (const Elf_Ehdr *)imgp->image_header;
 
-#ifdef __ARM_EABI__
 	/*
 	 * When configured for EABI, FreeBSD supports EABI vesions 4 and 5.
 	 */
@@ -115,17 +114,6 @@ elf32_arm_abi_supported(struct image_par
 			    EF_ARM_EABI_VERSION(hdr->e_flags), imgp->args->fname);
 		return (FALSE);
 	}
-#else
-	/*
-	 * When configured for OABI, that's all we do, so reject EABI binaries.
-	 */
-	if (EF_ARM_EABI_VERSION(hdr->e_flags) != EF_ARM_EABI_VERSION_UNKNOWN) {
-		if (bootverbose)
-			uprintf("Attempting to execute EABI binary (rev %d) image %s",
-			    EF_ARM_EABI_VERSION(hdr->e_flags), imgp->args->fname);
-		return (FALSE);
-	}
-#endif
 	return (TRUE);
 }
 



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