2012-06-12 Rafael Ávila de Espíndola <respindola@mozilla.com>
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Tue, 12 Jun 2012 22:52:41 +0000 (22:52 +0000)
committerRafael Ávila de Espíndola <respindola@mozilla.com>
Tue, 12 Jun 2012 22:52:41 +0000 (22:52 +0000)
* plugin.cc (Plugin::load): Handle position independent executables.

gold/ChangeLog
gold/plugin.cc

index bc21207ce1747a037153d55168bef14dc9f96189..75fda65ab562229926338670f9ec72c7391d1d26 100644 (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,
index 63d0974c6ad96332df56e142e7eb282e74da0f11..5aadc5528a3b4b0a934b4b0d9bfe1cb23a4c8e00 100644 (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;
 
This page took 0.030289 seconds and 4 git commands to generate.