[PATCH 0/9][BZ 16892] Generic lowlevellock.h
Joseph S. Myers
joseph@codesourcery.com
Mon Jun 9 20:47:00 GMT 2014
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
More information about the Libc-alpha
mailing list