This is the mail archive of the
mailing list for the glibc project.
Re: [tile] support -Os build by fixing faccessat() to use __fxstatat64()
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Chris Metcalf <cmetcalf at tilera dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 25 Jan 2012 23:43:58 +0000 (UTC)
- Subject: Re: [tile] support -Os build by fixing faccessat() to use __fxstatat64()
- References: <201111100054.pAA0sf6u025585@farm-0002.internal.tilera.com><201201252127.q0PLRlDK027121@farm-0002.internal.tilera.com>
On Wed, 25 Jan 2012, Chris Metcalf wrote:
> I wanted to follow up on this; in particular, if my change to faccessat
> allows glibc to build with -Os for all the "linux-generic" architectures, I
> suspect it may be worth it. It also seems to follow the convention of
> using the "x" versions of the stat functions internally, and passing
> _STAT_VER, to avoid the overhead of checking the version as soon as you
> enter the called function.
> 2012-01-25 Chris Metcalf <email@example.com>
> * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Use the hidden
> version of fxstatat64() to avoid requiring libc_nonshared.a.
Given the identified convention of using the "x" versions internally, I
think this could be considered almost obvious; probably wait a bit to see
if anyone spots any problems before committing it.
Joseph S. Myers