Re: [osol-discuss] Re: GNU ld -shared fails to link filtered symbols on Solaris

2006-11-28 Thread Rod Evans
Joerg Schilling wrote: This may still not prove your claim as the final ELF spec has been done by Sun and AT&T as part of the the joined work for SVr4. The original ELF spec was indeed created by these players. But, the design allowed for a great deal of extensibility. All of the UN*X's have

Re: [osol-discuss] Re: GNU ld -shared fails to link filtered symbols on Solaris

2006-11-28 Thread Rod Evans
Rod Evans wrote: Martin might have to add some c stub functions to his builds so that his libraries provide non-ABS filter symbols in the mean time. Arrr, but then the gnu linker probably doesn't grok symbol filter definitions from a mapfile, so the sc tub trick wouldn't provid

Re: [osol-discuss] Re: GNU ld -shared fails to link filtered symbols on Solaris

2006-11-28 Thread Rod Evans
Alan Modra wrote: The question, I think, is why the ABS state of the symbol *definition* is inherited by the symbol state of the *reference*. A reference is typically undefined (UNDEF). Perhaps because the Sys V ABI says: SHN_ABS The symbol has an absolute value that will not change beca

Re: [osol-discuss] Re: GNU ld -shared fails to link filtered symbols on Solaris

2006-11-28 Thread Rod Evans
Alan Modra wrote: On Mon, Nov 27, 2006 at 10:04:42PM +0100, Martin Man wrote: There seems to be a bug in GNU ld that does not link filter symbols properly. I'd hardly call it a bug. By the sound of things, Sun has made some extensions to ELF that GNU ld doesn't understand. Someone (you perha