powerpc: mpc85xx: Remove useless SIZEOF_HEADERS and .interp from ld script
authorPali Rohár <pali@kernel.org>
Tue, 5 Apr 2022 13:12:33 +0000 (15:12 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
.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>
arch/powerpc/cpu/mpc85xx/u-boot.lds

index 48509db..565d5de 100644 (file)
@@ -27,8 +27,6 @@ PHDRS
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */
-  . = + SIZEOF_HEADERS;
-  .interp : { *(.interp) }
   .text      :
   {
     *(.text*)