All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Andi Kleen <andi@firstfloor.org>,
	linux-kernel@vger.kernel.org, sam@ravnborg.org, x86@kernel.org,
	linux-kbuild@vger.kernel.org, Andi Kleen <ak@linux.intel.com>
Subject: Re: [PATCH 1/6] kbuild: Remove relocations from kallsyms table
Date: Tue, 18 Feb 2014 19:50:08 +0100	[thread overview]
Message-ID: <20140218185007.GB22728@two.firstfloor.org> (raw)
In-Reply-To: <53036E26.1040701@zytor.com>

On Tue, Feb 18, 2014 at 06:28:54AM -0800, H. Peter Anvin wrote:
> On 02/18/2014 06:24 AM, Andi Kleen wrote:
> > From: Andi Kleen <ak@linux.intel.com>
> > 
> > Remove the ELF relocations from the kallsyms_address[] table.
> > Instead we just store offsets to _text and relocate that while
> > accessing the kallsyms table. This is done with a new
> > kallsyms_offsets[] table. With these changes .tmp_kallsyms*.o
> > becomes relocation free.
> > 
> > In theory this would also allow to shrink the kallsyms table
> > on 64bit by using offsets.
> > 
> 
> Why not do that, then?

I tried it once, but it didn't boot for some reason. Didn't have
time to track it down so I removed it. Could be done as followon
work.

-Andi

  reply	other threads:[~2014-02-18 18:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-18 14:24 Single pass kallsyms v3 Andi Kleen
2014-02-18 14:24 ` [PATCH 1/6] kbuild: Remove relocations from kallsyms table Andi Kleen
2014-02-18 14:28   ` H. Peter Anvin
2014-02-18 18:50     ` Andi Kleen [this message]
2014-02-18 14:24 ` [PATCH 2/6] kbuild: Put kallsyms into own section Andi Kleen
2014-02-18 14:24 ` [PATCH 3/6] kbuild: Don't include const variable in kallsyms with !KALLSYMS_ALL Andi Kleen
2014-02-18 14:24 ` [PATCH 4/6] kbuild: Support padding in kallsyms tables v2 Andi Kleen
2014-02-18 14:24 ` [PATCH 5/6] kbuild: Use single pass kallsyms Andi Kleen
2014-02-18 14:24 ` [PATCH 6/6] kbuild: Remove .dot postfixes in kallsyms Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2014-02-14 21:17 Updated single-pass kallsyms patchkit for LTO Andi Kleen
2014-02-14 21:17 ` [PATCH 1/6] kbuild: Remove relocations from kallsyms table Andi Kleen
2014-02-08  7:50 Andi Kleen

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20140218185007.GB22728@two.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=ak@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.