summaryrefslogtreecommitdiff
path: root/arch/x32/src
AgeCommit message (Collapse)AuthorFilesLines
2016-01-22move x32 sysinfo impl and syscall fixup code out of arch/x32/srcRich Felker2-88/+0
all such arch-specific translation units are being moved to appropriate arch dirs under the main src tree.
2015-12-15remove visibility suppression by SHARED macro in mips and x32 arch filesRich Felker1-4/+0
commit 8a8fdf6398b85c99dffb237e47fa577e2ddc9e77 was intended to remove all such usage, but these arch-specific files were overlooked, leading to inconsistent declarations and definitions.
2015-05-01fix dangling pointers in x32 syscall timespec fixup codeRich Felker1-3/+7
the lifetime of compound literals is the block in which they appear. the temporary struct __timespec_kernel objects created as compound literals no longer existed at the time their addresses were passed to the kernel.
2015-04-14consistently use hidden visibility for cancellable syscall internalsRich Felker1-0/+7
in a few places, non-hidden symbols were referenced from asm in ways that assumed ld-time binding. while these is no semantic reason these symbols need to be hidden, fixing the references without making them hidden was going to be ugly, and hidden reduces some bloat anyway. in the asm files, .global/.hidden directives have been moved to the top to unclutter the actual code.
2014-04-15add namespace-protected name for sysinfo functionRich Felker1-1/+4
it will be needed to implement some things in sysconf, and the syscall can't easily be used directly because the x32 syscall uses the wrong structure layout. the l (uncreative, for "linux") prefix is used since the symbol name __sysinfo is already taken for AT_SYSINFO from the aux vector. the way the x32 override of this function works is also changed to be simpler and avoid the useless jump instruction.
2014-03-06x32: fix sysinfo()rofl0r1-0/+47
the kernel uses long longs in the struct, but the documentation says they're long. so we need to fixup the mismatch between the userspace and kernelspace structs. since the struct offers a mem_unit member, we can avoid truncation by adjusting that value.
2014-02-23fix some issues in x32 syscall_cp_fixuprofl0r1-11/+8
- the nanosleep fixup "fixed" the second timespec* argument erroneusly. - the futex fixup was missing the check for FUTEX_WAIT. - general cleanup using a macro.
2014-02-23x32 port (diff against vanilla x86_64)rofl0r1-0/+34