* config/atof-ieee.c (gen_to_words): Correctly round a
[deliverable/binutils-gdb.git] / bfd / ecofflink.c
index 7982945951f817660e857781a56dfa325dead3eb..a120a2be7c58f19e9caeb7cd3db049574ff2a7a7 100644 (file)
@@ -28,6 +28,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #include "coff/sym.h"
 #include "coff/symconst.h"
 #include "coff/ecoff.h"
+#include "libcoff.h"
+#include "libecoff.h"
 \f
 static boolean ecoff_add_bytes PARAMS ((char **buf, char **bufend,
                                        size_t need));
@@ -704,17 +706,18 @@ bfd_ecoff_debug_accumulate (handle, output_bfd, output_debug, output_swap,
          struct string_hash_entry *fh;
 
          /* We look up a string formed from the file name and the
-            number of symbols.  Sometimes an include file will
-            conditionally define a typedef or something based on the
-            order of include files.  Using the number of symbols as a
-            hash reduces the chance that we will merge symbol
-            information that should not be merged.  */
+            number of symbols and aux entries.  Sometimes an include
+            file will conditionally define a typedef or something
+            based on the order of include files.  Using the number of
+            symbols and aux entries as a hash reduces the chance that
+            we will merge symbol information that should not be
+            merged.  */
          name = input_debug->ss + fdr.issBase + fdr.rss;
 
          lookup = (char *) bfd_malloc (strlen (name) + 20);
          if (lookup == NULL)
            return false;
-         sprintf (lookup, "%s %lx", name, fdr.csym);
+         sprintf (lookup, "%s %lx %lx", name, fdr.csym, fdr.caux);
 
          fh = string_hash_lookup (&ainfo->fdr_hash, lookup, true, true);
          free (lookup);
This page took 0.023296 seconds and 4 git commands to generate.