Skip to content
Commit df70204d authored by Kirill A. Shutemov's avatar Kirill A. Shutemov Committed by Blue Swirl
Browse files

Fix text relocations in linux-user targets



There is a link hack in linux-user which produces an executable that
looks like PIE, but always has text relocations since all object files
isn't position-independent (compiled without -fpic/-fpie). Dynamic loader
has to do more work to load a binary with text relocations.

The best way to keep this functionality is to build a true PIE without
text relocations.

Signed-off-by: default avatarKirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
parent 5791f45b
Loading
Loading
Loading
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