diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-07 02:58:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-07 02:58:00 +0000 |
commit | 1ba38c090be269fe96b21909aa123509008a160a (patch) | |
tree | d497ec98398529ad581b32cec5032baefbc16fb6 | |
parent | 4f00c8f489bfd433d52078f536df4456e00d8917 (diff) | |
download | binutils-redhat-1ba38c090be269fe96b21909aa123509008a160a.tar.gz |
add comment
-rw-r--r-- | bfd/cofflink.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c index 74d1a12ee7..0b492ae842 100644 --- a/bfd/cofflink.c +++ b/bfd/cofflink.c @@ -438,6 +438,11 @@ coff_link_add_symbols (abfd, info) (*sym_hash)->coff_link_hash_flags |= COFF_LINK_HASH_PE_SECTION_SYMBOL; + /* Limit the alignment of a common symbol to the possible + alignment of a section. There is no point to permitting + a higher alignment for a common symbol: we can not + guarantee it, and it may cause us to allocate extra space + in the common section. */ if (section == bfd_com_section_ptr && (*sym_hash)->root.type == bfd_link_hash_common && ((*sym_hash)->root.u.c.p->alignment_power |