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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E663C433EF for ; Tue, 5 Apr 2022 13:14:33 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C450083BBA; Tue, 5 Apr 2022 15:14:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Dn9VUl6k"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C06E683B8B; Tue, 5 Apr 2022 15:14:21 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 661A183B57 for ; Tue, 5 Apr 2022 15:14:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2F14D617C6; Tue, 5 Apr 2022 13:14:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6EF4CC385A1; Tue, 5 Apr 2022 13:14:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649164454; bh=pRMGF3l+KDbjmDFTo73QCwar5oXOIKblcaFg4TT1QZY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dn9VUl6kI7zc2/9yieMRENN8r1KoaNBQotEiwjpF2KW+K33I5ZUxHj2HUk9NKrpIg KaCGb3RSIsPrIpAvrgBihEqU2DkKSz1kp8zzWdquVhnNybCJgbG8npmRK/xkA2sl+M QlcLVl4lKYoDC6+SLyoI/iPMjPYNmkURbPVm1r+08MU/jRxndEytADvp2KUtqNyPNl j6v44yxWn3u+hJx0V4FcWtsrHYhI3sjUp5T7GekJGWBpfN8Er1oRWsRUfTPPyyoLXE B/b6cANFeEtnHpv22ZsAXekLZJxf03cU3KjqAANJ9Dnw+PMxKk+ww7SXS8wF7+JsUw KQg0+odHyj1RQ== Received: by pali.im (Postfix) id 239527B2; Tue, 5 Apr 2022 15:14:14 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Priyanka Jain , Qiang Zhao , Shengzhou Liu , Alexander Graf , Bin Meng , Wolfgang Denk , Sinan Akman Cc: u-boot@lists.denx.de Subject: [PATCH 4/8] powerpc: mpc85xx: Remove useless SIZEOF_HEADERS and .interp from ld script Date: Tue, 5 Apr 2022 15:12:33 +0200 Message-Id: <20220405131237.405-5-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220405131237.405-1-pali@kernel.org> References: <20220405131237.405-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean .interp section is not available in output ELF binary and SIZEOF_HEADERS is needed at all. There is no change in generated u-boot.bin binary. Signed-off-by: Pali Rohár --- arch/powerpc/cpu/mpc85xx/u-boot.lds | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/u-boot.lds b/arch/powerpc/cpu/mpc85xx/u-boot.lds index 48509dbdae01..565d5deb530a 100644 --- a/arch/powerpc/cpu/mpc85xx/u-boot.lds +++ b/arch/powerpc/cpu/mpc85xx/u-boot.lds @@ -27,8 +27,6 @@ PHDRS SECTIONS { /* Read-only sections, merged into text segment: */ - . = + SIZEOF_HEADERS; - .interp : { *(.interp) } .text : { *(.text*) -- 2.20.1