Dmitriy Ivanov
18a6956b76
Add support for packed relocations.
...
Change-Id: I796a4ce86d3fccb8361c19889419c96147ee3c9f
2015-03-06 17:12:47 -08:00
James Rose
45789b63db
libm: Add hardware sqrt, ceil, floor and trunc for x86 & x86_64
...
Add hardware implementations for sqrt, ceil, floor and trunc for
x86 and x86_64. These routines, and in particular sqrt are much
faster than the BSD C language versions of these functions.
Fixed whitespace errors.
Revised x86 versions with respect to alignment.
Rebased for Android 5.0
Change-Id: I86bdb520ce5e589b0cf63778f353fbd3263c8f0e
Author: James Rose <james.rose@intel.com>
Signed-off-by: James Rose <james.rose@intel.com>
2015-03-06 16:48:30 -08:00
Yabin Cui
e86a86f9f2
Merge "Remove PTHREAD_ATTR_FLAG_MAIN_THREAD."
2015-03-06 23:21:12 +00:00
Yabin Cui
9d0c79304d
Remove PTHREAD_ATTR_FLAG_MAIN_THREAD.
...
Make this change because I think it is more reasonable to check stack info
in pthread_getattr_np. I believe pthread_attr_t is not tied with any thread,
and can't have a flag saying who using it is the main thread.
This change also helps refactor of g_thread_list_lock.
Bug: 19636317
Change-Id: Iedbb85a391ac3e1849dd036d01445dac4bc63db9
2015-03-06 15:16:44 -08:00
Dmitriy Ivanov
fa26eee776
Refactoring: introduce reloc_iterators
...
Replace rel/rela array with reloc_iterators.
Change-Id: I6165d062e0390b6bc60da2e8279aabbedf828ec9
2015-03-06 13:01:08 -08:00
Dmitriy Ivanov
f8ff6b103b
Generalize compression tool
...
1. One binary for all architectures
2. Generalize (and slightly improve) compression
2.1 works on all relocation types (rela?.dyn section only so far)
2.2 Uses same format to encode ElfW(Rel) as well as ElfW(Rela) tables
Bug: 18051137
Change-Id: I66c95d9076954ca115816fc577d0f5ef274e5e72
2015-03-06 13:01:08 -08:00
Dmitriy Ivanov
87a0617ebe
Import relocation packer from chromium repo
...
Bug: 18051137
Change-Id: Ia67fa11da8247e3f86f70a8ce99e6695f2c05423
2015-03-06 13:01:08 -08:00
Yabin Cui
a1d1f658b5
am 45ee73a7: Merge "Rename fortify_sprintf_warnings.cpp to fortify_compilation_test.cpp."
...
* commit '45ee73a7fbe98cba2ccb007b60c027d27dfca1cb':
Rename fortify_sprintf_warnings.cpp to fortify_compilation_test.cpp.
2015-03-06 21:00:16 +00:00
Yabin Cui
45ee73a7fb
Merge "Rename fortify_sprintf_warnings.cpp to fortify_compilation_test.cpp."
2015-03-06 20:52:31 +00:00
Yabin Cui
af1ad42208
am fe4f2a67: Merge "Use pthread_once for g_uselocale_key creation."
...
* commit 'fe4f2a6734ed3ace50606900143e84993f450caf':
Use pthread_once for g_uselocale_key creation.
2015-03-06 05:34:31 +00:00
Yabin Cui
fe4f2a6734
Merge "Use pthread_once for g_uselocale_key creation."
2015-03-06 05:28:24 +00:00
Yabin Cui
f7e3b3e48a
Use pthread_once for g_uselocale_key creation.
...
Bug: 19625804
Change-Id: I57ec4c965067dc0c157c795c1f7217a3ca403286
2015-03-05 20:39:10 -08:00
Christopher Ferris
bef6cbbe79
am 35e88f9b: am e953f3cf: am 71bf8379: Merge "libm: arm: add arm specific sqrt and sqrtf"
...
* commit '35e88f9b8bf51b75bb4fe7a72d43875bfed228f6':
libm: arm: add arm specific sqrt and sqrtf
2015-03-05 22:43:24 +00:00
Christopher Ferris
35e88f9b8b
am e953f3cf: am 71bf8379: Merge "libm: arm: add arm specific sqrt and sqrtf"
...
* commit 'e953f3cf985e810071d707bcc296b20ec6e2e8dd':
libm: arm: add arm specific sqrt and sqrtf
2015-03-05 22:35:46 +00:00
Christopher Ferris
e953f3cf98
am 71bf8379: Merge "libm: arm: add arm specific sqrt and sqrtf"
...
* commit '71bf837982446b31f435031ed2d10aa1c8c15988':
libm: arm: add arm specific sqrt and sqrtf
2015-03-05 21:59:08 +00:00
Christopher Ferris
71bf837982
Merge "libm: arm: add arm specific sqrt and sqrtf"
2015-03-05 21:55:21 +00:00
Yabin Cui
120a29749d
am 807c623b: am 9ecb7f40: am c3307dc4: Merge "Better control of pthread keys used in bionic."
...
* commit '807c623b58c7020e8419057fac0c58f0a7099bbe':
Better control of pthread keys used in bionic.
2015-03-05 19:26:31 +00:00
Yabin Cui
807c623b58
am 9ecb7f40: am c3307dc4: Merge "Better control of pthread keys used in bionic."
...
* commit '9ecb7f40d01d7ee258d11277944cc2415635ea17':
Better control of pthread keys used in bionic.
2015-03-05 18:39:22 +00:00
Yabin Cui
9ecb7f40d0
am c3307dc4: Merge "Better control of pthread keys used in bionic."
...
* commit 'c3307dc43b2526c4031837738b139d22831c5d09':
Better control of pthread keys used in bionic.
2015-03-05 18:33:31 +00:00
Yabin Cui
c3307dc43b
Merge "Better control of pthread keys used in bionic."
2015-03-05 18:26:44 +00:00
Yabin Cui
93e094f9c3
am 4710b5fb: am 917cb395: am 5d400204: Merge "Fix fortify compilation test in x86_64."
...
* commit '4710b5fb5d0939c2212769b054d700152f7fd885':
Fix fortify compilation test in x86_64.
2015-03-05 08:59:33 +00:00
Yabin Cui
4710b5fb5d
am 917cb395: am 5d400204: Merge "Fix fortify compilation test in x86_64."
...
* commit '917cb395bc7c71b34d3a4feca0c619d2aaf89fd8':
Fix fortify compilation test in x86_64.
2015-03-05 08:53:16 +00:00
Yabin Cui
917cb395bc
am 5d400204: Merge "Fix fortify compilation test in x86_64."
...
* commit '5d400204589ceb781fa11864c2e8f3001e5dc96f':
Fix fortify compilation test in x86_64.
2015-03-05 08:47:12 +00:00
Yabin Cui
24e8871faa
Rename fortify_sprintf_warnings.cpp to fortify_compilation_test.cpp.
...
Bug: 19234260
Change-Id: Ife27ca13eeae317739eda25b40dd2a08606d6d6f
2015-03-05 00:46:18 -08:00
Yabin Cui
5d40020458
Merge "Fix fortify compilation test in x86_64."
2015-03-05 08:40:58 +00:00
Yabin Cui
d9647594de
Fix fortify compilation test in x86_64.
...
Change-Id: Ic243f6583e4f435899d01c7845dddacacbfc916e
2015-03-05 00:39:09 -08:00
Yabin Cui
97bd338e55
am 3801fb1e: am f9b3f25e: am 1c78181a: Merge "Fix fortify compilation test on x86."
...
* commit '3801fb1e8bbaeef23f6a0cf8709ecd60d4ec5f6a':
Fix fortify compilation test on x86.
2015-03-05 06:51:36 +00:00
Yabin Cui
3801fb1e8b
am f9b3f25e: am 1c78181a: Merge "Fix fortify compilation test on x86."
...
* commit 'f9b3f25e0ba641cc59a741492737f4712f2d798a':
Fix fortify compilation test on x86.
2015-03-05 06:44:02 +00:00
Yabin Cui
f9b3f25e0b
am 1c78181a: Merge "Fix fortify compilation test on x86."
...
* commit '1c78181a9da19778dbbcc162854f9564a51243bf':
Fix fortify compilation test on x86.
2015-03-05 06:39:55 +00:00
Yabin Cui
1c78181a9d
Merge "Fix fortify compilation test on x86."
2015-03-05 06:36:47 +00:00
Yabin Cui
94545eba37
Fix fortify compilation test on x86.
...
Change-Id: I9b88cbcec51b6f1dbac2780a9bf82851bd6cc87c
2015-03-04 22:35:13 -08:00
Yabin Cui
2295b54492
am 9336f832: am c2917ec7: am 5ad57ce6: Merge "Fix fortify compilation test on mips."
...
* commit '9336f83244956c9dcea2ecb0c7a2768b85a953be':
Fix fortify compilation test on mips.
2015-03-05 06:02:53 +00:00
Yabin Cui
9336f83244
am c2917ec7: am 5ad57ce6: Merge "Fix fortify compilation test on mips."
...
* commit 'c2917ec702d25955c6d139d76cfb7d607079141e':
Fix fortify compilation test on mips.
2015-03-05 05:55:57 +00:00
Yabin Cui
c2917ec702
am 5ad57ce6: Merge "Fix fortify compilation test on mips."
...
* commit '5ad57ce6ab95a12ab738eb7cd3595745ddd60d8d':
Fix fortify compilation test on mips.
2015-03-05 05:50:33 +00:00
Yabin Cui
5ad57ce6ab
Merge "Fix fortify compilation test on mips."
2015-03-05 05:46:16 +00:00
Yabin Cui
f3bd305b8f
Fix fortify compilation test on mips.
...
Change-Id: Icff5b859ae58067bfa34430d3f5684335fe063b4
2015-03-04 21:43:14 -08:00
Yabin Cui
de40b37882
am 8e91a1ff: am 80aa71aa: am e1c0213b: Merge "Switch pthread_rwlock_t to stdatomic."
...
* commit '8e91a1ff73b865f9ed5f8ee4a493394e8b3ba302':
Switch pthread_rwlock_t to stdatomic.
2015-03-05 05:00:35 +00:00
Yabin Cui
8e91a1ff73
am 80aa71aa: am e1c0213b: Merge "Switch pthread_rwlock_t to stdatomic."
...
* commit '80aa71aa71033fa8c03f8b7a9032643294f60006':
Switch pthread_rwlock_t to stdatomic.
2015-03-05 04:54:37 +00:00
Yabin Cui
80aa71aa71
am e1c0213b: Merge "Switch pthread_rwlock_t to stdatomic."
...
* commit 'e1c0213be3f0c2c4e310cbc262da88835a2e5d86':
Switch pthread_rwlock_t to stdatomic.
2015-03-05 04:48:48 +00:00
Yabin Cui
e1c0213be3
Merge "Switch pthread_rwlock_t to stdatomic."
2015-03-05 04:42:35 +00:00
Yabin Cui
08ee8d2030
Switch pthread_rwlock_t to stdatomic.
...
Bug: 19099838
Change-Id: Ie82967a60b5cec61a8bdd1e0e4a03738d01944f8
2015-03-04 18:16:20 -08:00
Yabin Cui
4a2891d8c8
Better control of pthread keys used in bionic.
...
Change-Id: I1e1bc77c0e7879baead6c3417282ce549a1153b5
2015-03-04 16:53:23 -08:00
Yabin Cui
eb050b0c4d
am ea0cbb9a: am 821653e6: am dec9501a: Merge "Add fortify compile test."
...
* commit 'ea0cbb9a274e2b9294545b7ab877906ed4c3d202':
Add fortify compile test.
2015-03-05 00:10:17 +00:00
Yabin Cui
ea0cbb9a27
am 821653e6: am dec9501a: Merge "Add fortify compile test."
...
* commit '821653e65f481b65c608bb3eb89190f7a85356c7':
Add fortify compile test.
2015-03-05 00:06:03 +00:00
Yabin Cui
821653e65f
am dec9501a: Merge "Add fortify compile test."
...
* commit 'dec9501af2ee4d7cec3a163310d42e8ea1b8c58f':
Add fortify compile test.
2015-03-04 23:55:21 +00:00
Yabin Cui
dec9501af2
Merge "Add fortify compile test."
2015-03-04 23:25:42 +00:00
Christopher Ferris
fdc33dcfaf
am 59c32458: am 1edafd56: am 86ac7341: Merge "Add aarch64 instructions wherever possible"
...
* commit '59c324581f58243564ec6db1688e5e1c3e220750':
Add aarch64 instructions wherever possible
2015-03-04 23:24:45 +00:00
Christopher Ferris
59c324581f
am 1edafd56: am 86ac7341: Merge "Add aarch64 instructions wherever possible"
...
* commit '1edafd561aefe07dd39273c1c09a9dbb308549d6':
Add aarch64 instructions wherever possible
2015-03-04 22:51:40 +00:00
Christopher Ferris
1edafd561a
am 86ac7341: Merge "Add aarch64 instructions wherever possible"
...
* commit '86ac734142a4d0765ceb589e7dcc3af1a4f4a8dd':
Add aarch64 instructions wherever possible
2015-03-04 22:44:43 +00:00
Shu Zhang
c78fa26d47
libm: arm: add arm specific sqrt and sqrtf
...
Add arm specific optimized sqrt and sqrtf.
Change-Id: I8ea417fc98a800c8cf4f47a0c6668c51d927b1dc
2015-03-04 14:07:35 -08:00