Re: rtld + static linking

2003-11-28 Thread Terry Lambert
Marcel Moolenaar wrote: > On Thu, Nov 27, 2003 at 03:41:14AM -0800, Terry Lambert wrote: > > > If you can get gcc and binutils to add the necessary support, then > > > we can talk further. Until then it's academic. > > > > I think there are political reasons for not doing this. The > > number one

Re: rtld + static linking

2003-11-27 Thread Marcel Moolenaar
On Thu, Nov 27, 2003 at 03:41:14AM -0800, Terry Lambert wrote: > > If you can get gcc and binutils to add the necessary support, then > > we can talk further. Until then it's academic. > > I think there are political reasons for not doing this. The > number one reason would be that you could loa

Re: rtld + static linking

2003-11-27 Thread Mark Murray
Terry Lambert writes: > > I've looked without much success. Could you give a timeframe, a subject > > and/or something? > > Note that the part you snipped indicated that the patches were > posted by a third party, and that my own patches had been offered, > but were not posted in their entirety to

Re: rtld + static linking

2003-11-27 Thread Terry Lambert
Marcel Moolenaar wrote: > > Ether way, you still need to deal with the linker changes necessary > > to export the symbol set for all statically linked objects, and to > > force the inclusion of all archive members when statically linking, > > if one of the linked libraries is libdl, if you wanted a

Re: rtld + static linking

2003-11-27 Thread Terry Lambert
Mark Murray wrote: > Terry Lambert writes: > > Since I have patches to make dlopen work with static binaries, and > [ snip ] > > As to inevitable "where are the patches?", please check the -current > > list archives, you will find at least one set there. > > I've looked without much success. Could

Re: rtld + static linking

2003-11-26 Thread Marcel Moolenaar
On Wed, Nov 26, 2003 at 04:16:06AM -0800, Terry Lambert wrote: > > > > Dynamic linking works because the kernel loads and runs the dynamic > > linker when it sees that the executable defines an interpeter. > > Since I have patches to make dlopen work with static binaries, and > it doesn't work th

Re: rtld + static linking

2003-11-26 Thread Mark Murray
Terry Lambert writes: > Since I have patches to make dlopen work with static binaries, and : [ snip ] : > As to inevitable "where are the patches?", please check the -current > list archives, you will find at least one set there. I've looked without much success. Could you give a timeframe, a subj

Re: rtld + static linking

2003-11-26 Thread Terry Lambert
Marcel Moolenaar wrote: > On Tue, Nov 25, 2003 at 05:44:18PM -0800, Terry Lambert wrote: > > "E.B. Dreger" wrote: > > > Dynamic linking works by the kernel running the dynamic linker, > > > which loads shared objects and fixes the symbol tables, yes? > > > > No. > > > > Dynamic linking works becaus

Re: rtld + static linking

2003-11-25 Thread Marcel Moolenaar
On Tue, Nov 25, 2003 at 05:44:18PM -0800, Terry Lambert wrote: > "E.B. Dreger" wrote: > > After watching the recent shared/dynamic threads, and reading the > > archives from five or six years ago, I have a question... > > > > Dynamic linking works by the kernel running the dynamic linker, > > whic

Re: rtld + static linking

2003-11-25 Thread Terry Lambert
"E.B. Dreger" wrote: > After watching the recent shared/dynamic threads, and reading the > archives from five or six years ago, I have a question... > > Dynamic linking works by the kernel running the dynamic linker, > which loads shared objects and fixes the symbol tables, yes? No. Dynamic link

rtld + static linking

2003-11-23 Thread E.B. Dreger
After watching the recent shared/dynamic threads, and reading the archives from five or six years ago, I have a question... Dynamic linking works by the kernel running the dynamic linker, which loads shared objects and fixes the symbol tables, yes? Is there some reason that a statically-linked pr