Elliott Hughes
5f539b16bb
am 211fd4f9: am 24e1dd80: am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"
...
* commit '211fd4f963978f355494100c7038e1b5116d3fce':
x86_64: add new __NR_arch_prctl syscall
2013-10-01 20:59:36 -07:00
Elliott Hughes
cff436553c
am 35336777: am 67e0214d: am 232dff3a: Merge "Regenerate the system call stubs (to get x86_64)."
...
* commit '35336777f1115ead63559d2ce91cc9c9481cb0c8':
Regenerate the system call stubs (to get x86_64).
2013-10-01 20:59:35 -07:00
Elliott Hughes
a5090f0ae0
am 1e998861: am c58d08d6: am 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"
...
* commit '1e9988617234fc504c72f26e13cf0c8d598fb85b':
x86_64: Add x86_64 syscalls and tune gen scripts for x86_64
2013-10-01 20:59:34 -07:00
Elliott Hughes
fd78965e84
am a08be021: am 57e55fe3: am fd152c31: Merge "Clean up some comments."
...
* commit 'a08be021ccaf81bcbc53553c2f822730124c3d5e':
Clean up some comments.
2013-10-01 20:59:34 -07:00
Elliott Hughes
3bd92e83ad
am d4e69610: am 1a46de67: am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."
...
* commit 'd4e6961041942c6c01e6205db7d81368b39a4d1e':
Better statfs/fstatfs glibc compatibility.
2013-10-01 20:59:28 -07:00
Elliott Hughes
a8354c16ef
am 58413fe7: am 4b5a0e1a: am 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."
...
* commit '58413fe73561e8f230092a2b83db64e58fcb061d':
Remove 32-bit assumptions from the ELF code.
2013-10-01 20:59:28 -07:00
Elliott Hughes
b3a045c79e
am 6c8dc464: am 28317d3a: am f5ea738b: Merge "Fix x86 build."
...
* commit '6c8dc464068816986278d152a7c39d477924b360':
Fix x86 build.
2013-10-01 18:46:33 -07:00
Elliott Hughes
8182c3ee60
am 5d641bcf: am f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."
...
* commit '5d641bcf70d36caa22ff2c7d3e3f252abf541bed':
Add x86_64 to the bionic headers.
2013-10-01 18:46:32 -07:00
Elliott Hughes
e770243df2
am b2775090: am 34284954: am 76218efb: Merge "Fix inttypes.h and stdint.h for 64-bit (and C++11)."
...
* commit 'b27750909579926ad8154218b53f4d1765db7d28':
Fix inttypes.h and stdint.h for 64-bit (and C++11).
2013-10-01 18:45:53 -07:00
Christopher Ferris
081f6762e4
am a59e16ba: am 34c2a9fc: Move stack unwinding test into library.
...
* commit 'a59e16bac971db7bb8e65e63d90e895bf4731747':
2013-10-01 18:45:50 -07:00
Elliott Hughes
211fd4f963
am 24e1dd80: am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"
...
* commit '24e1dd8016eeaaa6ef3646cbb143de1506e733e8':
x86_64: add new __NR_arch_prctl syscall
2013-10-01 14:04:19 -07:00
Elliott Hughes
24e1dd8016
am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"
...
* commit '4eaa1e1ea8e4ba4fed31e4bd884e27683db90d81':
x86_64: add new __NR_arch_prctl syscall
2013-10-01 14:01:09 -07:00
Elliott Hughes
35336777f1
am 67e0214d: am 232dff3a: Merge "Regenerate the system call stubs (to get x86_64)."
...
* commit '67e0214d0f620df7a7928ef0fa1a9c0aac326a20':
Regenerate the system call stubs (to get x86_64).
2013-10-01 13:59:59 -07:00
Elliott Hughes
4eaa1e1ea8
Merge "x86_64: add new __NR_arch_prctl syscall"
2013-10-01 20:58:41 +00:00
Elliott Hughes
67e0214d0f
am 232dff3a: Merge "Regenerate the system call stubs (to get x86_64)."
...
* commit '232dff3af296d8b86658a9742288ee487b41dd3f':
Regenerate the system call stubs (to get x86_64).
2013-10-01 13:56:51 -07:00
Pavel Chupin
9a4127bb0a
x86_64: add new __NR_arch_prctl syscall
...
This is used to set/get TLS on x86_64. There's no public declaration
of this because it's not meant to be used outside the C library, like
glibc (though we don't currently have any visibility controls to ensure
this).
Change-Id: I5fc0a5e3ffc3f4cd597d92ee685ab19568ea18f7
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-01 13:56:21 -07:00
Elliott Hughes
232dff3af2
Merge "Regenerate the system call stubs (to get x86_64)."
2013-10-01 20:53:51 +00:00
Elliott Hughes
1e99886172
am c58d08d6: am 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"
...
* commit 'c58d08d655fbb3e0472fcb6ea9879fd1ced39172':
x86_64: Add x86_64 syscalls and tune gen scripts for x86_64
2013-10-01 13:38:16 -07:00
Elliott Hughes
c58d08d655
am 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"
...
* commit '475e8dde178f05f91626a22ade795244efe69a3e':
x86_64: Add x86_64 syscalls and tune gen scripts for x86_64
2013-10-01 13:30:28 -07:00
Elliott Hughes
e4ffd9f234
Regenerate the system call stubs (to get x86_64).
...
This touches the x86 stubs too because arm, x86, and x86_64 now
all share the same header (at a source level), which causes a
reordering of the #include lines.
Change-Id: If9a1e2b2718bd41d8399fea748bce672c513ef84
2013-10-01 13:29:43 -07:00
Elliott Hughes
475e8dde17
Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"
2013-10-01 20:27:49 +00:00
Pavel Chupin
f12a18b850
x86_64: Add x86_64 syscalls and tune gen scripts for x86_64
...
* Tune syscall stubs generator for 4th target: x86_64
* Update SYSCALLS.TXT with x86_64 syscalls:
- Most of the x86 syscalls are equally supported
- *32 syscalls are not supported on 64-bit
- *64 syscalls are replaced accordingly without 64 suffix
- Some syscalls are not supported, replaced with x86_64 analog
Syscalls are regenerated as separate patch for review convenience.
Change-Id: I4ea2e0f13759b0aa61f05208ca68da8d6bc7c048
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-01 13:27:07 -07:00
Elliott Hughes
a08be021cc
am 57e55fe3: am fd152c31: Merge "Clean up some comments."
...
* commit '57e55fe3b32465023071a19e368d91f4804ade3b':
Clean up some comments.
2013-10-01 11:14:27 -07:00
Elliott Hughes
57e55fe3b3
am fd152c31: Merge "Clean up some comments."
...
* commit 'fd152c31586a1f5e6763b06f1182ccd72cb86b69':
Clean up some comments.
2013-10-01 11:12:09 -07:00
Elliott Hughes
fd152c3158
Merge "Clean up some comments."
2013-10-01 18:10:54 +00:00
Elliott Hughes
c0af695426
Clean up some comments.
...
Copyright headers shouldn't contain the filename (and especially
shouldn't contain a different file's filename).
Change-Id: I82690a3bf371265402bc16f5d2fbb9299c3a1926
2013-10-01 11:10:21 -07:00
Elliott Hughes
d4e6961041
am 1a46de67: am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."
...
* commit '1a46de67b3f78ce44ddf622bcf5918fe758dd4d4':
Better statfs/fstatfs glibc compatibility.
2013-10-01 10:04:30 -07:00
Elliott Hughes
58413fe735
am 4b5a0e1a: am 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."
...
* commit '4b5a0e1ad76d76d6a8793f61e3c0902ea4628ce7':
Remove 32-bit assumptions from the ELF code.
2013-10-01 10:04:29 -07:00
Elliott Hughes
1a46de67b3
am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."
...
* commit 'f281fd02e9eebea3de9c07412c5b66647ca0c290':
Better statfs/fstatfs glibc compatibility.
2013-10-01 10:02:16 -07:00
Elliott Hughes
4b5a0e1ad7
am 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."
...
* commit '693bd73fcdf1504e84aef314d1933f5efc2c817d':
Remove 32-bit assumptions from the ELF code.
2013-10-01 10:02:16 -07:00
Elliott Hughes
f281fd02e9
Merge "Better statfs/fstatfs glibc compatibility."
2013-10-01 15:30:40 +00:00
Elliott Hughes
693bd73fcd
Merge "Remove 32-bit assumptions from the ELF code."
2013-10-01 15:23:44 +00:00
Elliott Hughes
01a700e5d2
Better statfs/fstatfs glibc compatibility.
...
Change-Id: I069d169c96cd71b75a045ec911fb4bd484c6b2c9
2013-09-30 21:57:07 -07:00
Elliott Hughes
6c8dc46406
am 28317d3a: am f5ea738b: Merge "Fix x86 build."
...
* commit '28317d3a161c88f88e85d97d584d656ffbe63a19':
Fix x86 build.
2013-09-30 20:53:55 -07:00
Elliott Hughes
28317d3a16
am f5ea738b: Merge "Fix x86 build."
...
* commit 'f5ea738baa0ad5b32348f2ac42450d33d452ef31':
Fix x86 build.
2013-09-30 20:51:53 -07:00
Elliott Hughes
f5ea738baa
Merge "Fix x86 build."
2013-10-01 02:23:02 +00:00
Elliott Hughes
3456a1f5f4
Fix x86 build.
...
Change-Id: I1f2d8189bec3d0e25d21ca7d7bd73fd02f8678e2
2013-09-30 19:20:02 -07:00
Elliott Hughes
5d641bcf70
am f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."
...
* commit 'f5dcdfc438684bbe93e398b6551f915fe3fe10bf':
Add x86_64 to the bionic headers.
2013-09-30 18:45:57 -07:00
Elliott Hughes
f5dcdfc438
am 6dee3b9a: Merge "Add x86_64 to the bionic headers."
...
* commit '6dee3b9aeec40bb518c1a29b4462300869a03d8e':
Add x86_64 to the bionic headers.
2013-09-30 18:44:28 -07:00
Elliott Hughes
c620059479
Remove 32-bit assumptions from the ELF code.
...
Change-Id: I2c1f3d34c33685799aade8866eec44479ff9f963
2013-09-30 18:43:46 -07:00
Elliott Hughes
6dee3b9aee
Merge "Add x86_64 to the bionic headers."
2013-10-01 01:42:43 +00:00
Elliott Hughes
d3e64a3f40
Add x86_64 to the bionic headers.
...
Manual changes:
cpp.py: cope with macros that refer to other macros.
defaults.py: x86 no longer always implies __i386__; use __i386__ to replace
the kernel CONFIG_X86_32 flag.
asm/page.h: the upstream page.h isn't a uapi header and no longer includes
the stuff we were using it for. Let's just have our own static file, since
it's the same for all our architectures (both 32- and 64-bit).
sys/select.h: we used to use the various FD_SET-related macros from the
kernel header files, but they've gone. Adjust by adding trivial equivalent
definitions.
Automated changes:
libc/kernel/arch-x86, libc/kernel/common: regenerated from
external/kernel-headers.
Change-Id: I84fc0ed52dc742e043b4ae300fd3b58ee99b7fcd
2013-09-30 18:42:13 -07:00
Elliott Hughes
b277509095
am 34284954: am 76218efb: Merge "Fix inttypes.h and stdint.h for 64-bit (and C++11)."
...
* commit '34284954b3b43010d87c6f99a50dc673a55fbb04':
Fix inttypes.h and stdint.h for 64-bit (and C++11).
2013-09-30 16:23:03 -07:00
Elliott Hughes
34284954b3
am 76218efb: Merge "Fix inttypes.h and stdint.h for 64-bit (and C++11)."
...
* commit '76218efbeb2e124656ce15d4eb5a7039da065123':
Fix inttypes.h and stdint.h for 64-bit (and C++11).
2013-09-30 16:19:18 -07:00
Elliott Hughes
76218efbeb
Merge "Fix inttypes.h and stdint.h for 64-bit (and C++11)."
2013-09-30 21:53:06 +00:00
Elliott Hughes
a9a02acc9f
Fix inttypes.h and stdint.h for 64-bit (and C++11).
...
Change-Id: I394630348413c9aafcac137ce1ca5f0a93d9ab6f
2013-09-30 14:46:47 -07:00
Christopher Ferris
a59e16bac9
am 34c2a9fc: Move stack unwinding test into library.
...
* commit '34c2a9fc37848d446bf91ce61783884232fffeb1':
Move stack unwinding test into library.
2013-09-30 14:46:05 -07:00
Christopher Ferris
704ec47d42
am 34c2a9fc: Move stack unwinding test into library.
...
* commit '34c2a9fc37848d446bf91ce61783884232fffeb1':
Move stack unwinding test into library.
2013-09-30 14:01:03 -07:00
Christopher Ferris
b915074f27
am 427e8cf9: Fix line that got removed by merge.
...
* commit '427e8cf90248f7da0a789fb3b4fb9a859c19aacd':
Fix line that got removed by merge.
2013-09-29 22:40:36 -07:00
Christopher Ferris
427e8cf902
Fix line that got removed by merge.
...
(cherry picked from commit f14d71fcf74e755ece4f8ca2ca2b7483424aa432)
Change-Id: Id3dd54d9efd87ef2bbb2c90adae2ce3911695027
2013-09-29 22:14:56 -07:00