Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2006 22:45:27 +0100
From:      Andreas Bachmann <bachi@te-clan.ch>
To:        hackers@freebsd.org
Subject:   Re: dladdr in executable and shared object
Message-ID:  <1140385527.28785.76.camel@localhost>
In-Reply-To: <20060219172223.GA12772@britannica.bec.de>
References:  <1140368387.28785.63.camel@localhost> <20060219172223.GA12772@britannica.bec.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Joerg

Ahh... Thank you. When I compile with the Sun Compiler, the
dynamic linking section will be present by default. 
In the GNU compiler, as you wrote, it must be explicit specific.

Andreas

On Sun, 2006-02-19 at 18:22 +0100, joerg@britannica.bec.de wrote:
> On Sun, Feb 19, 2006 at 05:59:47PM +0100, Andreas Bachmann wrote:
> > I think the whole dynamic linking functions are buggy.
> 
> First of all, calm down. Second, do your home work.
> By default the necessary dynamic linkage section is not present in
> executables, only shared libraries. Try -Wl,-E instead.
> 
> Joerg
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
> 




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