Re: [libvirt] PATCH: 8/11: Make better use of linker scripts

2008-10-31 Thread Daniel Veillard
On Thu, Oct 30, 2008 at 04:56:30PM +, Daniel P. Berrange wrote: On Thu, Oct 30, 2008 at 01:41:14PM +, Daniel P. Berrange wrote: The libvirt.so file currently whitelists all the symbols in our public API. libvirtd and virsh, however, also want to use a bunch of our so called

Re: [libvirt] PATCH: 8/11: Make better use of linker scripts

2008-10-30 Thread Daniel P. Berrange
The libvirt.so file currently whitelists all the symbols in our public API. libvirtd and virsh, however, also want to use a bunch of our so called 'private' symbols which aren't in the public API. For saferead and safewrite() we dealt with this by compiling the code twice with some nasty macro

Re: [libvirt] PATCH: 8/11: Make better use of linker scripts

2008-10-30 Thread Daniel P. Berrange
On Thu, Oct 30, 2008 at 01:41:14PM +, Daniel P. Berrange wrote: The libvirt.so file currently whitelists all the symbols in our public API. libvirtd and virsh, however, also want to use a bunch of our so called 'private' symbols which aren't in the public API. For saferead and safewrite()