Generic ELF target group signature symbol
[deliverable/binutils-gdb.git] / ld / emultempl / irix.em
index c3ef4169f5bdfa4626da1f50f1070215ccefd7ec..ddd5fd69e5c512458b1f558fefb453abb985cf87 100644 (file)
@@ -1,5 +1,5 @@
 # This shell script emits a C file. -*- C -*-
-#   Copyright 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2004-2019 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -32,7 +32,7 @@ fragment <<EOF
 static void
 irix_after_open (void)
 {
-  if (link_info.shared && command_line.soname == 0)
+  if (bfd_link_dll (&link_info) && command_line.soname == 0)
     command_line.soname
       = (char *) lbasename (bfd_get_filename (link_info.output_bfd));
 
This page took 0.022824 seconds and 4 git commands to generate.