Add --no-dynamic-linker option to ld, for static PIE use
[binutils-gdb.git] / bfd / sparclinux.c
index e48550b713d5c5e0d73302ab7644f37b8635a5a0..7632dbfd297bb2a156251c9ab16a91f3c2d0bbc1 100644 (file)
@@ -314,7 +314,7 @@ linux_add_one_symbol (struct bfd_link_info *info,
 
   insert = FALSE;
 
-  if (! info->relocatable
+  if (! bfd_link_relocatable (info)
       && linux_hash_table (info)->dynobj == NULL
       && strcmp (name, SHARABLE_CONFLICTS) == 0
       && (flags & BSF_CONSTRUCTOR) != 0