elfcpp/
[deliverable/binutils-gdb.git] / ld / plugin.c
index 2515888878d083744925ef218eeaf5b164702580..7e3d2a33ba87075efe5fdd859171b803a7f1e8cd 100644 (file)
@@ -697,7 +697,9 @@ set_tv_header (struct ld_plugin_tv *tv)
        case LDPT_LINKER_OUTPUT:
          TVU(val) = (link_info.relocatable
                      ? LDPO_REL
-                     : link_info.executable ? LDPO_EXEC : LDPO_DYN);
+                     : (link_info.executable
+                        ? (link_info.pie ? LDPO_PIE : LDPO_EXEC)
+                        : LDPO_DYN));
          break;
        case LDPT_OUTPUT_NAME:
          TVU(string) = output_filename;
This page took 0.022969 seconds and 4 git commands to generate.