OSDN Git Service

android-x86/bionic.git
10 years agoam 7cb6933c: am 8a50d0c0: am bcc2bd3b: Merge "x86_64: libm fixes"
Elliott Hughes [Wed, 2 Oct 2013 03:59:42 +0000 (20:59 -0700)]
am 7cb6933c: am 8a50d0c0: am bcc2bd3b: Merge "x86_64: libm fixes"

* commit '7cb6933c0dc87b147100895a77d2743370321976':
  x86_64: libm fixes

10 years agoam a1de7e50: am f1c534ce: am 6892a29b: Merge "Remove more assumptions that pointers...
Elliott Hughes [Wed, 2 Oct 2013 03:59:42 +0000 (20:59 -0700)]
am a1de7e50: am f1c534ce: am 6892a29b: Merge "Remove more assumptions that pointers are 32-bit."

* commit 'a1de7e503355eda6910eaea1c06a2c1080d48dff':
  Remove more assumptions that pointers are 32-bit.

10 years agoam c1cd0f74: am f43f8aa8: am b2acd5de: Merge "x86_64: Update Makefiles for x86_64...
Elliott Hughes [Wed, 2 Oct 2013 03:59:40 +0000 (20:59 -0700)]
am c1cd0f74: am f43f8aa8: am b2acd5de: Merge "x86_64: Update Makefiles for x86_64 targets and add symlinks"

* commit 'c1cd0f74c93fe00563f117c8029bc8b95c5b823e':
  x86_64: Update Makefiles for x86_64 targets and add symlinks

10 years agoam 211fd4f9: am 24e1dd80: am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"
Elliott Hughes [Wed, 2 Oct 2013 03:59:36 +0000 (20:59 -0700)]
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

10 years agoam 35336777: am 67e0214d: am 232dff3a: Merge "Regenerate the system call stubs (to...
Elliott Hughes [Wed, 2 Oct 2013 03:59:35 +0000 (20:59 -0700)]
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).

10 years agoam 1e998861: am c58d08d6: am 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune...
Elliott Hughes [Wed, 2 Oct 2013 03:59:34 +0000 (20:59 -0700)]
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

10 years agoam a08be021: am 57e55fe3: am fd152c31: Merge "Clean up some comments."
Elliott Hughes [Wed, 2 Oct 2013 03:59:34 +0000 (20:59 -0700)]
am a08be021: am 57e55fe3: am fd152c31: Merge "Clean up some comments."

* commit 'a08be021ccaf81bcbc53553c2f822730124c3d5e':
  Clean up some comments.

10 years agoam d4e69610: am 1a46de67: am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."
Elliott Hughes [Wed, 2 Oct 2013 03:59:28 +0000 (20:59 -0700)]
am d4e69610: am 1a46de67: am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."

* commit 'd4e6961041942c6c01e6205db7d81368b39a4d1e':
  Better statfs/fstatfs glibc compatibility.

10 years agoam 58413fe7: am 4b5a0e1a: am 693bd73f: Merge "Remove 32-bit assumptions from the...
Elliott Hughes [Wed, 2 Oct 2013 03:59:28 +0000 (20:59 -0700)]
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.

10 years agoam 6c8dc464: am 28317d3a: am f5ea738b: Merge "Fix x86 build."
Elliott Hughes [Wed, 2 Oct 2013 01:46:33 +0000 (18:46 -0700)]
am 6c8dc464: am 28317d3a: am f5ea738b: Merge "Fix x86 build."

* commit '6c8dc464068816986278d152a7c39d477924b360':
  Fix x86 build.

10 years agoam 5d641bcf: am f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."
Elliott Hughes [Wed, 2 Oct 2013 01:46:32 +0000 (18:46 -0700)]
am 5d641bcf: am f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."

* commit '5d641bcf70d36caa22ff2c7d3e3f252abf541bed':
  Add x86_64 to the bionic headers.

10 years agoam b2775090: am 34284954: am 76218efb: Merge "Fix inttypes.h and stdint.h for 64...
Elliott Hughes [Wed, 2 Oct 2013 01:45:53 +0000 (18:45 -0700)]
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).

10 years agoam a59e16ba: am 34c2a9fc: Move stack unwinding test into library.
Christopher Ferris [Wed, 2 Oct 2013 01:45:50 +0000 (18:45 -0700)]
am a59e16ba: am 34c2a9fc: Move stack unwinding test into library.

* commit 'a59e16bac971db7bb8e65e63d90e895bf4731747':

10 years agoam 8a50d0c0: am bcc2bd3b: Merge "x86_64: libm fixes"
Elliott Hughes [Wed, 2 Oct 2013 00:37:55 +0000 (17:37 -0700)]
am 8a50d0c0: am bcc2bd3b: Merge "x86_64: libm fixes"

* commit '8a50d0c06f456ca32c49f8e52883ede959c91c21':
  x86_64: libm fixes

10 years agoam bcc2bd3b: Merge "x86_64: libm fixes"
Elliott Hughes [Wed, 2 Oct 2013 00:35:39 +0000 (17:35 -0700)]
am bcc2bd3b: Merge "x86_64: libm fixes"

* commit 'bcc2bd3b1e625243df41bdf212bdb3dd2ec3c26e':
  x86_64: libm fixes

10 years agoam f1c534ce: am 6892a29b: Merge "Remove more assumptions that pointers are 32-bit."
Elliott Hughes [Wed, 2 Oct 2013 00:34:34 +0000 (17:34 -0700)]
am f1c534ce: am 6892a29b: Merge "Remove more assumptions that pointers are 32-bit."

* commit 'f1c534ce222de66bdeac06f2dca62fbd84f629f9':
  Remove more assumptions that pointers are 32-bit.

10 years agoMerge "x86_64: libm fixes"
Elliott Hughes [Wed, 2 Oct 2013 00:32:42 +0000 (00:32 +0000)]
Merge "x86_64: libm fixes"

10 years agoam 6892a29b: Merge "Remove more assumptions that pointers are 32-bit."
Elliott Hughes [Wed, 2 Oct 2013 00:32:19 +0000 (17:32 -0700)]
am 6892a29b: Merge "Remove more assumptions that pointers are 32-bit."

* commit '6892a29b9e63f0bb54bd402081431b1233c125aa':
  Remove more assumptions that pointers are 32-bit.

10 years agoMerge "Remove more assumptions that pointers are 32-bit."
Elliott Hughes [Wed, 2 Oct 2013 00:30:51 +0000 (00:30 +0000)]
Merge "Remove more assumptions that pointers are 32-bit."

10 years agoRemove more assumptions that pointers are 32-bit.
Elliott Hughes [Wed, 2 Oct 2013 00:25:28 +0000 (17:25 -0700)]
Remove more assumptions that pointers are 32-bit.

Change-Id: I2157e2fc4db7692b746c697982c3d028a056462a

10 years agoam f43f8aa8: am b2acd5de: Merge "x86_64: Update Makefiles for x86_64 targets and...
Elliott Hughes [Tue, 1 Oct 2013 22:41:27 +0000 (15:41 -0700)]
am f43f8aa8: am b2acd5de: Merge "x86_64: Update Makefiles for x86_64 targets and add symlinks"

* commit 'f43f8aa80a77f59f4ad941d367fe25e30387a72b':
  x86_64: Update Makefiles for x86_64 targets and add symlinks

10 years agoam b2acd5de: Merge "x86_64: Update Makefiles for x86_64 targets and add symlinks"
Elliott Hughes [Tue, 1 Oct 2013 22:39:19 +0000 (15:39 -0700)]
am b2acd5de: Merge "x86_64: Update Makefiles for x86_64 targets and add symlinks"

* commit 'b2acd5ded1e801fb1379ec51c6f43eab63af50f5':
  x86_64: Update Makefiles for x86_64 targets and add symlinks

10 years agoMerge "x86_64: Update Makefiles for x86_64 targets and add symlinks"
Elliott Hughes [Tue, 1 Oct 2013 22:37:10 +0000 (22:37 +0000)]
Merge "x86_64: Update Makefiles for x86_64 targets and add symlinks"

10 years agox86_64: Update Makefiles for x86_64 targets and add symlinks
Pavel Chupin [Tue, 18 Dec 2012 13:30:02 +0000 (17:30 +0400)]
x86_64: Update Makefiles for x86_64 targets and add symlinks

Use basic .c versions of all functions for x86_64 until they are
manually optimized and .s versions released.

Change-Id: I59bba08931e894822db485c8803c2665c226234a
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agoam 24e1dd80: am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"
Elliott Hughes [Tue, 1 Oct 2013 21:04:19 +0000 (14:04 -0700)]
am 24e1dd80: am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"

* commit '24e1dd8016eeaaa6ef3646cbb143de1506e733e8':
  x86_64: add new __NR_arch_prctl syscall

10 years agoam 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"
Elliott Hughes [Tue, 1 Oct 2013 21:01:09 +0000 (14:01 -0700)]
am 4eaa1e1e: Merge "x86_64: add new __NR_arch_prctl syscall"

* commit '4eaa1e1ea8e4ba4fed31e4bd884e27683db90d81':
  x86_64: add new __NR_arch_prctl syscall

10 years agoam 67e0214d: am 232dff3a: Merge "Regenerate the system call stubs (to get x86_64)."
Elliott Hughes [Tue, 1 Oct 2013 20:59:59 +0000 (13:59 -0700)]
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).

10 years agoMerge "x86_64: add new __NR_arch_prctl syscall"
Elliott Hughes [Tue, 1 Oct 2013 20:58:41 +0000 (20:58 +0000)]
Merge "x86_64: add new __NR_arch_prctl syscall"

10 years agoam 232dff3a: Merge "Regenerate the system call stubs (to get x86_64)."
Elliott Hughes [Tue, 1 Oct 2013 20:56:51 +0000 (13:56 -0700)]
am 232dff3a: Merge "Regenerate the system call stubs (to get x86_64)."

* commit '232dff3af296d8b86658a9742288ee487b41dd3f':
  Regenerate the system call stubs (to get x86_64).

10 years agox86_64: add new __NR_arch_prctl syscall
Pavel Chupin [Wed, 12 Dec 2012 09:18:50 +0000 (13:18 +0400)]
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>
10 years agoMerge "Regenerate the system call stubs (to get x86_64)."
Elliott Hughes [Tue, 1 Oct 2013 20:53:50 +0000 (20:53 +0000)]
Merge "Regenerate the system call stubs (to get x86_64)."

10 years agoam c58d08d6: am 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune gen scripts...
Elliott Hughes [Tue, 1 Oct 2013 20:38:16 +0000 (13:38 -0700)]
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

10 years agoam 475e8dde: Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"
Elliott Hughes [Tue, 1 Oct 2013 20:30:28 +0000 (13:30 -0700)]
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

10 years agoRegenerate the system call stubs (to get x86_64).
Elliott Hughes [Tue, 1 Oct 2013 20:29:43 +0000 (13:29 -0700)]
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

10 years agoMerge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"
Elliott Hughes [Tue, 1 Oct 2013 20:27:48 +0000 (20:27 +0000)]
Merge "x86_64: Add x86_64 syscalls and tune gen scripts for x86_64"

10 years agox86_64: Add x86_64 syscalls and tune gen scripts for x86_64
Pavel Chupin [Wed, 12 Dec 2012 09:11:48 +0000 (13:11 +0400)]
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>
10 years agox86_64: libm fixes
Pavel Chupin [Fri, 20 Sep 2013 15:09:55 +0000 (19:09 +0400)]
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>
10 years agoam 57e55fe3: am fd152c31: Merge "Clean up some comments."
Elliott Hughes [Tue, 1 Oct 2013 18:14:27 +0000 (11:14 -0700)]
am 57e55fe3: am fd152c31: Merge "Clean up some comments."

* commit '57e55fe3b32465023071a19e368d91f4804ade3b':
  Clean up some comments.

10 years agoam fd152c31: Merge "Clean up some comments."
Elliott Hughes [Tue, 1 Oct 2013 18:12:09 +0000 (11:12 -0700)]
am fd152c31: Merge "Clean up some comments."

* commit 'fd152c31586a1f5e6763b06f1182ccd72cb86b69':
  Clean up some comments.

10 years agoMerge "Clean up some comments."
Elliott Hughes [Tue, 1 Oct 2013 18:10:54 +0000 (18:10 +0000)]
Merge "Clean up some comments."

10 years agoClean up some comments.
Elliott Hughes [Tue, 1 Oct 2013 18:06:56 +0000 (11:06 -0700)]
Clean up some comments.

Copyright headers shouldn't contain the filename (and especially
shouldn't contain a different file's filename).

Change-Id: I82690a3bf371265402bc16f5d2fbb9299c3a1926

10 years agoam 1a46de67: am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."
Elliott Hughes [Tue, 1 Oct 2013 17:04:30 +0000 (10:04 -0700)]
am 1a46de67: am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."

* commit '1a46de67b3f78ce44ddf622bcf5918fe758dd4d4':
  Better statfs/fstatfs glibc compatibility.

10 years agoam 4b5a0e1a: am 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."
Elliott Hughes [Tue, 1 Oct 2013 17:04:29 +0000 (10:04 -0700)]
am 4b5a0e1a: am 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."

* commit '4b5a0e1ad76d76d6a8793f61e3c0902ea4628ce7':
  Remove 32-bit assumptions from the ELF code.

10 years agoam f281fd02: Merge "Better statfs/fstatfs glibc compatibility."
Elliott Hughes [Tue, 1 Oct 2013 17:02:16 +0000 (10:02 -0700)]
am f281fd02: Merge "Better statfs/fstatfs glibc compatibility."

* commit 'f281fd02e9eebea3de9c07412c5b66647ca0c290':
  Better statfs/fstatfs glibc compatibility.

10 years agoam 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."
Elliott Hughes [Tue, 1 Oct 2013 17:02:16 +0000 (10:02 -0700)]
am 693bd73f: Merge "Remove 32-bit assumptions from the ELF code."

* commit '693bd73fcdf1504e84aef314d1933f5efc2c817d':
  Remove 32-bit assumptions from the ELF code.

10 years agoMerge "Better statfs/fstatfs glibc compatibility."
Elliott Hughes [Tue, 1 Oct 2013 15:30:40 +0000 (15:30 +0000)]
Merge "Better statfs/fstatfs glibc compatibility."

10 years agoMerge "Remove 32-bit assumptions from the ELF code."
Elliott Hughes [Tue, 1 Oct 2013 15:23:44 +0000 (15:23 +0000)]
Merge "Remove 32-bit assumptions from the ELF code."

10 years agoBetter statfs/fstatfs glibc compatibility.
Elliott Hughes [Tue, 1 Oct 2013 04:57:07 +0000 (21:57 -0700)]
Better statfs/fstatfs glibc compatibility.

Change-Id: I069d169c96cd71b75a045ec911fb4bd484c6b2c9

10 years agoam 28317d3a: am f5ea738b: Merge "Fix x86 build."
Elliott Hughes [Tue, 1 Oct 2013 03:53:55 +0000 (20:53 -0700)]
am 28317d3a: am f5ea738b: Merge "Fix x86 build."

* commit '28317d3a161c88f88e85d97d584d656ffbe63a19':
  Fix x86 build.

10 years agoam f5ea738b: Merge "Fix x86 build."
Elliott Hughes [Tue, 1 Oct 2013 03:51:53 +0000 (20:51 -0700)]
am f5ea738b: Merge "Fix x86 build."

* commit 'f5ea738baa0ad5b32348f2ac42450d33d452ef31':
  Fix x86 build.

10 years agoMerge "Fix x86 build."
Elliott Hughes [Tue, 1 Oct 2013 02:23:02 +0000 (02:23 +0000)]
Merge "Fix x86 build."

10 years agoFix x86 build.
Elliott Hughes [Tue, 1 Oct 2013 02:20:02 +0000 (19:20 -0700)]
Fix x86 build.

Change-Id: I1f2d8189bec3d0e25d21ca7d7bd73fd02f8678e2

10 years agoam f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."
Elliott Hughes [Tue, 1 Oct 2013 01:45:57 +0000 (18:45 -0700)]
am f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."

* commit 'f5dcdfc438684bbe93e398b6551f915fe3fe10bf':
  Add x86_64 to the bionic headers.

10 years agoam 6dee3b9a: Merge "Add x86_64 to the bionic headers."
Elliott Hughes [Tue, 1 Oct 2013 01:44:28 +0000 (18:44 -0700)]
am 6dee3b9a: Merge "Add x86_64 to the bionic headers."

* commit '6dee3b9aeec40bb518c1a29b4462300869a03d8e':
  Add x86_64 to the bionic headers.

10 years agoRemove 32-bit assumptions from the ELF code.
Elliott Hughes [Tue, 1 Oct 2013 01:43:46 +0000 (18:43 -0700)]
Remove 32-bit assumptions from the ELF code.

Change-Id: I2c1f3d34c33685799aade8866eec44479ff9f963

10 years agoMerge "Add x86_64 to the bionic headers."
Elliott Hughes [Tue, 1 Oct 2013 01:42:43 +0000 (01:42 +0000)]
Merge "Add x86_64 to the bionic headers."

10 years agoAdd x86_64 to the bionic headers.
Elliott Hughes [Tue, 1 Oct 2013 00:41:08 +0000 (17:41 -0700)]
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

10 years agoam 34284954: am 76218efb: Merge "Fix inttypes.h and stdint.h for 64-bit (and C++11)."
Elliott Hughes [Mon, 30 Sep 2013 23:23:03 +0000 (16:23 -0700)]
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).

10 years agoam 76218efb: Merge "Fix inttypes.h and stdint.h for 64-bit (and C++11)."
Elliott Hughes [Mon, 30 Sep 2013 23:19:18 +0000 (16:19 -0700)]
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).

10 years agoMerge "Fix inttypes.h and stdint.h for 64-bit (and C++11)."
Elliott Hughes [Mon, 30 Sep 2013 21:53:05 +0000 (21:53 +0000)]
Merge "Fix inttypes.h and stdint.h for 64-bit (and C++11)."

10 years agoFix inttypes.h and stdint.h for 64-bit (and C++11).
Elliott Hughes [Mon, 30 Sep 2013 21:46:47 +0000 (14:46 -0700)]
Fix inttypes.h and stdint.h for 64-bit (and C++11).

Change-Id: I394630348413c9aafcac137ce1ca5f0a93d9ab6f

10 years agoam 34c2a9fc: Move stack unwinding test into library.
Christopher Ferris [Mon, 30 Sep 2013 21:46:05 +0000 (14:46 -0700)]
am 34c2a9fc: Move stack unwinding test into library.

* commit '34c2a9fc37848d446bf91ce61783884232fffeb1':
  Move stack unwinding test into library.

10 years agoam 34c2a9fc: Move stack unwinding test into library.
Christopher Ferris [Mon, 30 Sep 2013 21:01:03 +0000 (14:01 -0700)]
am 34c2a9fc: Move stack unwinding test into library.

* commit '34c2a9fc37848d446bf91ce61783884232fffeb1':
  Move stack unwinding test into library.

10 years agoam 427e8cf9: Fix line that got removed by merge.
Christopher Ferris [Mon, 30 Sep 2013 05:40:36 +0000 (22:40 -0700)]
am 427e8cf9: Fix line that got removed by merge.

* commit '427e8cf90248f7da0a789fb3b4fb9a859c19aacd':
  Fix line that got removed by merge.

10 years agoFix line that got removed by merge.
Christopher Ferris [Fri, 27 Sep 2013 21:18:36 +0000 (14:18 -0700)]
Fix line that got removed by merge.

(cherry picked from commit f14d71fcf74e755ece4f8ca2ca2b7483424aa432)

Change-Id: Id3dd54d9efd87ef2bbb2c90adae2ce3911695027

10 years agoam 967a6d37: am ef8eb557: am 4d016c6a: Merge "Upgrade to tzcode2013f plus Android...
Elliott Hughes [Fri, 27 Sep 2013 22:47:41 +0000 (15:47 -0700)]
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).

10 years agoam ef8eb557: am 4d016c6a: Merge "Upgrade to tzcode2013f plus Android modifications...
Elliott Hughes [Fri, 27 Sep 2013 22:44:53 +0000 (15:44 -0700)]
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).

10 years agoam 4d016c6a: Merge "Upgrade to tzcode2013f plus Android modifications (from tzcode201...
Elliott Hughes [Fri, 27 Sep 2013 22:41:25 +0000 (15:41 -0700)]
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).

10 years agoMerge "Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Andro...
Elliott Hughes [Fri, 27 Sep 2013 22:38:45 +0000 (22:38 +0000)]
Merge "Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications)."

10 years agoam cadc6aaf: am f56e0e4b: am 6aed6077: Merge "Fix unnecessary call to __strncpy_chk2"
Nick Kralevich [Fri, 27 Sep 2013 22:20:56 +0000 (15:20 -0700)]
am cadc6aaf: am f56e0e4b: am 6aed6077: Merge "Fix unnecessary call to __strncpy_chk2"

* commit 'cadc6aaf41e29ffcca0e4b801ffa294e6cea968e':
  Fix unnecessary call to __strncpy_chk2

10 years agoam f56e0e4b: am 6aed6077: Merge "Fix unnecessary call to __strncpy_chk2"
Nick Kralevich [Fri, 27 Sep 2013 22:18:21 +0000 (15:18 -0700)]
am f56e0e4b: am 6aed6077: Merge "Fix unnecessary call to __strncpy_chk2"

* commit 'f56e0e4b5e97f4e7fed6e06dde30053ea687716e':
  Fix unnecessary call to __strncpy_chk2

10 years agoam 6aed6077: Merge "Fix unnecessary call to __strncpy_chk2"
Nick Kralevich [Fri, 27 Sep 2013 22:15:31 +0000 (15:15 -0700)]
am 6aed6077: Merge "Fix unnecessary call to __strncpy_chk2"

* commit '6aed6077fbe2b2039ab9160fb1e33ffe07907f32':
  Fix unnecessary call to __strncpy_chk2

10 years agoMerge "Fix unnecessary call to __strncpy_chk2"
Nick Kralevich [Fri, 27 Sep 2013 22:13:19 +0000 (22:13 +0000)]
Merge "Fix unnecessary call to __strncpy_chk2"

10 years agoFix line that got removed by merge.
Christopher Ferris [Fri, 27 Sep 2013 21:18:36 +0000 (14:18 -0700)]
Fix line that got removed by merge.

Change-Id: I8c1f3624b52161893d1e04f0a156df613f90e39d

10 years agoam e83a7806: resolved conflicts for merge of f4af9110 to klp-dev-plus-aosp
Conley Owens [Fri, 27 Sep 2013 20:27:49 +0000 (13:27 -0700)]
am e83a7806: resolved conflicts for merge of f4af9110 to klp-dev-plus-aosp

* commit 'e83a780600eda88d351fda590079265bcc0d1f56':
  Create bionic unit test library for use with CTS.

10 years agoFix unnecessary call to __strncpy_chk2
Nick Kralevich [Fri, 27 Sep 2013 20:21:24 +0000 (13:21 -0700)]
Fix unnecessary call to __strncpy_chk2

If "n" is smaller than the size of "src", then we'll
never read off the end of src. It makes no sense to call
__strncpy_chk2 in those circumstances.

For example, consider the following code:

int main() {
  char src[10];
  char dst[5];
  memcpy(src, "0123456789", sizeof(src));
  strncpy(dst, src, sizeof(dst));
  dst[4] = '\0';
  printf("%s\n", dst);
  return 0;
}

In this code, it's clear that the strncpy will never read off
the end of src.

Change-Id: I9cf58857a0c5216b4576d21d3c1625e2913ccc03

10 years agoresolved conflicts for merge of f4af9110 to klp-dev-plus-aosp
Conley Owens [Fri, 27 Sep 2013 16:42:15 +0000 (09:42 -0700)]
resolved conflicts for merge of f4af9110 to klp-dev-plus-aosp

Change-Id: I9e499e552b758392dd0c7b8d888944c0150dd22a

10 years agoam 9a622f87: am cc362291: am 8427b745: Merge "libc: fortify recvfrom()"
Nick Kralevich [Fri, 27 Sep 2013 16:12:53 +0000 (09:12 -0700)]
am 9a622f87: am cc362291: am 8427b745: Merge "libc: fortify recvfrom()"

* commit '9a622f874ceb90431623af140ca9a78eadc96dcb':
  libc: fortify recvfrom()

10 years agoam cc362291: am 8427b745: Merge "libc: fortify recvfrom()"
Nick Kralevich [Fri, 27 Sep 2013 16:11:00 +0000 (09:11 -0700)]
am cc362291: am 8427b745: Merge "libc: fortify recvfrom()"

* commit 'cc362291362f8183431eccb19267c8a625f36006':
  libc: fortify recvfrom()

10 years agoam 8427b745: Merge "libc: fortify recvfrom()"
Nick Kralevich [Fri, 27 Sep 2013 16:08:25 +0000 (09:08 -0700)]
am 8427b745: Merge "libc: fortify recvfrom()"

* commit '8427b7450fe068db6484d161f7004661c4698858':
  libc: fortify recvfrom()

10 years agoMerge "libc: fortify recvfrom()"
Nick Kralevich [Fri, 27 Sep 2013 16:05:44 +0000 (16:05 +0000)]
Merge "libc: fortify recvfrom()"

10 years agoUpgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android...
Elliott Hughes [Fri, 27 Sep 2013 07:04:30 +0000 (00:04 -0700)]
Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications).

localtime.c and strftime.c are still quite different from upstream because of
our extensions, but the other files continue to be identical, and the two
exceptions should be otherwise identical.

From the tzcode2013e release notes:

  Changes affecting Godthab time stamps after 2037 if version mismatch

    Allow POSIX-like TZ strings where the transition time's hour can
    range from -167 through 167, instead of the POSIX-required 0
    through 24.  E.g., TZ='FJT-12FJST,M10.3.1/146,M1.3.4/75' for the
    new Fiji rules.  This is a more-compact way to represent
    far-future time stamps for America/Godthab, America/Santiago,
    Antarctica/Palmer, Asia/Gaza, Asia/Hebron, Asia/Jerusalem,
    Pacific/Easter, and Pacific/Fiji.  Other zones are unaffected by
    this change.  (Derived from a suggestion by Arthur David Olson.)

    Allow POSIX-like TZ strings where daylight saving time is in
    effect all year.  E.g., TZ='WART4WARST,J1/0,J365/25' for Western
    Argentina Summer Time all year.  This supports a more-compact way
    to represent the 2013d data for America/Argentina/San_Luis.
    Because of the change for San Luis noted above this change does not
    affect the current data.  (Thanks to Andrew Main (Zefram) for
    suggestions that improved this change.)

    Where these two TZ changes take effect, there is a minor extension
    to the tz file format in that it allows new values for the
    embedded TZ-format string, and the tz file format version number
    has therefore been increased from 2 to 3 as a precaution.
    Version-2-based client code should continue to work as before for
    all time stamps before 2038.  Existing version-2-based client code
    (tzcode, GNU/Linux, Solaris) has been tested on version-3-format
    files, and typically works in practice even for time stamps after
    2037; the only known exception is America/Godthab.

  Changes affecting API

    Support for floating-point time_t has been removed.
    It was always dicey, and POSIX no longer requires it.
    (Thanks to Eric Blake for suggesting to the POSIX committee to
    remove it, and thanks to Alan Barrett, Clive D.W. Feather, Andy
    Heninger, Arthur David Olson, and Alois Treindl, for reporting
    bugs and elucidating some of the corners of the old floating-point
    implementation.)

    The signatures of 'offtime', 'timeoff', and 'gtime' have been
    changed back to the old practice of using 'long' to represent UT
    offsets.  This had been inadvertently and mistakenly changed to
    'int_fast32_t'.  (Thanks to Christos Zoulos.)

    The code avoids undefined behavior on integer overflow in some
    more places, including gmtime, localtime, mktime and zdump.

  Changes affecting code internals

    Minor changes pacify GCC 4.7.3 and GCC 4.8.1.

  Changes affecting documentation and commentary

    Documentation and commentary is more careful to distinguish UT in
    general from UTC in particular.  (Thanks to Steve Allen.)

From the tzcode2013f release notes:

  Changes affecting API

    The types of the global variables 'timezone' and 'altzone' (if present)
    have been changed back to 'long'.  This is required for 'timezone'
    by POSIX, and for 'altzone' by common practice, e.g., Solaris 11.
    These variables were originally 'long' in the tz code, but were
    mistakenly changed to 'time_t' in 1987; nobody reported the
    incompatibility until now.  The difference matters on x32, where
    'long' is 32 bits and 'time_t' is 64.  (Thanks to Elliott Hughes.)

Change-Id: I14937c42a391ddb865e4d89f0783961bcc6baa21

10 years agoam b1542b09: am 174e98c9: am ad1244b2: Merge "Upgrade to tzdata2013f."
Elliott Hughes [Fri, 27 Sep 2013 06:36:34 +0000 (23:36 -0700)]
am b1542b09: am 174e98c9: am ad1244b2: Merge "Upgrade to tzdata2013f."

* commit 'b1542b09d95556bd2d7d91c2deba6cf753fdbbb2':
  Upgrade to tzdata2013f.

10 years agoam 174e98c9: am ad1244b2: Merge "Upgrade to tzdata2013f."
Elliott Hughes [Fri, 27 Sep 2013 06:34:10 +0000 (23:34 -0700)]
am 174e98c9: am ad1244b2: Merge "Upgrade to tzdata2013f."

* commit '174e98c9a96879af82e8bbda2d6322544fb74d90':
  Upgrade to tzdata2013f.

10 years agoam ad1244b2: Merge "Upgrade to tzdata2013f."
Elliott Hughes [Fri, 27 Sep 2013 06:31:50 +0000 (23:31 -0700)]
am ad1244b2: Merge "Upgrade to tzdata2013f."

* commit 'ad1244b2e7588df2f4e66747e1355016d6d014bc':
  Upgrade to tzdata2013f.

10 years agoMerge "Upgrade to tzdata2013f."
Elliott Hughes [Fri, 27 Sep 2013 06:30:00 +0000 (06:30 +0000)]
Merge "Upgrade to tzdata2013f."

10 years agoam 1b709a94: am 3b7d4697: am abd4b254: Merge "Upgrade to tzdata2013e."
Elliott Hughes [Fri, 27 Sep 2013 06:27:03 +0000 (23:27 -0700)]
am 1b709a94: am 3b7d4697: am abd4b254: Merge "Upgrade to tzdata2013e."

* commit '1b709a946f22e9465afd49068e4390b7be719e8b':
  Upgrade to tzdata2013e.

10 years agoam 3b7d4697: am abd4b254: Merge "Upgrade to tzdata2013e."
Elliott Hughes [Fri, 27 Sep 2013 06:25:40 +0000 (23:25 -0700)]
am 3b7d4697: am abd4b254: Merge "Upgrade to tzdata2013e."

* commit '3b7d4697b765cb4cd65a1e306d27c607dc486d66':
  Upgrade to tzdata2013e.

10 years agoam abd4b254: Merge "Upgrade to tzdata2013e."
Elliott Hughes [Fri, 27 Sep 2013 06:23:15 +0000 (23:23 -0700)]
am abd4b254: Merge "Upgrade to tzdata2013e."

* commit 'abd4b2542b0e161f40a80c48970b77097af76dd9':
  Upgrade to tzdata2013e.

10 years agoUpgrade to tzdata2013f.
Elliott Hughes [Fri, 27 Sep 2013 06:22:23 +0000 (23:22 -0700)]
Upgrade to tzdata2013f.

From the release notes:

  Changes affecting near-future time stamps

    Tocantins will very likely not observe DST starting this spring.
    (Thanks to Steffen Thorsen.)

    Jordan will likely stay at UTC+3 indefinitely, and will not fall
    back this fall.

    Palestine will fall back at 00:00, not 01:00.  (Thanks to Steffen Thorsen.)

Change-Id: Iccee57578eef2ab51c519a23f151bc1963262ffe

10 years agoMerge "Upgrade to tzdata2013e."
Elliott Hughes [Fri, 27 Sep 2013 06:20:18 +0000 (06:20 +0000)]
Merge "Upgrade to tzdata2013e."

10 years agoUpgrade to tzdata2013e.
Elliott Hughes [Fri, 27 Sep 2013 05:41:09 +0000 (22:41 -0700)]
Upgrade to tzdata2013e.

From the release notes:

  Changes affecting near-future time stamps

    This year Fiji will start DST on October 27, not October 20.
    (Thanks to David Wheeler for the heads-up.)  For now, guess that
    Fiji will continue to spring forward the Sunday before the fourth
    Monday in October.

  Changes affecting time stamps before 1970

    Pacific/Johnston is now a link to Pacific/Honolulu.  This corrects
    some errors before 1947.

    Some zones have been turned into links, when they differ from
    existing zones only in older data that was likely invented or that
    differs only in LMT or transition from LMT.  These changes affect
    only time stamps before 1943.  The affected zones are:
    Africa/Juba, America/Anguilla, America/Aruba, America/Dominica,
    America/Grenada, America/Guadeloupe, America/Marigot,
    America/Montserrat, America/St_Barthelemy, America/St_Kitts,
    America/St_Lucia, America/St_Thomas, America/St_Vincent,
    America/Tortola, and Europe/Vaduz.  (Thanks to Alois Treindl for
    confirming that the old Europe/Vaduz zone was wrong and the new
    link is better for WWII-era times.)

    Change Kingston Mean Time from -5:07:12 to -5:07:11.  This affects
    America/Cayman, America/Jamaica and America/Grand_Turk time stamps
    from 1890 to 1912.

    Change the UT offset of Bern Mean Time from 0:29:44 to 0:29:46.
    This affects Europe/Zurich time stamps from 1853 to 1894.  (Thanks
    to Alois Treindl).

    Change the date of the circa-1850 Zurich transition from 1849-09-12
    to 1853-07-16, overriding Shanks with data from Messerli about
    postal and telegraph time in Switzerland.

  Data changes affecting behavior of tzselect and similar programs

    Country code BQ is now called the more-common name "Caribbean Netherlands"
    rather than the more-official "Bonaire, St Eustatius & Saba".

    Remove from zone.tab the names America/Montreal, America/Shiprock,
    and Antarctica/South_Pole, as they are equivalent to existing
    same-country-code zones for post-1970 time stamps.  The data for
    these names are unchanged, so the names continue to work as before.

Change-Id: If78a517687532afcc0b22c7df664b5955f6e1564

10 years agoam 6c4ef747: am 7bfef355: Change hard-coded directory.
Christopher Ferris [Thu, 26 Sep 2013 21:42:34 +0000 (14:42 -0700)]
am 6c4ef747: am 7bfef355: Change hard-coded directory.

* commit '6c4ef747579126ec971239f4e9dc2ff5492c20cd':
  Change hard-coded directory.

10 years agoam 9018a0f4: am 6d1f85dc: Change hard-coded temporary directory.
Christopher Ferris [Thu, 26 Sep 2013 21:42:34 +0000 (14:42 -0700)]
am 9018a0f4: am 6d1f85dc: Change hard-coded temporary directory.

* commit '9018a0f4626814d4f1023a9107969be108966513':
  Change hard-coded temporary directory.

10 years agoam 7bfef355: Change hard-coded directory.
Christopher Ferris [Thu, 26 Sep 2013 21:39:31 +0000 (14:39 -0700)]
am 7bfef355: Change hard-coded directory.

* commit '7bfef355b1590cb8ac68d8caa97eaf0018191db8':
  Change hard-coded directory.

10 years agoam 6d1f85dc: Change hard-coded temporary directory.
Christopher Ferris [Thu, 26 Sep 2013 21:39:30 +0000 (14:39 -0700)]
am 6d1f85dc: Change hard-coded temporary directory.

* commit '6d1f85dcdcf32117332b48563357d311a2886c30':
  Change hard-coded temporary directory.

10 years agoam 5825f979: am 88f29444: am 7b538021: Merge "Make it easier to add syscalls for...
Elliott Hughes [Thu, 26 Sep 2013 16:04:22 +0000 (09:04 -0700)]
am 5825f979: am 88f29444: am 7b538021: Merge "Make it easier to add syscalls for another architecture."

* commit '5825f979b726ea18b98994561280b5cbb8426b51':
  Make it easier to add syscalls for another architecture.

10 years agoam 88f29444: am 7b538021: Merge "Make it easier to add syscalls for another architect...
Elliott Hughes [Thu, 26 Sep 2013 16:02:46 +0000 (09:02 -0700)]
am 88f29444: am 7b538021: Merge "Make it easier to add syscalls for another architecture."

* commit '88f2944421839b725e02e97c62d119c9e608ec58':
  Make it easier to add syscalls for another architecture.

10 years agoam 7b538021: Merge "Make it easier to add syscalls for another architecture."
Elliott Hughes [Thu, 26 Sep 2013 16:01:20 +0000 (09:01 -0700)]
am 7b538021: Merge "Make it easier to add syscalls for another architecture."

* commit '7b538021bdaa0a7c2d60e25d10e5908043680467':
  Make it easier to add syscalls for another architecture.

10 years agoMerge "Make it easier to add syscalls for another architecture."
Elliott Hughes [Thu, 26 Sep 2013 15:59:32 +0000 (15:59 +0000)]
Merge "Make it easier to add syscalls for another architecture."