OSDN Git Service

android-x86/bionic.git
9 years agoam 03dd63bd: am bbdfa518: Merge "gethostname.c: change to report ENAMETOOLONG error...
Elliott Hughes [Wed, 12 Nov 2014 20:16:06 +0000 (20:16 +0000)]
am 03dd63bd: am bbdfa518: Merge "gethostname.c: change to report ENAMETOOLONG error when buflen is less"

* commit '03dd63bda8846db77cab6b4f17c8a2478f7ac65c':
  gethostname.c: change to report ENAMETOOLONG error when buflen is less

9 years agoam a4adc811: am 83204d57: Merge "bionic tests: migrate gethostname test to unistd_tes...
Elliott Hughes [Wed, 12 Nov 2014 20:16:05 +0000 (20:16 +0000)]
am a4adc811: am 83204d57: Merge "bionic tests: migrate gethostname test to unistd_test.cpp from system/extras"

* commit 'a4adc811d291d641e8291795d479bf8f426725b3':
  bionic tests: migrate gethostname test to unistd_test.cpp from system/extras

9 years agoam bbdfa518: Merge "gethostname.c: change to report ENAMETOOLONG error when buflen...
Elliott Hughes [Wed, 12 Nov 2014 20:11:41 +0000 (20:11 +0000)]
am bbdfa518: Merge "gethostname.c: change to report ENAMETOOLONG error when buflen is less"

* commit 'bbdfa518830d49565966acea02796769434e0d74':
  gethostname.c: change to report ENAMETOOLONG error when buflen is less

9 years agoam 83204d57: Merge "bionic tests: migrate gethostname test to unistd_test.cpp from...
Elliott Hughes [Wed, 12 Nov 2014 20:11:40 +0000 (20:11 +0000)]
am 83204d57: Merge "bionic tests: migrate gethostname test to unistd_test.cpp from system/extras"

* commit '83204d5708eb49df05ea365be01e136ef7823752':
  bionic tests: migrate gethostname test to unistd_test.cpp from system/extras

9 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"

9 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"

9 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>
9 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>
9 years agoam c05314a0: Merge "Fix tzdata update tools for \'backzone\'." into lmp-mr1-dev
Elliott Hughes [Wed, 12 Nov 2014 17:28:49 +0000 (17:28 +0000)]
am c05314a0: Merge "Fix tzdata update tools for \'backzone\'." into lmp-mr1-dev

* commit 'c05314a0b230d6820e07bcc641e8a553b5196e86':
  Fix tzdata update tools for 'backzone'.

9 years agoam 1ca3350f: Upgrade bionic to tzdata2014j.
Elliott Hughes [Wed, 12 Nov 2014 17:28:48 +0000 (17:28 +0000)]
am 1ca3350f: Upgrade bionic to tzdata2014j.

* commit '1ca3350f4c7b60afdb95784c9cb3ea5ba5ce591f':
  Upgrade bionic to tzdata2014j.

9 years agoMerge "Fix tzdata update tools for 'backzone'." into lmp-mr1-dev
Elliott Hughes [Wed, 12 Nov 2014 17:19:56 +0000 (17:19 +0000)]
Merge "Fix tzdata update tools for 'backzone'." into lmp-mr1-dev

9 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

(cherry picked from commit b11d8e057c86c3926128af9d07180d9328e144c6)

Change-Id: Ifd48e7446e400dccae3afd5cbef96ca843775477

9 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

(cherry picked from commit 2c2463bd3065f0a5fef34a47e3eb94aad64b0cea)

Change-Id: I654b80518a7144038d8b3ea7223f49e2b1d2ad13

9 years agoam c25737a1: am 22271d0c: Merge "Upgrade bionic to tzdata2014j."
Elliott Hughes [Wed, 12 Nov 2014 02:53:45 +0000 (02:53 +0000)]
am c25737a1: am 22271d0c: Merge "Upgrade bionic to tzdata2014j."

* commit 'c25737a193b77561a07cb778a947cd547148c46e':
  Upgrade bionic to tzdata2014j.

9 years agoam db71c2f3: am 440c80ad: Merge "Fix tzdata update tools for \'backzone\'."
Elliott Hughes [Wed, 12 Nov 2014 02:53:38 +0000 (02:53 +0000)]
am db71c2f3: am 440c80ad: Merge "Fix tzdata update tools for \'backzone\'."

* commit 'db71c2f3d22140cb2685362c35d93c374a621b7c':
  Fix tzdata update tools for 'backzone'.

9 years agoam 22271d0c: Merge "Upgrade bionic to tzdata2014j."
Elliott Hughes [Wed, 12 Nov 2014 02:35:54 +0000 (02:35 +0000)]
am 22271d0c: Merge "Upgrade bionic to tzdata2014j."

* commit '22271d0c200c8c2f7c7c960a8751eed0faa708ec':
  Upgrade bionic to tzdata2014j.

9 years agoMerge "Upgrade bionic to tzdata2014j."
Elliott Hughes [Wed, 12 Nov 2014 02:32:09 +0000 (02:32 +0000)]
Merge "Upgrade bionic to tzdata2014j."

9 years agoam 440c80ad: Merge "Fix tzdata update tools for \'backzone\'."
Elliott Hughes [Wed, 12 Nov 2014 02:28:11 +0000 (02:28 +0000)]
am 440c80ad: Merge "Fix tzdata update tools for \'backzone\'."

* commit '440c80ad47fd748251b09d5146f2cb896d75724f':
  Fix tzdata update tools for 'backzone'.

9 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

9 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'."

9 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

9 years agoam bb50a667: am 1fb6a4d5: Merge "bionic: libc: Added path to vendor build properties...
Daniel Rosenberg [Tue, 11 Nov 2014 22:50:48 +0000 (22:50 +0000)]
am bb50a667: am 1fb6a4d5: Merge "bionic: libc: Added path to vendor build properties file."

* commit 'bb50a667441b0a2298eaa9ddeb7baf444b101947':
  bionic: libc: Added path to vendor build properties file.

9 years agoam 1fb6a4d5: Merge "bionic: libc: Added path to vendor build properties file."
Daniel Rosenberg [Tue, 11 Nov 2014 22:43:49 +0000 (22:43 +0000)]
am 1fb6a4d5: Merge "bionic: libc: Added path to vendor build properties file."

* commit '1fb6a4d5c034423d4a22ded0bd3d87a14a6cad9a':
  bionic: libc: Added path to vendor build properties file.

9 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."

9 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>
9 years agoam 5f93f65d: am 1e75a9b5: Merge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"
Andreas Gampe [Tue, 11 Nov 2014 19:58:43 +0000 (19:58 +0000)]
am 5f93f65d: am 1e75a9b5: Merge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"

* commit '5f93f65d3f514c39e76c0ae1a117c45ac2f72a67':
  Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional

9 years agoam 1e75a9b5: Merge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"
Andreas Gampe [Tue, 11 Nov 2014 19:52:55 +0000 (19:52 +0000)]
am 1e75a9b5: Merge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"

* commit '1e75a9b56ad746ff038ca956bd3d83fe4b9a156f':
  Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional

9 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"

9 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

9 years agoam ea8913fe: am 1e1ae4a7: Merge "Add align/overread tests for strlcpy/strlcat."
Christopher Ferris [Mon, 10 Nov 2014 23:44:57 +0000 (23:44 +0000)]
am ea8913fe: am 1e1ae4a7: Merge "Add align/overread tests for strlcpy/strlcat."

* commit 'ea8913fefdfcd57b5f960db65dcf482ace3d8083':
  Add align/overread tests for strlcpy/strlcat.

9 years agoam 1e1ae4a7: Merge "Add align/overread tests for strlcpy/strlcat."
Christopher Ferris [Mon, 10 Nov 2014 23:42:28 +0000 (23:42 +0000)]
am 1e1ae4a7: Merge "Add align/overread tests for strlcpy/strlcat."

* commit '1e1ae4a74e42de07a5654f6a1774786fb4652094':
  Add align/overread tests for strlcpy/strlcat.

9 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."

9 years agoam 307d61c3: am 6e7e2d20: Merge "Add the <dirent.h> feature macros glibc uses."
Elliott Hughes [Mon, 10 Nov 2014 23:26:23 +0000 (23:26 +0000)]
am 307d61c3: am 6e7e2d20: Merge "Add the <dirent.h> feature macros glibc uses."

* commit '307d61c3385909dbbd28cfbb88cc2599fc5d7fdc':
  Add the <dirent.h> feature macros glibc uses.

9 years agoam 6e7e2d20: Merge "Add the <dirent.h> feature macros glibc uses."
Elliott Hughes [Mon, 10 Nov 2014 23:23:12 +0000 (23:23 +0000)]
am 6e7e2d20: Merge "Add the <dirent.h> feature macros glibc uses."

* commit '6e7e2d201f91fe5a04adc1b49ebb589dc56b425f':
  Add the <dirent.h> feature macros glibc uses.

9 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."

9 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

9 years agoam b80be438: am 6330b70c: Merge "Remove temporary compatibility hack."
Elliott Hughes [Mon, 10 Nov 2014 22:19:15 +0000 (22:19 +0000)]
am b80be438: am 6330b70c: Merge "Remove temporary compatibility hack."

* commit 'b80be43814a1562b0b66b435a7759cfed554287f':
  Remove temporary compatibility hack.

9 years agoam 6330b70c: Merge "Remove temporary compatibility hack."
Elliott Hughes [Mon, 10 Nov 2014 22:09:14 +0000 (22:09 +0000)]
am 6330b70c: Merge "Remove temporary compatibility hack."

* commit '6330b70cac8072007be9c351a934f9ff10f30cb5':
  Remove temporary compatibility hack.

9 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

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

9 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

9 years agoam db37cd61: am b6360093: Merge "Fix struct stat to match POSIX 2008."
Elliott Hughes [Mon, 10 Nov 2014 17:33:37 +0000 (17:33 +0000)]
am db37cd61: am b6360093: Merge "Fix struct stat to match POSIX 2008."

* commit 'db37cd61e5e7c2ede11ce7a8eade9c31b7796c09':
  Fix struct stat to match POSIX 2008.

9 years agoam b6360093: Merge "Fix struct stat to match POSIX 2008."
Elliott Hughes [Mon, 10 Nov 2014 17:29:21 +0000 (17:29 +0000)]
am b6360093: Merge "Fix struct stat to match POSIX 2008."

* commit 'b63600934c62beb09514e2ced1fce1bdb489195f':
  Fix struct stat to match POSIX 2008.

9 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."

9 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

9 years agoam 3a3f388c: am 47b9083b: Merge "Add sethostname(2)."
Elliott Hughes [Sat, 8 Nov 2014 01:43:02 +0000 (01:43 +0000)]
am 3a3f388c: am 47b9083b: Merge "Add sethostname(2)."

* commit '3a3f388c3c24457ea0f452f6abc7f340e6fc640b':
  Add sethostname(2).

9 years agoam 47b9083b: Merge "Add sethostname(2)."
Elliott Hughes [Sat, 8 Nov 2014 00:59:51 +0000 (00:59 +0000)]
am 47b9083b: Merge "Add sethostname(2)."

* commit '47b9083b582bc8f7aefa0b6b4df051cba835ac0f':
  Add sethostname(2).

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

9 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

9 years agoam b4471046: am 2ed9ee1e: Merge remote-tracking branch \'goog/stage-aosp-master\...
The Android Open Source Project [Fri, 7 Nov 2014 13:30:20 +0000 (13:30 +0000)]
am b4471046: am 2ed9ee1e: Merge remote-tracking branch \'goog/stage-aosp-master\' into HEAD

* commit 'b447104656ff77caf4d5bcfd547533d941aef804':

9 years agoam 16951877: am 6e555e40: Merge "Implement all the POSIX _l functions."
Elliott Hughes [Fri, 7 Nov 2014 13:30:18 +0000 (13:30 +0000)]
am 16951877: am 6e555e40: Merge "Implement all the POSIX _l functions."

* commit '1695187723bd2fc2e222a08630523886f48607e4':
  Implement all the POSIX _l functions.

9 years agoam 2ed9ee1e: Merge remote-tracking branch \'goog/stage-aosp-master\' into HEAD
The Android Open Source Project [Fri, 7 Nov 2014 13:27:16 +0000 (13:27 +0000)]
am 2ed9ee1e: Merge remote-tracking branch \'goog/stage-aosp-master\' into HEAD

* commit '2ed9ee1e938a94b563ab700dc5017a968d2591ad':

9 years agoam 6e555e40: Merge "Implement all the POSIX _l functions."
Elliott Hughes [Fri, 7 Nov 2014 13:27:07 +0000 (13:27 +0000)]
am 6e555e40: Merge "Implement all the POSIX _l functions."

* commit '6e555e40b0596e452deb6ccbce89d084ad18b658':
  Implement all the POSIX _l functions.

9 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

9 years agoam cd30cb36: am 08a70184: Merge "Add POSIX lcong48."
Elliott Hughes [Fri, 7 Nov 2014 01:03:35 +0000 (01:03 +0000)]
am cd30cb36: am 08a70184: Merge "Add POSIX lcong48."

* commit 'cd30cb3633c2a7409267dd1821e33937e65461ad':
  Add POSIX lcong48.

9 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.

9 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."

9 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

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

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

Change-Id: I821046816661d77275cb02c8c99d526bb41afb9c

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

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

9 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.

9 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."

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

* commit 'c50ae0b41bacea1715daf815ba2f30f342e3342c':
  make all bionic death tests not dumpable

9 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

9 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

9 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"

9 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

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

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

9 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.

9 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."

9 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

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

* commit 'c68a9105375f4cc8d44a14485df4f6067abd2268':
  check invalid file offset when loading library

9 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

9 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"

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

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

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

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

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

* commit '45f736b32389ad5074d72a974ea153d4e64b234b':
  Fix warning of missing field initializer.

9 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.

9 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.

9 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.

9 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."

9 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

9 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."

9 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

9 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."

9 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

9 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

9 years agoRevert "Revert "Fix arm64 and arm builds.""
Dmitriy Ivanov [Tue, 4 Nov 2014 17:38:27 +0000 (09:38 -0800)]
Revert "Revert "Fix arm64 and arm builds.""

This reverts commit 494bee796aa60131981308493e0e295493537e12.

9 years agoRevert "Revert "Fix symbol lookup order during relocation""
Dmitriy Ivanov [Tue, 4 Nov 2014 17:38:18 +0000 (09:38 -0800)]
Revert "Revert "Fix symbol lookup order during relocation""

This reverts commit f947be2889639defc6424b1813ccc779528b7598.

9 years agoRevert "Revert "Fix mips build""
Dmitriy Ivanov [Tue, 4 Nov 2014 17:38:10 +0000 (09:38 -0800)]
Revert "Revert "Fix mips build""

This reverts commit 4402804c35c5c5992c728c6f3cee3bdbd325819e.

9 years agoRevert "Revert "Remove unnecessary lookups during relocations""
Dmitriy Ivanov [Tue, 4 Nov 2014 17:38:00 +0000 (09:38 -0800)]
Revert "Revert "Remove unnecessary lookups during relocations""

This reverts commit eae09772558016836f1356816f4d1d0be498d74c.

9 years agoRevert "Revert "Fix relocation to look for symbols in local group""
Dmitriy Ivanov [Tue, 4 Nov 2014 17:37:51 +0000 (09:37 -0800)]
Revert "Revert "Fix relocation to look for symbols in local group""

This reverts commit 00dce525530c5d26c20750863f3e9890b468787a.

9 years agoRevert "Revert "Add RTLD_NODELETE flag support""
Dmitriy Ivanov [Tue, 4 Nov 2014 17:37:28 +0000 (09:37 -0800)]
Revert "Revert "Add RTLD_NODELETE flag support""

This reverts commit 69c5d108a5cb44167a04d42ffdad6a39648ed235.

9 years agoRevert "Revert "Fix dlsym() to take into account RTLD_GLOBAL/LOCAL""
Dmitriy Ivanov [Tue, 4 Nov 2014 17:37:19 +0000 (09:37 -0800)]
Revert "Revert "Fix dlsym() to take into account RTLD_GLOBAL/LOCAL""

This reverts commit 9d3382d97a2cdc8c8f78c7825ece16f09292fc36.

9 years agoam 9d3382d9: Revert "Fix dlsym() to take into account RTLD_GLOBAL/LOCAL"
Dmitriy Ivanov [Tue, 4 Nov 2014 17:17:58 +0000 (17:17 +0000)]
am 9d3382d9: Revert "Fix dlsym() to take into account RTLD_GLOBAL/LOCAL"

* commit '9d3382d97a2cdc8c8f78c7825ece16f09292fc36':
  Revert "Fix dlsym() to take into account RTLD_GLOBAL/LOCAL"

9 years agoam 69c5d108: Revert "Add RTLD_NODELETE flag support"
Dmitriy Ivanov [Tue, 4 Nov 2014 17:17:57 +0000 (17:17 +0000)]
am 69c5d108: Revert "Add RTLD_NODELETE flag support"

* commit '69c5d108a5cb44167a04d42ffdad6a39648ed235':
  Revert "Add RTLD_NODELETE flag support"

9 years agoam 00dce525: Revert "Fix relocation to look for symbols in local group"
Dmitriy Ivanov [Tue, 4 Nov 2014 17:17:56 +0000 (17:17 +0000)]
am 00dce525: Revert "Fix relocation to look for symbols in local group"

* commit '00dce525530c5d26c20750863f3e9890b468787a':
  Revert "Fix relocation to look for symbols in local group"

9 years agoam eae09772: Revert "Remove unnecessary lookups during relocations"
Dmitriy Ivanov [Tue, 4 Nov 2014 17:17:55 +0000 (17:17 +0000)]
am eae09772: Revert "Remove unnecessary lookups during relocations"

* commit 'eae09772558016836f1356816f4d1d0be498d74c':
  Revert "Remove unnecessary lookups during relocations"

9 years agoam 4402804c: Revert "Fix mips build"
Dmitriy Ivanov [Tue, 4 Nov 2014 17:17:54 +0000 (17:17 +0000)]
am 4402804c: Revert "Fix mips build"

* commit '4402804c35c5c5992c728c6f3cee3bdbd325819e':
  Revert "Fix mips build"