Commit Graph

8731 Commits

Author SHA1 Message Date
Calin Juravle
5491a4fd4d am 08589ca2: am e5205d35: am 089c7c92: Merge "Document a known test issue in stdio_test.cpp."
* commit '08589ca235a82a7cdfb14db16c8e84a11d12f93d':
  Document a known test issue in stdio_test.cpp.
2014-05-15 10:34:37 +00:00
Calin Juravle
bfcc82b3c0 am 4c9eab72: am 83c94c6d: am 98efae4c: Merge "Fill in missing bits in x86(_64) ucontext_t"
* commit '4c9eab723481df5921296c2dba2dbdd8a81b1395':
  Fill in missing bits in x86(_64) ucontext_t
2014-05-15 10:34:37 +00:00
Calin Juravle
08589ca235 am e5205d35: am 089c7c92: Merge "Document a known test issue in stdio_test.cpp."
* commit 'e5205d35efb594cf1f645237b85114da45c2a352':
  Document a known test issue in stdio_test.cpp.
2014-05-15 09:42:04 +00:00
Calin Juravle
4c9eab7234 am 83c94c6d: am 98efae4c: Merge "Fill in missing bits in x86(_64) ucontext_t"
* commit '83c94c6d60d6615c69cb0548c1b846f210f93262':
  Fill in missing bits in x86(_64) ucontext_t
2014-05-15 09:42:04 +00:00
Calin Juravle
e5205d35ef am 089c7c92: Merge "Document a known test issue in stdio_test.cpp."
* commit '089c7c921786ff6255526feec96552fc16ada7f4':
  Document a known test issue in stdio_test.cpp.
2014-05-15 09:38:08 +00:00
Calin Juravle
83c94c6d60 am 98efae4c: Merge "Fill in missing bits in x86(_64) ucontext_t"
* commit '98efae4c09ba05c5b25c95ea4a39b0711e6f8b98':
  Fill in missing bits in x86(_64) ucontext_t
2014-05-15 09:38:08 +00:00
Calin Juravle
089c7c9217 Merge "Document a known test issue in stdio_test.cpp." 2014-05-15 09:36:22 +00:00
Calin Juravle
98efae4c09 Merge "Fill in missing bits in x86(_64) ucontext_t" 2014-05-15 09:36:01 +00:00
Calin Juravle
9b95ea936a Document a known test issue in stdio_test.cpp.
Bug: 13077905
Change-Id: Iab7fc7be0737c732e26cc07ecd7884b3087b51bb
2014-05-15 10:34:06 +01:00
Calin Juravle
a6ab968ca0 Fill in missing bits in x86(_64) ucontext_t
Bug: 12828904
Bug: 12875898
Change-Id: I0ec0dfe16af80bfb3153f3c3b1b3d180eff30f39
2014-05-15 10:34:06 +01:00
Andrew Hsieh
61c88b5648 am 5d76a6c2: am c67e917a: am d0a89921: Merge "Rename user_i387_struct -> user_fpregs_struct in sys/ucontext.h"
* commit '5d76a6c26e47cbd1b9c98b0151dda1677db32af6':
  Rename  user_i387_struct -> user_fpregs_struct in sys/ucontext.h
2014-05-15 01:59:52 +00:00
Andrew Hsieh
5d76a6c26e am c67e917a: am d0a89921: Merge "Rename user_i387_struct -> user_fpregs_struct in sys/ucontext.h"
* commit 'c67e917abc57c189411621032232f3d18773c66a':
  Rename  user_i387_struct -> user_fpregs_struct in sys/ucontext.h
2014-05-15 01:56:15 +00:00
Andrew Hsieh
c67e917abc am d0a89921: Merge "Rename user_i387_struct -> user_fpregs_struct in sys/ucontext.h"
* commit 'd0a899215b27254661ef9af90aea31343ffc4367':
  Rename  user_i387_struct -> user_fpregs_struct in sys/ucontext.h
2014-05-15 01:54:28 +00:00
Andrew Hsieh
d0a899215b Merge "Rename user_i387_struct -> user_fpregs_struct in sys/ucontext.h" 2014-05-15 01:52:22 +00:00
Elliott Hughes
15b641a267 Move libstdc++ into libc.
The Android build system always links against libstdc++.so anyway. Having
operator new and operator delete in a separate library means we can't use
constructors and destructors on heap-allocated objects inside the C library,
which is quite an unfortunate limitation.

This will be cheaper too; on LP64 we can stop linking against the [now empty]
libstdc++.so giving the dynamic linker one less library to worry about for
every process.

There's precedent too --- we already have no libpthread or librt.

For now I'm leaving the include files where they are, and I'm generating a
dummy libstdc++.so and libstdc++.a. We can come back and clean that up later
if all goes well.

Bug: 13367666
Change-Id: I6f3e27ea7c30d03d6394965d0400c9dc87fa83db
2014-05-14 18:18:55 -07:00
Christopher Ferris
4903b31733 am 70240fda: am 493cfc33: am 1596b884: Merge "Increase minimum thread size for 64 bit."
* commit '70240fda03d5a375b6bb4e25dd50d1e7803a140e':
  Increase minimum thread size for 64 bit.
2014-05-15 01:13:50 +00:00
Christopher Ferris
70240fda03 am 493cfc33: am 1596b884: Merge "Increase minimum thread size for 64 bit."
* commit '493cfc338bb42dd1df77accd06d92aa736293709':
  Increase minimum thread size for 64 bit.
2014-05-15 01:11:16 +00:00
Andrew Hsieh
9b5b40b4df Rename user_i387_struct -> user_fpregs_struct in sys/ucontext.h
See 93e1907ae1

Change-Id: Icb207f4e17cfffdd6d37500656434adf1cc34427
2014-05-15 09:11:11 +08:00
Christopher Ferris
493cfc338b am 1596b884: Merge "Increase minimum thread size for 64 bit."
* commit '1596b884648642ad09f87d2a0dc4db47f037b6d7':
  Increase minimum thread size for 64 bit.
2014-05-15 01:09:29 +00:00
Christopher Ferris
1596b88464 Merge "Increase minimum thread size for 64 bit." 2014-05-15 01:06:25 +00:00
Christopher Ferris
ea5248ee1b Increase minimum thread size for 64 bit.
Bug: 14468519
Change-Id: I642a5515acf5fbed46e77e176f6b5dd3b7c7bd45
2014-05-14 18:02:11 -07:00
Elliott Hughes
71db4f6571 am e05c4ebb: am 4cbb778b: am f280130f: Merge "Remove the unused __system_property_wait."
* commit 'e05c4ebb651dc73ba86ae45242707c285847df2b':
  Remove the unused __system_property_wait.
2014-05-15 00:30:41 +00:00
Elliott Hughes
e05c4ebb65 am 4cbb778b: am f280130f: Merge "Remove the unused __system_property_wait."
* commit '4cbb778beb9cfc6cae88468413c80430424e6438':
  Remove the unused __system_property_wait.
2014-05-15 00:23:52 +00:00
Elliott Hughes
4cbb778beb am f280130f: Merge "Remove the unused __system_property_wait."
* commit 'f280130f3fd6719cee3a4cb42155dcef44665ea0':
  Remove the unused __system_property_wait.
2014-05-15 00:22:12 +00:00
Elliott Hughes
f280130f3f Merge "Remove the unused __system_property_wait." 2014-05-15 00:20:00 +00:00
Christopher Ferris
0799b77011 am d849068a: am cd5b7920: am bc7f8a79: Merge "Do not keep struct state on the stack."
* commit 'd849068a35040083ef56cfe457011bbf3a0d305c':
  Do not keep struct state on the stack.
2014-05-15 00:12:30 +00:00
Christopher Ferris
d849068a35 am cd5b7920: am bc7f8a79: Merge "Do not keep struct state on the stack."
* commit 'cd5b7920395f00c767d57c096dfcd713e9e25326':
  Do not keep struct state on the stack.
2014-05-15 00:07:37 +00:00
Christopher Ferris
cd5b792039 am bc7f8a79: Merge "Do not keep struct state on the stack."
* commit 'bc7f8a791b4a510914fd5cac713415acb80fb806':
  Do not keep struct state on the stack.
2014-05-15 00:05:17 +00:00
Elliott Hughes
3e786987b5 Remove the unused __system_property_wait.
This isn't declared in any header file.

Bug: 14970171
Change-Id: Ib9fce61343dfb6b6ccd7e1430e1a6e34e4e869df
2014-05-14 17:02:09 -07:00
Christopher Ferris
bc7f8a791b Merge "Do not keep struct state on the stack." 2014-05-15 00:00:50 +00:00
Elliott Hughes
00f2ab2054 am 370892c4: am f015757f: am 1e07463f: Merge "Add tests for fprintf behavior when the underlying fd is bad."
* commit '370892c42d95ac37fad68f0b7aab90f82609903f':
  Add tests for fprintf behavior when the underlying fd is bad.
2014-05-15 00:00:38 +00:00
Elliott Hughes
370892c42d am f015757f: am 1e07463f: Merge "Add tests for fprintf behavior when the underlying fd is bad."
* commit 'f015757fc6c36c63ff2f3332093e3527c579bfdb':
  Add tests for fprintf behavior when the underlying fd is bad.
2014-05-14 23:56:02 +00:00
Elliott Hughes
f015757fc6 am 1e07463f: Merge "Add tests for fprintf behavior when the underlying fd is bad."
* commit '1e07463fcc92e515f7f57e9faa94f31e02cd07cb':
  Add tests for fprintf behavior when the underlying fd is bad.
2014-05-14 23:51:56 +00:00
Christopher Ferris
8a8b0c9bfc Do not keep struct state on the stack.
This structure is huge (~18000 bytes on arm64) and can blow out
the stack very easily.
Modify the code to allocate these structures instead of leaving them
on the stack.

Bug: 14468519
Change-Id: I774f71235d896d32a14ab1af06f95ca9ef819f52
2014-05-14 16:50:41 -07:00
Elliott Hughes
1e07463fcc Merge "Add tests for fprintf behavior when the underlying fd is bad." 2014-05-14 23:35:31 +00:00
Dmitriy Ivanov
d59e50063a Improve detection of already loaded libraries
Linker is now able to resolve symlinked libraries correctly.

soinfo is extended to save the graph of dependencies during
load/unload. Dependencies are used only in CallConstructor.

Bug: 9741592
Change-Id: Id9c48a74c46aa89bcdf3d54ec2f8ba3d398130b1
2014-05-14 15:16:35 -07:00
Dmitriy Ivanov
82935da8a6 am 3d80e36a: am 283ec625: am 6897b7b8: Merge "Fix for linker allocator"
* commit '3d80e36a85414e09f7ccbdd71c7a196704344c92':
  Fix for linker allocator
2014-05-14 21:09:40 +00:00
Dmitriy Ivanov
3d80e36a85 am 283ec625: am 6897b7b8: Merge "Fix for linker allocator"
* commit '283ec6256bdde5685f224efdc67a061cc611b33a':
  Fix for linker allocator
2014-05-14 21:07:21 +00:00
Elliott Hughes
0fdfa216d4 am c04a2061: am f5b79eba: am fbd9dcad: Merge "Add a unit test for already-fixed printf -0.0 formatting."
* commit 'c04a20613a0e438e4dcdafc2632470fbee47c3f3':
  Add a unit test for already-fixed printf -0.0 formatting.
2014-05-14 21:05:33 +00:00
Dmitriy Ivanov
283ec6256b am 6897b7b8: Merge "Fix for linker allocator"
* commit '6897b7b8b95beae120fd53e6fd15921d6420bea7':
  Fix for linker allocator
2014-05-14 21:04:17 +00:00
Dmitriy Ivanov
6897b7b8b9 Merge "Fix for linker allocator" 2014-05-14 21:02:18 +00:00
Elliott Hughes
c9244bdac1 Add tests for fprintf behavior when the underlying fd is bad.
Bug: 7229520
Change-Id: Ie878e0c13fdcda7b9131fa56208b84ed88125be7
2014-05-14 13:31:35 -07:00
Elliott Hughes
c04a20613a am f5b79eba: am fbd9dcad: Merge "Add a unit test for already-fixed printf -0.0 formatting."
* commit 'f5b79eba6fae370316987f2d8f7399a641909fe7':
  Add a unit test for already-fixed printf -0.0 formatting.
2014-05-14 20:18:37 +00:00
Elliott Hughes
f5b79eba6f am fbd9dcad: Merge "Add a unit test for already-fixed printf -0.0 formatting."
* commit 'fbd9dcadc8e25b22c99596462669017b9b1b4a7c':
  Add a unit test for already-fixed printf -0.0 formatting.
2014-05-14 20:14:36 +00:00
Elliott Hughes
fbd9dcadc8 Merge "Add a unit test for already-fixed printf -0.0 formatting." 2014-05-14 20:11:23 +00:00
Sreeram Ramachandran
c184a7a0ad am 62090bb6: am d2ac8787: am 49ec2a0c: Merge "Mark sockets on accept()."
* commit '62090bb6b9b3a38820dfd758ffccf0e94a3eb943':
  Mark sockets on accept().
2014-05-14 19:54:25 +00:00
Elliott Hughes
ad25b331c6 am c1a5bc96: am deedbebb: am acc51369: Merge "Add a regression test for a long-fixed pthread_once bug."
* commit 'c1a5bc96fb84a16dc1f4cae7919413be2b3912f0':
  Add a regression test for a long-fixed pthread_once bug.
2014-05-14 19:54:24 +00:00
Elliott Hughes
f693d2916b am c6057a5f: am d60d67db: am aeec2ae7: Merge "Remove the broken pthread deadlock prediction."
* commit 'c6057a5f618cca842432c3a28af1a9293b551aff':
  Remove the broken pthread deadlock prediction.
2014-05-14 19:54:24 +00:00
Dmitriy Ivanov
1079406cab Fix for linker allocator
Change-Id: I18a3f1a8515657f0deb69266184fb516a27f90e8
2014-05-14 12:52:57 -07:00
Sreeram Ramachandran
62090bb6b9 am d2ac8787: am 49ec2a0c: Merge "Mark sockets on accept()."
* commit 'd2ac8787496422ee70e44f6e5abf65b570015470':
  Mark sockets on accept().
2014-05-14 19:51:36 +00:00