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
Pavel Chupin
ce7add19d8
x86_64: libm fixes
...
* Makefile update for x86_64 target
* amd64 arch files
Change-Id: I8f17e3338bffd89a3086fbddd1e91bb4619eac1b
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-01 11:38:54 -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 f14d71fcf7
)
Change-Id: Id3dd54d9efd87ef2bbb2c90adae2ce3911695027
2013-09-29 22:14:56 -07:00
Elliott Hughes
0fbac2729b
am 967a6d37
: am ef8eb557
: am 4d016c6a
: Merge "Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications)."
...
* commit '967a6d37681a006a0be588f83a81b12e79d85f8f':
Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications).
2013-09-27 15:47:41 -07:00
Elliott Hughes
967a6d3768
am ef8eb557
: am 4d016c6a
: Merge "Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications)."
...
* commit 'ef8eb55708f67fc2977a155dddb1b3f1f732b3fe':
Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications).
2013-09-27 15:44:53 -07:00
Elliott Hughes
ef8eb55708
am 4d016c6a
: Merge "Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications)."
...
* commit '4d016c6a83bb8c8b8ec88400031b42c41f18edbb':
Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications).
2013-09-27 15:41:25 -07:00
Elliott Hughes
4d016c6a83
Merge "Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications)."
2013-09-27 22:38:45 +00:00
Nick Kralevich
3f836f85af
am cadc6aaf
: am f56e0e4b
: am 6aed6077
: Merge "Fix unnecessary call to __strncpy_chk2"
...
* commit 'cadc6aaf41e29ffcca0e4b801ffa294e6cea968e':
Fix unnecessary call to __strncpy_chk2
2013-09-27 15:20:56 -07:00
Nick Kralevich
cadc6aaf41
am f56e0e4b
: am 6aed6077
: Merge "Fix unnecessary call to __strncpy_chk2"
...
* commit 'f56e0e4b5e97f4e7fed6e06dde30053ea687716e':
Fix unnecessary call to __strncpy_chk2
2013-09-27 15:18:21 -07:00
Nick Kralevich
f56e0e4b5e
am 6aed6077
: Merge "Fix unnecessary call to __strncpy_chk2"
...
* commit '6aed6077fbe2b2039ab9160fb1e33ffe07907f32':
Fix unnecessary call to __strncpy_chk2
2013-09-27 15:15:31 -07:00
Nick Kralevich
6aed6077fb
Merge "Fix unnecessary call to __strncpy_chk2"
2013-09-27 22:13:19 +00:00
Christopher Ferris
f14d71fcf7
Fix line that got removed by merge.
...
Change-Id: I8c1f3624b52161893d1e04f0a156df613f90e39d
2013-09-27 14:18:36 -07:00