This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: glibc 2.21 - Machine maintainers, please test your machines.


On Sun, Jan 25, 2015 at 2:10 PM, Chris Metcalf <cmetcalf@ezchip.com> wrote:
> On 1/25/2015 4:51 PM, H.J. Lu wrote:
>
>> This is for x86.  Each target can do something like it if needed.
>
>
> This does change the ABI for existing code, however, which may legitimately
> have sem_t objects that are only aligned to 4-byte boundaries.  Your change
> is a good idea for new platforms.  I suppose we could also do something
> with symbol versioning to use it for existing 32-bit platforms with
> 64-bit atomics, too.  So there seem to be multiple fixes we can consider.
>

It doesn't change the size, only increases alignment from 4 bytes to 8 bytes.
It may not work on all targets.  It works for x32.


-- 
H.J.


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