* elf.c (assign_file_positions_for_segments): Test SEC_ALLOC
authorIan Lance Taylor <ian@airs.com>
Wed, 11 Sep 1996 15:59:34 +0000 (15:59 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 11 Sep 1996 15:59:34 +0000 (15:59 +0000)
commitd7775b4355602cddb74fda60b89afb0d8ec8fba4
tree96484437f6af26e21103b919026407cbaef4eda3
parentd7deed257c71d65d39d2d93797b3f87b678e95b7
* elf.c (assign_file_positions_for_segments): Test SEC_ALLOC
rather than SEC_LOAD when aligning the file offset for the first
section in a segment.
Fixes the case in which . is set just before the .bss section in a
linker script.
bfd/ChangeLog
bfd/elf.c