]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 48509dbdae01b60d0df07f7371fdef24c02f3393..565d5deb530a8f81231f40f90752ec46f1f87fc0 100644 (file)
@@ -27,8 +27,6 @@ PHDRS
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */
-  . = + SIZEOF_HEADERS;
-  .interp : { *(.interp) }
   .text      :
   {
     *(.text*)