aboutsummaryrefslogtreecommitdiffstats
path: root/linker/linker_allocator.cpp
Commit message (Collapse)AuthorAgeFilesLines
* General purpose memory allocator for linker.Dmitriy Ivanov2015-03-161-0/+346
| | | | | | | | Add basic general purpose memory allocator to linker in order to enable usage of other libraries like libziparchive. Change-Id: I4a680ebb36ed5ba67c61249f81dba9f567808434
* Refactoring: rename linker_allocator filesDmitriy Ivanov2015-03-101-134/+0
| | | | Change-Id: Ifc08e64b3a85205f072b7abab1149c7ab71e2f75
* Add missing includes.Elliott Hughes2015-01-281-0/+2
| | | | Change-Id: Ibf549266a19a67eb9158d341a69dddfb654be669
* Label pages mapped by linker_allocatorDmitriy Ivanov2014-08-111-0/+5
| | | | Change-Id: I7e0bf29bc1a480e9be0d1ae573ca1063d90d82ff
* Fix global variable initialization for linkerDmitriy Ivanov2014-07-241-7/+2
| | | | | | Linker now calls init functions for itself. Change-Id: Ibd099812493041ac70f591e3f379ee742b4683b8
* Improve detection of already loaded librariesDmitriy Ivanov2014-05-141-2/+4
| | | | | | | | | | 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-1/+1
| | | | Change-Id: I18a3f1a8515657f0deb69266184fb516a27f90e8
* Remove page level mprotectsDmitriy Ivanov2014-05-131-12/+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-121-0/+142
Makes it reusable for different fixed sized and not very big structures (<PAGE_SIZE). Change-Id: Id5ec13fc6541b1935ef7fe3671c22b98685abbae