Skip to content
Snippets Groups Projects
Commit c1c1ec36 authored by Avi Kivity's avatar Avi Kivity
Browse files

elf: fix symbol resolution order to use load order

This fixes an issue where a symbol exists in multiple objects; when just
one is loaded it is resolved to one of the modules, but after the second is
loaded, it resolves to the second.  To the program this appears as if the
address or contents of a static variable has changed.

In our case this was triggered by both statically and dynamically linking
a library.
parent 3527e270
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment