2012-06-12 Rafael Ávila de Espíndola <respindola@mozilla.com>

* plugin.cc (Plugin::load): Handle position independent executables.
This commit is contained in:
Rafael Ávila de Espíndola 2012-06-12 22:52:41 +00:00
parent 2202d7cd99
commit 370e30b6f9
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2012-06-12 Rafael Ávila de Espíndola <respindola@mozilla.com>
* plugin.cc (Plugin::load): Handle position independent executables.
2012-06-06 Cary Coutant <ccoutant@google.com>
* layout.cc (gdb_sections): Remove ".debug_" prefixes,

View file

@ -184,6 +184,8 @@ Plugin::load()
tv[i].tv_u.tv_val = LDPO_REL;
else if (parameters->options().shared())
tv[i].tv_u.tv_val = LDPO_DYN;
else if (parameters->options().pie())
tv[i].tv_u.tv_val = LDPO_PIE;
else
tv[i].tv_u.tv_val = LDPO_EXEC;