OSDN Git Service

android-x86/bionic.git
11 years agoam 8397cdba: Merge "Revert "Pull the pthread_key_t functions out of pthread.c.""
Elliott Hughes [Mon, 11 Feb 2013 20:21:50 +0000 (12:21 -0800)]
am 8397cdba: Merge "Revert "Pull the pthread_key_t functions out of pthread.c.""

# Via Gerrit Code Review
* commit '8397cdba9424febeaed4068829a5b0174ee1138c':
  Revert "Pull the pthread_key_t functions out of pthread.c."

11 years agoMerge "Revert "Pull the pthread_key_t functions out of pthread.c.""
Elliott Hughes [Mon, 11 Feb 2013 20:18:28 +0000 (20:18 +0000)]
Merge "Revert "Pull the pthread_key_t functions out of pthread.c.""

11 years agoRevert "Pull the pthread_key_t functions out of pthread.c."
Elliott Hughes [Mon, 11 Feb 2013 20:18:16 +0000 (20:18 +0000)]
Revert "Pull the pthread_key_t functions out of pthread.c."

This reverts commit ad59322ae432d11ff36dcf046016af8cfe45fbe4

somehow my unfinished libm/Android.mk change got into here.

Change-Id: I46be626c5269d60fb1ced9862f2ebaa380b4e0af

11 years agoam 09e89c3c: Merge "Pull the pthread_key_t functions out of pthread.c."
Elliott Hughes [Mon, 11 Feb 2013 20:05:45 +0000 (12:05 -0800)]
am 09e89c3c: Merge "Pull the pthread_key_t functions out of pthread.c."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '09e89c3ced51d846e13c2508fbb6812bb61475cd':
  Pull the pthread_key_t functions out of pthread.c.

11 years agoMerge "Pull the pthread_key_t functions out of pthread.c."
Elliott Hughes [Mon, 11 Feb 2013 20:02:29 +0000 (20:02 +0000)]
Merge "Pull the pthread_key_t functions out of pthread.c."

11 years agoPull the pthread_key_t functions out of pthread.c.
Elliott Hughes [Fri, 8 Feb 2013 23:46:37 +0000 (15:46 -0800)]
Pull the pthread_key_t functions out of pthread.c.

This was originally motivated by noticing that we were setting the
wrong bits for the well-known tls entries. That was a harmless bug
because none of the well-known tls entries has a destructor, but
it's best not to leave land mines lying around.

Also add some missing POSIX constants, a new test, and fix
pthread_key_create's return value when we hit the limit.

Change-Id: Ife26ea2f4b40865308e8410ec803b20bcc3e0ed1

11 years agoam 9a9bb243: Merge "Switch to using AT_RANDOM for the stack guards."
Elliott Hughes [Fri, 8 Feb 2013 19:22:05 +0000 (11:22 -0800)]
am 9a9bb243: Merge "Switch to using AT_RANDOM for the stack guards."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '9a9bb243b50be5e3910b8edad72327bc216e72d0':
  Switch to using AT_RANDOM for the stack guards.

11 years agoMerge "Switch to using AT_RANDOM for the stack guards."
Elliott Hughes [Fri, 8 Feb 2013 19:17:33 +0000 (19:17 +0000)]
Merge "Switch to using AT_RANDOM for the stack guards."

11 years agoSwitch to using AT_RANDOM for the stack guards.
Elliott Hughes [Fri, 8 Feb 2013 02:39:34 +0000 (18:39 -0800)]
Switch to using AT_RANDOM for the stack guards.

Bug: 7959813
Change-Id: I8db4b8912ba649bfe668c6f22aa44690ddd401a2

11 years agoam 03579da2: Merge "Add a few more missing libm long double stubs."
Elliott Hughes [Fri, 8 Feb 2013 02:15:06 +0000 (18:15 -0800)]
am 03579da2: Merge "Add a few more missing libm long double stubs."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '03579da2d91a57a0f22da14e4216ecaf811869f4':
  Add a few more missing libm long double stubs.

11 years agoMerge "Add a few more missing libm long double stubs."
Elliott Hughes [Fri, 8 Feb 2013 02:02:38 +0000 (02:02 +0000)]
Merge "Add a few more missing libm long double stubs."

11 years agoAdd a few more missing libm long double stubs.
Elliott Hughes [Fri, 8 Feb 2013 01:45:11 +0000 (17:45 -0800)]
Add a few more missing libm long double stubs.

Change-Id: I6c44b9f3eee730253a958d6cefdac99e6f79da3e

11 years agoam fa75fce5: Merge "update xattr.h"
Nick Kralevich [Fri, 8 Feb 2013 00:50:08 +0000 (16:50 -0800)]
am fa75fce5: Merge "update xattr.h"

# Via Gerrit Code Review (1) and Nick Kralevich (1)
* commit 'fa75fce56641255a571b8b472f010863c3095b70':
  update xattr.h

11 years agoMerge "update xattr.h"
Nick Kralevich [Fri, 8 Feb 2013 00:42:29 +0000 (00:42 +0000)]
Merge "update xattr.h"

11 years agoupdate xattr.h
Nick Kralevich [Fri, 8 Feb 2013 00:23:16 +0000 (16:23 -0800)]
update xattr.h

Change-Id: Ibd91167ba56e2692359b92fe3108da271f0c2e38

11 years agoam 964886af: Merge "Remove dead code from gensyscalls.py."
Elliott Hughes [Thu, 7 Feb 2013 22:57:41 +0000 (14:57 -0800)]
am 964886af: Merge "Remove dead code from gensyscalls.py."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '964886afa339959aedad1c09af738df4ffa4091d':
  Remove dead code from gensyscalls.py.

11 years agoMerge "Remove dead code from gensyscalls.py."
Elliott Hughes [Thu, 7 Feb 2013 22:17:55 +0000 (22:17 +0000)]
Merge "Remove dead code from gensyscalls.py."

11 years agoRemove dead code from gensyscalls.py.
Elliott Hughes [Thu, 7 Feb 2013 22:07:00 +0000 (14:07 -0800)]
Remove dead code from gensyscalls.py.

Change-Id: I0df69f8fd990f829ccbfcd5123c17b523d5a4d45

11 years agoam f6afd3b6: Merge "Fix x86 build, remove void* arithmetic."
Elliott Hughes [Thu, 7 Feb 2013 20:34:24 +0000 (12:34 -0800)]
am f6afd3b6: Merge "Fix x86 build, remove void* arithmetic."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'f6afd3b670e23f56bf341d12136416aee17ea249':
  Fix x86 build, remove void* arithmetic.

11 years agoam 59e9a496: Merge "__progname should be const char*, not char*."
Elliott Hughes [Thu, 7 Feb 2013 20:34:23 +0000 (12:34 -0800)]
am 59e9a496: Merge "__progname should be const char*, not char*."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '59e9a496b4341fd2b11d4a01544bf7edf3d00cc5':
  __progname should be const char*, not char*.

11 years agoMerge "Fix x86 build, remove void* arithmetic."
Elliott Hughes [Thu, 7 Feb 2013 20:27:40 +0000 (20:27 +0000)]
Merge "Fix x86 build, remove void* arithmetic."

11 years agoMerge "__progname should be const char*, not char*."
Elliott Hughes [Thu, 7 Feb 2013 20:16:32 +0000 (20:16 +0000)]
Merge "__progname should be const char*, not char*."

11 years agoFix x86 build, remove void* arithmetic.
Elliott Hughes [Thu, 7 Feb 2013 20:16:10 +0000 (12:16 -0800)]
Fix x86 build, remove void* arithmetic.

Change-Id: Idc7f14af2e094ac33de315e808176237af063bb8

11 years ago__progname should be const char*, not char*.
Elliott Hughes [Thu, 7 Feb 2013 20:06:44 +0000 (12:06 -0800)]
__progname should be const char*, not char*.

Change-Id: I8e846872c30a712fbc05c8da59ffa1cec1be31a4

11 years agoam 2f41531f: Merge "Clean up the argc/argv/envp/auxv handling."
Elliott Hughes [Thu, 7 Feb 2013 19:56:57 +0000 (11:56 -0800)]
am 2f41531f: Merge "Clean up the argc/argv/envp/auxv handling."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '2f41531ff9f48dbdaf2ba711e14c669031728e99':
  Clean up the argc/argv/envp/auxv handling.

11 years agoMerge "Clean up the argc/argv/envp/auxv handling."
Elliott Hughes [Thu, 7 Feb 2013 19:48:16 +0000 (19:48 +0000)]
Merge "Clean up the argc/argv/envp/auxv handling."

11 years agoClean up the argc/argv/envp/auxv handling.
Elliott Hughes [Thu, 7 Feb 2013 18:14:39 +0000 (10:14 -0800)]
Clean up the argc/argv/envp/auxv handling.

There's now only one place where we deal with this stuff, it only needs to
be parsed once by the dynamic linker (rather than by each recipient), and it's
now easier for us to get hold of auxv data early on.

Change-Id: I6314224257c736547aac2e2a650e66f2ea53bef5

11 years agoam d4187efd: Merge "Switch x86 syscall stubs over to the ENTER/END style of the ARM...
Elliott Hughes [Thu, 7 Feb 2013 17:12:18 +0000 (09:12 -0800)]
am d4187efd: Merge "Switch x86 syscall stubs over to the ENTER/END style of the ARM stubs."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'd4187efd7f9c30ffaff4738862e3d08be27a52e9':
  Switch x86 syscall stubs over to the ENTER/END style of the ARM stubs.

11 years agoMerge "Switch x86 syscall stubs over to the ENTER/END style of the ARM stubs."
Elliott Hughes [Thu, 7 Feb 2013 16:55:27 +0000 (16:55 +0000)]
Merge "Switch x86 syscall stubs over to the ENTER/END style of the ARM stubs."

11 years agoSwitch x86 syscall stubs over to the ENTER/END style of the ARM stubs.
Elliott Hughes [Thu, 7 Feb 2013 01:08:15 +0000 (17:08 -0800)]
Switch x86 syscall stubs over to the ENTER/END style of the ARM stubs.

Also update the x86 asm.h to support this; we need it for libm assembler
anyway.

Also clean up the _FBSDID hack in <sys/cdefs.h>.

Change-Id: Iababd977b8110ec022bf7c93f4d62ece47630e7c

11 years agoam d32fdbaf: Merge "Add a missing logbl stub."
Elliott Hughes [Thu, 7 Feb 2013 00:30:26 +0000 (16:30 -0800)]
am d32fdbaf: Merge "Add a missing logbl stub."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'd32fdbaf03f688497adbec885e85c0a69f7a4542':
  Add a missing logbl stub.

11 years agoMerge "Add a missing logbl stub."
Elliott Hughes [Thu, 7 Feb 2013 00:09:48 +0000 (00:09 +0000)]
Merge "Add a missing logbl stub."

11 years agoAdd a missing logbl stub.
Elliott Hughes [Thu, 7 Feb 2013 00:07:54 +0000 (16:07 -0800)]
Add a missing logbl stub.

This doesn't usually matter because there's a weak reference; you'd
miss this if you stopped using s_logb.c though.

Change-Id: I912fceae327a378031cd24a64aefa9dfd84f7f90

11 years agoam c9ab32e4: Merge "Improve benchmarking tool, add a few math benchmarks."
Elliott Hughes [Thu, 7 Feb 2013 00:06:24 +0000 (16:06 -0800)]
am c9ab32e4: Merge "Improve benchmarking tool, add a few math benchmarks."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'c9ab32e4e94f770de347d6da8e7615fa131bcfbb':
  Improve benchmarking tool, add a few math benchmarks.

11 years agoMerge "Improve benchmarking tool, add a few math benchmarks."
Elliott Hughes [Thu, 7 Feb 2013 00:04:24 +0000 (00:04 +0000)]
Merge "Improve benchmarking tool, add a few math benchmarks."

11 years agoImprove benchmarking tool, add a few math benchmarks.
Elliott Hughes [Wed, 6 Feb 2013 23:47:09 +0000 (15:47 -0800)]
Improve benchmarking tool, add a few math benchmarks.

Change-Id: I641305dd0e4ac0705381e735ed1604c5be7aa536

11 years agoam d10a5a02: Merge "Remove the currently-unused i387 assembler to make way for the...
Elliott Hughes [Wed, 6 Feb 2013 20:22:30 +0000 (12:22 -0800)]
am d10a5a02: Merge "Remove the currently-unused i387 assembler to make way for the new."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'd10a5a02d1e9315dd7d780c2f221d116ced45a69':
  Remove the currently-unused i387 assembler to make way for the new.

11 years agoMerge "Remove the currently-unused i387 assembler to make way for the new."
Elliott Hughes [Wed, 6 Feb 2013 19:57:50 +0000 (19:57 +0000)]
Merge "Remove the currently-unused i387 assembler to make way for the new."

11 years agoam 4fc2a74b: Merge "Remove partial implementation of MIPS non-PIC support."
Elliott Hughes [Wed, 6 Feb 2013 19:51:12 +0000 (11:51 -0800)]
am 4fc2a74b: Merge "Remove partial implementation of MIPS non-PIC support."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '4fc2a74b29a12ed7fb4edc6b76db96b9d7dfa3f2':
  Remove partial implementation of MIPS non-PIC support.

11 years agoRemove the currently-unused i387 assembler to make way for the new.
Elliott Hughes [Wed, 6 Feb 2013 19:50:19 +0000 (11:50 -0800)]
Remove the currently-unused i387 assembler to make way for the new.

Change-Id: I37e4e8fce881246b9b028f9e1619247b1ac25261

11 years agoMerge "Remove partial implementation of MIPS non-PIC support."
Elliott Hughes [Wed, 6 Feb 2013 19:40:47 +0000 (19:40 +0000)]
Merge "Remove partial implementation of MIPS non-PIC support."

11 years agoRemove partial implementation of MIPS non-PIC support.
Elliott Hughes [Wed, 6 Feb 2013 19:02:28 +0000 (11:02 -0800)]
Remove partial implementation of MIPS non-PIC support.

Change-Id: I3c287e52aae10559508174e73113367aea40e5c2

11 years agoam d7ff139f: Merge "Remove bogus extra alignment from sbrk."
Elliott Hughes [Wed, 6 Feb 2013 01:09:55 +0000 (17:09 -0800)]
am d7ff139f: Merge "Remove bogus extra alignment from sbrk."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'd7ff139fec5cec08793523aa97503ade2b13c38e':
  Remove bogus extra alignment from sbrk.

11 years agoMerge "Remove bogus extra alignment from sbrk."
Elliott Hughes [Wed, 6 Feb 2013 00:57:43 +0000 (00:57 +0000)]
Merge "Remove bogus extra alignment from sbrk."

11 years agoRemove bogus extra alignment from sbrk.
Elliott Hughes [Wed, 6 Feb 2013 00:10:59 +0000 (16:10 -0800)]
Remove bogus extra alignment from sbrk.

Bug: https://code.google.com/p/android/issues/detail?id=37349
Change-Id: I970c7b6be7bb7fbe6bbbe2c332f05816aeb0e09f

11 years agoam a4f88fdc: Merge "Document the mallinfo struct, add missing attributes."
Elliott Hughes [Mon, 4 Feb 2013 21:59:15 +0000 (13:59 -0800)]
am a4f88fdc: Merge "Document the mallinfo struct, add missing attributes."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'a4f88fdcf0e9be084d04048ad65671716298c3c2':
  Document the mallinfo struct, add missing attributes.

11 years agoMerge "Document the mallinfo struct, add missing attributes."
Elliott Hughes [Mon, 4 Feb 2013 21:53:17 +0000 (21:53 +0000)]
Merge "Document the mallinfo struct, add missing attributes."

11 years agoDocument the mallinfo struct, add missing attributes.
Elliott Hughes [Mon, 4 Feb 2013 21:44:14 +0000 (13:44 -0800)]
Document the mallinfo struct, add missing attributes.

Change-Id: Ia97acce1f6a83bd8b3ba8dd20efd962bc96f35a9

11 years agoam a3120aaf: Merge "Add basic tests for posix_memalign."
Elliott Hughes [Mon, 4 Feb 2013 21:25:55 +0000 (13:25 -0800)]
am a3120aaf: Merge "Add basic tests for posix_memalign."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'a3120aaf2f4e20261a2ea9fd8862e2b360183fc5':
  Add basic tests for posix_memalign.

11 years agoMerge "Add basic tests for posix_memalign."
Elliott Hughes [Mon, 4 Feb 2013 21:19:19 +0000 (21:19 +0000)]
Merge "Add basic tests for posix_memalign."

11 years agoAdd basic tests for posix_memalign.
Elliott Hughes [Mon, 4 Feb 2013 21:18:00 +0000 (13:18 -0800)]
Add basic tests for posix_memalign.

Change-Id: Ie34fcc87aa9e8bfc715e25161752024b11e2032a

11 years agoam a1821f01: Merge "Regenerate msm_ion.h."
Elliott Hughes [Mon, 4 Feb 2013 18:52:16 +0000 (10:52 -0800)]
am a1821f01: Merge "Regenerate msm_ion.h."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'a1821f015306e221e6a51e5acc27176ae2d72f6b':
  Regenerate msm_ion.h.

11 years agoMerge "Regenerate msm_ion.h."
Elliott Hughes [Mon, 4 Feb 2013 18:42:14 +0000 (18:42 +0000)]
Merge "Regenerate msm_ion.h."

11 years agoRegenerate msm_ion.h.
Elliott Hughes [Sat, 2 Feb 2013 02:21:08 +0000 (18:21 -0800)]
Regenerate msm_ion.h.

Bug: 8000377
Change-Id: If496d9972cb8aebfc996ac641aa762220aa71f3b

11 years agoam 3dc6b57c: Merge "Don\'t claim there were no leaks if we weren\'t even checking."
Elliott Hughes [Sat, 2 Feb 2013 01:26:56 +0000 (17:26 -0800)]
am 3dc6b57c: Merge "Don\'t claim there were no leaks if we weren\'t even checking."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '3dc6b57cf54b15a756551deeda33df5715e519bb':
  Don't claim there were no leaks if we weren't even checking.

11 years agoMerge "Don't claim there were no leaks if we weren't even checking."
Elliott Hughes [Sat, 2 Feb 2013 01:18:44 +0000 (01:18 +0000)]
Merge "Don't claim there were no leaks if we weren't even checking."

11 years agoDon't claim there were no leaks if we weren't even checking.
Elliott Hughes [Sat, 2 Feb 2013 01:07:40 +0000 (17:07 -0800)]
Don't claim there were no leaks if we weren't even checking.

Bug: 8107016
Change-Id: I9059f1f8374ebcdf00dfc6ac74d3709f501292c9

11 years agoam 1bf83555: Merge "Make sincosl call sinl and cosl."
Elliott Hughes [Sat, 2 Feb 2013 00:50:49 +0000 (16:50 -0800)]
am 1bf83555: Merge "Make sincosl call sinl and cosl."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '1bf835558a3f7424c805766250ace88fa70e0630':
  Make sincosl call sinl and cosl.

11 years agoMerge "Make sincosl call sinl and cosl."
Elliott Hughes [Sat, 2 Feb 2013 00:42:01 +0000 (00:42 +0000)]
Merge "Make sincosl call sinl and cosl."

11 years agoam ae70b946: Merge "Update the libm/NOTICE file after the upgrade."
Elliott Hughes [Sat, 2 Feb 2013 00:35:08 +0000 (16:35 -0800)]
am ae70b946: Merge "Update the libm/NOTICE file after the upgrade."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'ae70b9467419c5a9b21e06dc1dba201a112a83be':
  Update the libm/NOTICE file after the upgrade.

11 years agoMake sincosl call sinl and cosl.
Elliott Hughes [Sat, 2 Feb 2013 00:32:50 +0000 (16:32 -0800)]
Make sincosl call sinl and cosl.

Bug: 2748728
Change-Id: Id18070963b91b144758c567ad7ac80758e3a638b

11 years agoMerge "Update the libm/NOTICE file after the upgrade."
Elliott Hughes [Sat, 2 Feb 2013 00:26:12 +0000 (00:26 +0000)]
Merge "Update the libm/NOTICE file after the upgrade."

11 years agoam a9dd3670: Merge "Restore bionic\'s <linux/elf-em.h>."
Elliott Hughes [Sat, 2 Feb 2013 00:19:37 +0000 (16:19 -0800)]
am a9dd3670: Merge "Restore bionic\'s <linux/elf-em.h>."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'a9dd36702f4a9d65d084387050b688b8965b13b3':
  Restore bionic's <linux/elf-em.h>.

11 years agoUpdate the libm/NOTICE file after the upgrade.
Elliott Hughes [Sat, 2 Feb 2013 00:16:54 +0000 (16:16 -0800)]
Update the libm/NOTICE file after the upgrade.

Change-Id: Icf9c44402d6f86117d61307219bb1cccd288854d

11 years agoMerge "Restore bionic's <linux/elf-em.h>."
Elliott Hughes [Sat, 2 Feb 2013 00:11:33 +0000 (00:11 +0000)]
Merge "Restore bionic's <linux/elf-em.h>."

11 years agoRestore bionic's <linux/elf-em.h>.
Elliott Hughes [Sat, 2 Feb 2013 00:10:28 +0000 (16:10 -0800)]
Restore bionic's <linux/elf-em.h>.

Used by <linux/audit.h>.

Change-Id: Ica4ebb7f52a7fce13c52fdff35e187ded3939382

11 years agoam 44badc70: Merge "Upgrade libm."
Elliott Hughes [Fri, 1 Feb 2013 23:24:27 +0000 (15:24 -0800)]
am 44badc70: Merge "Upgrade libm."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '44badc70ccd35d7690bda9f107e3e5da0b80d295':
  Upgrade libm.

11 years agoMerge "Upgrade libm."
Elliott Hughes [Fri, 1 Feb 2013 23:07:48 +0000 (23:07 +0000)]
Merge "Upgrade libm."

11 years agoUpgrade libm.
Elliott Hughes [Thu, 31 Jan 2013 03:06:37 +0000 (19:06 -0800)]
Upgrade libm.

This brings us up to date with FreeBSD HEAD, fixes various bugs, unifies
the set of functions we support on ARM, MIPS, and x86, fixes "long double",
adds ISO C99 support, and adds basic unit tests.

It turns out that our "long double" functions have always been broken
for non-normal numbers. This patch fixes that by not using the upstream
implementations and just forwarding to the regular "double" implementation
instead (since "long double" on Android is just "double" anyway, which is
what BSD doesn't support).

All the tests pass on ARM, MIPS, and x86, plus glibc on x86-64.

Bug: 3169850
Bug: 8012787
Bug: https://code.google.com/p/android/issues/detail?id=6697
Change-Id: If0c343030959c24bfc50d4d21c9530052c581837

11 years agoam fb55511e: am e1a124e5: Merge "Say explicitly if there were no leaks."
Elliott Hughes [Wed, 30 Jan 2013 20:11:30 +0000 (12:11 -0800)]
am fb55511e: am e1a124e5: Merge "Say explicitly if there were no leaks."

# Via Android Git Automerger (1) and others
* commit 'fb55511e71900476fd03f9c490dc60269d076d1f':
  Say explicitly if there were no leaks.

11 years agoam e1a124e5: Merge "Say explicitly if there were no leaks."
Elliott Hughes [Wed, 30 Jan 2013 20:09:14 +0000 (12:09 -0800)]
am e1a124e5: Merge "Say explicitly if there were no leaks."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'e1a124e5c93b59e2b6792e4de8a2c72dc0a78be1':
  Say explicitly if there were no leaks.

11 years agoMerge "Say explicitly if there were no leaks."
Elliott Hughes [Wed, 30 Jan 2013 19:53:49 +0000 (19:53 +0000)]
Merge "Say explicitly if there were no leaks."

11 years agoSay explicitly if there were no leaks.
Elliott Hughes [Wed, 30 Jan 2013 19:38:26 +0000 (11:38 -0800)]
Say explicitly if there were no leaks.

Otherwise people trying to use this are left wondering "did I not leak, or did
the leak checking code not get called when I exited?".

Change-Id: If79b225f8a2e24dd69aba1fb836bf9e81bb00efe

11 years agoam 4e882503: am a990cf5b: Merge "Clean up trailing whitespace in the kernel headers."
Elliott Hughes [Wed, 30 Jan 2013 18:31:24 +0000 (10:31 -0800)]
am 4e882503: am a990cf5b: Merge "Clean up trailing whitespace in the kernel headers."

# Via Android Git Automerger (1) and others
* commit '4e8825038e08762dcc973fa435b531f10290ffa8':
  Clean up trailing whitespace in the kernel headers.

11 years agoam a990cf5b: Merge "Clean up trailing whitespace in the kernel headers."
Elliott Hughes [Wed, 30 Jan 2013 18:28:59 +0000 (10:28 -0800)]
am a990cf5b: Merge "Clean up trailing whitespace in the kernel headers."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'a990cf5b3392c5aef767aee1e67b4d7ef651afc6':
  Clean up trailing whitespace in the kernel headers.

11 years agoMerge "Clean up trailing whitespace in the kernel headers."
Elliott Hughes [Wed, 30 Jan 2013 18:13:28 +0000 (18:13 +0000)]
Merge "Clean up trailing whitespace in the kernel headers."

11 years agoClean up trailing whitespace in the kernel headers.
Elliott Hughes [Wed, 30 Jan 2013 02:15:55 +0000 (18:15 -0800)]
Clean up trailing whitespace in the kernel headers.

And fix the scripts so they stop letting trailing whitespace through.

Change-Id: Ie109fbe1f63321e565ba0fa60fee8e9cf3a61cfc

11 years agoam 7bc49fcf: am 323287ea: Merge "Fix valgrind build."
Elliott Hughes [Wed, 30 Jan 2013 02:09:26 +0000 (18:09 -0800)]
am 7bc49fcf: am 323287ea: Merge "Fix valgrind build."

# Via Android Git Automerger (1) and others
* commit '7bc49fcfc0de8ce6f386f362cdab6902e6bbe7b4':
  Fix valgrind build.

11 years agoam 323287ea: Merge "Fix valgrind build."
Elliott Hughes [Wed, 30 Jan 2013 02:06:19 +0000 (18:06 -0800)]
am 323287ea: Merge "Fix valgrind build."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '323287ea7fb1d22f64b49d701b33cef9fbaf757d':
  Fix valgrind build.

11 years agoMerge "Fix valgrind build."
Elliott Hughes [Wed, 30 Jan 2013 01:50:16 +0000 (01:50 +0000)]
Merge "Fix valgrind build."

11 years agoFix valgrind build.
Elliott Hughes [Wed, 30 Jan 2013 01:49:12 +0000 (17:49 -0800)]
Fix valgrind build.

Change-Id: Ie375d32565d10f4c0c56da5422f52b68cb069654

11 years agoam 1cc09402: am f6721978: Merge "Fix x86 build to use <elf.h>."
Elliott Hughes [Wed, 30 Jan 2013 01:04:14 +0000 (17:04 -0800)]
am 1cc09402: am f6721978: Merge "Fix x86 build to use <elf.h>."

# Via Android Git Automerger (1) and others
* commit '1cc09402e86b91213e06a9a349c5c510cefcf1d5':
  Fix x86 build to use <elf.h>.

11 years agoam be11de2b: am 5fb409b7: Merge "Bring the NOTICE files back up to date."
Elliott Hughes [Wed, 30 Jan 2013 01:04:13 +0000 (17:04 -0800)]
am be11de2b: am 5fb409b7: Merge "Bring the NOTICE files back up to date."

# Via Android Git Automerger (1) and others
* commit 'be11de2b52ac5f8cbb5a733821cb27002f2ea975':
  Bring the NOTICE files back up to date.

11 years agoam 172e038f: am f09f6db5: Merge "Use the NetBSD <sys/exec_elf.h>."
Elliott Hughes [Wed, 30 Jan 2013 01:04:11 +0000 (17:04 -0800)]
am 172e038f: am f09f6db5: Merge "Use the NetBSD <sys/exec_elf.h>."

# Via Android Git Automerger (1) and others
* commit '172e038f9e5b711a77afe7e8899343215cf25c9e':
  Use the NetBSD <sys/exec_elf.h>.

11 years agoam f6721978: Merge "Fix x86 build to use <elf.h>."
Elliott Hughes [Wed, 30 Jan 2013 00:58:45 +0000 (16:58 -0800)]
am f6721978: Merge "Fix x86 build to use <elf.h>."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'f67219783fa7c38c1f4f077364290d10d3aa1db4':
  Fix x86 build to use <elf.h>.

11 years agoam 5fb409b7: Merge "Bring the NOTICE files back up to date."
Elliott Hughes [Wed, 30 Jan 2013 00:42:04 +0000 (16:42 -0800)]
am 5fb409b7: Merge "Bring the NOTICE files back up to date."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '5fb409b7b0b0a4ecca5fd2a6c7dc5ce421f6b7cf':
  Bring the NOTICE files back up to date.

11 years agoMerge "Fix x86 build to use <elf.h>."
Elliott Hughes [Wed, 30 Jan 2013 00:41:23 +0000 (00:41 +0000)]
Merge "Fix x86 build to use <elf.h>."

11 years agoFix x86 build to use <elf.h>.
Elliott Hughes [Wed, 30 Jan 2013 00:40:39 +0000 (16:40 -0800)]
Fix x86 build to use <elf.h>.

Change-Id: I7b697d5eae69dc08eb31471a42cb8bbe5360be76

11 years agoMerge "Bring the NOTICE files back up to date."
Elliott Hughes [Wed, 30 Jan 2013 00:33:53 +0000 (00:33 +0000)]
Merge "Bring the NOTICE files back up to date."

11 years agoam f09f6db5: Merge "Use the NetBSD <sys/exec_elf.h>."
Elliott Hughes [Wed, 30 Jan 2013 00:26:10 +0000 (16:26 -0800)]
am f09f6db5: Merge "Use the NetBSD <sys/exec_elf.h>."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'f09f6db5dd87856bbbb7a3d465187b9d8799a788':
  Use the NetBSD <sys/exec_elf.h>.

11 years agoBring the NOTICE files back up to date.
Elliott Hughes [Wed, 30 Jan 2013 00:25:06 +0000 (16:25 -0800)]
Bring the NOTICE files back up to date.

Change-Id: I978275cf6604b90595ee79d897c0460eeadc7dc8

11 years agoMerge "Use the NetBSD <sys/exec_elf.h>."
Elliott Hughes [Wed, 30 Jan 2013 00:06:11 +0000 (00:06 +0000)]
Merge "Use the NetBSD <sys/exec_elf.h>."

11 years agoUse the NetBSD <sys/exec_elf.h>.
Elliott Hughes [Tue, 29 Jan 2013 23:02:50 +0000 (15:02 -0800)]
Use the NetBSD <sys/exec_elf.h>.

Replace a kernel header file dependency with files from NetBSD.
They're more complete, and ELF is ELF, whether you're on Linux or a BSD.

Bug: 7973611
Change-Id: I83ee719e7efdf432ec2ddbe8be271d05b2f558d7

11 years agoam 3f20ecc2: am 3db2fc5a: Merge "Don\'t collect useless stack frames; do demangle...
Elliott Hughes [Tue, 29 Jan 2013 20:07:13 +0000 (12:07 -0800)]
am 3f20ecc2: am 3db2fc5a: Merge "Don\'t collect useless stack frames; do demangle C++ symbols."

# Via Android Git Automerger (1) and others
* commit '3f20ecc20486ae8fe8d9332102b503135f83c62d':
  Don't collect useless stack frames; do demangle C++ symbols.

11 years agoam 3db2fc5a: Merge "Don\'t collect useless stack frames; do demangle C++ symbols."
Elliott Hughes [Tue, 29 Jan 2013 20:03:53 +0000 (12:03 -0800)]
am 3db2fc5a: Merge "Don\'t collect useless stack frames; do demangle C++ symbols."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '3db2fc5acb4894a2cb22533b165a0de1bbafc3f6':
  Don't collect useless stack frames; do demangle C++ symbols.

11 years agoMerge "Don't collect useless stack frames; do demangle C++ symbols."
Elliott Hughes [Tue, 29 Jan 2013 19:59:30 +0000 (19:59 +0000)]
Merge "Don't collect useless stack frames; do demangle C++ symbols."

11 years agoDon't collect useless stack frames; do demangle C++ symbols.
Elliott Hughes [Tue, 29 Jan 2013 00:27:36 +0000 (16:27 -0800)]
Don't collect useless stack frames; do demangle C++ symbols.

Previously, we'd collect every stack frame and then throw some away
when we came to log them. This meant that stack traces were effectively
shorter than the buffers that had been allocated for them. This patch
only stores frames we'll actually output.

Also dynamically call the C++ demangler so we don't have to try to
read mangled names. Because no one knows the mangling of operator new[]
for int arrays off the top of their head.

Bug: 7291287
Change-Id: I42b022fd7cd61675d05171de4c3b2704d058ef2a

11 years agoam d383ac15: am a0151cbf: Merge "Unit tests for formatting code, fix %%."
Elliott Hughes [Mon, 28 Jan 2013 22:11:54 +0000 (14:11 -0800)]
am d383ac15: am a0151cbf: Merge "Unit tests for formatting code, fix %%."

# Via Android Git Automerger (1) and others
* commit 'd383ac1570b553d68ed399c74b73bad1498d78f6':
  Unit tests for formatting code, fix %%.

11 years agoam a0151cbf: Merge "Unit tests for formatting code, fix %%."
Elliott Hughes [Mon, 28 Jan 2013 22:10:08 +0000 (14:10 -0800)]
am a0151cbf: Merge "Unit tests for formatting code, fix %%."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'a0151cbfbaa37965dbcd188a55a78d3ad4802b9b':
  Unit tests for formatting code, fix %%.

11 years agoMerge "Unit tests for formatting code, fix %%."
Elliott Hughes [Mon, 28 Jan 2013 22:04:44 +0000 (22:04 +0000)]
Merge "Unit tests for formatting code, fix %%."