lkml.org 
[lkml]   [2005]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] i386: vmlinux.lds.S Distinguish absolute symbols
From
Date
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-30 02:35    [W:0.072 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site