LinuxPPC-Dev Archive on
 help / color / Atom feed
From: Michael Ellerman <>
To: Alan Modra <>
Subject: Re: [PATCH 2/2] powerpc/ Discard .interp section
Date: Fri, 27 Mar 2020 20:27:19 +1100
Message-ID: <> (raw)
In-Reply-To: <>

Alan Modra <> writes:
> On Thu, Feb 27, 2020 at 03:59:33PM +1100, Michael Ellerman wrote:
>> The .interp section specifies which "interpreter", ie. dynamic loader,
>> the kernel requests. But that doesn't make any sense, the kernel is
>> not a regular binary that is run with an interpreter.
>> The content seems to be some default value, this file doesn't even
>> exist on my system:
>>   00000000  2f 75 73 72 2f 6c 69 62  2f 6c 64 2e 73 6f 2e 31  |/usr/lib/|
>> So the section serves no useful purpose and consumes a small amount of
>> space.
>> Also Alan Modra says we "likely could discard" it, so do so.
> Yes, but you ought to check with the mimimum required binutils.  It is
> quite possible that an older linker will blow up.

OK, I guess I'll have to test.

> If the minimum required binutils is at least binutils-2.26 then
> passing --no-dynamic-linker to ld is a more elegant solution.

The current minimum is 2.21, though there's talk of increasing it to


  reply index

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-27  4:59 [PATCH 1/2] powerpc/ Explicitly retain .gnu.hash Michael Ellerman
2020-02-27  4:59 ` [PATCH 2/2] powerpc/ Discard .interp section Michael Ellerman
2020-02-27  6:27   ` Alan Modra
2020-03-27  9:27     ` Michael Ellerman [this message]
2020-02-27  6:21 ` [PATCH 1/2] powerpc/ Explicitly retain .gnu.hash Alan Modra
2020-03-27  9:29   ` Michael Ellerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

LinuxPPC-Dev Archive on

Archives are clonable:
	git clone --mirror linuxppc-dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linuxppc-dev linuxppc-dev/ \
	public-inbox-index linuxppc-dev

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone