android-sdk/platform-bionic.git
6 years agoMerge "Add support for hash-style=gnu"
Dmitriy Ivanov [Thu, 13 Nov 2014 02:10:30 +0000 (02:10 +0000)]
Merge "Add support for hash-style=gnu"

6 years agoMerge "Add documentation about checkbuild."
Dan Albert [Thu, 13 Nov 2014 01:14:26 +0000 (01:14 +0000)]
Merge "Add documentation about checkbuild."

6 years agoAdd documentation about checkbuild.
Dan Albert [Thu, 13 Nov 2014 01:08:38 +0000 (17:08 -0800)]
Add documentation about checkbuild.

Change-Id: I2c2d06bc0dc3cdc58b5563f62889122b76f3c469

6 years agoAdd support for hash-style=gnu
Dmitriy Ivanov [Mon, 10 Nov 2014 03:27:20 +0000 (19:27 -0800)]
Add support for hash-style=gnu

Change-Id: I171434a587420895feac8a9b1ad2342087197568

6 years agoMerge "Add 64-bit slm optimized strlcpy and srlcat."
Christopher Ferris [Wed, 12 Nov 2014 23:17:59 +0000 (23:17 +0000)]
Merge "Add 64-bit slm optimized strlcpy and srlcat."

6 years agoMerge "implement missing seekdir and telldir"
Yabin Cui [Wed, 12 Nov 2014 20:36:25 +0000 (20:36 +0000)]
Merge "implement missing seekdir and telldir"

6 years agoMerge "gethostname.c: change to report ENAMETOOLONG error when buflen is less"
Elliott Hughes [Wed, 12 Nov 2014 20:09:59 +0000 (20:09 +0000)]
Merge "gethostname.c: change to report ENAMETOOLONG error when buflen is less"

6 years agoMerge "bionic tests: migrate gethostname test to unistd_test.cpp from system/extras"
Elliott Hughes [Wed, 12 Nov 2014 20:08:57 +0000 (20:08 +0000)]
Merge "bionic tests: migrate gethostname test to unistd_test.cpp from system/extras"

6 years agogethostname.c: change to report ENAMETOOLONG error when buflen is less
Yongqin Liu [Thu, 30 Oct 2014 08:34:55 +0000 (16:34 +0800)]
gethostname.c: change to report ENAMETOOLONG error when buflen is less

change to behaviour the same as glibc for the check about buflen

Change-Id: I98265a8fe441df6fed2527686f89b087364ca53d
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
6 years agobionic tests: migrate gethostname test to unistd_test.cpp from system/extras
Derek Xue [Thu, 25 Sep 2014 10:12:01 +0000 (11:12 +0100)]
bionic tests: migrate gethostname test to unistd_test.cpp from system/extras

The old tests are implemented in file
    system/extras/tests/bionic/libc/common/test_gethostname.c
Here migrate the test to the tests/unistd_test.cpp file and
add some more checks

Change-Id: Iab1e3da873bb333d1ddefc03108d536933792db2
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
6 years agoAdd 64-bit slm optimized strlcpy and srlcat.
Varvara Rainchik [Mon, 10 Nov 2014 12:15:58 +0000 (15:15 +0300)]
Add 64-bit slm optimized strlcpy and srlcat.

Change-Id: Ic948934d91c83bbfdfd00c05ee8b14952e012549
Signed-off-by: Varvara Rainchik <varvara.rainchik@intel.com>
6 years agoMerge "Upgrade bionic to tzdata2014j."
Elliott Hughes [Wed, 12 Nov 2014 02:32:09 +0000 (02:32 +0000)]
Merge "Upgrade bionic to tzdata2014j."

6 years agoUpgrade bionic to tzdata2014j.
Elliott Hughes [Wed, 12 Nov 2014 00:44:21 +0000 (16:44 -0800)]
Upgrade bionic to tzdata2014j.

From the release notes:

   Changes affecting current and future time stamps

     Turks & Caicos' switch from US eastern time to UTC-4 year-round
     did not occur on 2014-11-02 at 02:00.  It's currently scheduled
     for 2015-11-01 at 02:00.  (Thanks to Chris Walton.)

   Changes affecting past time stamps

     Many pre-1989 time stamps have been corrected for Asia/Seoul and
     Asia/Pyongyang, based on sources for the Korean-language Wikipedia
     entry for time in Korea.  (Thanks to Sanghyuk Jung.)  Also, no
     longer guess that Pyongyang mimicked Seoul time after World War II,
     as this is politically implausible.

     Some more zones have been turned into links, when they differed
     from existing zones only for older time stamps.  As usual,
     these changes affect UTC offsets in pre-1970 time stamps only.
     Their old contents have been moved to the 'backzone' file.
     The affected zones are: Africa/Addis_Ababa, Africa/Asmara,
     Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Kampala,
     Africa/Mogadishu, Indian/Antananarivo, Indian/Comoro, and
     Indian/Mayotte.

Bug: 18330681
Change-Id: I4b6939b4dcf08c47df5595ae445b6f44f4a03418

6 years agoMerge "Fix tzdata update tools for 'backzone'."
Elliott Hughes [Wed, 12 Nov 2014 00:42:49 +0000 (00:42 +0000)]
Merge "Fix tzdata update tools for 'backzone'."

6 years agoFix tzdata update tools for 'backzone'.
Elliott Hughes [Tue, 11 Nov 2014 22:10:51 +0000 (14:10 -0800)]
Fix tzdata update tools for 'backzone'.

To maintain the status quo, we need to pull in backzone file. This file
can't be built on its own, so the easiest fix is to give zic(1) all the
files at once.

We also now have a situation where we have links to links, so we need to
dereference them until we find actual data.

Bug: 18330681
Change-Id: I03f4aa8e6e23802dc35cbff2f74f325eb17d7b2b

6 years agoMerge "bionic: libc: Added path to vendor build properties file."
Daniel Rosenberg [Tue, 11 Nov 2014 20:40:03 +0000 (20:40 +0000)]
Merge "bionic: libc: Added path to vendor build properties file."

6 years agobionic: libc: Added path to vendor build properties file.
Daniel Rosenberg [Tue, 11 Nov 2014 00:59:57 +0000 (16:59 -0800)]
bionic: libc: Added path to vendor build properties file.

Change-Id: Ia9fc257a82fdd592751cbcde3fcf453a49856f62
Signed-off-by: Daniel Rosenberg <drosen@google.com>
6 years agoMerge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"
Andreas Gampe [Tue, 11 Nov 2014 19:17:55 +0000 (19:17 +0000)]
Merge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"

6 years agoBionic: Make DISALLOW_COPY_AND_ASSIGN conditional
Andreas Gampe [Tue, 11 Nov 2014 06:04:08 +0000 (22:04 -0800)]
Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional

Make the definition of DISALLOW_COPY_AND_ASSIGN conditional. This is
so that the projects that include libnativehelper and bionic macros
do not have to be careful in which order those projects are included.

Bug: 18334516
Change-Id: Ib12a2c2b7ad2e360edcf3b26cb1be626540fadc1

6 years agoMerge "Add align/overread tests for strlcpy/strlcat."
Christopher Ferris [Mon, 10 Nov 2014 23:38:21 +0000 (23:38 +0000)]
Merge "Add align/overread tests for strlcpy/strlcat."

6 years agoMerge "Add the <dirent.h> feature macros glibc uses."
Elliott Hughes [Mon, 10 Nov 2014 23:18:35 +0000 (23:18 +0000)]
Merge "Add the <dirent.h> feature macros glibc uses."

6 years agoAdd the <dirent.h> feature macros glibc uses.
Elliott Hughes [Mon, 10 Nov 2014 22:56:49 +0000 (14:56 -0800)]
Add the <dirent.h> feature macros glibc uses.

Change-Id: I4da92b67d410839ea4ef0beaaa6c5cca06b74c0d

6 years agoAdd align/overread tests for strlcpy/strlcat.
Christopher Ferris [Mon, 10 Nov 2014 21:58:17 +0000 (13:58 -0800)]
Add align/overread tests for strlcpy/strlcat.

Change-Id: I2801c7ee1847cd68ec95eba5bdffde5e52edf1e5

6 years agoMerge "Remove temporary compatibility hack."
Elliott Hughes [Mon, 10 Nov 2014 19:32:51 +0000 (19:32 +0000)]
Merge "Remove temporary compatibility hack."

6 years agoRemove temporary compatibility hack.
Elliott Hughes [Mon, 10 Nov 2014 19:24:51 +0000 (11:24 -0800)]
Remove temporary compatibility hack.

The callers have been fixed.

Bug: 18298106
Change-Id: I65e24032d0a82c4b118abace854d2dcdada881fb

6 years agoMerge "Fix struct stat to match POSIX 2008."
Elliott Hughes [Mon, 10 Nov 2014 17:25:08 +0000 (17:25 +0000)]
Merge "Fix struct stat to match POSIX 2008."

6 years agoFix struct stat to match POSIX 2008.
Elliott Hughes [Sat, 8 Nov 2014 03:15:10 +0000 (19:15 -0800)]
Fix struct stat to match POSIX 2008.

Our representation of sub-second times matched the Linux kernel, and we
provided macros for glibc source compatibility. This change switches us
over to match POSIX 2008, adds the macros they insist on (for compatibility
with earlier versions of POSIX), and also adds macros for compatibility
with any code that expects the kernel or old bionic names.

Unfortunately this breaks strace which defines its own structures using
the kernel names, and thus implicitly assumes that there are no macros with
those names, but this does allow the rest of the tree to build.

Bug: 18298106
Change-Id: Ibfa8c21cb2a2566091ef3dc2019a9f78d2de2991

6 years agoMerge "Add sethostname(2)."
Elliott Hughes [Sat, 8 Nov 2014 00:55:20 +0000 (00:55 +0000)]
Merge "Add sethostname(2)."

6 years agoAdd sethostname(2).
Elliott Hughes [Sat, 8 Nov 2014 00:07:13 +0000 (16:07 -0800)]
Add sethostname(2).

Not very useful, but helps building stuff like toybox out of the box.

Change-Id: I110e39030452bd093a84278e019c5752d293718d

6 years agoimplement missing seekdir and telldir
Yabin Cui [Fri, 7 Nov 2014 03:55:09 +0000 (19:55 -0800)]
implement missing seekdir and telldir

Bug: 18266863
Change-Id: I189ee949d4f7ccee099f3341e349cd969d25480f

6 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD
The Android Open Source Project [Fri, 7 Nov 2014 01:43:39 +0000 (17:43 -0800)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD

6 years agoam 08a70184: Merge "Add POSIX lcong48."
Elliott Hughes [Fri, 7 Nov 2014 00:58:34 +0000 (00:58 +0000)]
am 08a70184: Merge "Add POSIX lcong48."

* commit '08a70184b42ef2963794a56233b0253e0b367253':
  Add POSIX lcong48.

6 years agoMerge "Implement all the POSIX _l functions."
Elliott Hughes [Thu, 6 Nov 2014 23:58:07 +0000 (23:58 +0000)]
Merge "Implement all the POSIX _l functions."

6 years agoImplement all the POSIX _l functions.
Elliott Hughes [Thu, 6 Nov 2014 23:04:08 +0000 (15:04 -0800)]
Implement all the POSIX _l functions.

Strictly speaking, this only implements the _l variants of the functions
we actually have. We're still missing nl_langinfo_l, for example, but we
don't have nl_langinfo either.

Change-Id: Ie711c7b04e7b9100932a13f5a5d5b28847eb4c12

6 years agoMerge "Add POSIX lcong48."
Elliott Hughes [Thu, 6 Nov 2014 22:21:53 +0000 (22:21 +0000)]
Merge "Add POSIX lcong48."

6 years agoAdd POSIX lcong48.
Elliott Hughes [Thu, 6 Nov 2014 20:40:08 +0000 (12:40 -0800)]
Add POSIX lcong48.

Change-Id: I821046816661d77275cb02c8c99d526bb41afb9c

6 years agoam 39ba3035: Merge "Fix our <complex.h> support."
Elliott Hughes [Thu, 6 Nov 2014 19:48:17 +0000 (19:48 +0000)]
am 39ba3035: Merge "Fix our <complex.h> support."

* commit '39ba30354a3890dd653ab55819d38eed3855edaa':
  Fix our <complex.h> support.

6 years agoMerge "Fix our <complex.h> support."
Elliott Hughes [Thu, 6 Nov 2014 19:43:17 +0000 (19:43 +0000)]
Merge "Fix our <complex.h> support."

6 years agoam 99cf8d08: Merge "make all bionic death tests not dumpable"
Yabin Cui [Thu, 6 Nov 2014 19:22:17 +0000 (19:22 +0000)]
am 99cf8d08: Merge "make all bionic death tests not dumpable"

* commit '99cf8d08c95470c34e530c068d1325cb6656e760':
  make all bionic death tests not dumpable

6 years agoFix our <complex.h> support.
Elliott Hughes [Thu, 6 Nov 2014 19:16:55 +0000 (11:16 -0800)]
Fix our <complex.h> support.

We build libm with -fvisibility=hidden, so we weren't exporting any
of the <complex.h> functions.

We also weren't building many of the functions anyway.

We were also missing the complex inverse trigonometric functions.

And because we didn't even have perfunctory "call each function once"
tests, we didn't notice that we weren't exporting any symbols, so this
patch adds at least that level of testing.

Change-Id: Ibcf2843f507126c51d134cc5fc8d67747e033a0d

6 years agoMerge "make all bionic death tests not dumpable"
Yabin Cui [Thu, 6 Nov 2014 19:14:33 +0000 (19:14 +0000)]
Merge "make all bionic death tests not dumpable"

6 years agomake all bionic death tests not dumpable
Yabin Cui [Thu, 6 Nov 2014 02:01:01 +0000 (18:01 -0800)]
make all bionic death tests not dumpable

Bug: 18067305

Change-Id: Ia1ecacf47eddecc9bc58aaac779e0c218f463179

6 years agoam a80f11ba: Merge "Add support for listing missing POSIX 2013 symbols."
Elliott Hughes [Thu, 6 Nov 2014 06:08:32 +0000 (06:08 +0000)]
am a80f11ba: Merge "Add support for listing missing POSIX 2013 symbols."

* commit 'a80f11ba99a078515aa7e06dc99db62a475a7b53':
  Add support for listing missing POSIX 2013 symbols.

6 years agoMerge "Add support for listing missing POSIX 2013 symbols."
Elliott Hughes [Thu, 6 Nov 2014 06:05:38 +0000 (06:05 +0000)]
Merge "Add support for listing missing POSIX 2013 symbols."

6 years agoAdd support for listing missing POSIX 2013 symbols.
Elliott Hughes [Thu, 6 Nov 2014 00:22:26 +0000 (16:22 -0800)]
Add support for listing missing POSIX 2013 symbols.

Change-Id: Ic51787890f837f74a22ca63d64a5710474d00cbc

6 years agoam 23113831: Merge "check invalid file offset when loading library"
Yabin Cui [Wed, 5 Nov 2014 20:12:36 +0000 (20:12 +0000)]
am 23113831: Merge "check invalid file offset when loading library"

* commit '2311383180aee9388d28b03901a1e4ef021bcfa7':
  check invalid file offset when loading library

6 years agoMerge "check invalid file offset when loading library"
Yabin Cui [Wed, 5 Nov 2014 19:56:00 +0000 (19:56 +0000)]
Merge "check invalid file offset when loading library"

6 years agoam c13a2044: Merge "Fix newlocale with a NULL locale name."
Elliott Hughes [Wed, 5 Nov 2014 02:42:07 +0000 (02:42 +0000)]
am c13a2044: Merge "Fix newlocale with a NULL locale name."

* commit 'c13a2044e3b4d6084ef7ed32fb35e63e4157a96a':
  Fix newlocale with a NULL locale name.

6 years agoam 57df00a4: Merge "Improve math tests to allow a specific ulp bound."
Elliott Hughes [Wed, 5 Nov 2014 02:42:05 +0000 (02:42 +0000)]
am 57df00a4: Merge "Improve math tests to allow a specific ulp bound."

* commit '57df00a4107d59f82732306c1e199ffa63f76f9b':
  Improve math tests to allow a specific ulp bound.

6 years agoam 6c8f2475: Merge "Fix warning of missing field initializer."
Chih-Hung Hsieh [Wed, 5 Nov 2014 02:41:55 +0000 (02:41 +0000)]
am 6c8f2475: Merge "Fix warning of missing field initializer."

* commit '6c8f247581890a25fb899767db220a8245859f71':
  Fix warning of missing field initializer.

6 years agoMerge "Fix newlocale with a NULL locale name."
Elliott Hughes [Wed, 5 Nov 2014 02:20:55 +0000 (02:20 +0000)]
Merge "Fix newlocale with a NULL locale name."

6 years agoFix newlocale with a NULL locale name.
Elliott Hughes [Wed, 5 Nov 2014 02:03:44 +0000 (18:03 -0800)]
Fix newlocale with a NULL locale name.

Bug: https://code.google.com/p/android/issues/detail?id=78567
Change-Id: I272dabc12ab186b44a525c7e8ac1846e62334e85

6 years agoMerge "Improve math tests to allow a specific ulp bound."
Elliott Hughes [Wed, 5 Nov 2014 02:02:18 +0000 (02:02 +0000)]
Merge "Improve math tests to allow a specific ulp bound."

6 years agoImprove math tests to allow a specific ulp bound.
Elliott Hughes [Tue, 4 Nov 2014 01:03:20 +0000 (17:03 -0800)]
Improve math tests to allow a specific ulp bound.

At the moment our libm is only good enough for a 1 ulp bound on these tests,
but that's better than the 4 ulp bound you get from gtest by default.

I'm not really happy with the multiple structures and corresponding functions,
but at least they mean there's no duplication in the tests themselves, and it
should be easy enough for us to make further improvements in future.

Change-Id: I004e12970332e1d9531721361d6c34f908cfcecc

6 years agoMerge "Fix warning of missing field initializer."
Chih-Hung Hsieh [Wed, 5 Nov 2014 00:46:36 +0000 (00:46 +0000)]
Merge "Fix warning of missing field initializer."

6 years agocheck invalid file offset when loading library
Yabin Cui [Tue, 4 Nov 2014 19:08:05 +0000 (11:08 -0800)]
check invalid file offset when loading library

Bug: 18178121
Bug: 18078224

Change-Id: I5254433d54645db68e9b83d5095dc2bf9d8531bc

6 years agoFix warning of missing field initializer.
Chih-Hung Hsieh [Tue, 4 Nov 2014 20:09:35 +0000 (12:09 -0800)]
Fix warning of missing field initializer.

BUG: 18241135
Change-Id: I91304eb608bc3336ce5fcd5744fbe080d64f1cc2

6 years agoam 695781b6: Merge "Make host tests depend on /system/etc/hosts."
Dan Albert [Tue, 4 Nov 2014 00:53:18 +0000 (00:53 +0000)]
am 695781b6: Merge "Make host tests depend on /system/etc/hosts."

* commit '695781b6f0419f82939176a6ec1a240300d9f036':
  Make host tests depend on /system/etc/hosts.

6 years agoam e76ea9bb: Merge "Ensure we initialize stdin/stdout/stderr\'s recursive mutexes."
Elliott Hughes [Tue, 4 Nov 2014 00:53:16 +0000 (00:53 +0000)]
am e76ea9bb: Merge "Ensure we initialize stdin/stdout/stderr\'s recursive mutexes."

* commit 'e76ea9bbe0a8bccf97b88d09af13a84fd34a6a76':
  Ensure we initialize stdin/stdout/stderr's recursive mutexes.

6 years agoMerge "Make host tests depend on /system/etc/hosts."
Dan Albert [Mon, 3 Nov 2014 21:38:50 +0000 (21:38 +0000)]
Merge "Make host tests depend on /system/etc/hosts."

6 years agoMerge "Ensure we initialize stdin/stdout/stderr's recursive mutexes."
Elliott Hughes [Mon, 3 Nov 2014 21:32:28 +0000 (21:32 +0000)]
Merge "Ensure we initialize stdin/stdout/stderr's recursive mutexes."

6 years agoMake host tests depend on /system/etc/hosts.
Dan Albert [Mon, 3 Nov 2014 21:26:16 +0000 (13:26 -0800)]
Make host tests depend on /system/etc/hosts.

Change-Id: I3e5ab1325d5e250a1d14b53f3a5a465d9f5de30c

6 years agoEnsure we initialize stdin/stdout/stderr's recursive mutexes.
Elliott Hughes [Mon, 3 Nov 2014 20:32:17 +0000 (12:32 -0800)]
Ensure we initialize stdin/stdout/stderr's recursive mutexes.

Bug: 18208568
Change-Id: I9da16ce0f9375bc363d1d02be706d73fd3b1e150

6 years agoam 38ff8822: Merge "Revert "Use local copy of the library name on dlopen""
Dmitriy Ivanov [Sat, 1 Nov 2014 02:35:51 +0000 (02:35 +0000)]
am 38ff8822: Merge "Revert "Use local copy of the library name on dlopen""

* commit '38ff8822763a30d4c9033a38ec8b71fcd17aba87':
  Revert "Use local copy of the library name on dlopen"

6 years agoMerge "Revert "Use local copy of the library name on dlopen""
Dmitriy Ivanov [Sat, 1 Nov 2014 02:32:22 +0000 (02:32 +0000)]
Merge "Revert "Use local copy of the library name on dlopen""

6 years agoRevert "Use local copy of the library name on dlopen"
Dmitriy Ivanov [Sat, 1 Nov 2014 02:30:38 +0000 (02:30 +0000)]
Revert "Use local copy of the library name on dlopen"

This reverts commit da8e591c3996879e41dc5f70b77d1b0fe6f9c225.

Change-Id: I3fd6f235b18c232af5cc5ecd481851486d7d68f6

6 years agoam 36ffc73e: Merge "Fix arm64 and arm builds."
Dmitriy Ivanov [Sat, 1 Nov 2014 00:36:23 +0000 (00:36 +0000)]
am 36ffc73e: Merge "Fix arm64 and arm builds."

* commit '36ffc73e992de77cc4bc397e41767b69ed9ac917':
  Fix arm64 and arm builds.

6 years agoMerge "Fix arm64 and arm builds."
Dmitriy Ivanov [Sat, 1 Nov 2014 00:33:29 +0000 (00:33 +0000)]
Merge "Fix arm64 and arm builds."

6 years agoFix arm64 and arm builds.
Dmitriy Ivanov [Sat, 1 Nov 2014 00:27:02 +0000 (17:27 -0700)]
Fix arm64 and arm builds.

Change-Id: I2c8c41626768e792f27a2616f2cd5ae66606319d

6 years agoam f33ad400: Merge "Fix symbol lookup order during relocation"
Dmitriy Ivanov [Fri, 31 Oct 2014 23:54:20 +0000 (23:54 +0000)]
am f33ad400: Merge "Fix symbol lookup order during relocation"

* commit 'f33ad400230fa1f16ba4501efb60a1b6035e06ca':
  Fix symbol lookup order during relocation

6 years agoMerge "Fix symbol lookup order during relocation"
Dmitriy Ivanov [Fri, 31 Oct 2014 23:51:18 +0000 (23:51 +0000)]
Merge "Fix symbol lookup order during relocation"

6 years agoam 74c0ccd4: Merge "Use local copy of the library name on dlopen"
Dmitriy Ivanov [Fri, 31 Oct 2014 22:51:38 +0000 (22:51 +0000)]
am 74c0ccd4: Merge "Use local copy of the library name on dlopen"

* commit '74c0ccd49b2f0a94078b565b60c10ecba1e9424e':
  Use local copy of the library name on dlopen

6 years agoMerge "Use local copy of the library name on dlopen"
Dmitriy Ivanov [Fri, 31 Oct 2014 22:47:24 +0000 (22:47 +0000)]
Merge "Use local copy of the library name on dlopen"

6 years agoUse local copy of the library name on dlopen
Dmitriy Ivanov [Fri, 31 Oct 2014 20:46:42 +0000 (13:46 -0700)]
Use local copy of the library name on dlopen

Bug: 18052100
Change-Id: Idbc2a3691db3b5525d4e9bca81d78d5f29bc438f

6 years agoFix symbol lookup order during relocation
Dmitriy Ivanov [Thu, 28 Aug 2014 21:12:12 +0000 (14:12 -0700)]
Fix symbol lookup order during relocation

  Relocate symbol against DF_1_GLOBAL shared libraries
  loaded before this shared library. This includes
  main executable, ld_preloads and other libraries
  that have DF_1_GLOBAL flag set.

Bug: 2643900
Bug: 15432753
Change-Id: Ia788748be59b739d1c7e62b978e7e255f9e65c7b

6 years agoam e38bf839: Merge "limits.h: add define for HOST_NAME_MAX"
Elliott Hughes [Thu, 30 Oct 2014 16:02:29 +0000 (16:02 +0000)]
am e38bf839: Merge "limits.h: add define for HOST_NAME_MAX"

* commit 'e38bf839837d11542e7d1deb00d81542a0ef55b7':
  limits.h: add define for HOST_NAME_MAX

6 years agoMerge "limits.h: add define for HOST_NAME_MAX"
Elliott Hughes [Thu, 30 Oct 2014 15:56:44 +0000 (15:56 +0000)]
Merge "limits.h: add define for HOST_NAME_MAX"

6 years agolimits.h: add define for HOST_NAME_MAX
Yongqin Liu [Wed, 29 Oct 2014 06:47:47 +0000 (14:47 +0800)]
limits.h: add define for HOST_NAME_MAX

according to the rules defined here:
    http://pubs.opengroup.org/onlinepubs/009695399/basedefs/limits.h.html
add the definition for HOST_NAME_MAX to limits.h file,
and set the default value to _POSIX_HOST_NAME_MAX as 255

Change-Id: Iddd5c6c569f4e0a14994c7a7c54985f3e7809fc4
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
6 years agoam f362e9fb: Merge "Remove an unused file."
Elliott Hughes [Wed, 29 Oct 2014 20:51:27 +0000 (20:51 +0000)]
am f362e9fb: Merge "Remove an unused file."

* commit 'f362e9fb33722f89cebe65ddf2f07d2b07e4390e':
  Remove an unused file.

6 years agoMerge "Remove an unused file."
Elliott Hughes [Wed, 29 Oct 2014 20:46:30 +0000 (20:46 +0000)]
Merge "Remove an unused file."

6 years agoRemove an unused file.
Elliott Hughes [Wed, 29 Oct 2014 20:42:23 +0000 (13:42 -0700)]
Remove an unused file.

We don't have any FreeBSD stdio left.

Bug: 17154680
Change-Id: I145627f564364ac8d4707d431d451cc3115c1c6a

6 years agoam d50495a5: Merge "Extra strtod/strtof tests."
Elliott Hughes [Wed, 29 Oct 2014 17:36:16 +0000 (17:36 +0000)]
am d50495a5: Merge "Extra strtod/strtof tests."

* commit 'd50495a56760fdc116b7484bcdf1183c76db9b37':
  Extra strtod/strtof tests.

6 years agoMerge "Extra strtod/strtof tests."
Elliott Hughes [Wed, 29 Oct 2014 17:22:33 +0000 (17:22 +0000)]
Merge "Extra strtod/strtof tests."

6 years agoam cbb4606a: Merge "change unsigned int to uint32_t for api arc4random/arc4random_uni...
Yabin Cui [Wed, 29 Oct 2014 12:32:36 +0000 (12:32 +0000)]
am cbb4606a: Merge "change unsigned int to uint32_t for api arc4random/arc4random_uniform"

* commit 'cbb4606ad00f084f984c92a8674400a112ea200e':
  change unsigned int to uint32_t for api arc4random/arc4random_uniform

6 years agoam 13dcb88b: Merge "Disable tzdata in ."
Elliott Hughes [Wed, 29 Oct 2014 12:32:23 +0000 (12:32 +0000)]
am 13dcb88b: Merge "Disable tzdata in ."

* commit '13dcb88b0f8ce238456059fdc0b6c946caed1e3a':
  Disable tzdata in $ANDROID_DATA.

6 years agoam f96eaf62: Merge "[x86,x86_64] Fix libgcc unwinding through signal"
Elliott Hughes [Wed, 29 Oct 2014 12:31:52 +0000 (12:31 +0000)]
am f96eaf62: Merge "[x86,x86_64] Fix libgcc unwinding through signal"

* commit 'f96eaf6202351a1b5153cfaad3137e4b63846f8f':
  [x86,x86_64] Fix libgcc unwinding through signal

6 years agoExtra strtod/strtof tests.
Elliott Hughes [Wed, 29 Oct 2014 00:54:23 +0000 (17:54 -0700)]
Extra strtod/strtof tests.

Check that libc doesn't suffer from a couple of bugs that affected
Java in the past.

Bug: 2206701
Change-Id: I9eb64d7ff2fa0b79e93079b897a5fb78bef866be

6 years agoMerge "change unsigned int to uint32_t for api arc4random/arc4random_uniform"
Yabin Cui [Tue, 28 Oct 2014 22:58:39 +0000 (22:58 +0000)]
Merge "change unsigned int to uint32_t for api arc4random/arc4random_uniform"

6 years agochange unsigned int to uint32_t for api arc4random/arc4random_uniform
Yabin Cui [Tue, 28 Oct 2014 19:04:02 +0000 (12:04 -0700)]
change unsigned int to uint32_t for api arc4random/arc4random_uniform

Bug: 17894480
Change-Id: Ia4b5a7cd2b2c6002ed70955f86f7780d26d15e26

6 years agoam ec58e29b: Merge "pthread_setname_np appears in glibc 2.12."
Elliott Hughes [Tue, 28 Oct 2014 19:28:35 +0000 (19:28 +0000)]
am ec58e29b: Merge "pthread_setname_np appears in glibc 2.12."

* commit 'ec58e29b276b0f98eb624430fb70703dc32057bf':
  pthread_setname_np appears in glibc 2.12.

6 years agoam 021b6412: Merge "Fix the type of u_ar0 in <sys/user.h>."
Elliott Hughes [Tue, 28 Oct 2014 19:28:34 +0000 (19:28 +0000)]
am 021b6412: Merge "Fix the type of u_ar0 in <sys/user.h>."

* commit '021b6412f7b7ce73b383480b25a8e5d69323f78c':
  Fix the type of u_ar0 in <sys/user.h>.

6 years agoam 7f164f60: Merge "POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK."
Elliott Hughes [Tue, 28 Oct 2014 19:28:32 +0000 (19:28 +0000)]
am 7f164f60: Merge "POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK."

* commit '7f164f6052b6dcee1c2cc70accdfac4b2c790b19':
  POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK.

6 years agoam e23f564b: Merge "Fix *tests-run-on-host target"
Dmitriy Ivanov [Tue, 28 Oct 2014 17:34:12 +0000 (17:34 +0000)]
am e23f564b: Merge "Fix *tests-run-on-host target"

* commit 'e23f564b52fed0dce661cf6db25cf3a89bd66f18':
  Fix *tests-run-on-host target

6 years agoam c716dd1e: Merge "bionic tests: migrate test for mutex type from system/extras"
Elliott Hughes [Tue, 28 Oct 2014 17:34:01 +0000 (17:34 +0000)]
am c716dd1e: Merge "bionic tests: migrate test for mutex type from system/extras"

* commit 'c716dd1e21438ac6585be79fb799b3135e9b381f':
  bionic tests: migrate test for mutex type from system/extras

6 years agoMerge "Disable tzdata in $ANDROID_DATA."
Elliott Hughes [Tue, 28 Oct 2014 16:34:45 +0000 (16:34 +0000)]
Merge "Disable tzdata in $ANDROID_DATA."

6 years agoDisable tzdata in $ANDROID_DATA.
Elliott Hughes [Mon, 27 Oct 2014 20:38:21 +0000 (13:38 -0700)]
Disable tzdata in $ANDROID_DATA.

(cherry picked from 4c30130a2155c37e80af4c3b53bf4f6ce832e760.)

Bug: 18139284
Change-Id: I2670dc1791d635139a5d39a438dc08777439476b

6 years agoam f56a2f5e: Merge "Remove unnecessary reinterpret_cast"
Dmitriy Ivanov [Tue, 28 Oct 2014 04:51:51 +0000 (04:51 +0000)]
am f56a2f5e: Merge "Remove unnecessary reinterpret_cast"

* commit 'f56a2f5ed2508e0743581003420c0f2d9cb54c7b':
  Remove unnecessary reinterpret_cast

6 years agoam 57c5a556: Merge "Disable clang compilation due to lack of ifunc."
Chih-Hung Hsieh [Tue, 28 Oct 2014 04:51:47 +0000 (04:51 +0000)]
am 57c5a556: Merge "Disable clang compilation due to lack of ifunc."

* commit '57c5a5562b08007dbe6379a4b68ca3a0225747c0':
  Disable clang compilation due to lack of ifunc.

6 years agoam c83837ec: Merge "Make the netdb unit tests work on the host."
Elliott Hughes [Tue, 28 Oct 2014 04:51:46 +0000 (04:51 +0000)]
am c83837ec: Merge "Make the netdb unit tests work on the host."

* commit 'c83837ec158a14bf84ea702c04f606de3b0599a8':
  Make the netdb unit tests work on the host.

6 years agoam cad8d226: Merge "Use mxcr_mask instead of mxcsr_mask to match glibc."
Elliott Hughes [Tue, 28 Oct 2014 04:51:25 +0000 (04:51 +0000)]
am cad8d226: Merge "Use mxcr_mask instead of mxcsr_mask to match glibc."

* commit 'cad8d226c3589a65775fda972d4cd3ebd3877dab':
  Use mxcr_mask instead of mxcsr_mask to match glibc.