ProPolice symbols in libc or libssp ?

Joerg Sonnenberger joerg at britannica.bec.de
Wed Jul 27 00:02:54 GMT 2005


On Wed, Jul 27, 2005 at 01:26:45AM +0200, Jeremie Le Hen wrote:
> Being full of enthusiasm, I checked if by chance libraries could have
> dynamic object dependencies.  It appears this is not the case, but
> since I'm neither a GCC nor binutils hacker, maybe there is a way to
> achieve this.  This is the purpose of this email ?

What you have been smoking? Dynamic libraries surely can depend on other
objects :-) Just link libc with -lssp, given that libssp should be
self-contained or any other library you want to have propolice in
against ssp. Static libraries are not an issue either, since you can
simply add the object file. If you look around, you might even find some
programs which allow you to add the dependency into an existing library,
which would be perfect for libc.

Joerg


More information about the freebsd-hackers mailing list