* elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
authorIan Lance Taylor <ian@airs.com>
Thu, 30 Nov 1995 22:15:13 +0000 (22:15 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 30 Nov 1995 22:15:13 +0000 (22:15 +0000)
commit6933148af0326746716eefa54971d58e7ec00d04
treeb2c0f3d5ae4dc18df9798e6a9e8b7319c617d376
parent638536a7ef31075d09bd9d156814088225ba0236
* elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
p_paddr if p_paddr is zero.
(make_mapping): Set includes_filehdr and includes_phdrs for first
PT_LOAD segment.
(map_sections_to_segments): Set includes_phdrs for PT_PHDR
segment.
(assign_file_positions_for_segments): Handle includes_filehdr and
includes_phdrs.  Remove special handling of PT_PHDR and first
PT_LOAD segments.
(copy_private_bfd_data): Set includes_filehdr and includes_phdr
when appropriate.  Remove special handling of PT_PHDR segment.
Use a more complex condition for when a section is included in a
segment to handle Solaris linker oddities.
bfd/ChangeLog
bfd/elf.c