Tools to modify shared libraries

Marcel Moolenaar marcel at xcllnt.net
Tue Jun 17 08:42:12 PDT 2003


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 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.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel at xcllnt.net


More information about the freebsd-questions mailing list