Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!xylogics!merk!uvmark!irwin From: irwin@uvmark.uucp (Frank Irwin) Newsgroups: comp.unix.aix Subject: bind getting stuck? Message-ID: <1991Feb15.190657.47304@uvmark.uucp> Date: 15 Feb 91 19:06:57 GMT Organization: Vmark Software, Inc. Lines: 24 I'm trying to make ld bind shared object files into the output object, so that all system calls will use our malloc() instead of the system malloc(). To do this, I use the -bnoautoimp -berok -bnogc options to ld. However, bind never seems to complete. Doing a ps: upix 9665 18551 0 10:43:55 pts/39 0:00 cc -O -bnso -berok -bnogc genro.o uvmalloc.o -o genro upix 11971 36802 34 10:43:55 pts/39 19:39 /usr/lib/bind QUIET NOLOADMAP upix 36802 9665 0 10:43:55 pts/39 0:00 ld -H512 -T512 -bhalt -bnso -berok -bnogc -o genro /lib/crt0.o genro.o uvmalloc. If I leave out the -bnogc option, it binds fine, but running genro results in: Could not load program genro Error was: Exec format error Any ideas would be greatly appreciated. Frank -- ==================================================================== Frank Irwin | "I'll bet $50 on that flush." Vmark Software, Inc. | Whooooosh! ..uunet!merk!uvmark!irwin | "Aaaaiiiieeee! Not *that* flush!"