This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: struct statfs/statfs64 in linux-generic


On 13/11/19 2:20 AM, Chris Metcalf wrote:
> On 11/15/2013 2:39 AM, Chung-Lin Tang wrote:
>> Yes, that works for nios2. Appears that struct stat/stat64 in
>> bits/stat.h doesn't have the struct alignment attributes either.
>> Updated patch attached.
>>
>> Chung-Lin
>>
>> 2013-11-13  Chung-Lin Tang  <cltang@codesourcery.com>
>>
>> 	ports/
>> 	* sysdeps/unix/sysv/linux/generic/bits/stat.h (__field64): Use
>> 	__alignof__(type64) in alignment attribute instead of 8.
>> 	* sysdeps/unix/sysv/linux/generic/bits/statfs.h (__field64): Use
>> 	__alignof__(type64) in alignment attribute instead of 8.
>> 	(struct statfs): Remove alignment attribute.
>> 	(struct statfs64): Likewise.
> 
> The patch works fine for tilegx, so I think it should be OK to commit.
> 
> Marcus, did you want to verify that it works OK for AArch64 first?
> My guess it that it should be OK for you.
> 
> Chung-Lin Tang, do you have commit access, or would you like me to
> commit the change for you?

No, I don't think I have commit access for glibc (it's separate from
binutils/gdb I think?)  Please commit for me.

Thanks,
Chung-Lin



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]