Subject: Re: a.out header editing?
To: None <netbsd-help@netbsd.org>
From: Chris Baird <abuse@brushtail.apana.org.au>
List: netbsd-help
Date: 03/26/2000 15:13:37
Following-up to my own post... I didn't make much progress trying
to parse a.out executables for the dynamic linking structs.

However, I got lazy and instead modified libexec/ld.aout_so/rtld.c:rtfindlib()
to catch references to the bogus shared libraries and munge the called
args to what was appropriate. (Although I guess a real "solution" would be
to give findhint() the feature of mapping libraries to another...
/etc/ld.so.aliases ?)

(And if a.out kept the dynamic details in plaintext, I would've used Emacs. :)
-- 
Chris Baird,, <cjb@brushtail.apana.org.au>