OSDN Git Service

android-x86/bionic.git
11 years agoam e75c273a: Merge "Track the tzdata2012g update in the new file format."
Elliott Hughes [Fri, 19 Oct 2012 21:40:25 +0000 (14:40 -0700)]
am e75c273a: Merge "Track the tzdata2012g update in the new file format."

* commit 'e75c273ac434043153f22b1c2f89c042928407bc':
  Track the tzdata2012g update in the new file format.

11 years agoMerge "Track the tzdata2012g update in the new file format."
Elliott Hughes [Fri, 19 Oct 2012 21:30:04 +0000 (14:30 -0700)]
Merge "Track the tzdata2012g update in the new file format."

11 years agoTrack the tzdata2012g update in the new file format.
Elliott Hughes [Fri, 19 Oct 2012 21:28:56 +0000 (14:28 -0700)]
Track the tzdata2012g update in the new file format.

Change-Id: Id18aeb1122df769d83c4be06fbf37681231e79f0

11 years agoam 88cd1a21: Merge "Upgrade to tzdata2012g."
Elliott Hughes [Fri, 19 Oct 2012 20:51:19 +0000 (13:51 -0700)]
am 88cd1a21: Merge "Upgrade to tzdata2012g."

* commit '88cd1a2188cde62d9f94881549791b7c197b2116':
  Upgrade to tzdata2012g.

11 years agoam 551ca77e: Merge "Do all the zoneinfo.* file generation in Java."
Elliott Hughes [Fri, 19 Oct 2012 20:51:18 +0000 (13:51 -0700)]
am 551ca77e: Merge "Do all the zoneinfo.* file generation in Java."

* commit '551ca77e35098272abfe9484457827c661d23ef0':
  Do all the zoneinfo.* file generation in Java.

11 years agoMerge "Upgrade to tzdata2012g."
Elliott Hughes [Fri, 19 Oct 2012 20:45:50 +0000 (13:45 -0700)]
Merge "Upgrade to tzdata2012g."

11 years agoUpgrade to tzdata2012g.
Elliott Hughes [Thu, 18 Oct 2012 23:34:48 +0000 (16:34 -0700)]
Upgrade to tzdata2012g.

This release reflects the following changes recently circulated on the tz
mailing list:

        Samoa fall 2012 and later.  (Thanks to Nicholas Pereira
        and Robert Elz.)

        Palestine fall 2012.  (Thanks to Steffen Thorsen.)

This release does not reflect the possible changes discussed yesterday
for Tocantins and Bahia.

(cherry-pick of f0e402dbd257ab495eab514b347db4b3d6844826.)

Change-Id: I8202292b11accedb811194a821dacf837a1bbd6e

11 years agoMerge "Do all the zoneinfo.* file generation in Java."
Elliott Hughes [Fri, 19 Oct 2012 20:37:24 +0000 (13:37 -0700)]
Merge "Do all the zoneinfo.* file generation in Java."

11 years agoam 2266e495: Merge "Switch bionic over to using libcore\'s copy of libcore.util.ZoneI...
Elliott Hughes [Fri, 19 Oct 2012 20:18:07 +0000 (13:18 -0700)]
am 2266e495: Merge "Switch bionic over to using libcore\'s copy of libcore.util.ZoneInfo."

* commit '2266e4956f4b245903acd66f0cc32ec5caf5abae':
  Switch bionic over to using libcore's copy of libcore.util.ZoneInfo.

11 years agoDo all the zoneinfo.* file generation in Java.
Elliott Hughes [Fri, 19 Oct 2012 20:03:52 +0000 (13:03 -0700)]
Do all the zoneinfo.* file generation in Java.

Bug: 7012465
Change-Id: Ia5d5ad75db94d680a6b34ccc26eb68d5bd2bfc29

11 years agoMerge "Switch bionic over to using libcore's copy of libcore.util.ZoneInfo."
Elliott Hughes [Fri, 19 Oct 2012 20:01:04 +0000 (13:01 -0700)]
Merge "Switch bionic over to using libcore's copy of libcore.util.ZoneInfo."

11 years agoSwitch bionic over to using libcore's copy of libcore.util.ZoneInfo.
Elliott Hughes [Fri, 19 Oct 2012 19:05:24 +0000 (12:05 -0700)]
Switch bionic over to using libcore's copy of libcore.util.ZoneInfo.

Bug: 7012465
Change-Id: I1225494c5d77a20fd48be1e904d8695ef95860e3

11 years agoam bc77942a: am f0e402db: Upgrade to tzdata2012g.
Elliott Hughes [Fri, 19 Oct 2012 16:59:52 +0000 (09:59 -0700)]
am bc77942a: am f0e402db: Upgrade to tzdata2012g.

* commit 'bc77942a9a5b2a30eb04fab495cb30ac21bb150d':
  Upgrade to tzdata2012g.

11 years agoam f0e402db: Upgrade to tzdata2012g.
Elliott Hughes [Fri, 19 Oct 2012 16:57:49 +0000 (09:57 -0700)]
am f0e402db: Upgrade to tzdata2012g.

* commit 'f0e402dbd257ab495eab514b347db4b3d6844826':
  Upgrade to tzdata2012g.

11 years agoUpgrade to tzdata2012g.
Elliott Hughes [Thu, 18 Oct 2012 23:34:48 +0000 (16:34 -0700)]
Upgrade to tzdata2012g.

This release reflects the following changes recently circulated on the tz
mailing list:

        Samoa fall 2012 and later.  (Thanks to Nicholas Pereira
        and Robert Elz.)

        Palestine fall 2012.  (Thanks to Steffen Thorsen.)

This release does not reflect the possible changes discussed yesterday
for Tocantins and Bahia.

Change-Id: I52d9d2cd6e8e755885dc258200c014bee75527c9

11 years agoam 10225071: Merge "Fixes x86 build."
Elliott Hughes [Thu, 18 Oct 2012 20:56:02 +0000 (13:56 -0700)]
am 10225071: Merge "Fixes x86 build."

* commit '102250719f8aff443741e54ba5633c7722544620':
  Fixes x86 build.

11 years agoMerge "Fixes x86 build."
Elliott Hughes [Thu, 18 Oct 2012 20:43:40 +0000 (13:43 -0700)]
Merge "Fixes x86 build."

11 years agoFixes x86 build.
Elliott Hughes [Thu, 18 Oct 2012 20:42:59 +0000 (13:42 -0700)]
Fixes x86 build.

Change-Id: I0e576784b2224668d58ebea03986d534ee0e43b4

11 years agoam ca7466d2: Merge "Make bionic\'s dependency on the tzdata explicit."
Elliott Hughes [Thu, 18 Oct 2012 20:37:54 +0000 (13:37 -0700)]
am ca7466d2: Merge "Make bionic\'s dependency on the tzdata explicit."

* commit 'ca7466d2b8ee6baad86afc82fa18cda4d931b6d3':
  Make bionic's dependency on the tzdata explicit.

11 years agoMerge "Make bionic's dependency on the tzdata explicit."
Elliott Hughes [Thu, 18 Oct 2012 20:19:13 +0000 (13:19 -0700)]
Merge "Make bionic's dependency on the tzdata explicit."

11 years agoMake bionic's dependency on the tzdata explicit.
Elliott Hughes [Thu, 18 Oct 2012 18:28:56 +0000 (11:28 -0700)]
Make bionic's dependency on the tzdata explicit.

Also stop building the obsolete three files, now bionic and libcore
both use the new single file.

Bug: 7012465
Change-Id: I1b9b49af7382c57b6cb8820c2275e6d4044b2bb6

11 years agoam 5ae762a3: Merge "Pull bionic\'s time zone data from the new single \'tzdata\'...
Elliott Hughes [Thu, 18 Oct 2012 17:59:27 +0000 (10:59 -0700)]
am 5ae762a3: Merge "Pull bionic\'s time zone data from the new single \'tzdata\' file."

* commit '5ae762a393168932602eb7269a7d30a53de1c83c':
  Pull bionic's time zone data from the new single 'tzdata' file.

11 years agoMerge "Pull bionic's time zone data from the new single 'tzdata' file."
Elliott Hughes [Thu, 18 Oct 2012 17:48:10 +0000 (10:48 -0700)]
Merge "Pull bionic's time zone data from the new single 'tzdata' file."

11 years agoam 9ffaabcc: Merge "Remove obsolete CHANGES.TXT and ISSUES.TXT."
Elliott Hughes [Thu, 18 Oct 2012 17:26:36 +0000 (10:26 -0700)]
am 9ffaabcc: Merge "Remove obsolete CHANGES.TXT and ISSUES.TXT."

* commit '9ffaabcc49776676cb2ea60f0846f2c208f6d715':
  Remove obsolete CHANGES.TXT and ISSUES.TXT.

11 years agoMerge "Remove obsolete CHANGES.TXT and ISSUES.TXT."
Elliott Hughes [Thu, 18 Oct 2012 17:09:47 +0000 (10:09 -0700)]
Merge "Remove obsolete CHANGES.TXT and ISSUES.TXT."

11 years agoPull bionic's time zone data from the new single 'tzdata' file.
Elliott Hughes [Wed, 17 Oct 2012 23:30:47 +0000 (16:30 -0700)]
Pull bionic's time zone data from the new single 'tzdata' file.

Bug: 7012465
Change-Id: Iec71e448bf7a40af30ca89150b3c336e67a44a43

11 years agoam 32ea9fe5: Merge "Put all the tzdata in one file."
Elliott Hughes [Wed, 17 Oct 2012 23:09:31 +0000 (16:09 -0700)]
am 32ea9fe5: Merge "Put all the tzdata in one file."

* commit '32ea9fe5783e3cc9756205c0ac46482afc700a3d':
  Put all the tzdata in one file.

11 years agoMerge "Put all the tzdata in one file."
Elliott Hughes [Wed, 17 Oct 2012 22:52:09 +0000 (15:52 -0700)]
Merge "Put all the tzdata in one file."

11 years agoPut all the tzdata in one file.
Elliott Hughes [Wed, 17 Oct 2012 21:24:50 +0000 (14:24 -0700)]
Put all the tzdata in one file.

I'll come back and remove the separate files (and change the regular 'generate'
script) when the separate files are obsolete, but in the interim period, it's
easier to have both old and new files available.

Bug: 7012465
Change-Id: I36e2fd49c08ff79ded6eca1c5bc4c08837cc490a

11 years agoRemove obsolete CHANGES.TXT and ISSUES.TXT.
Elliott Hughes [Wed, 17 Oct 2012 18:32:50 +0000 (11:32 -0700)]
Remove obsolete CHANGES.TXT and ISSUES.TXT.

These haven't been updated in a long time, and "git log" is the source of truth.

Change-Id: I99036f6111e53425f32df510b7b717deb77513a5

11 years agoam a2f596b6: Merge "Make dlerror(3) thread-safe."
Elliott Hughes [Wed, 17 Oct 2012 18:03:12 +0000 (11:03 -0700)]
am a2f596b6: Merge "Make dlerror(3) thread-safe."

* commit 'a2f596b65075db7916ffffa2f5059e7953719578':
  Make dlerror(3) thread-safe.

11 years agoMerge "Make dlerror(3) thread-safe."
Elliott Hughes [Wed, 17 Oct 2012 17:50:48 +0000 (10:50 -0700)]
Merge "Make dlerror(3) thread-safe."

11 years agoam 42ac0e50: Merge "Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>""
David 'Digit' Turner [Wed, 17 Oct 2012 17:30:01 +0000 (10:30 -0700)]
am 42ac0e50: Merge "Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>""

* commit '42ac0e50302c4d5ce855444e44615489ab662452':
  Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"

11 years agoMerge "Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>""
David 'Digit' Turner [Wed, 17 Oct 2012 17:11:22 +0000 (10:11 -0700)]
Merge "Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>""

11 years agoRevert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"
David 'Digit' Turner [Wed, 17 Oct 2012 17:10:11 +0000 (19:10 +0200)]
Revert "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"

This creates build issues in the internal Android tree.
Will investigate later.

Original patch: https://android-review.googlesource.com/#/c/38875/

Change-Id: I12c5995ebf172890051af42a5d3b31014c9c5117

11 years agoam 4136c3a2: Merge "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"
David 'Digit' Turner [Wed, 17 Oct 2012 14:32:56 +0000 (07:32 -0700)]
am 4136c3a2: Merge "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"

* commit '4136c3a2b7f7546968c5a305aa2ef0663fcb6c6d':
  libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>

11 years agoMerge "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"
David 'Digit' Turner [Wed, 17 Oct 2012 14:20:54 +0000 (07:20 -0700)]
Merge "libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>"

11 years agolibc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>
David 'Digit' Turner [Thu, 12 Jul 2012 17:06:15 +0000 (19:06 +0200)]
libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>

This patch updates the C library headers to provide ucontext_t
definitions for three architectures.

+ Fix <signal.h> to always define 'struct sigcontext'.

The new declarations are announced with new macros defined in
<sys/cdefs.h> in order to make it easier to adapt client code
that already defines its own, incompatible, versions of the
structures seen here.

http://code.google.com/p/android/issues/detail?id=34784

Change-Id: Ie78c48690a4ce61c50593f6c39639be7fead3596

11 years agoMake dlerror(3) thread-safe.
Elliott Hughes [Tue, 16 Oct 2012 22:54:46 +0000 (15:54 -0700)]
Make dlerror(3) thread-safe.

I gave up trying to use the usual thread-local buffer idiom; calls to
calloc(3) and free(3) from any of the "dl" functions -- which live in
the dynamic linker -- end up resolving to the dynamic linker's stubs.
I tried to work around that, but was just making things more complicated.
This alternative costs us a well-known TLS slot (instead of the
dynamically-allocated TLS slot we'd have used otherwise, so no difference
there), plus an extra buffer inside every pthread_internal_t.

Bug: 5404023
Change-Id: Ie9614edd05b6d1eeaf7bf9172792d616c6361767

11 years agoam a9944cfe: Merge "LONG_LONG_MIN/MAX: Move declarations to <limits.h>"
Elliott Hughes [Tue, 16 Oct 2012 03:20:50 +0000 (20:20 -0700)]
am a9944cfe: Merge "LONG_LONG_MIN/MAX: Move declarations to <limits.h>"

* commit 'a9944cfe9e152ca46afb0a77300ec5a2a1a24e64':
  LONG_LONG_MIN/MAX: Move declarations to <limits.h>

11 years agoMerge "LONG_LONG_MIN/MAX: Move declarations to <limits.h>"
Elliott Hughes [Tue, 16 Oct 2012 00:34:08 +0000 (17:34 -0700)]
Merge "LONG_LONG_MIN/MAX: Move declarations to <limits.h>"

11 years agoLONG_LONG_MIN/MAX: Move declarations to <limits.h>
David 'Digit' Turner [Thu, 13 Sep 2012 15:14:00 +0000 (17:14 +0200)]
LONG_LONG_MIN/MAX: Move declarations to <limits.h>

LONG_LONG_MIN, LONG_LONG_MAX and ULONG_LONG_MAX are
GLibc-specific macros that are better defined in <limits.h>
instead of the current exotic location (<pthread.h>).

Note that GCC's <limits.h> only defines these macros
when __GNU_LIBRARY__ is also defined. This is only the
case when building against GLibc, so manually redefine
the macros here.

Note that using LLONG_MIN/LLONG_MAX/ULLONG_MAX is the
C99-compliant way to get these values, but it's easier
to define these compatibility macros for the sake of
porting existing code.

Change-Id: I8023918d73b4685238054932f94a4006c1ca7d03

11 years agoam fcf901d5: Merge "Fix realloc(3) when chk_malloc debugging is on."
Elliott Hughes [Sat, 13 Oct 2012 00:14:29 +0000 (17:14 -0700)]
am fcf901d5: Merge "Fix realloc(3) when chk_malloc debugging is on."

* commit 'fcf901d5c0924a71a1405a2535051663281da048':
  Fix realloc(3) when chk_malloc debugging is on.

11 years agoMerge "Fix realloc(3) when chk_malloc debugging is on."
Elliott Hughes [Sat, 13 Oct 2012 00:09:02 +0000 (17:09 -0700)]
Merge "Fix realloc(3) when chk_malloc debugging is on."

11 years agoFix realloc(3) when chk_malloc debugging is on.
Elliott Hughes [Sat, 13 Oct 2012 00:05:05 +0000 (17:05 -0700)]
Fix realloc(3) when chk_malloc debugging is on.

The tests for a NULL pointer and size 0 were the wrong way round.

From Intel's patch 9cae4f2ffc4778ed82be04711d8775a84092d4e2.

Change-Id: I118aff3358aa5f34126d74bfaa43f6e2f1a89055

11 years agoam 9434e8fe: Merge "Make the dlfcn mutex static."
Elliott Hughes [Fri, 12 Oct 2012 18:21:59 +0000 (11:21 -0700)]
am 9434e8fe: Merge "Make the dlfcn mutex static."

* commit '9434e8febc8b223db2d49e7f97140771700113b9':
  Make the dlfcn mutex static.

11 years agoMerge "Make the dlfcn mutex static."
Elliott Hughes [Fri, 12 Oct 2012 17:59:59 +0000 (10:59 -0700)]
Merge "Make the dlfcn mutex static."

11 years agoMake the dlfcn mutex static.
Elliott Hughes [Fri, 12 Oct 2012 17:50:21 +0000 (10:50 -0700)]
Make the dlfcn mutex static.

More style fixes too, and removal of yet another lingering SH reference!

Change-Id: Iebc34a46475dd11845ad172b9108bb6ddd7585bb

11 years agoam db4fdf1a: Merge "Fix dlerror(3)."
Elliott Hughes [Fri, 12 Oct 2012 17:47:59 +0000 (10:47 -0700)]
am db4fdf1a: Merge "Fix dlerror(3)."

* commit 'db4fdf1aafb63b09ee967066d9b8107a9812db2d':
  Fix dlerror(3).

11 years agoMerge "Fix dlerror(3)."
Elliott Hughes [Fri, 12 Oct 2012 17:27:43 +0000 (10:27 -0700)]
Merge "Fix dlerror(3)."

11 years agoReconcile with jb-mr1-factory-release - do not merge
The Android Open Source Project [Fri, 12 Oct 2012 14:30:26 +0000 (07:30 -0700)]
Reconcile with jb-mr1-factory-release - do not merge

Change-Id: I833db3c1458b360d17442413b86b546dc650bc0c

11 years agoFix dlerror(3).
Elliott Hughes [Thu, 11 Oct 2012 23:08:51 +0000 (16:08 -0700)]
Fix dlerror(3).

Add unit tests for dlerror(3) in various situations. I think We're at least
as good as glibc now.

Also factor out the ScopedPthreadMutexLock and use it here too.

Bug: http://code.google.com/p/android/issues/detail?id=38398
Change-Id: I040938b4366ab836e3df46d1d8055b92f4ea6ed8

11 years agoam 417fd233: Merge "Fix perf_event_open syscall for x86 and mips"
Elliott Hughes [Thu, 11 Oct 2012 17:42:00 +0000 (10:42 -0700)]
am 417fd233: Merge "Fix perf_event_open syscall for x86 and mips"

* commit '417fd2334a694cf6a831b81cd672b4ca31ff2f54':
  Fix perf_event_open syscall for x86 and mips

11 years agoMerge "Fix perf_event_open syscall for x86 and mips"
Elliott Hughes [Thu, 11 Oct 2012 17:26:00 +0000 (10:26 -0700)]
Merge "Fix perf_event_open syscall for x86 and mips"

11 years agoFix perf_event_open syscall for x86 and mips
Shuo Gao [Thu, 11 Oct 2012 05:27:48 +0000 (13:27 +0800)]
Fix perf_event_open syscall for x86 and mips

perf_event_open syscall has a different syscall number for
the 3 supported architectures: arm, x86 and mips. Currenlty
only the arm syscall number is defined for all architectures.
Tracing tools like perf will not work on other architectures
than arm.

Add the different values for perf_event_open on x86 and mips
and run gensyscalls.py to update generated headers.

Change-Id: I2ed78bd42c0e5df8dbc51d784be49cccda5fab30
Author: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
11 years agomerge in jb-mr1-factory-release history after reset to jb-mr1-dev
The Android Automerger [Thu, 11 Oct 2012 15:18:46 +0000 (08:18 -0700)]
merge in jb-mr1-factory-release history after reset to jb-mr1-dev

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Thu, 11 Oct 2012 12:56:36 +0000 (05:56 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I8ceb7a33ab427c2d3e884e8b71064ecbc531fd1e

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 10 Oct 2012 21:06:19 +0000 (14:06 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam ecbded40: am 2c287e95: Set up the private variables.
Ying Wang [Wed, 10 Oct 2012 20:52:59 +0000 (13:52 -0700)]
am ecbded40: am 2c287e95: Set up the private variables.

* commit 'ecbded40ff1278ddb155d3e1a5d137285f18629f':
  Set up the private variables.

11 years agoam 2c287e95: Set up the private variables.
Ying Wang [Wed, 10 Oct 2012 20:51:30 +0000 (13:51 -0700)]
am 2c287e95: Set up the private variables.

* commit '2c287e9510ec1d379b3cd779651b595dafb6a2ff':
  Set up the private variables.

11 years agoSet up the private variables.
Ying Wang [Wed, 26 Sep 2012 01:32:24 +0000 (18:32 -0700)]
Set up the private variables.

Now we use private variables in transform-o-to-executable to support
build executables against the NDK.
Cherry-picked from master.

Bug: 7170098
Change-Id: Ic8f1d36a116fce24f3ea6a3ff5e9bfab6cafee99

11 years agoam 1ceb9824: Merge "Fix a getcwd(3) bug and make our tests run correctly under valgrind."
Elliott Hughes [Wed, 10 Oct 2012 01:27:11 +0000 (18:27 -0700)]
am 1ceb9824: Merge "Fix a getcwd(3) bug and make our tests run correctly under valgrind."

* commit '1ceb9824ab39501e98300bc87f7984ee6b455ce8':
  Fix a getcwd(3) bug and make our tests run correctly under valgrind.

11 years agoMerge "Fix a getcwd(3) bug and make our tests run correctly under valgrind."
Elliott Hughes [Wed, 10 Oct 2012 01:14:36 +0000 (18:14 -0700)]
Merge "Fix a getcwd(3) bug and make our tests run correctly under valgrind."

11 years agoam b83cad79: Merge "Fix two comment typos."
Elliott Hughes [Wed, 10 Oct 2012 00:38:01 +0000 (17:38 -0700)]
am b83cad79: Merge "Fix two comment typos."

* commit 'b83cad79838f780779bd129da9ed4662b741bd31':
  Fix two comment typos.

11 years agoMerge "Fix two comment typos."
Elliott Hughes [Wed, 10 Oct 2012 00:23:38 +0000 (17:23 -0700)]
Merge "Fix two comment typos."

11 years agoFix two comment typos.
Elliott Hughes [Wed, 10 Oct 2012 00:23:09 +0000 (17:23 -0700)]
Fix two comment typos.

Change-Id: Icb2d6f7fa97ef5a4409a7606875e416cfab0a4b3

11 years agoFix a getcwd(3) bug and make our tests run correctly under valgrind.
Elliott Hughes [Wed, 10 Oct 2012 00:14:56 +0000 (17:14 -0700)]
Fix a getcwd(3) bug and make our tests run correctly under valgrind.

The getcwd(3) bug was found by valgrind.

Bug: 7291287
Change-Id: I59f3bff1c1392a408b905934eebcd5d894d37492

11 years agoam b04598a6: Set up the private variables.
Ying Wang [Mon, 8 Oct 2012 21:21:38 +0000 (14:21 -0700)]
am b04598a6: Set up the private variables.

* commit 'b04598a63c3f0df597f6186beea3adafc665ef56':
  Set up the private variables.

11 years agoSet up the private variables.
Ying Wang [Wed, 26 Sep 2012 01:32:24 +0000 (18:32 -0700)]
Set up the private variables.

Now we use private variables in transform-o-to-executable to support
build executables against the NDK.

Bug: 7170098
Change-Id: I6e505b33001b76f4b11fcbbb1d35392c4ddf4c70

11 years agoam 9a7366e8: am fa7e2586: Merge "Test flags before using "info""
Elliott Hughes [Thu, 4 Oct 2012 00:42:35 +0000 (17:42 -0700)]
am 9a7366e8: am fa7e2586: Merge "Test flags before using "info""

* commit '9a7366e8943990619c494548050aa906f1971332':
  Test flags before using "info"

11 years agoam fa7e2586: Merge "Test flags before using "info""
Elliott Hughes [Thu, 4 Oct 2012 00:41:08 +0000 (17:41 -0700)]
am fa7e2586: Merge "Test flags before using "info""

* commit 'fa7e2586176711896e6c0b94c7b811f7cbe29907':
  Test flags before using "info"

11 years agoMerge "Test flags before using "info""
Elliott Hughes [Thu, 4 Oct 2012 00:27:51 +0000 (17:27 -0700)]
Merge "Test flags before using "info""

11 years agoTest flags before using "info"
Andy McFadden [Tue, 2 Oct 2012 20:53:13 +0000 (13:53 -0700)]
Test flags before using "info"

Our debugger signal catcher expects to receive three args, but if
somebody cleared SA_SIGINFO we only get one, and bad things happen
when we try to use the second one.  Test to see if SA_SIGINFO is
still set before we try to use the argument.

(cherry-pick of f84bc8d6f6368f1c846124a8168761ee8cc589c0.)

Bug: 7272866
Change-Id: I69a65c25e833aea70acb78f9ba40ed93308583e6

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Wed, 3 Oct 2012 14:33:03 +0000 (07:33 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I80b71067d1e628d18a19d94219fcfa1000133abf

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 3 Oct 2012 13:59:12 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam 6b1ba118: am 3ef4fecd: bionic: update processed msm_mdp.h
Naseer Ahmed [Wed, 3 Oct 2012 08:03:04 +0000 (01:03 -0700)]
am 6b1ba118: am 3ef4fecd: bionic: update processed msm_mdp.h

* commit '6b1ba1184a5e0884686b63da837a85f8c861d1fc':
  bionic: update processed msm_mdp.h

11 years agoam 3ef4fecd: bionic: update processed msm_mdp.h
Naseer Ahmed [Wed, 3 Oct 2012 07:57:49 +0000 (00:57 -0700)]
am 3ef4fecd: bionic: update processed msm_mdp.h

* commit '3ef4fecd30c22f3c17c1dadfce4527e858b42e7e':
  bionic: update processed msm_mdp.h

11 years agobionic: update processed msm_mdp.h
Naseer Ahmed [Mon, 1 Oct 2012 20:06:50 +0000 (16:06 -0400)]
bionic: update processed msm_mdp.h

-- Has display commit ioctl

Bug: 7274951
Change-Id: If2d47edf3ada418e8c61a2acc7b79fb3422f3473
Signed-off-by: Iliyan Malchev <malchev@google.com>
11 years agoam 7c67e4e4: am 98957db5: Merge "Test flags before using "info"" into jb-mr1-dev
Andy McFadden [Tue, 2 Oct 2012 22:27:09 +0000 (15:27 -0700)]
am 7c67e4e4: am 98957db5: Merge "Test flags before using "info"" into jb-mr1-dev

* commit '7c67e4e423f7608c50a1fc7c355d87593cfdbcca':
  Test flags before using "info"

11 years agoam 98957db5: Merge "Test flags before using "info"" into jb-mr1-dev
Andy McFadden [Tue, 2 Oct 2012 22:24:25 +0000 (15:24 -0700)]
am 98957db5: Merge "Test flags before using "info"" into jb-mr1-dev

* commit '98957db5536e93724c2e9e6bd19d5063f9d4dc2c':
  Test flags before using "info"

11 years agoMerge "Test flags before using "info"" into jb-mr1-dev
Andy McFadden [Tue, 2 Oct 2012 22:23:20 +0000 (15:23 -0700)]
Merge "Test flags before using "info"" into jb-mr1-dev

11 years agoam cafbc940: am 2e0452cb: bionic: update processed msm_vidc_enc.h
Andreas Huber [Tue, 2 Oct 2012 21:42:35 +0000 (14:42 -0700)]
am cafbc940: am 2e0452cb: bionic: update processed msm_vidc_enc.h

* commit 'cafbc9404310828ecddc55a1eed5fc897008b1f3':
  bionic: update processed msm_vidc_enc.h

11 years agoam 2e0452cb: bionic: update processed msm_vidc_enc.h
Andreas Huber [Tue, 2 Oct 2012 21:40:02 +0000 (14:40 -0700)]
am 2e0452cb: bionic: update processed msm_vidc_enc.h

* commit '2e0452cbd1f5b981fbadb4021198d2c27ec1cde3':
  bionic: update processed msm_vidc_enc.h

11 years agobionic: update processed msm_vidc_enc.h
Andreas Huber [Tue, 2 Oct 2012 16:21:20 +0000 (09:21 -0700)]
bionic: update processed msm_vidc_enc.h

Updated kernel headers to support a video encoder ioctl to preprend each IDR
frame with SPS/PPS.

related-to-bug: 7245308
Change-Id: I7244c521690d69a905deb19940a04fd4f2e06935
Signed-off-by: Iliyan Malchev <malchev@google.com>
11 years agoTest flags before using "info"
Andy McFadden [Tue, 2 Oct 2012 20:53:13 +0000 (13:53 -0700)]
Test flags before using "info"

Our debugger signal catcher expects to receive three args, but if
somebody cleared SA_SIGINFO we only get one, and bad things happen
when we try to use the second one.  Test to see if SA_SIGINFO is
still set before we try to use the argument.

Bug: 7272866
Change-Id: If682a2262fe8a575f3802fb0c60a53eea3082456

11 years agoam b95ad82f: am 95a2a7f3: Merge "Fix MIPS build."
Elliott Hughes [Tue, 2 Oct 2012 18:33:03 +0000 (11:33 -0700)]
am b95ad82f: am 95a2a7f3: Merge "Fix MIPS build."

* commit 'b95ad82f7d175a4f79eb0cbf6caedf0653603590':
  Fix MIPS build.

11 years agoam 95a2a7f3: Merge "Fix MIPS build."
Elliott Hughes [Tue, 2 Oct 2012 18:31:30 +0000 (11:31 -0700)]
am 95a2a7f3: Merge "Fix MIPS build."

* commit '95a2a7f325330830d6227aa683948b325e38e653':
  Fix MIPS build.

11 years agoMerge "Fix MIPS build."
Elliott Hughes [Tue, 2 Oct 2012 18:22:32 +0000 (11:22 -0700)]
Merge "Fix MIPS build."

11 years agoFix MIPS build.
Elliott Hughes [Tue, 2 Oct 2012 18:20:07 +0000 (11:20 -0700)]
Fix MIPS build.

ARM and x86 have custom memcpy implementations, but MIPS relies on the generic
one, which I recently moved.

Change-Id: I9e49243f63b27a4123f2c6623d6286ec82d333c7

11 years agoam 90172541: am b98204a9: Merge "Move non-upstream code into the libc/bionic directory."
Elliott Hughes [Tue, 2 Oct 2012 16:25:12 +0000 (09:25 -0700)]
am 90172541: am b98204a9: Merge "Move non-upstream code into the libc/bionic directory."

* commit '90172541866696a5a46fae7ff7e186126ee37318':
  Move non-upstream code into the libc/bionic directory.

11 years agoam b98204a9: Merge "Move non-upstream code into the libc/bionic directory."
Elliott Hughes [Tue, 2 Oct 2012 16:22:03 +0000 (09:22 -0700)]
am b98204a9: Merge "Move non-upstream code into the libc/bionic directory."

* commit 'b98204a9fb5c84478a9710163df395486443c7f6':
  Move non-upstream code into the libc/bionic directory.

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Tue, 2 Oct 2012 16:16:33 +0000 (09:16 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I2c724a28984aa03b2887b3db58bd59699b428e85

11 years agoMerge "Move non-upstream code into the libc/bionic directory."
Elliott Hughes [Tue, 2 Oct 2012 16:13:34 +0000 (09:13 -0700)]
Merge "Move non-upstream code into the libc/bionic directory."

11 years agoam 39d7c607: am 75f43525: Merge "Always take GCC\'s definition of NULL."
Elliott Hughes [Tue, 2 Oct 2012 01:21:35 +0000 (18:21 -0700)]
am 39d7c607: am 75f43525: Merge "Always take GCC\'s definition of NULL."

* commit '39d7c6072dc4d587c32405f3c7de12e60559cfc8':
  Always take GCC's definition of NULL.

11 years agoam 75f43525: Merge "Always take GCC\'s definition of NULL."
Elliott Hughes [Tue, 2 Oct 2012 01:18:06 +0000 (18:18 -0700)]
am 75f43525: Merge "Always take GCC\'s definition of NULL."

* commit '75f43525550c5cad3980f7dd125cb838836790b8':
  Always take GCC's definition of NULL.

11 years agoMerge "Always take GCC's definition of NULL."
Elliott Hughes [Tue, 2 Oct 2012 01:11:20 +0000 (18:11 -0700)]
Merge "Always take GCC's definition of NULL."

11 years agoAlways take GCC's definition of NULL.
Elliott Hughes [Tue, 2 Oct 2012 00:56:58 +0000 (17:56 -0700)]
Always take GCC's definition of NULL.

There's a (bad) definition of NULL in <linux/stddef.h>, and this
definition of NULL, and the One True definition in the <stddef.h> provided
by the compiler. This change at least kills one of the bad duplicates.
Killing the <linux/stddef.h> one is harder, because it's in a generated
file.

Change-Id: Iea4ccb12d6758199f312ea9cd753b84322d5c471

11 years agoMove non-upstream code into the libc/bionic directory.
Elliott Hughes [Tue, 2 Oct 2012 00:35:49 +0000 (17:35 -0700)]
Move non-upstream code into the libc/bionic directory.

I'll need at least one more pass, because there's some upstream code
lurking in libc/bionic, but this is still a step in the right direction.

Change-Id: I55927315972da8327ae01c5240ed587db17e8462

11 years agoam bb7dfcd3: am d3bf954e: Merge "Remove useless #defines and incorrect claims from...
Elliott Hughes [Mon, 1 Oct 2012 22:52:56 +0000 (15:52 -0700)]
am bb7dfcd3: am d3bf954e: Merge "Remove useless #defines and incorrect claims from header files."

* commit 'bb7dfcd3b8744fdf37857375ffe279d2b87a8b22':
  Remove useless #defines and incorrect claims from header files.

11 years agoam d3bf954e: Merge "Remove useless #defines and incorrect claims from header files."
Elliott Hughes [Mon, 1 Oct 2012 22:50:51 +0000 (15:50 -0700)]
am d3bf954e: Merge "Remove useless #defines and incorrect claims from header files."

* commit 'd3bf954e9ffbdee8d732ccb6ad6143dc31b605fc':
  Remove useless #defines and incorrect claims from header files.