Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 1997 11:01:46 -0700
From:      John Polstra <jdp@polstra.com>
To:        luoqi@sabrina.watermarkgroup.com
Cc:        hackers@freebsd.org
Subject:   Re: ld -T bug
Message-ID:  <199706201801.LAA12386@austin.polstra.com>
In-Reply-To: <199706190539.BAA11739@sabrina.watermarkgroup.com>
References:  <199706190539.BAA11739@sabrina.watermarkgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199706190539.BAA11739@sabrina.watermarkgroup.com>,
Luoqi Chen  <luoqi@sabrina.watermarkgroup.com> wrote:
> link was successful, but it seemed that
> ld had written RSS section at the wrong offset in the executable file,
> it was written as if the start address was still the default. So ld.so
> won't see them at expected location and results in a segmentation fault.
> This problem goes away when binding statically (e.g. building the kernel)
> as there is no RSS section.
> 
> I have attached a fix for this problem. Could anyone commit this to
> the CVS tree? Thanks.

This bug was already fixed in -current on May 13.  The fix hasn't been
merged into -2.2 yet.

By the way, please always specify which version of FreeBSD you're running
when you report a problem.

John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706201801.LAA12386>