]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - include/bfdlink.h
[x86] Resolve non-PIC undefweak symbols in executable
[thirdparty/binutils-gdb.git] / include / bfdlink.h
index 9b849aa761e1e59d5f31f2ec6f2769f28421d251..860811c2a7867e21dbd649cc862813dde10ead09 100644 (file)
@@ -542,6 +542,10 @@ struct bfd_link_info
      backend to decide.  */
   int extern_protected_data;
 
+  /* > 0 to treat undefined weak symbol in the executable as dynamic,
+     requiring dynamic relocation.  */
+  int dynamic_undefined_weak;
+
   /* Non-zero if auto-import thunks for DATA items in pei386 DLLs
      should be generated/linked against.  Set to 1 if this feature
      is explicitly requested by the user, -1 if enabled by default.  */