OSDN Git Service

android-x86/bionic.git
9 years agoam cb6ae56b: Merge "Merge the two bionicbb services into one."
Dan Albert [Sat, 18 Apr 2015 01:10:21 +0000 (01:10 +0000)]
am cb6ae56b: Merge "Merge the two bionicbb services into one."

* commit 'cb6ae56b3e4ee50e99e9f3335d2676a21000d400':
  Merge the two bionicbb services into one.

9 years agoMerge "Merge the two bionicbb services into one."
Dan Albert [Sat, 18 Apr 2015 00:55:31 +0000 (00:55 +0000)]
Merge "Merge the two bionicbb services into one."

9 years agoMerge the two bionicbb services into one.
Dan Albert [Fri, 17 Apr 2015 20:01:29 +0000 (13:01 -0700)]
Merge the two bionicbb services into one.

Change-Id: I6490da1ec96b2e24b330296950be84424e11bd35

9 years agoam 3875744f: Merge "Support symbol versioning"
Dmitriy Ivanov [Fri, 17 Apr 2015 04:19:39 +0000 (04:19 +0000)]
am 3875744f: Merge "Support symbol versioning"

* commit '3875744f89600027c69ea68650fff1eeb4b29723':
  Support symbol versioning

9 years agoMerge "Support symbol versioning"
Dmitriy Ivanov [Fri, 17 Apr 2015 03:57:45 +0000 (03:57 +0000)]
Merge "Support symbol versioning"

9 years agoam fc4850e3: Merge "Fix clang build."
Elliott Hughes [Fri, 17 Apr 2015 01:16:45 +0000 (01:16 +0000)]
am fc4850e3: Merge "Fix clang build."

* commit 'fc4850e37b713eae12d0bde7f6e0b4e9b444bfef':
  Fix clang build.

9 years agoMerge "Fix clang build."
Elliott Hughes [Fri, 17 Apr 2015 00:57:52 +0000 (00:57 +0000)]
Merge "Fix clang build."

9 years agoSupport symbol versioning
Dmitriy Ivanov [Thu, 9 Apr 2015 20:42:33 +0000 (13:42 -0700)]
Support symbol versioning

Bug: http://b/20139821
Change-Id: I64122a0fb0960c20b2ce614161b7ab048456b681

9 years agoFix clang build.
Elliott Hughes [Fri, 17 Apr 2015 00:56:12 +0000 (17:56 -0700)]
Fix clang build.

Change-Id: I70a9ebe806cb4f7e23a7d8e486157ddd70ae3008

9 years agoam 31128da2: Merge "add fortified implementations of pread/pread64"
Elliott Hughes [Fri, 17 Apr 2015 00:54:24 +0000 (00:54 +0000)]
am 31128da2: Merge "add fortified implementations of pread/pread64"

* commit '31128da28f561152f5b663e6b4849691b3951525':
  add fortified implementations of pread/pread64

9 years agoMerge "add fortified implementations of pread/pread64"
Elliott Hughes [Fri, 17 Apr 2015 00:34:26 +0000 (00:34 +0000)]
Merge "add fortified implementations of pread/pread64"

9 years agoam f84a5c6c: Merge "Clean up "logging"."
Dan Albert [Thu, 16 Apr 2015 22:31:49 +0000 (22:31 +0000)]
am f84a5c6c: Merge "Clean up "logging"."

* commit 'f84a5c6c5c5fa2507458086a2f9a077bd9e2c9ec':
  Clean up "logging".

9 years agoMerge "Clean up "logging"."
Dan Albert [Thu, 16 Apr 2015 22:08:38 +0000 (22:08 +0000)]
Merge "Clean up "logging"."

9 years agoClean up "logging".
Dan Albert [Thu, 16 Apr 2015 21:20:13 +0000 (14:20 -0700)]
Clean up "logging".

Print is bad and I should feel bad. Use the logging module instead.
Will follow up by adding a persistent log destination instead of just
the console.

Change-Id: I396ff10712f88a03f8d8183b6de29ea273815962

9 years agoam 14af27a1: Merge "Remove PROP_PATH_SYSTEM_DEFAULT."
Elliott Hughes [Thu, 16 Apr 2015 20:20:31 +0000 (20:20 +0000)]
am 14af27a1: Merge "Remove PROP_PATH_SYSTEM_DEFAULT."

* commit '14af27a147b5e91eeb8632a3f99d4b6cc2ed26dc':
  Remove PROP_PATH_SYSTEM_DEFAULT.

9 years agoMerge "Remove PROP_PATH_SYSTEM_DEFAULT."
Elliott Hughes [Thu, 16 Apr 2015 19:57:59 +0000 (19:57 +0000)]
Merge "Remove PROP_PATH_SYSTEM_DEFAULT."

9 years agoadd fortified implementations of pread/pread64
Daniel Micay [Thu, 16 Apr 2015 13:07:45 +0000 (09:07 -0400)]
add fortified implementations of pread/pread64

Change-Id: Iec39c3917e0bc94371bd81541619392f5abe29b9

9 years agoam a40cb0ca: Merge "Call __cxa_thread_finalize for the main thread."
Dmitriy Ivanov [Thu, 16 Apr 2015 09:40:53 +0000 (09:40 +0000)]
am a40cb0ca: Merge "Call __cxa_thread_finalize for the main thread."

* commit 'a40cb0ca7fe8ddc146831e92ec543be9feb26a65':
  Call __cxa_thread_finalize for the main thread.

9 years agoMerge "Call __cxa_thread_finalize for the main thread."
Dmitriy Ivanov [Thu, 16 Apr 2015 08:06:02 +0000 (08:06 +0000)]
Merge "Call __cxa_thread_finalize for the main thread."

9 years agoam 12d89027: Merge "Update the number of jemalloc reserved keys."
Christopher Ferris [Thu, 16 Apr 2015 05:01:51 +0000 (05:01 +0000)]
am 12d89027: Merge "Update the number of jemalloc reserved keys."

* commit '12d89027457b4d5dce6c3a7fd01a2951f273d9a9':
  Update the number of jemalloc reserved keys.

9 years agoMerge "Update the number of jemalloc reserved keys."
Christopher Ferris [Thu, 16 Apr 2015 04:42:36 +0000 (04:42 +0000)]
Merge "Update the number of jemalloc reserved keys."

9 years agoam 2587c6a2: Merge "Change on handling of SIGEV_THREAD timers."
Yabin Cui [Thu, 16 Apr 2015 01:28:28 +0000 (01:28 +0000)]
am 2587c6a2: Merge "Change on handling of SIGEV_THREAD timers."

* commit '2587c6a2f0f946bd7c1e526c20b2623c01accd60':
  Change on handling of SIGEV_THREAD timers.

9 years agoMerge "Change on handling of SIGEV_THREAD timers."
Yabin Cui [Thu, 16 Apr 2015 01:08:24 +0000 (01:08 +0000)]
Merge "Change on handling of SIGEV_THREAD timers."

9 years agoChange on handling of SIGEV_THREAD timers.
Yabin Cui [Wed, 14 Jan 2015 03:53:15 +0000 (19:53 -0800)]
Change on handling of SIGEV_THREAD timers.

1. Don't prevent calling callback when SIGEV_THREAD timers are disarmed by timer_settime.
As in POSIX standard: The effect of disarming or resetting a timer with pending
expiration notifications is unspecified. And glibc didn't prevent in this situation, so I
think it is fine to remove the support.
2. Still prevent calling callback when SIGEV_THREAD timers are deleted by timer_delete.
As in POSIX standard: The disposition of pending signals for the deleted timer is unspecified.
However, glibc handles this (although that is not perfect). And some of our tests in
time_test.cpp depend on this feature as described in b/18039727. so I retain the support.
3. Fix some flaky test in time_test.cpp, and make "time*" test pass on bionic-unit-tests-glibcxx.

Bug: 18263854

Change-Id: I8ced184eacdbfcf433fd81b0c69c38824beb8ebc

9 years agoUpdate the number of jemalloc reserved keys.
Christopher Ferris [Wed, 15 Apr 2015 23:34:57 +0000 (16:34 -0700)]
Update the number of jemalloc reserved keys.

jemalloc now uses a single key pointing to a structure rather
than multiple keys.

Change-Id: Ib76185a594ab2cd4dc400d9a7a5bc0a57a7ac92d

9 years agoRemove PROP_PATH_SYSTEM_DEFAULT.
Elliott Hughes [Thu, 16 Apr 2015 00:03:43 +0000 (17:03 -0700)]
Remove PROP_PATH_SYSTEM_DEFAULT.

Change-Id: Ib01d9c2f9d890eb5e7ba1e15bd11767195e84967

9 years agoam c6ccdfaf: Merge "Hide emutls* symbols in libc.so"
Dmitriy Ivanov [Wed, 15 Apr 2015 23:45:37 +0000 (23:45 +0000)]
am c6ccdfaf: Merge "Hide emutls* symbols in libc.so"

* commit 'c6ccdfaf1ff4665ec96962863054263510d73e7b':
  Hide emutls* symbols in libc.so

9 years agoMerge "Hide emutls* symbols in libc.so"
Dmitriy Ivanov [Wed, 15 Apr 2015 23:27:38 +0000 (23:27 +0000)]
Merge "Hide emutls* symbols in libc.so"

9 years agoCall __cxa_thread_finalize for the main thread.
Dmitriy Ivanov [Wed, 15 Apr 2015 22:31:51 +0000 (15:31 -0700)]
Call __cxa_thread_finalize for the main thread.

Bug: http://b/20231984
Bug: http://b/16696563
Change-Id: I71cfddd0d404d1d4a593ec8d3bca9741de8cb90f

9 years agoHide emutls* symbols in libc.so
Dmitriy Ivanov [Wed, 15 Apr 2015 21:07:28 +0000 (14:07 -0700)]
Hide emutls* symbols in libc.so

 Also make thread_local in test static to avoid ld.bfd
 warning for arm64.

Change-Id: I09a3f2aa9b73a4fafa3f3bbc64ddc2a128ad50ee

9 years agoam cafc9480: Merge "Fix addition of extra arg to cfi_restore."
Christopher Ferris [Wed, 15 Apr 2015 00:22:59 +0000 (00:22 +0000)]
am cafc9480: Merge "Fix addition of extra arg to cfi_restore."

* commit 'cafc948069d447aa1e4dde599ee83bf6c0c5d5d8':
  Fix addition of extra arg to cfi_restore.

9 years agoMerge "Fix addition of extra arg to cfi_restore."
Christopher Ferris [Wed, 15 Apr 2015 00:07:33 +0000 (00:07 +0000)]
Merge "Fix addition of extra arg to cfi_restore."

9 years agoFix addition of extra arg to cfi_restore.
Christopher Ferris [Wed, 15 Apr 2015 00:02:31 +0000 (17:02 -0700)]
Fix addition of extra arg to cfi_restore.

Change-Id: I8fdcc1ae3e91b69ccbcec756a89e1ccb4fa1be53

9 years agoam a529efac: Merge "Add missing cfi directives for x86 assembler."
Christopher Ferris [Wed, 15 Apr 2015 00:00:48 +0000 (00:00 +0000)]
am a529efac: Merge "Add missing cfi directives for x86 assembler."

* commit 'a529efac4efa4641186fef5003752cc1c43ec763':
  Add missing cfi directives for x86 assembler.

9 years agoMerge "Add missing cfi directives for x86 assembler."
Christopher Ferris [Tue, 14 Apr 2015 23:43:09 +0000 (23:43 +0000)]
Merge "Add missing cfi directives for x86 assembler."

9 years agoAdd missing cfi directives for x86 assembler.
Christopher Ferris [Mon, 13 Apr 2015 21:20:11 +0000 (14:20 -0700)]
Add missing cfi directives for x86 assembler.

Change-Id: I80d3e33a71bbaeab5f39b667ebe61e865fd54b80

9 years agoam 8f3f0418: Merge "Prevent using static-allocated pthread keys before creation."
Yabin Cui [Tue, 14 Apr 2015 21:00:19 +0000 (21:00 +0000)]
am 8f3f0418: Merge "Prevent using static-allocated pthread keys before creation."

* commit '8f3f04184a5772b421867b59acd3d0dfbc6fa4eb':
  Prevent using static-allocated pthread keys before creation.

9 years agoMerge "Prevent using static-allocated pthread keys before creation."
Yabin Cui [Tue, 14 Apr 2015 20:35:08 +0000 (20:35 +0000)]
Merge "Prevent using static-allocated pthread keys before creation."

9 years agoPrevent using static-allocated pthread keys before creation.
Yabin Cui [Fri, 6 Mar 2015 04:35:32 +0000 (20:35 -0800)]
Prevent using static-allocated pthread keys before creation.

Bug: 19993460

Change-Id: I244dea7f5df3c8384f88aa48d635348fafc9cbaf

9 years agoam 447cd196: Merge "Skip merge-failed messages from Gerrit."
Dan Albert [Tue, 14 Apr 2015 01:52:51 +0000 (01:52 +0000)]
am 447cd196: Merge "Skip merge-failed messages from Gerrit."

* commit '447cd19681cfd0a71282c87d1b32a7757bbaba81':
  Skip merge-failed messages from Gerrit.

9 years agoMerge "Skip merge-failed messages from Gerrit."
Dan Albert [Tue, 14 Apr 2015 01:33:34 +0000 (01:33 +0000)]
Merge "Skip merge-failed messages from Gerrit."

9 years agoSkip merge-failed messages from Gerrit.
Dan Albert [Tue, 14 Apr 2015 00:32:19 +0000 (17:32 -0700)]
Skip merge-failed messages from Gerrit.

Change-Id: I2d8055a44cd78f95e64d6cf88e9efdd610a4fa88

9 years agoam de889741: Merge "Fix dl* tests to run-on-host"
Dmitriy Ivanov [Sat, 11 Apr 2015 00:45:59 +0000 (00:45 +0000)]
am de889741: Merge "Fix dl* tests to run-on-host"

* commit 'de889741201faa338e01babdfd10bbd597769e60':
  Fix dl* tests to run-on-host

9 years agoMerge "Fix dl* tests to run-on-host"
Dmitriy Ivanov [Sat, 11 Apr 2015 00:28:05 +0000 (00:28 +0000)]
Merge "Fix dl* tests to run-on-host"

9 years agoam c921eb67: Merge "Don\'t build any changes that touch bionicbb."
Dan Albert [Fri, 10 Apr 2015 00:37:47 +0000 (00:37 +0000)]
am c921eb67: Merge "Don\'t build any changes that touch bionicbb."

* commit 'c921eb677077f96c09c66ac34cad490356afde6c':
  Don't build any changes that touch bionicbb.

9 years agoMerge "Don't build any changes that touch bionicbb."
Dan Albert [Fri, 10 Apr 2015 00:25:18 +0000 (00:25 +0000)]
Merge "Don't build any changes that touch bionicbb."

9 years agoDon't build any changes that touch bionicbb.
Dan Albert [Fri, 10 Apr 2015 00:18:53 +0000 (17:18 -0700)]
Don't build any changes that touch bionicbb.

Right now any changes in here would be innocuous because I manually
update bionicbb, but I'd like to check in the various job
configurations. Once I have we don't want anyone to be able to make
the buildbot run any untrusted code.

Change-Id: Ic050859cd5017615f71c75f995ba21bb45407b05

9 years agoam 9ce9bf5a: Merge "Add Elfxx_Ver* types"
Dmitriy Ivanov [Thu, 9 Apr 2015 22:34:29 +0000 (22:34 +0000)]
am 9ce9bf5a: Merge "Add Elfxx_Ver* types"

* commit '9ce9bf5aec5ed2ec75acdc05f00a49728563a782':
  Add Elfxx_Ver* types

9 years agoMerge "Add Elfxx_Ver* types"
Dmitriy Ivanov [Thu, 9 Apr 2015 22:14:09 +0000 (22:14 +0000)]
Merge "Add Elfxx_Ver* types"

9 years agoFix dl* tests to run-on-host
Dmitriy Ivanov [Wed, 8 Apr 2015 18:53:08 +0000 (11:53 -0700)]
Fix dl* tests to run-on-host

Bug: http://b/20121152
Change-Id: I1e1f41d885c75dbb26f91565a53a15d62ef72ce6

9 years agoAdd Elfxx_Ver* types
Dmitriy Ivanov [Thu, 9 Apr 2015 20:58:53 +0000 (13:58 -0700)]
Add Elfxx_Ver* types

Bug: http://b/20139821
Change-Id: I7a367b08faa3bf5c005996c066cd35709f533265

9 years agoam 0a92ac88: Merge "Use assembly memmove for all arm32 processors."
Christopher Ferris [Thu, 9 Apr 2015 18:02:53 +0000 (18:02 +0000)]
am 0a92ac88: Merge "Use assembly memmove for all arm32 processors."

* commit '0a92ac884891b167d6393592fbf9ecf26218f9aa':
  Use assembly memmove for all arm32 processors.

9 years agoMerge "Use assembly memmove for all arm32 processors."
Christopher Ferris [Thu, 9 Apr 2015 17:41:58 +0000 (17:41 +0000)]
Merge "Use assembly memmove for all arm32 processors."

9 years agoam 9f2c2f53: Merge "Provide writer preference option in rwlock."
Yabin Cui [Thu, 9 Apr 2015 17:36:48 +0000 (17:36 +0000)]
am 9f2c2f53: Merge "Provide writer preference option in rwlock."

* commit '9f2c2f53d372001ac6565b060a07d4416ca58e47':
  Provide writer preference option in rwlock.

9 years agoMerge "Provide writer preference option in rwlock."
Yabin Cui [Thu, 9 Apr 2015 17:19:02 +0000 (17:19 +0000)]
Merge "Provide writer preference option in rwlock."

9 years agoam f9ff2eea: Merge "Upgrade timezone data to 2015b"
Neil Fuller [Thu, 9 Apr 2015 14:01:07 +0000 (14:01 +0000)]
am f9ff2eea: Merge "Upgrade timezone data to 2015b"

* commit 'f9ff2eeaeeb841fa9f197ee8b6bc9521e63210dd':
  Upgrade timezone data to 2015b

9 years agoMerge "Upgrade timezone data to 2015b"
Neil Fuller [Thu, 9 Apr 2015 13:45:03 +0000 (13:45 +0000)]
Merge "Upgrade timezone data to 2015b"

9 years agoUpgrade timezone data to 2015b
Neil Fuller [Wed, 8 Apr 2015 17:26:22 +0000 (18:26 +0100)]
Upgrade timezone data to 2015b

  Changes affecting future time stamps

    Mongolia will start observing DST again this year, from the last
    Saturday in March at 02:00 to the last Saturday in September at 00:00.
    (Thanks to Ganbold Tsagaankhuu.)

    Palestine will start DST on March 28, not March 27.  Also,
    correct the fall 2014 transition from September 26 to October 24.
    Adjust future predictions accordingly.  (Thanks to Steffen Thorsen.)

  Changes affecting past time stamps

    The 1982 zone shift in Pacific/Easter has been corrected, fixing a 2015a
    regression.  (Thanks to Stuart Bishop for reporting the problem.)

    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: America/Antigua, America/Cayman,
    Pacific/Midway, and Pacific/Saipan.

  Changes affecting time zone abbreviations

    Correct the 1992-2010 DST abbreviation in Volgograd from "MSK" to "MSD".
    (Thanks to Hank W.)

Bug: 19887183
Change-Id: I1b4bdc5ae5cf778908a77893d7f8db8a4117e1e1

9 years agoam 694282b1: Merge "Update update-tzdata.py tool to generate ICU4J data jars"
Neil Fuller [Thu, 9 Apr 2015 09:56:53 +0000 (09:56 +0000)]
am 694282b1: Merge "Update update-tzdata.py tool to generate ICU4J data jars"

* commit '694282b1726a6c5f64df3695594bf23707cf4771':
  Update update-tzdata.py tool to generate ICU4J data jars

9 years agoMerge "Update update-tzdata.py tool to generate ICU4J data jars"
Neil Fuller [Thu, 9 Apr 2015 09:39:56 +0000 (09:39 +0000)]
Merge "Update update-tzdata.py tool to generate ICU4J data jars"

9 years agoUpdate update-tzdata.py tool to generate ICU4J data jars
Neil Fuller [Thu, 9 Apr 2015 08:22:25 +0000 (09:22 +0100)]
Update update-tzdata.py tool to generate ICU4J data jars

The ICU4J changes are not necessary for use on Android (since
we use the ICU4C .dat file), but updating them ensures that
the .jars in sync with everything else and the jars are currently
required for host tests.

Change-Id: Ie56b31af87e8fbd27a6489af8287e4b6a7be6b8f

9 years agoam 5cf46f81: Merge "Reject changes with cleanspecs."
Dan Albert [Thu, 9 Apr 2015 00:31:59 +0000 (00:31 +0000)]
am 5cf46f81: Merge "Reject changes with cleanspecs."

* commit '5cf46f81ead958f43178ee8f613432b5f66045e5':
  Reject changes with cleanspecs.

9 years agoUse assembly memmove for all arm32 processors.
Christopher Ferris [Thu, 2 Apr 2015 22:47:35 +0000 (15:47 -0700)]
Use assembly memmove for all arm32 processors.

Bug: 15110993
Change-Id: Ia3dcd6b8c4032f8c72b6f2e628b635ce99667c09

9 years agoMerge "Reject changes with cleanspecs."
Dan Albert [Wed, 8 Apr 2015 22:52:44 +0000 (22:52 +0000)]
Merge "Reject changes with cleanspecs."

9 years agoProvide writer preference option in rwlock.
Yabin Cui [Tue, 17 Mar 2015 21:22:09 +0000 (14:22 -0700)]
Provide writer preference option in rwlock.

Previous implementation of rwlock contains four atomic variables, which
is hard to maintain and change. So I make following changes in this CL:

1. Add pending flags in rwlock.state, so we don't need to synchronize
between different atomic variables. Using compare_and_swap operations
on rwlock.state is enough for all state change.

2. Add pending_lock to protect readers/writers waiting and wake up
operations. As waiting/wakeup is not performance critical, using a
lock is easier to maintain.

3. Add writer preference option.

4. Add unit tests for rwlock.

Bug: 19109156

Change-Id: Idcaa58d695ea401d64445610b465ac5cff23ec7c

9 years agoam 598493e7: Merge "Stop libc from cross-referencing unwind symbols"
Dmitriy Ivanov [Tue, 7 Apr 2015 19:39:40 +0000 (19:39 +0000)]
am 598493e7: Merge "Stop libc from cross-referencing unwind symbols"

* commit '598493e725e0298ae11ddbdee62c3a7007eb503c':
  Stop libc from cross-referencing unwind symbols

9 years agoMerge "Stop libc from cross-referencing unwind symbols"
Dmitriy Ivanov [Tue, 7 Apr 2015 19:21:31 +0000 (19:21 +0000)]
Merge "Stop libc from cross-referencing unwind symbols"

9 years agoam 957f6188: Merge "Changes to re-enable overrides for tz data"
Neil Fuller [Tue, 7 Apr 2015 13:16:45 +0000 (13:16 +0000)]
am 957f6188: Merge "Changes to re-enable overrides for tz data"

* commit '957f6188fa7494ea8b7701b14df4c9127d27a9ef':
  Changes to re-enable overrides for tz data

9 years agoMerge "Changes to re-enable overrides for tz data"
Neil Fuller [Tue, 7 Apr 2015 12:55:04 +0000 (12:55 +0000)]
Merge "Changes to re-enable overrides for tz data"

9 years agoam 9fbd8fd4: Merge "Fix x86_64 build"
Dmitriy Ivanov [Tue, 7 Apr 2015 02:28:57 +0000 (02:28 +0000)]
am 9fbd8fd4: Merge "Fix x86_64 build"

* commit '9fbd8fd4bc1767b65abd0fdbdb5e35cdc4dafe13':
  Fix x86_64 build

9 years agoMerge "Fix x86_64 build"
Dmitriy Ivanov [Tue, 7 Apr 2015 02:08:43 +0000 (02:08 +0000)]
Merge "Fix x86_64 build"

9 years agoFix x86_64 build
Dmitriy Ivanov [Tue, 7 Apr 2015 02:05:58 +0000 (19:05 -0700)]
Fix x86_64 build

Change-Id: Id81c059bf3ecdb9cc84d04d16ffda34baaadc5a1

9 years agoStop libc from cross-referencing unwind symbols
Dmitriy Ivanov [Sat, 4 Apr 2015 01:41:42 +0000 (18:41 -0700)]
Stop libc from cross-referencing unwind symbols

  This makes unwind symbols 'protected',
  which should prevent them from relocating
  against libc++.so/libcutls.so.

  This is temporary file and it is going
  to be removed once libc.so stops exporting
  them.

Bug: http://b/19958712
Change-Id: I96a765afe47e68d2e2ceb288870e63a25ca52081

9 years agoam 8a1007db: Merge "Add realpath for soinfo"
Dmitriy Ivanov [Tue, 7 Apr 2015 00:32:46 +0000 (00:32 +0000)]
am 8a1007db: Merge "Add realpath for soinfo"

* commit '8a1007dbababa6c4812c267ca9119cf0765afc3f':
  Add realpath for soinfo

9 years agoMerge "Add realpath for soinfo"
Dmitriy Ivanov [Tue, 7 Apr 2015 00:14:56 +0000 (00:14 +0000)]
Merge "Add realpath for soinfo"

9 years agoReject changes with cleanspecs.
Dan Albert [Mon, 6 Apr 2015 19:43:55 +0000 (12:43 -0700)]
Reject changes with cleanspecs.

Cleanspecs must not be removed once they have been built. This means
they can't be reverted, or reliably cherry-picked. Just skip any
changes that include them since they make such a mess.

Change-Id: I3df8d81f93651d573485de7a75ecf5c6278c0001

9 years agoAdd realpath for soinfo
Dmitriy Ivanov [Tue, 31 Mar 2015 18:14:03 +0000 (11:14 -0700)]
Add realpath for soinfo

  This change adds realpath to soinfo and
  extends limit on filenames from 128 to PATH_MAX.

  It also removes soinfo::name field, linker uses
  dt_soname instead.

Bug: http://b/19818481
Bug: https://code.google.com/p/android/issues/detail?id=80336
Change-Id: I9cff4cb5bda3ee2bc74e1bbded9594ea7fbe2a08

9 years agoam 67de2593: Merge "Add a test for getdelim(3) on a directory."
Elliott Hughes [Mon, 6 Apr 2015 19:49:26 +0000 (19:49 +0000)]
am 67de2593: Merge "Add a test for getdelim(3) on a directory."

* commit '67de2593b3d7e9e94ac8993efd51da4b512c6af5':
  Add a test for getdelim(3) on a directory.

9 years agoMerge "Add a test for getdelim(3) on a directory."
Elliott Hughes [Mon, 6 Apr 2015 19:36:13 +0000 (19:36 +0000)]
Merge "Add a test for getdelim(3) on a directory."

9 years agoAdd a test for getdelim(3) on a directory.
Elliott Hughes [Sun, 5 Apr 2015 17:51:56 +0000 (10:51 -0700)]
Add a test for getdelim(3) on a directory.

Apparently uClibc has a bug here. We don't, but let's keep it that way.

Bug: http://landley.net/notes.html#21-03-2015
Change-Id: If406df963db9bee47921d7a1c116ebcab08d96bf

9 years agoam 4bd8f963: Merge "Fix bug for recursive/errorcheck mutex on 32-bit devices."
Yabin Cui [Sat, 4 Apr 2015 19:47:57 +0000 (19:47 +0000)]
am 4bd8f963: Merge "Fix bug for recursive/errorcheck mutex on 32-bit devices."

* commit '4bd8f9637daaada333ff35945b00cfe6cb822376':
  Fix bug for recursive/errorcheck mutex on 32-bit devices.

9 years agoMerge "Fix bug for recursive/errorcheck mutex on 32-bit devices."
Yabin Cui [Sat, 4 Apr 2015 19:31:54 +0000 (19:31 +0000)]
Merge "Fix bug for recursive/errorcheck mutex on 32-bit devices."

9 years agoFix bug for recursive/errorcheck mutex on 32-bit devices.
Yabin Cui [Fri, 3 Apr 2015 00:47:48 +0000 (17:47 -0700)]
Fix bug for recursive/errorcheck mutex on 32-bit devices.

Bug: 19216648
Change-Id: I3b43b2d18d25b9bde352da1e35f9568133dec7cf

9 years agoam e686df8d: Merge "Add libdl dependency for target libraries"
Dmitriy Ivanov [Fri, 3 Apr 2015 23:14:29 +0000 (23:14 +0000)]
am e686df8d: Merge "Add libdl dependency for target libraries"

* commit 'e686df8d839216460f02cf7db6c4e26a13e49afd':
  Add libdl dependency for target libraries

9 years agoMerge "Add libdl dependency for target libraries"
Dmitriy Ivanov [Fri, 3 Apr 2015 22:54:06 +0000 (22:54 +0000)]
Merge "Add libdl dependency for target libraries"

9 years agoAdd libdl dependency for target libraries
Dmitriy Ivanov [Fri, 3 Apr 2015 22:17:52 +0000 (15:17 -0700)]
Add libdl dependency for target libraries

 Fixed x86_64 target build with gcc 4.9

Change-Id: Id3b1e9286c2bcbb8e3ac117bcef957304db7cfd3

9 years agoam cec2ab20: Merge "Try again to fix clang build."
Elliott Hughes [Fri, 3 Apr 2015 20:58:48 +0000 (20:58 +0000)]
am cec2ab20: Merge "Try again to fix clang build."

* commit 'cec2ab20a0d2b24c15aa289cbac5d4291c856092':
  Try again to fix clang build.

9 years agoMerge "Try again to fix clang build."
Elliott Hughes [Fri, 3 Apr 2015 20:38:15 +0000 (20:38 +0000)]
Merge "Try again to fix clang build."

9 years agoTry again to fix clang build.
Elliott Hughes [Fri, 3 Apr 2015 20:37:18 +0000 (13:37 -0700)]
Try again to fix clang build.

I got the condition the wrong way round in the previous change.

Bug: http://b/20065774
Change-Id: I218b224b37f5fb2f7c7ec2f9af27472b340c4b15

9 years agoam ec8b3a7d: Merge "Fix clang build."
Elliott Hughes [Fri, 3 Apr 2015 20:36:55 +0000 (20:36 +0000)]
am ec8b3a7d: Merge "Fix clang build."

* commit 'ec8b3a7dde3c282c4f9ca5c8bf5a7e1b7469def0':
  Fix clang build.

9 years agoMerge "Fix clang build."
Elliott Hughes [Fri, 3 Apr 2015 20:12:02 +0000 (20:12 +0000)]
Merge "Fix clang build."

9 years agoFix clang build.
Elliott Hughes [Fri, 3 Apr 2015 20:09:10 +0000 (13:09 -0700)]
Fix clang build.

Apparently clang really doesn't want you to take the address of a builtin.
Since this is only a temporary hack, let's just shrug and accept that
clang-built volantis images won't work until we have new NVIDIA blobs.

Bug: http://b/20065774
Change-Id: I4c8e893b15a1af8f9c54d3f89bfef112b63d09b4

9 years agoam aea165cb: Merge "Add ANDROID_DLEXT_FORCE_LOAD flag"
Dmitriy Ivanov [Fri, 3 Apr 2015 19:59:03 +0000 (19:59 +0000)]
am aea165cb: Merge "Add ANDROID_DLEXT_FORCE_LOAD flag"

* commit 'aea165cb03abceb85062e94f22f72e1c9d9800a4':
  Add ANDROID_DLEXT_FORCE_LOAD flag

9 years agoam b1f1de4d: Merge "Fix volantis boot."
Elliott Hughes [Fri, 3 Apr 2015 19:59:01 +0000 (19:59 +0000)]
am b1f1de4d: Merge "Fix volantis boot."

* commit 'b1f1de4dd4b1a3802abd5284de9ebfe6a98057f1':
  Fix volantis boot.

9 years agoMerge "Add ANDROID_DLEXT_FORCE_LOAD flag"
Dmitriy Ivanov [Fri, 3 Apr 2015 19:45:24 +0000 (19:45 +0000)]
Merge "Add ANDROID_DLEXT_FORCE_LOAD flag"

9 years agoMerge "Fix volantis boot."
Elliott Hughes [Fri, 3 Apr 2015 19:38:30 +0000 (19:38 +0000)]
Merge "Fix volantis boot."

9 years agoFix volantis boot.
Elliott Hughes [Fri, 3 Apr 2015 18:27:53 +0000 (11:27 -0700)]
Fix volantis boot.

NVIDIA binary blobs are assuming that __cache_clear, _Unwind_Backtrace,
and _Unwind_GetIP are all in some library that they link, but now we've
cleaned up this leakage, they're no longer getting it. Deliberately leak
the symbols from libc.so until we get new blobs.

Bug: http://b/20065774
Change-Id: I92ef07b2bce8d1ad719bf40dab41d745cd6904d4

9 years agoAdd ANDROID_DLEXT_FORCE_LOAD flag
Dmitriy Ivanov [Thu, 2 Apr 2015 23:03:56 +0000 (16:03 -0700)]
Add ANDROID_DLEXT_FORCE_LOAD flag

  This flag allows to force loading of the library
  in the case when for some reason multiple ELF files
  share the same filename (because the already-loaded
  library has been removed and overwritten, for example).

Change-Id: I798d44409ee13d63eaa75d685e99c4d028d2b0c1

9 years agoam 06b6e3c5: Merge "Look into local group on dlsym with RTLD_DEFAULT"
Dmitriy Ivanov [Thu, 2 Apr 2015 22:14:58 +0000 (22:14 +0000)]
am 06b6e3c5: Merge "Look into local group on dlsym with RTLD_DEFAULT"

* commit '06b6e3c51d38d70c5ca99f3a3f795697031ac27f':
  Look into local group on dlsym with RTLD_DEFAULT

9 years agoMerge "Look into local group on dlsym with RTLD_DEFAULT"
Dmitriy Ivanov [Thu, 2 Apr 2015 21:55:01 +0000 (21:55 +0000)]
Merge "Look into local group on dlsym with RTLD_DEFAULT"