summaryrefslogtreecommitdiff
path: root/android-changes-for-ndk-developers.md
AgeCommit message (Collapse)Author
2020-10-30Docs: link to the unwinder docs.Elliott Hughes
Since (a) they're not a README.md and (b) they moved git project recently, it's really hard to find these docs even if you know they exist, which no-one does. Test: N/A Change-Id: Ic12e47ef5eb09e692ac0974b1d33bc5dc83d1028
2020-08-03Rename linker greylist to exempt-listRyan Prichard
Update a comment in android-changes-for-ndk-developers.md about the removed debug.ld.greylist_disabled system property. Update language to comply with Android's inclusive language guidance #inclusivefixit See https://source.android.com/setup/contribute/respectful-code for reference Bug: http://b/162536543 Test: bionic-unit-tests Change-Id: I760ee14bce14d9d799926c43d2c14fd8ffbc6968
2020-07-21Changes for #inclusivefixit.Elliott Hughes
Test: treehugger Change-Id: I7ff0496c5c2792a41781e74634247f55b0548213
2020-01-24Modernize SHT_RELR support.Elliott Hughes
Until now we've only supported RELR with our own OS-private-use constants. Add support for the official numbers (while maintaining support for the historical numbers). Add tests to ensure we continue to support both indefinitely. We can't yet flip the build system over to using the official constants because the old GNU binutils objcopy we still use in most cases (for the mini-debug section) only supports the historical constants. Bug: http://b/147452927 Test: treehugger Change-Id: If214fce7fade4316115947e90b78ab40864b61f2
2019-08-15Link our two main developer-facing docs together.Elliott Hughes
Bug: http://b/139329827 Test: N/A Change-Id: I38e05f1a7eaa8ff31b503541e34f2e362cd4722e
2019-08-05Document the "one big library" trick.Elliott Hughes
Bug: http://b/133823482 Test: N/A Change-Id: I3a70fe563f47d6f2311415c84a3c5f9f7b575e54
2019-06-05[PATCH] Document the LD_PRELOAD workaround.Elliott Hughes
Bug: N/A Test: N/A Change-Id: Ifbc6eb3c7f77e3f2e5a29b505b982880d96c5ab0
2019-04-22Document __register_atfork.Elliott Hughes
Bug: https://github.com/android-ndk/ndk/issues/964 Test: N/A Change-Id: I5f3fa4c7fa42abde05f5b5fe730748d8c5fb4bb2
2019-03-26docs: mention the fact that bionic now uses ifuncs.Elliott Hughes
Bug: http://b/123296740 Test: N/A Change-Id: I2cdc575270ebf32fd8ac1de21182150f5222cf9f
2018-08-06Revert "Move android-changes-for-ndk-developers.md into docs/."Elliott Hughes
This reverts commit 1975196c871f20928c20b4ab23e4f3ee6b33390a. Reason for revert: https://android.googlesource.com/ doesn't follow symlinks :-( Change-Id: I58038a03388ab5257d301debb494ce354013acfe
2018-08-01Move android-changes-for-ndk-developers.md into docs/.Elliott Hughes
(But keep a symbolic link so we don't break the web.) Bug: N/A Test: N/A Change-Id: Ib0c8ef80cb4b6836a465d897ffe6d78e11f09f46
2018-05-01Document the historical dlopen issues.Elliott Hughes
Bug: https://groups.google.com/forum/#!topic/android-ndk/OJxg_550eHE Test: N/A Change-Id: Ife066dcd3af89952f81f0aefc33351c59b83be9b
2018-01-19Document that dlclose with thread_local is fixed in P.Elliott Hughes
Bug: https://github.com/android-ndk/ndk/issues/360 Test: N/A Change-Id: Ib9807045bd3206fa3cd300ab70ebed93c73a58e4
2017-12-05Make it clear that "dlopen" logging includes "dlclose".Elliott Hughes
Bug: http://b/69921537 Test: N/A Change-Id: I23d534bb92d5542dd952ff664ee34bb327c896cc
2017-10-25Document the dlclose/thread locals with non-trivial destructors problem.Elliott Hughes
Bug: https://github.com/android-ndk/ndk/issues/360 Test: N/A Change-Id: I964a6c9abd1ae65d74c6aee1c842b2f3d24b5556
2017-04-17Document DT_RUNPATH support.Elliott Hughes
Bug: http://b/37328826 Test: N/A Change-Id: Ia220f7f519e3cdd6193faff3b58d598505d4d0cf
2017-04-06Add support for disabling the greylist.Elliott Hughes
Useful for testing whether apps have actually stopped using greylisted libraries even if they still have references to them in their apk to support old Android releases but also haven't bumped their targetSdkVersion yet. Since we already have two expensive __system_property_get calls and this would add a third, optimize two (but leave the third since it's not obviously amenable to optimization). None of this matters for user builds, but I don't want userdebug/eng to have distractingly different performance. (cherrypick of 7933bec2872aa1c3430149c7649726333c0ac9d8.) Bug: http://b/36106661 Test: ran "can you escape 5" with and without this property Change-Id: Id9a804695c1dca9b4be2ebd0e72f01817bb13cba
2017-01-13Describe our dynamic linker compatibility policy.Elliott Hughes
Bug: N/A Test: N/A Change-Id: I6f472d1ab22636de74fd103e9a480fb1ab51e314
2016-12-14Document bionic loader logging propertiesDimitry Ivanov
Bug: http://b/29458203 Test: spellchecker in vim Change-Id: I81e60a09fa256110d7ab9b530e7821ae66e8f020
2016-11-18Document more dynamic linker changes.Elliott Hughes
Based on https://plus.google.com/+ElliottHughes/posts/dtguP8BWkc7?sfc=false. Bug: http://b/33001640 Change-Id: I9efedaf1c17a38d4426f030dd252446e4dfbc1cb
2016-11-16Relax ELF header checks - warn for apps targeting pre-ODimitry Ivanov
Bug: http://b/32581440 Test: bionic-unit-tests --gtest_filter=dl*:Dl* Change-Id: I2fe356c67eb9665c671758117679a29b207219e4
2016-11-15Downgrade W+E load segments to a warning unless targeting O.Elliott Hughes
I don't think we're getting any value from more dupes of the same dodgy middleware, and I worry that we're hiding other, more subtle, compatibility issues behind this one. Test: bionic tests Change-Id: I556cf36eac96c90976bae32621d1c133bbb8fcc7
2016-10-07Document a post-N dynamic linker change.Elliott Hughes
Test: N/A Change-Id: I37f3ccccd81c29a4ffe400fc2177bbe082195ade
2016-10-06Turn the recent blog post into markdown docs.Elliott Hughes
Originally http://android-developers.blogspot.com/2016/06/android-changes-for-ndk-developers.html Test: N/A Change-Id: I7ab75bcf9d518310fdf4e752929ba71c286fa242