From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E2C4C433E0 for ; Fri, 26 Jun 2020 21:56:51 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DBF522089D for ; Fri, 26 Jun 2020 21:56:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="g1V2pa9m"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="F2+fUMuK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DBF522089D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=IPzkOhxujcH5mz4+s0pCE1tGWa8RSPu6QgsBrNiSRYo=; b=g1V2pa9mXdDOnTRY+lEKl6GZX u26XjDm1y/rXNb+0APdiCGlB0CBsMn1wzy8J8yTQ+KE26Wttr4os5VASMzfDgiSrthikXq3cCKfvf EnxWHIm5NjMVvmCbqNu2Y5FBdvCL4ZrMy/h1Og8lVKanZ6adCl0aZkIOyMKkbGTJvIHtIlNO0xiVO F8lEoHvTonF33E9ThFBuIHsMJPJOCST3mE0J5K185OK/Vxi7VMxUlZeHUOj59F/9CSWwSYLIYQ7u4 4kg0EAKJYrltZvVMNNtz4XsL1Iul7Lw6jua4BQiJIOAgGf+xGBIwj6zSKi+rswDaLMWGAym1Caq3A Qy766TWAA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jowJe-0007CB-RW; Fri, 26 Jun 2020 21:55:22 +0000 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jowJc-0007Bf-Mb for linux-arm-kernel@lists.infradead.org; Fri, 26 Jun 2020 21:55:21 +0000 Received: by mail-pj1-x1041.google.com with SMTP id o22so424843pjw.2 for ; Fri, 26 Jun 2020 14:55:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=xVIBEC+6IvqYyqsLzY3ZM3qq2NbIukPx/+eBe+BGeXY=; b=F2+fUMuKvctNZKgNU87gtAVWASVljxBaic/ryGSKImj0xmbDNRaAicGKMiqD1sJ8ZD 83nI7ShtW0PzUMfxh9aWUDNMBUiAt7sJTzq99DDgqe1lIHgrsv24WntvjO438xSkBA5y uMivYIX5FQV0eyAyMlV0e1gIBY670O0Bwvw7k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xVIBEC+6IvqYyqsLzY3ZM3qq2NbIukPx/+eBe+BGeXY=; b=UAxcs4cNSN6EspS6e6jA2csxMjT3lf5y3hxGKH6mOSnMEoRguhuSK6HavH4DNf1IWA 38CAHGFFGLwgnoWJPk7X+qQiMKa2edriXxz8Tg1RNyYlzanrbtaRdbbPas4VE8EhyK0b CKifYbexEDgHZWrZibee4iUpzZ947iPOPTyxjUPFLQWASVa+q3V/uONp2WktfYF5yXjU 3G4RsbEeIpW90K+05HUOqrWVL61LKQg9FM33hHAzAJTUXaFfQa8ABRtTFUfDHl8LfDDW VvtZWvu0kVf0W5BQZiLJwd5DdxjZoKcyytThwlEg4vxZtzvWFiThhmpkwGSemaadrysP Xx6Q== X-Gm-Message-State: AOAM532BQamZWsQD2n9pncPb4olVVdL0f0nARd7L5U7nVXOts8pVRgrG tjC4/IGyi9/uUaKlJW41UqW9AQ== X-Google-Smtp-Source: ABdhPJzITcH6IJheYeVw6JKSdUw3PRKfIdesXQ8hn3koNQnG5M+abE+edLKuYAeKTGbywU/fzyJGYQ== X-Received: by 2002:a17:90a:e60b:: with SMTP id j11mr5753077pjy.189.1593208519004; Fri, 26 Jun 2020 14:55:19 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id m1sm4481809pfd.145.2020.06.26.14.55.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 14:55:18 -0700 (PDT) Date: Fri, 26 Jun 2020 14:55:17 -0700 From: Kees Cook To: Nick Desaulniers Subject: Re: [PATCH v2 1/2] arm/build: Warn on orphan section placement Message-ID: <202006261453.348213A71@keescook> References: <20200622204915.2987555-1-keescook@chromium.org> <20200622204915.2987555-2-keescook@chromium.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Masahiro Yamada , Eli Friedman , Russell King , LKML , Nathan Chancellor , Will Deacon , Ard Biesheuvel , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jun 26, 2020 at 02:36:44PM -0700, Nick Desaulniers wrote: > If I enable CONFIG_THUMB2_KERNEL=y, is where things become > interesting. llvm-objdump produces wildly different disassembly before > vs after removing .ARM.attributes. There's also lots of decode errors > in the disassembly. Yeah, at your earlier recommendation my v4 series will be keeping .ARM.attributes. Thanks for verifying! -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel