Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2008 07:26:21 +0100
From:      "Bruce M. Simpson" <bms@incunabulum.net>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: Broadcom MIPS kernel bit-rot
Message-ID:  <48F2EA0D.9080502@incunabulum.net>
In-Reply-To: <20081008.150716.570083949.imp@bsdimp.com>
References:  <48ECF8F5.8090805@incunabulum.net> <20081008.150716.570083949.imp@bsdimp.com>

index | next in thread | previous in thread | raw e-mail

M. Warner Losh wrote:
> I think this may be a change in the SGI style ELF binaries to a
> Traditional SYS V style that we did before we imported the code, but
> after you did the original work on the sentry...
>   

I've committed a fix to SVN now. It seems that the required fix was to 
enforce the order of the ELF program segments using a GNU ld PHDRS 
config section. I also minimized the diff with the existing 
ldscript.mips file.

At the same time I fixed the dynamic hash load -- it turns out CFE will 
not load PT_DYNAMIC segments, however it will blindly load PT_LOAD 
segments containing dynamic ELF sections. Now we get symbol lookup in 
backtraces, however it also seems DDB isn't always smart enough to find 
the nearest symbol.


home | help

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