This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New C parser [patch]
Richard Guenther <richard.guenther@gmail.com> writes:
> On Wed, 27 Oct 2004 11:49:57 -0700, Richard Henderson <rth@redhat.com> wrote:
...
>> ----
>> static void doit(int, int);
...
>> For non-trivial definitions of doit, this can be extremely useful.
>> Glibc, for instance, uses this in ld.so.
>
> Why doesn't it use an assembly file then? You seem to gain nothing
> by using gcc inline assembly this way.
Note the static declaration of doit, and the reference to the dynamic
loader. I imagine it's crucial to generate a local call sequence for
the use from C (for instance, to prevent GCC from calling through the
PLT when it hasn't been set up yet).
zw