summaryrefslogtreecommitdiffstats
path: root/linker/tests
Commit message (Collapse)AuthorAgeFilesLines
* General purpose memory allocator for linker.Dmitriy Ivanov2015-03-162-1/+199
| | | | | | | | Add basic general purpose memory allocator to linker in order to enable usage of other libraries like libziparchive. Change-Id: I4a680ebb36ed5ba67c61249f81dba9f567808434
* Rename LinkerAllocator and LinkerAllocatorPageDmitriy Ivanov2015-03-101-4/+4
| | | | Change-Id: I87d80fbcd4ec26c0ee4f601b9c4c64f600418dd9
* Refactoring: rename linker_allocator filesDmitriy Ivanov2015-03-102-3/+3
| | | | Change-Id: Ifc08e64b3a85205f072b7abab1149c7ab71e2f75
* Remove obsolete BUILD_TINY_ANDROID.Elliott Hughes2015-01-241-4/+0
| | | | Change-Id: If2fc97134340fd09ec2583b666ace2f673cbdf66
* Load libraries in breadth-first orderDmitriy Ivanov2014-09-081-4/+0
| | | | | | | | | | This patch fixes the problem with symbol search order for dlsym(RTLD_DEFAULT/RTLD_NEXT, .) by loading libraries and ld_preloads in correct order. Bug: https://code.google.com/p/android/issues/detail?id=74255 Change-Id: If1ba5c807322409faa914e27ecb675e2c4541f0d Attempt: 2
* Implement LinkedList::visit()Dmitriy Ivanov2014-09-021-7/+43
| | | | Change-Id: Ibd9d133dddf1f2e6e65660e3cd2dacafcc0c84d9
* Erase elements in LinkedList::remove_ifDmitriy Ivanov2014-08-291-5/+72
| | | | Change-Id: I5119a78c73ffe780a81c53ab5ff0266d5c82d319
* Fix dlsym(3) to do breadth first search.Dmitriy Ivanov2014-07-291-0/+20
| | | | | | | | dlsym(3) with handle != RTLD_DEFAULT|RTLD_NEXT performs breadth first search through the dependency tree. Bug: 16653281 Change-Id: I017a6975d1a62abb0218a7eb59ae4deba458e324
* Fix global variable initialization for linkerDmitriy Ivanov2014-07-241-4/+0
| | | | | | Linker now calls init functions for itself. Change-Id: Ibd099812493041ac70f591e3f379ee742b4683b8
* Native tests are now multilib=both by defaultDmitriy Ivanov2014-07-011-1/+0
| | | | Change-Id: I788ac0b871703c137727a65e017c4466127c0190
* Turn on -Wunused and fix the mistakes it uncovers.Elliott Hughes2014-06-031-1/+1
| | | | Change-Id: I023d2d8b547fbc21d4124bb7510d42b06a0dc501
* Improve detection of already loaded librariesDmitriy Ivanov2014-05-142-0/+98
| | | | | | | | | | Linker is now able to resolve symlinked libraries correctly. soinfo is extended to save the graph of dependencies during load/unload. Dependencies are used only in CallConstructor. Bug: 9741592 Change-Id: Id9c48a74c46aa89bcdf3d54ec2f8ba3d398130b1
* Fix for linker allocatorDmitriy Ivanov2014-05-141-0/+3
| | | | Change-Id: I18a3f1a8515657f0deb69266184fb516a27f90e8
* Remove page level mprotectsDmitriy Ivanov2014-05-131-30/+0
| | | | | | | | | Freeing block mprotects on the page which it turn may lead to application crash if linker subsequently tries to modify another block on the page. Bug: 14895266 Change-Id: I8ff7f5df467d7be184242de652032b3c84e24b76
* Refactor linker allocatorDmitriy Ivanov2014-05-122-0/+199
Makes it reusable for different fixed sized and not very big structures (<PAGE_SIZE). Change-Id: Id5ec13fc6541b1935ef7fe3671c22b98685abbae