Re: Wrong symbol length in ELF object

2005-12-06 Thread Alan Modra
On Tue, Dec 06, 2005 at 04:00:37PM +, Paul Edwards wrote: > [EMAIL PROTECTED] ~/samples/weaksyms $ readelf -s libweaklib.a |grep Foo > 7: 10 FUNCWEAK DEFAULT1 Foo > 8: 10 FUNCGLOBAL DEFAULT1 PFoo > [EMAIL PROTECTED] ~/samples/weaksyms $ readel

Wrong symbol length in ELF object

2005-12-06 Thread Paul Edwards
Hello, I've been using the mpich MPI library and am using a wrapper to gather information about the calls used. It uses: #pragma weak MPI_xxx = PMPI_xxx I then only need to implement the MPI_xxx functions and link against my library first to intercept the calls (I then do stuff and go o