Message ID | 20171130233905.130602-8-samitolvanen@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4E494602BC for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 30 Nov 2017 23:42:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F2F12A429 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 30 Nov 2017 23:42:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 33DAE2A42A; Thu, 30 Nov 2017 23:42:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D696E2A428 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 30 Nov 2017 23:42:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=LyNOewb06FEMl8Yj6vB3svt203zi+ohI3C+xAtMsRzY=; b=OhvUc9efIP6H6wvMSN5JZ7V8df NY3+YJVDUjBZ0uZEocAzHG78mckXL4uQfQ3ka1tsR8mUmmzQ8aGYlfWFnfvBi8t27F+0JTFZYCxYW hO7gF7PEqiQgseJJp09SpQ+tx0Fnl3wBGhUMLL8f73ZvCZaDLmpiEgmhm61DOt6/t3O1RUjO059hL DQcuMChs2S7hV8VjZDKq/vXN0KXgXVSiWPcxEbxFS5eUZ7Ujbk76DgQS9/4Cc3tq+b+OwDAySpQ9E 53IhMKmJcp+uBY2quRDx9UISixuNIYZCnr9cCcU2ah+qDY00Iu2KcrmyJM5WdH+qtH0xVE/DT4nzy /2IBMLoA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eKYTF-0004Wu-KJ; Thu, 30 Nov 2017 23:42:21 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eKYQo-0001Sf-Lg for linux-arm-kernel@bombadil.infradead.org; Thu, 30 Nov 2017 23:39:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cPyF1NuGUdEEq7YJQmMnljaRXhdcsLAGvUiFeD7uOOU=; b=vC5BdNMDWLV/6SdMB+VNycXax Hmbz45gT3TQLMLM+WrT5xGd6lwnp7gSdSoTdRZSyT8lQN02YZp+Uc2dmJcUneHJVj4g2YYZqLH2pI JvbhXzFi2aa38QjvLgVqDDBzpbZnNKe1vZ92VXoEL+n9lBPIQnUXAatlfkjKYK2mSVkabAVHMe8cv 9mWQAx8Ua2H9h/en8cm/y1KKWYt1Ag92TYZBu+3HHjVaCczHmVJ48m+lEHgVaLpw3ksHHqRBbyW8c jlCbIl7curiBa1/JcYtyEz+7t/wDbx0Bmq07diaW2iZINSxQZNxPgWhtoAr0ETm9lGwH/Esgigt10 P5ISwe/jg==; Received: from mail-it0-x244.google.com ([2607:f8b0:4001:c0b::244]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eKYQl-0008NC-9O for linux-arm-kernel@lists.infradead.org; Thu, 30 Nov 2017 23:39:48 +0000 Received: by mail-it0-x244.google.com with SMTP id f190so497679ita.5 for <linux-arm-kernel@lists.infradead.org>; Thu, 30 Nov 2017 15:39:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cPyF1NuGUdEEq7YJQmMnljaRXhdcsLAGvUiFeD7uOOU=; b=NU1YNPLO3Ki0XKKZW+nDUCj8o85zYR4zXBWd3AnoxSyo1LWY3l2Y/onXBEgKPrEpcx 9rmNkcSeTudUehZ/uxEM/IChD+NF+Qk+vlkAEREICKOMdWe58VT0hvChNjrknmhyvCSs Nq4BI77dK8nemHdKEjbqmL/naNEVLDkEsYRGOIajJH9CgtPLCpV9sg5wbfgPTQOY0PdJ 5vUHVjzR015f1SzikIU6Bsa+NKNoHIxtp6qh/LQUUlk51tP/fhDor19ujLeOIMVz9wJr AkHGjN/L4MrSNdG05r3u+TRpK7i8iroHtwqzf2RuGi4nzEfCVCIWGONmc6B2pU9zMXnc ZI3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cPyF1NuGUdEEq7YJQmMnljaRXhdcsLAGvUiFeD7uOOU=; b=BL5paCCJBvCTed+D4uNsoVrFs/93dCE+4feCgHGbMbGkzcOOJFq+zTfPRS0VDzgTJa 4fRy6633L8DzxustEvImRWFtG9QmKnQ7VhDGyUfHEcNWftqiQbpTAEFy+xP2iHKf6RgB TrurQrmdZ30eO+WN8gfP/BDUSJEvv8nKqLfSrftRxv1SWqojY1CYopfanoI1AVjkjPSt uxITJnGm5ddoB89npovKCH6IIXthLDW4EJEg3Q8j9wYndTwJntmBpdb4ksq/Yv0OsOq7 e6OS3e1d1qHZ7eUVT8YVlTPmOnqJ1dsKm3MdNuFOIz+8O7hLrJUbRlwRiJ/lKO077put jMlw== X-Gm-Message-State: AJaThX56w9VEIiyPou4OL/vazJd7L7+alM4kUSgNbEZn/WK3sJRoO6UT TqEUGw0QmescmtmUDxPx0uD+SA== X-Google-Smtp-Source: AGs4zMY3ssS3mjK3kWSnR6pn9nVHhMMJ689XHQD4BzCdEt3EFNUzhkzbOFYdc/4Ab3qhRLwbs7OXmw== X-Received: by 10.36.44.197 with SMTP id i188mr5656950iti.40.1512085160644; Thu, 30 Nov 2017 15:39:20 -0800 (PST) Received: from samitolvanen.mtv.corp.google.com ([100.98.112.14]) by smtp.gmail.com with ESMTPSA id h73sm2896676itb.21.2017.11.30.15.39.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Nov 2017 15:39:19 -0800 (PST) From: Sami Tolvanen <samitolvanen@google.com> To: Alex Matveev <alxmtvv@gmail.com>, Andi Kleen <ak@linux.intel.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Greg Hackmann <ghackmann@google.com>, Kees Cook <keescook@chromium.org>, linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Rutland <mark.rutland@arm.com>, Masahiro Yamada <yamada.masahiro@socionext.com>, Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>, Michal Marek <michal.lkml@markovi.net>, Nick Desaulniers <ndesaulniers@google.com>, Yury Norov <ynorov@caviumnetworks.com>, Matthias Kaehlcke <mka@chromium.org>, Nicholas Piggin <npiggin@gmail.com> Subject: [PATCH v2 7/7] arm64: add a workaround for GNU gold with ARM64_MODULE_PLTS Date: Thu, 30 Nov 2017 15:39:05 -0800 Message-Id: <20171130233905.130602-8-samitolvanen@google.com> X-Mailer: git-send-email 2.15.0.531.g2ccb3012c9-goog In-Reply-To: <20171130233905.130602-1-samitolvanen@google.com> References: <20171129234442.655-1-samitolvanen@google.com> <20171130233905.130602-1-samitolvanen@google.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Sami Tolvanen <samitolvanen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/kernel/module.lds b/arch/arm64/kernel/module.lds index f7c9781a9d48..eacb5c67f61e 100644 --- a/arch/arm64/kernel/module.lds +++ b/arch/arm64/kernel/module.lds @@ -1,4 +1,4 @@ SECTIONS { - .plt (NOLOAD) : { BYTE(0) } - .init.plt (NOLOAD) : { BYTE(0) } + .plt : { BYTE(0) } + .init.plt : { BYTE(0) } }