10172 Commits

Author SHA1 Message Date
The Android Automerger
944e192df6 merge in lmp-release history after reset to c891e24073830e07ba7373dee554ff2c70e1d313 android-5.0.2_r3 android-5.0.2_r1 android-5.0.1_r1 android-5.0.0_r7 android-5.0.0_r6 android-5.0.0_r5.1 android-5.0.0_r5 android-5.0.0_r4 android-5.0.0_r3 android-5.0.0_r2 android-5.0.0_r1 2014-10-21 17:42:56 -07:00
The Android Automerger
2155882080 merge in lmp-release history after reset to c891e24073830e07ba7373dee554ff2c70e1d313 2014-10-21 06:09:30 -07:00
The Android Automerger
c32cd431fa merge in lmp-release history after reset to c891e24073830e07ba7373dee554ff2c70e1d313 2014-10-19 17:07:47 -07:00
The Android Automerger
1840121a6a merge in lmp-release history after reset to c891e24073830e07ba7373dee554ff2c70e1d313 2014-10-16 06:09:40 -07:00
The Android Automerger
90a1ed4f45 merge in lmp-release history after reset to c891e24073830e07ba7373dee554ff2c70e1d313 2014-10-15 06:09:27 -07:00
The Android Automerger
48116b3024 merge in lmp-release history after reset to c891e24073830e07ba7373dee554ff2c70e1d313 2014-10-14 06:09:28 -07:00
The Android Automerger
614ff987ce merge in lmp-release history after reset to c891e24073830e07ba7373dee554ff2c70e1d313 2014-10-13 06:09:26 -07:00
The Android Automerger
8e06009fcd merge in lmp-release history after reset to c891e24073830e07ba7373dee554ff2c70e1d313 2014-10-12 06:09:31 -07:00
Christopher Ferris
c891e24073 Add back symbols to fix Greed for Glory franchise.
Bug: 17813018
Change-Id: Id939426ee5303117b9601e7915fcfec5024fc621
2014-10-09 18:31:01 -07:00
Christopher Ferris
c9734d24d9 Re-add dlmalloc for 32 bit.
It turns out that appportable has a version that calls dlmalloc directly.
Re-add the dlmalloc symbol for 32 bit only as a compatibility shim that
calls malloc.

Bug: 17881362
Change-Id: I8f20963b0b8d323489dc083e4063779e0d1d7447
2014-10-09 11:10:23 -07:00
The Android Automerger
8a2d72d586 merge in lmp-release history after reset to 1543fdf616ddebee7819214437527f380e5c743b 2014-10-09 06:09:26 -07:00
The Android Automerger
d690d19dd0 merge in lmp-release history after reset to 1543fdf616ddebee7819214437527f380e5c743b 2014-10-08 06:10:36 -07:00
Elliott Hughes
1543fdf616 Work around a bug in Immersion's libImmEmulatorJ.so.
This library calls pthread_mutex_lock and pthread_mutex_unlock with a NULL
pthread_mutex_t*. This gives them (and their users) one release to fix things.

Bug: 17443936

(cherry picked from commit 7d3f553f989f830976efa92ddc3c84661d4d42aa)

Change-Id: Ie26bbecd3a74d61113b51c18832872499b97ee86
(cherry picked from commit b5e7eba6d1b97e471996fcfe7dbde7cbba7512ef)
2014-10-07 23:17:14 +00:00
Christopher Ferris
2cf155713a am 40bc7cd4: (-s ours) DO NOT MERGE Re-add .save directive for arm assembler code.
* commit '40bc7cd4ed9fb848a7b3d934f69669f64ceed707':
  DO NOT MERGE  Re-add .save directive for arm assembler code.
2014-10-07 15:27:36 +00:00
The Android Automerger
b7672222a9 merge in lmp-release history after reset to d11eac3455a059a092ceee92eda9905e1d661e94 2014-10-07 06:09:29 -07:00
Christopher Ferris
24a365fbe4 Force export symbols on all x86 variants in libc.
For silvermont, the __popcountsi2 symbol does not get exported by libc.
But for atom, this symbol is exported. Since we already exported this symbol
for previous releases, it's better to just follow through and force
the export, but only for 32 bit. x86 64 bit will not export this symbol.

Bug: 17681440
Change-Id: I6c62245f0960910f64baaaf6d9d090bf3ea5f435
2014-10-06 17:50:08 -07:00
Christopher Ferris
d11eac3455 Force export symbols on all x86 variants in libc.
For silvermont, the __popcountsi2 symbol does not get exported by libc.
But for atom, this symbol is exported. Since we already exported this symbol
for previous releases, it's better to just follow through and force
the export, but only for 32 bit. x86 64 bit will not export this symbol.

Bug: 17681440
Change-Id: I6c62245f0960910f64baaaf6d9d090bf3ea5f435
2014-10-06 15:51:26 -07:00
The Android Automerger
6c1389bf5f merge in lmp-release history after reset to a508714800242b294291060641ed35d719bdc857 2014-10-06 06:10:13 -07:00
The Android Automerger
397c90bf3e merge in lmp-release history after reset to a508714800242b294291060641ed35d719bdc857 2014-10-05 06:10:03 -07:00
Alex Van Brunt
a508714800 Reimplement clock(3) using clock_gettime(3)
Unlike times(), clock_gettime() is implemented as a vDSO on many architectures.
So, using clock_gettime() will return a more accurate time and do so with less
overhead because it does have the overhead of calling into the kernel.

It is also significantly more accurate because it measures the actual time in
nanoseconds rather than the number of ticks (typically 1 millisecond or more).

Bug: 17814435

(cherry picked from commit 8d0b2dbf2154d5da17ff09b1d4f864d281362ad2)

Change-Id: Id4945d9f387330518f78669809639952e9227ed9
2014-10-03 19:05:52 -07:00
Elliott Hughes
ea9800e985 Explain why clock(3) isn't broken.
Bug: 17441123
Bug: 17814435

(cherry picked from commit f83c208b82c78dad07f4065f63bdd354f5ef9951)

Change-Id: I2065afe73b79a8d86404edee16e983625d902cdc
2014-10-03 16:46:20 -07:00
The Android Automerger
5579bf649f merge in lmp-release history after reset to aaad548535c34e2bba16b2a0b71173e0ae4b16c0 2014-10-01 06:10:44 -07:00
The Android Automerger
ce77e55ce5 merge in lmp-release history after reset to aaad548535c34e2bba16b2a0b71173e0ae4b16c0 2014-09-30 06:11:44 -07:00
The Android Automerger
8eac9d69d8 merge in lmp-release history after reset to aaad548535c34e2bba16b2a0b71173e0ae4b16c0 2014-09-29 06:11:30 -07:00
The Android Automerger
28a7ed042f merge in lmp-release history after reset to aaad548535c34e2bba16b2a0b71173e0ae4b16c0 2014-09-28 06:10:03 -07:00
The Android Automerger
7ac9e617b8 merge in lmp-release history after reset to aaad548535c34e2bba16b2a0b71173e0ae4b16c0 2014-09-25 06:11:51 -07:00
Elliott Hughes
aaad548535 Merge "Re-expose more stdio implementation details for LP32." into lmp-dev 2014-09-25 03:06:30 +00:00
Elliott Hughes
5def2f5aec Re-expose more stdio implementation details for LP32.
Keeps a variety of apps running.

Bug: 17047819
Change-Id: I55882ec95f2b59a5df76e5a89c23aa315609e01d
2014-09-24 17:20:53 -07:00
Christopher Ferris
6c69afdb6d Fix sys_stat.mkfifo when not run as root.
It's not allowed for a shell user to create a fifo in /data/local/tmp.
Make the test do nothing if not run as root.

Bug: 17646702
Change-Id: I932262fa233eae8b5dd607a2398a47c50a208701
2014-09-24 16:01:18 -07:00
Dan Albert
086bb382db Fix incorrect parameter types for locale funcs.
strtoll(3), strtoull(3), wcstoll(3), and wcstoull(3) all take an _int_
as a base, not a size_t. This is an ABI compatibility issue.

Bug: 17628622
Change-Id: I17f8eead34ce2112005899fc30162067573023ec
(cherry picked from commit 3c5037f1b3b747e79d17a5f717d9f9c365132d33)
2014-09-24 09:00:42 -07:00
The Android Automerger
9416df8139 merge in lmp-release history after reset to 027d2717d067c3706f22bf84dc1226ede7c1566d 2014-09-24 06:10:50 -07:00
The Android Automerger
3ae2ad2aea merge in lmp-release history after reset to 027d2717d067c3706f22bf84dc1226ede7c1566d 2014-09-23 06:10:52 -07:00
The Android Automerger
ad4be8f64f merge in lmp-release history after reset to 027d2717d067c3706f22bf84dc1226ede7c1566d 2014-09-22 06:10:05 -07:00
The Android Automerger
7ed41f97bb merge in lmp-release history after reset to 027d2717d067c3706f22bf84dc1226ede7c1566d 2014-09-21 06:09:23 -07:00
The Android Automerger
59551b8144 merge in lmp-release history after reset to 44da474bb8b5c83dec0646d1a48b6c830c6bd6e5 2014-09-20 21:00:37 -07:00
The Android Automerger
194ca8df2d merge in lmp-release history after reset to 027d2717d067c3706f22bf84dc1226ede7c1566d 2014-09-20 06:09:46 -07:00
The Android Automerger
44da474bb8 merge in lmp-release history after reset to 027d2717d067c3706f22bf84dc1226ede7c1566d 2014-09-18 06:09:12 -07:00
The Android Automerger
dc922ade9f merge in lmp-release history after reset to 027d2717d067c3706f22bf84dc1226ede7c1566d 2014-09-17 06:09:56 -07:00
The Android Automerger
b3613b4efd merge in lmp-release history after reset to 027d2717d067c3706f22bf84dc1226ede7c1566d 2014-09-16 06:09:53 -07:00
The Android Automerger
6078d68321 merge in lmp-release history after reset to 027d2717d067c3706f22bf84dc1226ede7c1566d 2014-09-15 06:09:45 -07:00
Christopher Ferris
027d2717d0 Pull input.h from v3.16.1 kernel headers.
Bug: 17407564
Change-Id: Idcfc40a7254605280e3d5474c61ae1ab7b2b7b51
2014-09-14 12:08:37 -07:00
The Android Automerger
277c1b00f5 merge in lmp-release history after reset to 7e00b44e80d6e38b8ab86d0ebc86b666c0ac2ef6 2014-09-14 06:09:35 -07:00
The Android Automerger
50982fd0c4 merge in lmp-release history after reset to 1d12f186edcaaf6ebd6ace1929baa23ce97a2ab8 2014-09-13 08:42:01 -07:00
The Android Automerger
25232c43fc merge in lmp-release history after reset to 7e00b44e80d6e38b8ab86d0ebc86b666c0ac2ef6 2014-09-13 06:09:46 -07:00
Elliott Hughes
7e00b44e80 Expose __swsetup for LP32 binary compatibility.
Bug: 17476127
Change-Id: I0ef1355ac913d782c268a638f88642d6cfc236c2
2014-09-11 16:41:11 -07:00
Elliott Hughes
27efc48814 Add pthread_gettid_np and re-expose __get_thread for LP32.
A lot of third-party code calls the private __get_thread symbol,
often as part of a backport of bionic's pthread_rwlock implementation.
Hopefully this will go away for LP64 (since you're guaranteed the
real implementation there), but there are still APIs that take a tid
and no way to convert between a pthread_t and a tid. pthread_gettid_np
is a public API for that. To aid the transition, make __get_thread
available again for LP32.

Bug: 14079438
Change-Id: I43fabc7f1918250d31d4665ffa4ca352d0dbeac1
2014-09-11 16:11:43 -07:00
Elliott Hughes
9e833bf0cf Fix mips __fadvise64.S build failure.
Bug: 12449798

(cherry picked from commit 9990b3973bdfcda5419c06886215147a878222f1)

Change-Id: Iba92e2aa262666a59fc38b870dfd9f4082eeb628
2014-09-11 10:15:14 -07:00
Elliott Hughes
176c32787c Merge "Add posix_fadvise(3)." into lmp-dev 2014-09-11 15:43:05 +00:00
The Android Automerger
1d12f186ed merge in lmp-release history after reset to 33a73bfa0712c483830e4c9abbf4d6a0551478bf 2014-09-11 06:09:09 -07:00
Elliott Hughes
0000826378 Add posix_fadvise(3).
Bug: 12449798
Change-Id: I07cbf3f670a0d1304b68148325a774f266b5c433
2014-09-10 20:30:23 -07:00