This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Linker Bug or Design Intent (Absolute symbols in zero sized sections)
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Vivek Goyal <vgoyal at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 26 Sep 2006 07:27:09 -0700
- Subject: Re: Linker Bug or Design Intent (Absolute symbols in zero sized sections)
- References: <4519350D.2090208@redhat.com>
On Tue, Sep 26, 2006 at 10:11:25AM -0400, Vivek Goyal wrote:
> Now, above compiler makes some symbols absolute and these symbols are
> not relocated and kernel code fails at some point. In this case kernel
> fails because it is trying to free memory between symbol __smp_alt_begin
> and another symbol present in other section. __smp_alt_begin is now
> absolute and does not get relocated and kernel ends up trying to free a
> wrong portion of memory.
>
Why do you want to free a memory which doesn't exist?
H.J.