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: [PATCH 0/9][BZ 16892] Generic lowlevellock.h


On Mon, 9 Jun 2014, Bernie Ogden wrote:

> 2) A few platforms (eg aarch64) used to cast futexp to long in a few
> functions and no longer do so. I couldn't see why they were doing
> that, but maybe I'm being dumb. I've flagged up affected files in the
> relevant mails.

In the MIPS case, I suspect it was to avoid direct conversions from 
pointers (32-bit) to long long (64-bit) for n32 syscall arguments - 
although the log for commit 6428ce3cdad3d587fb77f2f1d0d7036f780fa9e0 says 
"for n64".  n32 sysdep.h now defines ARGIFY in a way that avoids problems 
with conversion warnings there, so I think the casts are obsolete for 
MIPS.

-- 
Joseph S. Myers
joseph@codesourcery.com


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