Check if a symbol is hidden by linker script.
[deliverable/binutils-gdb.git] / ld / emultempl / solaris2.em
index 0b773751ef3d1892e89d2d3eaff703404402cbba..2c24467fd391f1c1ca81401a6cc92b275413b971 100644 (file)
@@ -76,7 +76,8 @@ elf_solaris2_before_allocation (void)
 
   /* Only do this if emitting a shared object and versioning is in place. */
   if (link_info.shared
-      && (lang_elf_version_info != NULL || link_info.create_default_symver))
+      && (link_info.version_info != NULL
+         || link_info.create_default_symver))
     {
       struct bfd_elf_version_expr *globals = NULL, *locals = NULL;
       struct bfd_elf_version_tree *basever;
This page took 0.025485 seconds and 4 git commands to generate.