From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A99AF257C for ; Thu, 23 Feb 2023 13:09:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F953C433EF; Thu, 23 Feb 2023 13:09:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1677157779; bh=FAvQz87F194rThrz5e7/TWrFIjr0ko8YEiQ+9ws5R8c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NJG9ymkvo/syVfHgcdc8doHVjd1cAhJ+40UpKjfSNi8IZJAhSZwT39hymgOQhM1i/ hroD0Dy7W6V+c03w9BO5uhXksPEmSe+jQx+s8Oe239P0d/xgz5iekMMcMIgcitkC+z zxqjDQr0KxiXCpltDUsNRRwhcE5T5WJfdR8lIms4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jisheng Zhang , Palmer Dabbelt , Tom Saeger Subject: [PATCH 6.1 34/46] riscv: remove special treatment for the link order of head.o Date: Thu, 23 Feb 2023 14:06:41 +0100 Message-Id: <20230223130433.179552395@linuxfoundation.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230223130431.553657459@linuxfoundation.org> References: <20230223130431.553657459@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Jisheng Zhang commit 2348e6bf44213c5f447ff698e43c089185241ed7 upstream. arch/riscv/kernel/head.o does not need any special treatment - the only requirement is the ".head.text" section must be placed before the normal ".text" section. The linker script does the right thing to do. The build system does not need to manipulate the link order of head.o. Signed-off-by: Jisheng Zhang Link: https://lore.kernel.org/r/20221018141200.1040-1-jszhang@kernel.org Signed-off-by: Palmer Dabbelt Signed-off-by: Tom Saeger Signed-off-by: Greg Kroah-Hartman --- scripts/head-object-list.txt | 1 - 1 file changed, 1 deletion(-) --- a/scripts/head-object-list.txt +++ b/scripts/head-object-list.txt @@ -39,7 +39,6 @@ arch/powerpc/kernel/entry_64.o arch/powerpc/kernel/fpu.o arch/powerpc/kernel/vector.o arch/powerpc/kernel/prom_init.o -arch/riscv/kernel/head.o arch/s390/kernel/head64.o arch/sh/kernel/head_32.o arch/sparc/kernel/head_32.o