Mail Archives: djgpp-workers/2001/01/14/07:10:53
On Sun, 14 Jan 2001, Tim Van Holder wrote:
> > ??? BFD may be _reading_ the stub, but I'm guessing that it's the
> > application (ld, in this case) which tells it from what file to read it.
> > Otherwise, that would mean that GO32STUB etc. are also pushed to the BFD
> > level, which I don't think is true.
> I just checked the current weekly snapshot; only coff-stgo32.c references
> $GO32STUB.
Thanks for looking it up.
Is there a way to move this code to the application level? It doesn't
seem right to me to have an obscure BFD function look at environment
variables.
If this cannot be done, we can still make it work, either by introducing
some global variable specific to the DJGPP port, or by having the
application push a special variable into the environment whose value is
the leading directory from argv[0].
- Raw text -