misleading statement in bugs.html#known
Per Bothner
per@bothner.com
Thu Dec 6 12:33:00 GMT 2001
Geoff Keating wrote:
> printf (&__stdin, ...)
>
> then this works with dynamic linking by creating space in the
> executable for '__stdin', resolving the address of __stdin at link
> time, and copying at startup time the initial contents of __stdin to
> that space
Ugh. Ick. This is unfortunate mechanism, not that I know enough
about dynamic linking to know if there is (or could be) a better
way. But it seems we're stuck with it.
Thanks for the replies and explanations.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
More information about the Gcc
mailing list