aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-03-28 03:34:05 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-03-28 03:34:05 +0000
commit1d8eda7ab48030197747490cb54b8123cc4cbddd (patch)
tree65c34cf7c9bef1643183aff21df16ad09db2be58 /bfd/coffcode.h
parent06f4dc08823ef624e2f8f0713f3b1252b70d1c31 (diff)
downloadbinutils-1d8eda7ab48030197747490cb54b8123cc4cbddd.zip
binutils-1d8eda7ab48030197747490cb54b8123cc4cbddd.tar.gz
binutils-1d8eda7ab48030197747490cb54b8123cc4cbddd.tar.bz2
* coffgen.c (coff_bfd_make_debug_symbol): Improve comment.
* coffcode.h (coff_new_section_hook): Ditto.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index abdd119..e703167 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -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);