Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp2380790ybn; Thu, 26 Sep 2019 11:01:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBcDcBXF9nojl5m3Y5g22Sc+Csqnb8n9fC6abNEyfu9e1ZxuoK+BR13jR1zTgIKSfC4e++ X-Received: by 2002:a50:d6db:: with SMTP id l27mr55285edj.164.1569520898835; Thu, 26 Sep 2019 11:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569520898; cv=none; d=google.com; s=arc-20160816; b=sER5QTbgb0FueRex+OeJk0J+vBKTXzWiR55mZeeG/72mxgssLfB2tWsyRbUPn0KGZt t9lm5SMc8pG2f+Y+SnLr2J/8acSi/mrfdA3T5QtAgJXKSrNxVE0sjWqHerMogxzC8l82 4vmBMmOAMUgBoji1nOpE8x3/jnKk+Yk9rNYjq03owL/U1/vq+KcxFLi8pzo7J0hfWZm7 UKKb7yXhv0nAvCPUyeAlyeMx0KdGPw09m2Dccbj70Hi2GOkTUzEnEqcpxvAPkm11qaKf m+GGTFQVIu5Ufephs0zs0Aq6KnKU4EW/dNq2cNF8ssrGaKk8lqH1znTuOPjEPQmNTuVD 3LyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=tfsXsrL5x37ZSQucWl8Bh6EyFQTE0kRi9peGDqUDYWM=; b=hd9tiAYDggkzgiTsFCqbwAdgEjYJthEWR7sTcCXetYbwYLw8hM9deQ7T8tbvD5Ir54 aJ/5aF/m8SHci3D2+30ZSChKluJqw9VdjCPFMGjj9LOXVr+hpF2+IOXp8M6EuXzqiMFY pX7vSS/cLZKOT4aYUxjL2YJS3wgiQ4huiJE2ECN/jePRuC9+UMgHbFKZ6xOz31il4HDQ 3HlTvhM0CZIm89KvxM8z+004DegaH8EVE6ZyH1dG4swSU/uHwoTTKqOlmZsjBaIyOP8T 1hZht0Mii3RMEgIKSfYCw7bpMXLUJILtm0t8/dxXpggyEuHgWJppU3A+7Eg30vWTTC1B YEdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KfnDRarT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h90si8620edd.178.2019.09.26.11.01.15; Thu, 26 Sep 2019 11:01:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KfnDRarT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728010AbfIZR4W (ORCPT + 99 others); Thu, 26 Sep 2019 13:56:22 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:36098 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727754AbfIZR4V (ORCPT ); Thu, 26 Sep 2019 13:56:21 -0400 Received: by mail-pl1-f196.google.com with SMTP id f19so1631079plr.3 for ; Thu, 26 Sep 2019 10:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tfsXsrL5x37ZSQucWl8Bh6EyFQTE0kRi9peGDqUDYWM=; b=KfnDRarTGgWf60O4C9cF+YzTjYXp+pSkpdzWR7YKNXHXP7TAfTSHAkqA4UoYNAcWUP NDUbjKE6AWe2+D+wOTvvlqXbdNAJZsnyYEgw38E2fXR/V8EEz3Xj/vyRfzrhH+es6//f V34BpcFgVde9WGbqi6+RYmyV1MCa8QFUww3V8= 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=tfsXsrL5x37ZSQucWl8Bh6EyFQTE0kRi9peGDqUDYWM=; b=Y47ClnOJUcOcubHYxJlfUvp0OyP/IXrDCMJxSg9roojroFAuQJ/nOnj7eXKQuDfPFA 5YSTnwWhlocM7P5dKjZqfHYoszzs3NcRKtxLAi4/TR9ZI1Tb/EMh+Nut2lNbwqJzESBm B2h3dU0N68ijbmkd9SnGE2dsniVtAhOfWBU7ovEkrTZjNmgQyVNt1P8y/4BeoEehvrsE HZqoVlH6lyUkALtHBREYU/nickzwzd/RW8JjFQw6YjeGVWzQDD7IPtM1YptskBaWGvf1 NZjWgILdIYQifOdykJ29/rcSW1Y0tCsTdjFCB5XYlLUFaHjC4HEUvCvtk9XTs62w6a7D QAbQ== X-Gm-Message-State: APjAAAW+alnkXfNZfECG0BEHV2IkwDaRPbO/F5s+OU0uFUAVbByj3Z4N R0GDS5DodsFDftRS6WGsAQh7lQ== X-Received: by 2002:a17:902:9a92:: with SMTP id w18mr5189269plp.201.1569520580043; Thu, 26 Sep 2019 10:56:20 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id f15sm2984785pfd.141.2019.09.26.10.56.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 10:56:17 -0700 (PDT) From: Kees Cook To: Thomas Gleixner Cc: Kees Cook , Rick Edgecombe , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Dave Hansen , Andy Lutomirski , Arnd Bergmann , linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-alpha@vger.kernel.org, linux-ia64@vger.kernel.org, linux-s390@vger.kernel.org, linux-c6x-dev@linux-c6x.org, Yoshinori Sato , Michal Simek , linux-parisc@vger.kernel.org, linux-xtensa@linux-xtensa.org, x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/29] alpha: Rename PT_LOAD identifier "kernel" to "text" Date: Thu, 26 Sep 2019 10:55:37 -0700 Message-Id: <20190926175602.33098-5-keescook@chromium.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190926175602.33098-1-keescook@chromium.org> References: <20190926175602.33098-1-keescook@chromium.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation for moving NOTES into RO_DATA, this renames the linker script internal identifier for the PT_LOAD Program Header from "kernel" to "text" to match other architectures. Signed-off-by: Kees Cook --- arch/alpha/kernel/vmlinux.lds.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/alpha/kernel/vmlinux.lds.S b/arch/alpha/kernel/vmlinux.lds.S index c4b5ceceab52..781090cacc96 100644 --- a/arch/alpha/kernel/vmlinux.lds.S +++ b/arch/alpha/kernel/vmlinux.lds.S @@ -8,7 +8,7 @@ OUTPUT_FORMAT("elf64-alpha") OUTPUT_ARCH(alpha) ENTRY(__start) -PHDRS { kernel PT_LOAD; note PT_NOTE; } +PHDRS { text PT_LOAD; note PT_NOTE; } jiffies = jiffies_64; SECTIONS { @@ -27,14 +27,14 @@ SECTIONS LOCK_TEXT *(.fixup) *(.gnu.warning) - } :kernel + } :text swapper_pg_dir = SWAPPER_PGD; _etext = .; /* End of text section */ - NOTES :kernel :note + NOTES :text :note .dummy : { *(.dummy) - } :kernel + } :text RODATA EXCEPTION_TABLE(16) -- 2.17.1