summaryrefslogtreecommitdiff
path: root/linker/linker_main.cpp
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2018-11-22 02:14:14 -0800
committerRyan Prichard <rprichard@google.com>2018-12-04 13:51:46 -0800
commit5a66490e3b9738cc70162257788bcc00583032fa (patch)
tree3c284f55d4ce2f2af5745627bf271812082d3223 /linker/linker_main.cpp
parent9cfca866ce36458bb942b7eebc4997f7bb94d3ad (diff)
Use shared globals so getauxval works earlier
Make getauxval() work in .preinit_array. It still won't be usable for ifuncs unless we can guarantee that the __loader_shared_globals relocation is resolved before the ifunc calls [__bionic_]getauxval. Define __bionic_getauxval for use in replacing calls to KernelArgumentBlock::getauxval, which doesn't (and sometimes isn't allowed to) access TLS variables like errno. Bug: http://b/25751302 Test: bionic unit tests Change-Id: I461feeaed7f43cfa2a2b6c34147194f0df82b516 Merged-In: I461feeaed7f43cfa2a2b6c34147194f0df82b516 (cherry picked from commit bdab4a2b97c53af0205788875342ec08e6901376)
Diffstat (limited to 'linker/linker_main.cpp')
0 files changed, 0 insertions, 0 deletions