x86: extend SSE check to PCLMULQDQ, AES, and GFNI insns
[deliverable/binutils-gdb.git] / binutils / dlltool.c
index 88ee5a5f1b1640fa7dca2cae1a8eb7ea493f2e17..189907a0b0bf5595fd9ba5a48e69c070bf3f4ef7 100644 (file)
@@ -1,5 +1,5 @@
 /* dlltool.c -- tool to generate stuff for PE style DLLs
-   Copyright (C) 1995-2017 Free Software Foundation, Inc.
+   Copyright (C) 1995-2018 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
@@ -2338,7 +2338,7 @@ static sinfo secdata[NSECS] =
   INIT_SEC_DATA (IDATA7, ".idata$7", SEC_HAS_CONTENTS, 2),
   INIT_SEC_DATA (IDATA5, ".idata$5", SEC_HAS_CONTENTS, 2),
   INIT_SEC_DATA (IDATA4, ".idata$4", SEC_HAS_CONTENTS, 2),
-  INIT_SEC_DATA (IDATA6, ".idata$6", SEC_HAS_CONTENTS, 2)
+  INIT_SEC_DATA (IDATA6, ".idata$6", SEC_HAS_CONTENTS, 1)
 };
 
 #else
@@ -2543,18 +2543,6 @@ make_one_lib_file (export_type *exp, int i, int delay)
 #endif
       ptrs[oidx++] = exp_label;
     }
-#ifndef DLLTOOL_PPC
-  else
-    {
-      /* PR 20881: Add __nm_<symbol> for the exported library.
-        FIXME: Might be needed for PowerPC, but currently unable to test this.  */
-      exp_label = bfd_make_empty_symbol (abfd);
-      exp_label->name = make_imp_label ("__nm_", exp->name);
-      exp_label->section = secdata[IDATA6].sec;
-      exp_label->flags = BSF_GLOBAL;
-      exp_label->value = 0;
-    }
-#endif
 
   /* Generate imp symbols with one underscore for Microsoft
      compatibility, and with two underscores for backward
@@ -2585,12 +2573,6 @@ make_one_lib_file (export_type *exp, int i, int delay)
   if (create_compat_implib)
     ptrs[oidx++] = iname;
   ptrs[oidx++] = iname2;
-#ifndef DLLTOOL_PPC
-  /* PR 20881:
-     According to pe-dll.c __nm_<symbol> should be add after __imp_<symbol>.  */
-  if (exp->data)
-    ptrs[oidx++] = exp_label;
-#endif
 
   iname_lab_pp = ptrs + oidx;
   ptrs[oidx++] = iname_lab;
This page took 0.025363 seconds and 4 git commands to generate.