[PATCH] Remove use of INTDEF/INTUSE in csu

Richard Henderson rth@twiddle.net
Fri Jun 1 18:34:00 GMT 2012


On 06/01/2012 11:15 AM, Andreas Schwab wrote:
>> > That does seem better.  But there are still some places where it might be
>> > difficult to do that, like syscalls.list entries.
> syscalls.list entries get the __GI_ prefix automatically, always.

Well, no.  __GI_ prefixes aren't generated for the versioned symbol names.  E.g.


gettimeofday    -       gettimeofday    2       __GI___gettimeofday gettimeofday@@GLIBC_2.1 __gettimeofday@@GLIBC_2.1


We need to export __gettimeofday, and we use __GI___gettimeofday internally.  So we get stuck having to write the __GI_ prefix by hand.  We do wind up getting a __GI___GI___gettimeofday symbol out of this too.  ;-)

r~



More information about the Libc-alpha mailing list