mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] i386: vmlinux.lds.S Distinguish absolute symbols
Date: Fri, 29 Jul 2005 18:25:58 -0600	[thread overview]
Message-ID: <m13bpxgmw9.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <20050729211954.GA8263@mars.ravnborg.org> (Sam Ravnborg's message of "Fri, 29 Jul 2005 23:19:54 +0200")

Sam Ravnborg <sam@ravnborg.org> writes:

> On Fri, Jul 29, 2005 at 01:35:04PM -0600, Eric W. Biederman wrote:
>> Currently in the linker script we have several labels
>> marking the beginning and ending of sections that
>> are outside of sections, making them absolute symbols.
>
> They are outside the sections for a very specific reason.
> If moved inside the section they sometimes got unexpected values due to
> the alignment that ld impose on the section itself.
>
> I recall that when Kai Germaschewski long time ago started the
> unification of the vmlinux.lds files some people had boot problems
> exactly because the label was defined inside the section and therefore
> ld caused it to have another value as if it was placed outside the
> section.

I remember seeing something like that.  I don't know if those problems
apply to a modern ld, but it is certainly worth looking into.

> I no longer recall the precise details of what happened.
> Google may help you...

Thanks.

Eric

  reply	other threads:[~2005-07-30  0:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-29 19:35 Eric W. Biederman
2005-07-29 21:19 ` Sam Ravnborg
2005-07-30  0:25   ` Eric W. Biederman [this message]
2005-07-31  8:29     ` Sam Ravnborg
2005-07-31  8:45       ` Eric W. Biederman

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=m13bpxgmw9.fsf@ebiederm.dsl.xmission.com \
    --to=ebiederm@xmission.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®