Put _iname in idata$7.
authorSteve Chamberlain <sac@cygnus>
Tue, 29 Aug 1995 23:27:54 +0000 (23:27 +0000)
committerSteve Chamberlain <sac@cygnus>
Tue, 29 Aug 1995 23:27:54 +0000 (23:27 +0000)
binutils/dlltool.c

index 5acb18dfcefc995a1db2a7b4962836fe8a86ebcc..9ea319d3c670ea47b31ab39556459e9876aa67cf 100644 (file)
@@ -1035,7 +1035,7 @@ gen_lib_file ()
 
   sprintf (outfile, "%st.s", prefix);
   f = fopen (outfile, "w");
-
+  fprintf (f, "\t.section      .idata$7\n");
   fprintf (f, "\t%s\t__%s_iname\n", ASM_GLOBAL, imp_name);
   fprintf (f, "__%s_iname:\t%s\t\"%s\"\n",
           imp_name, ASM_TEXT, dll_name);