* coffgen.c (coff_bfd_make_debug_symbol): Improve comment.
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 28 Mar 1996 03:34:05 +0000 (03:34 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 28 Mar 1996 03:34:05 +0000 (03:34 +0000)
* coffcode.h (coff_new_section_hook): Ditto.

bfd/coffcode.h
bfd/coffgen.c

index abdd1199950879483f7cb977ead6c9b1ca07a58f..e703167ce621da6137c2eb159032de16ccb6d16a 100644 (file)
@@ -903,7 +903,8 @@ coff_new_section_hook (abfd, section)
   /* Allocate aux records for section symbols, to store size and
      related info.
 
-     @@ Shouldn't use constant multiplier here!  */
+     @@ The 10 is a guess at a plausible maximum number of aux entries
+     (but shouldn't be a constant).  */
   coffsymbol (section->symbol)->native =
     (combined_entry_type *) bfd_zalloc (abfd,
                                        sizeof (combined_entry_type) * 10);
index 5948189b053aba683ea8a80eb6c7e9adaed9897a..bb9882b7e60f8d8f113b022980e8c7aa04896828 100644 (file)
@@ -1762,7 +1762,8 @@ coff_bfd_make_debug_symbol (abfd, ptr, sz)
   coff_symbol_type *new = (coff_symbol_type *) bfd_alloc (abfd, sizeof (coff_symbol_type));
   if (new == NULL)
     return (NULL);
-  /* @@ This shouldn't be using a constant multiplier.  */
+  /* @@ The 10 is a guess at a plausible maximum number of aux entries
+     (but shouldn't be a constant).  */
   new->native = (combined_entry_type *) bfd_zalloc (abfd, sizeof (combined_entry_type) * 10);
   if (!new->native)
     return (NULL);
This page took 0.02733 seconds and 4 git commands to generate.