From owner-svn-src-head@FreeBSD.ORG Sat May 2 03:01:04 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 65B7C6C7; Sat, 2 May 2015 03:01:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B4D71060; Sat, 2 May 2015 03:01:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t42314YC059965; Sat, 2 May 2015 03:01:04 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t42314de059964; Sat, 2 May 2015 03:01:04 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201505020301.t42314de059964@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Sat, 2 May 2015 03:01:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r282334 - head/sys/arm/arm X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2015 03:01:04 -0000 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); }