summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/syscalls/getpeername.S
Commit message (Collapse)AuthorAgeFilesLines
* Ensure __set_errno is still visible on LP32.Elliott Hughes2014-09-081-3/+1
| | | | | | | | | | | | | | | | The use of the .hidden directive to avoid going via the PLT for __set_errno had the side-effect of actually making __set_errno hidden (which is odd because assembler directives don't usually affect symbols defined in a different file --- you can't even create a weak reference to a symbol that's defined in a different file). This change switches the system call stubs over to a new always-hidden __set_errno_internal and has a visible __set_errno on LP32 just for binary compatibility with old NDK apps. Bug: 17423135 Change-Id: I6b6d7a05dda85f923d22e5ffd169a91e23499b7b
* Make __set_errno hidden in asm.Dan Albert2014-08-081-0/+2
| | | | | | | | This fixes the build after the -Bsymbolic change. Bug: 16853291 Change-Id: I989c9fec3c32e0289ea257a3bd2b7fd2709b6ce2 (cherry picked from commit bc9f9f25bf1247a6a638a2a2df8441bdd9fabad7)
* Stop using the non-uapi <linux/err.h> header file.Elliott Hughes2013-11-071-3/+1
| | | | | | | We only need it for MAX_ERRNO, and it's time we had somewhere to put the little assembler utility macros we've been putting off writing. Change-Id: I9354d2e0dc47c689296a34b5b229fc9ba75f1a83
* Sort the syscalls.mk files, give all generated files the same header.Elliott Hughes2013-10-161-1/+2
| | | | | | No non-comment changes to the .S files. Change-Id: Iafcfd004c3ea92b64268f80ab16df615b97cefac
* Use the correct names for the __ARM_NR_* syscalls.Elliott Hughes2013-03-221-1/+1
| | | | | | | | This lets us move all the ARM syscall stubs over to the kernel <asm/unistd.h>. Our generated <sys/linux-syscalls.h> is now unused, but I'll remove that in a later change. Change-Id: Ie5ff2cc4abce1938576af7cbaef615a79c7f310d
* Use the kernel's MAX_ERRNO in the syscall stubs.Elliott Hughes2013-03-121-3/+5
| | | | | Bug: http://code.google.com/p/android/issues/detail?id=53104 Change-Id: Iaabf7025b153e96dc5eca231a33a32d4cb7d8116
* arm syscall : for eabi call_default don't use stackMatthieu Castet2013-01-161-3/+2
| | | | | | | | | In the default case, we don't need to use the stack, we can save r7 with ip register (that what does eglibc). This allow to fix vfork data corruption (see 3884bfe9661955543ce203c60f9225bbdf33f6bb), because vfork now don't use the stack.
* libc: ARM: update syscalls with new scriptKenny Root2011-02-171-8/+3
| | | | | | | | Used the new gensyscalls.py script to update the ARM syscalls with the BEGIN(x) and END(x) macros to give size information for the code of the syscall. Useful for valgrind. Change-Id: I8c481c8928401ac110fd19b087f7d67e4db39326
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+19
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-19/+0
|
* Initial Contributionandroid-1.0The Android Open Source Project2008-10-211-0/+19