Commit Graph

7667 Commits

Author SHA1 Message Date
Calin Juravle
b10e18dda5 am f212bbf6: Merge "Update libm to the upstream head (2014.03.13)"
* commit 'f212bbf666b77777063a3a94a672bcae80b15253':
  Update libm to the upstream head (2014.03.13)
2014-03-14 11:03:42 +00:00
Calin Juravle
f212bbf666 Merge "Update libm to the upstream head (2014.03.13)" 2014-03-14 10:58:18 +00:00
Elliott Hughes
b689105d79 am 143df89f: Merge "Clean up reentrancy cruft."
* commit '143df89f729f39f4286f12daaf9cacf5c4501357':
  Clean up reentrancy cruft.
2014-03-14 09:13:14 +00:00
Elliott Hughes
62188636e2 am 143df89f: Merge "Clean up reentrancy cruft."
* commit '143df89f729f39f4286f12daaf9cacf5c4501357':
  Clean up reentrancy cruft.
2014-03-14 08:55:40 +00:00
Elliott Hughes
143df89f72 Merge "Clean up reentrancy cruft." 2014-03-14 04:58:20 +00:00
Elliott Hughes
d17a7ea467 am d16100c1: Merge "Clean up <stdio.h> macros."
* commit 'd16100c1fb8a39215497243ecb12176e9688ef77':
  Clean up <stdio.h> macros.
2014-03-13 23:23:25 +00:00
Elliott Hughes
16b8b0e12c am d16100c1: Merge "Clean up <stdio.h> macros."
* commit 'd16100c1fb8a39215497243ecb12176e9688ef77':
  Clean up <stdio.h> macros.
2014-03-13 23:19:36 +00:00
Elliott Hughes
18fcb38d0f am 6ece7fc3: Merge "property: fix getting dirty serial value"
* commit '6ece7fc33a389ef9bcbe78a83a6633e4cb4e4743':
  property: fix getting dirty serial value
2014-03-13 23:18:58 +00:00
Elliott Hughes
205c7887ad Clean up reentrancy cruft.
The DNS copy of reentrant.h was unused, so remove it.

The strtod implementation can use the upstream-netbsd reentrant.h and
get a little closer to what was then upstream. (It's since been replaced
by gdtoa, and we'll have to follow at some point, but for now this doesn't
make anything any worse.)

ANDROID_CHANGES is (now) only used in the DNS code, so push the -D
down.

The <locale.h> change prevents an LP32 hack from leaking into LP64.

Change-Id: Idf30b98a59d7ca8f7c6cd6d07020b512057911ef
2014-03-13 16:17:43 -07:00
Elliott Hughes
d16100c1fb Merge "Clean up <stdio.h> macros." 2014-03-13 23:13:58 +00:00
Elliott Hughes
f2cea021ab Clean up <stdio.h> macros.
Also neuter __isthreaded.

We should come back to try to hide struct FILE's internals for LP64.

Bug: 3453512
Bug: 3453550
Change-Id: I7e115329fb4579246a72fea367b9fc8cb6055d18
2014-03-13 14:54:53 -07:00
Elliott Hughes
5321a9e740 am 6ece7fc3: Merge "property: fix getting dirty serial value"
* commit '6ece7fc33a389ef9bcbe78a83a6633e4cb4e4743':
  property: fix getting dirty serial value
2014-03-13 20:21:05 +00:00
Elliott Hughes
6ece7fc33a Merge "property: fix getting dirty serial value" 2014-03-13 20:16:18 +00:00
jiaguo
879d330499 property: fix getting dirty serial value
__system_property_serial just returned serial value without
checking if it is dirty, so check and wait until serial
value is not dirty before return

Change-Id: If485b6251b5555b004912c66c7c2cb455a7fdbdc
Signed-off-by: jiaguo <jiaguo@marvell.com>
2014-03-13 12:42:52 -07:00
Calin Juravle
bd3155dc5d Update libm to the upstream head (2014.03.13)
The most relevant changes are the ones in s_erff.c which should improve
the overall speed of exececution and the maximum error in ULP.

Change-Id: I7bd867f902db418db67f02cd58578624357b1ee8
2014-03-13 16:20:36 +00:00
Elliott Hughes
a315d15493 am 01cd7885: Merge "Upgrade to current upstream scanf implementation."
* commit '01cd78854afe5707f0d5b2b8418de07a55f8fde4':
  Upgrade to current upstream scanf implementation.
2014-03-13 15:54:54 +00:00
Elliott Hughes
723a8eec1e am 0e79338d: Merge "Ensure we always have symbols for atof, strtof, strtold."
* commit '0e79338d12d1ca780efcd0720af92b0a70e55da8':
  Ensure we always have symbols for atof, strtof, strtold.
2014-03-13 15:54:52 +00:00
Mark Salyzyn
53ffaa39e7 am 56e1eebd: Merge "logd: default user space logger"
* commit '56e1eebd39be4830f309603b38e4b1118c544fb3':
  logd: default user space logger
2014-03-13 15:54:45 +00:00
Elliott Hughes
9760604e14 am eef2928f: Merge "Include what you use."
* commit 'eef2928f94ac6ff5659c6177785b47e6fcdd03a2':
  Include what you use.
2014-03-13 15:54:44 +00:00
Elliott Hughes
66b5dcaf1d am 2282e16d: Merge "Use [u]int32_t instead of __[u]int32_t in sys/types.h"
* commit '2282e16d76c6691968bd62a4c4bb3ecefabc98ca':
  Use [u]int32_t instead of __[u]int32_t in sys/types.h
2014-03-13 15:54:43 +00:00
Elliott Hughes
3accf088e8 am ef43a6fb: Merge "Clean up our termios implementation."
* commit 'ef43a6fb0e0c5fb1debd8db83a5b57749e8331fa':
  Clean up our termios implementation.
2014-03-13 15:47:13 +00:00
Elliott Hughes
40078c683a am 76b4f1a3: Merge "More stdio cleanup."
* commit '76b4f1a33caef09891114bf37562968ab627059a':
  More stdio cleanup.
2014-03-13 01:55:48 +00:00
Elliott Hughes
6facd4fd6f am 55f9710a: Merge "Reimplement clock(3) and switch to OpenBSD time(3)."
* commit '55f9710ac4843b4a5d2c8b03ade3d2bddd1fdf46':
  Reimplement clock(3) and switch to OpenBSD time(3).
2014-03-13 01:55:48 +00:00
Elliott Hughes
d47674b777 am 753e1399: Merge "Add a basic unit test for system(3)."
* commit '753e1399060c08072a8fb17eb297889a2ae987d0':
  Add a basic unit test for system(3).
2014-03-13 01:55:47 +00:00
Elliott Hughes
da1f2abfbe am dd8c7863: Merge "Add various benchmarks."
* commit 'dd8c7863c613290acaa8bc4b90af34f020e0bee3':
  Add various benchmarks.
2014-03-13 01:55:47 +00:00
Calin Juravle
ba3f904fbf am 5810bcf3: Merge "Sysconfig fixes"
* commit '5810bcf381e28e423a782af9bf53c05085b09926':
  Sysconfig fixes
2014-03-13 01:55:16 +00:00
Calin Juravle
f6028c31f6 am 40c31ade: Merge "Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr"
* commit '40c31ade2c854ad61ab43bd5dbd66979efcea4c5':
  Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr
2014-03-13 01:55:15 +00:00
Elliott Hughes
fee4263f0b am 10f6beb3: Merge "Add system/extras strftime and strptime tests."
* commit '10f6beb3eb46cb2488427f58dccdd7bbfab5a250':
  Add system/extras strftime and strptime tests.
2014-03-13 01:55:09 +00:00
Elliott Hughes
04f1c8caf6 am 2cd3490d: Merge "Take ownership of various simple syscall wrappers."
* commit '2cd3490d7bdb18e5051a3cc66e7d03635bbcbeaf':
  Take ownership of various simple syscall wrappers.
2014-03-13 01:55:02 +00:00
Elliott Hughes
b17983a199 am a3056591: Merge "Switch to NetBSD utmp.c."
* commit 'a3056591960f9d9f646135ee20804cc1a9e41106':
  Switch to NetBSD utmp.c.
2014-03-13 01:54:42 +00:00
Elliott Hughes
a78cda3f51 am ec674b4d: Merge "Switch to upstream FreeBSD ldexp.c."
* commit 'ec674b4d064d923818d0deba9f8378d13ff6451a':
  Switch to upstream FreeBSD ldexp.c.
2014-03-13 01:54:40 +00:00
Elliott Hughes
e3ff496aac am 21d9e58d: Merge "Rename the stack protector intermediate library."
* commit '21d9e58d01080c7494c639ed3bd9e6c805e022d8':
  Rename the stack protector intermediate library.
2014-03-13 01:54:40 +00:00
Elliott Hughes
8cd3638641 am 01cd7885: Merge "Upgrade to current upstream scanf implementation."
* commit '01cd78854afe5707f0d5b2b8418de07a55f8fde4':
  Upgrade to current upstream scanf implementation.
2014-03-13 00:55:56 +00:00
Elliott Hughes
01cd78854a Merge "Upgrade to current upstream scanf implementation." 2014-03-13 00:49:23 +00:00
Elliott Hughes
603332fc4c Upgrade to current upstream scanf implementation.
Also add a basic test.

Change-Id: Icc0e68a5716b9579244f6eb8bac1ab5a24eda85a
2014-03-12 17:10:41 -07:00
Elliott Hughes
f3d83fa955 am 0e79338d: Merge "Ensure we always have symbols for atof, strtof, strtold."
* commit '0e79338d12d1ca780efcd0720af92b0a70e55da8':
  Ensure we always have symbols for atof, strtof, strtold.
2014-03-12 23:36:54 +00:00
Elliott Hughes
0e79338d12 Merge "Ensure we always have symbols for atof, strtof, strtold." 2014-03-12 23:32:37 +00:00
Elliott Hughes
5a8173860d Ensure we always have symbols for atof, strtof, strtold.
We'll need a better implementation of strtold for LP64, but all our
long double functions are currently broken for LP64 anyway so this
isn't a regression.

Change-Id: I2bdebac11245d31521d5fa09a16331c03dc4339c
2014-03-12 16:12:57 -07:00
Mark Salyzyn
5b6759035b am 56e1eebd: Merge "logd: default user space logger"
* commit '56e1eebd39be4830f309603b38e4b1118c544fb3':
  logd: default user space logger
2014-03-12 21:07:06 +00:00
Mark Salyzyn
56e1eebd39 Merge "logd: default user space logger" 2014-03-12 21:02:46 +00:00
Elliott Hughes
6a250387c7 am eef2928f: Merge "Include what you use."
* commit 'eef2928f94ac6ff5659c6177785b47e6fcdd03a2':
  Include what you use.
2014-03-12 20:56:22 +00:00
Elliott Hughes
b51e4216e8 am 2282e16d: Merge "Use [u]int32_t instead of __[u]int32_t in sys/types.h"
* commit '2282e16d76c6691968bd62a4c4bb3ecefabc98ca':
  Use [u]int32_t instead of __[u]int32_t in sys/types.h
2014-03-12 20:52:56 +00:00
Elliott Hughes
eef2928f94 Merge "Include what you use." 2014-03-12 20:51:48 +00:00
Elliott Hughes
40488560c1 Include what you use.
Don't rely on transitive includes. (Even though that works fine in AOSP.)

Change-Id: Ifc06575e4aea383cfff24d6c5c14fc0a7aabdf2b
2014-03-12 13:50:38 -07:00
Elliott Hughes
2282e16d76 Merge "Use [u]int32_t instead of __[u]int32_t in sys/types.h" 2014-03-12 20:48:39 +00:00
Pavel Chupin
2725ca95b2 Use [u]int32_t instead of __[u]int32_t in sys/types.h
Avoid this error in -ffreestanding mode:
sys/types.h:45:1: error: unknown type name '__uint32_t'

Change-Id: I826b36873862d1d70b47401f31f4369a77666b8e
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2014-03-13 00:23:43 +04:00
Mark Salyzyn
c1005aaf8e logd: default user space logger
Change-Id: Id205b01537940051c72d79def28a3c1a8b169a21
2014-03-12 13:17:38 -07:00
Elliott Hughes
2e1f5f09d9 am ef43a6fb: Merge "Clean up our termios implementation."
* commit 'ef43a6fb0e0c5fb1debd8db83a5b57749e8331fa':
  Clean up our termios implementation.
2014-03-12 02:43:08 +00:00
Elliott Hughes
ef43a6fb0e Merge "Clean up our termios implementation." 2014-03-12 02:25:22 +00:00
Elliott Hughes
8d4b5849f2 Clean up our termios implementation.
It's safe to fix our constant definitions because we know we never
had symbols before, so can't be passing the bad old constants to the new
functions, or the correct new constants to the old inlines.

Change-Id: I858fc680df39bdd3ba471e867833bdfa71f6224e
2014-03-11 19:13:25 -07:00