Re: Tools to modify shared libraries

2003-06-18 Thread Jake Burkholder
Apparently, On Mon, Jun 16, 2003 at 03:39:19PM -0700, Joe Kelsey said words to the effect of; > Has anyone ever come across general-purpose tools for modifying shared > libraries? What I want to do is to edit the list of "needed" shared > libraries to correct the common mistakes that de

Re: Tools to modify shared libraries

2003-06-18 Thread Joe Kelsey
Stijn Hoop wrote: On Tue, Jun 17, 2003 at 06:38:29AM -0700, Joe Kelsey wrote: Basically, what I want to do is remove several entries from the *front* of the dynamic section. Actually, I would settle for just removing all of a certain tag (such as DT_NEEDED) from the dynamic section. I'm very

Re: Tools to modify shared libraries

2003-06-18 Thread Stijn Hoop
On Tue, Jun 17, 2003 at 06:38:29AM -0700, Joe Kelsey wrote: > Basically, what I want to do is remove several entries from the *front* > of the dynamic section. Actually, I would settle for just removing all > of a certain tag (such as DT_NEEDED) from the dynamic section. I'm very interested, ha

Re: Tools to modify shared libraries

2003-06-17 Thread Marcel Moolenaar
On Tue, Jun 17, 2003 at 01:02:36PM -0400, Alexander Kabaev wrote: > On Tue, 17 Jun 2003 09:01:41 -0700 > Marcel Moolenaar <[EMAIL PROTECTED]> wrote: > > > On Tue, Jun 17, 2003 at 08:49:23AM -0700, Joe Kelsey wrote: > > Linux uses the same linker (GNU ld). Fixing the linker will have the > > same e

Re: Tools to modify shared libraries

2003-06-17 Thread Dan Nelson
In the last episode (Jun 17), Marcel Moolenaar said: > On Tue, Jun 17, 2003 at 01:02:36PM -0400, Alexander Kabaev wrote: > > On Tue, 17 Jun 2003 09:01:41 -0700 > > Marcel Moolenaar <[EMAIL PROTECTED]> wrote: > > > On Tue, Jun 17, 2003 at 08:49:23AM -0700, Joe Kelsey wrote: Linux > > > uses the same

Re: Tools to modify shared libraries

2003-06-17 Thread Alexander Kabaev
On Tue, 17 Jun 2003 09:01:41 -0700 Marcel Moolenaar <[EMAIL PROTECTED]> wrote: > On Tue, Jun 17, 2003 at 08:49:23AM -0700, Joe Kelsey wrote: > Linux uses the same linker (GNU ld). Fixing the linker will have the > same effect on Linux as it will have on FreeBSD and hence will prevent > unnecessary

Re: Tools to modify shared libraries

2003-06-17 Thread Marcel Moolenaar
On Tue, Jun 17, 2003 at 09:31:54AM -0700, Joe Kelsey wrote: > Marcel Moolenaar wrote: > >Yes it can. Symbol resolution is a fundamental part in linking. > >Hence, the linker has all the information it needs to filter the > >gratuitously long list of libraries programmers tend to give it > >and keep

Re: Tools to modify shared libraries

2003-06-17 Thread Joe Kelsey
Marcel Moolenaar wrote: Yes it can. Symbol resolution is a fundamental part in linking. Hence, the linker has all the information it needs to filter the gratuitously long list of libraries programmers tend to give it and keep the libraries that actually contributed to the link. I know of no way to

Re: Tools to modify shared libraries

2003-06-17 Thread Marcel Moolenaar
On Tue, Jun 17, 2003 at 09:13:04AM -0700, Joe Kelsey wrote: > >>>It's more constructive to fix the linker than it is to patch the > >>>ELF files created by it. The linker knows which libraries are > >>>really needed and should be able to create the minimal list of > >>>(true) dependencies. > >> > >

Re: Tools to modify shared libraries

2003-06-17 Thread Joe Kelsey
Marcel Moolenaar wrote: On Tue, Jun 17, 2003 at 08:49:23AM -0700, Joe Kelsey wrote: Marcel Moolenaar wrote: On Tue, Jun 17, 2003 at 06:38:29AM -0700, Joe Kelsey wrote: Basically, what I want to do is remove several entries from the *front* of the dynamic section. Actually, I would settle for

Re: Tools to modify shared libraries

2003-06-17 Thread Marcel Moolenaar
On Tue, Jun 17, 2003 at 08:49:23AM -0700, Joe Kelsey wrote: > Marcel Moolenaar wrote: > >On Tue, Jun 17, 2003 at 06:38:29AM -0700, Joe Kelsey wrote: > > > >>Basically, what I want to do is remove several entries from the *front* > >>of the dynamic section. Actually, I would settle for just removi

Re: Tools to modify shared libraries

2003-06-17 Thread Joe Kelsey
Marcel Moolenaar wrote: On Tue, Jun 17, 2003 at 06:38:29AM -0700, Joe Kelsey wrote: Basically, what I want to do is remove several entries from the *front* of the dynamic section. Actually, I would settle for just removing all of a certain tag (such as DT_NEEDED) from the dynamic section. It'

Re: Tools to modify shared libraries

2003-06-17 Thread Marcel Moolenaar
On Tue, Jun 17, 2003 at 06:38:29AM -0700, Joe Kelsey wrote: > > Basically, what I want to do is remove several entries from the *front* > of the dynamic section. Actually, I would settle for just removing all > of a certain tag (such as DT_NEEDED) from the dynamic section. It's more constructi

Re: Tools to modify shared libraries

2003-06-17 Thread Joe Kelsey
Brandon S. Allbery KF8NH wrote: On Mon, 2003-06-16 at 18:39, Joe Kelsey wrote: Has anyone ever come across general-purpose tools for modifying shared libraries? What I want to do is to edit the list of "needed" shared libraries to correct the common mistakes that developers make in creating sh

Re: Tools to modify shared libraries

2003-06-16 Thread Brandon S. Allbery
On Mon, 2003-06-16 at 18:39, Joe Kelsey wrote: > Has anyone ever come across general-purpose tools for modifying shared > libraries? What I want to do is to edit the list of "needed" shared > libraries to correct the common mistakes that developers make in > creating shared objects with large l