191ecdc49b
The call to the load hook needs to be moved before the call to link_image() because the latter calls ifunc resolvers which might access global variables. This fixes a bunch of ifunc tests. The dlfcn.segment_gap test is currently failing. One problem is that the name of the .bss.end_of_gap section changes as a result of global instrumentation. Add some wildcards in so that we match both names. The other problem seems to be the same as b/139089152. It turns out that we need to untag pointers in a few more places. Since we have quite a few of these now it seems worth creating a function for it. Test: bionic-unit-tests Change-Id: I44e2b0904faacdda7cc0c5e844ffc09de01dea2d |
||
---|---|---|
.. | ||
Android.bp | ||
libdl.cpp | ||
libdl.map.txt | ||
libdl_android.cpp | ||
libdl_android.map.txt | ||
libdl_cfi.cpp | ||
libdl_static.cpp | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE |