From: Pali Rohár <pali@kernel.org>
Date: Tue, 5 Apr 2022 13:12:33 +0000 (+0200)
Subject: powerpc: mpc85xx: Remove useless SIZEOF_HEADERS and .interp from ld script
X-Git-Tag: v2025.01-rc5-pxa1908~1429^2~22
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=c45f000f294e096f6f5060bd528b65d14f6c6f12;p=u-boot.git

powerpc: mpc85xx: Remove useless SIZEOF_HEADERS and .interp from ld script

.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 <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
---

diff --git a/arch/powerpc/cpu/mpc85xx/u-boot.lds b/arch/powerpc/cpu/mpc85xx/u-boot.lds
index 48509dbdae..565d5deb53 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*)