PR 2995, PR 6473
authorAlan Modra <amodra@gmail.com>
Thu, 1 May 2008 14:13:58 +0000 (14:13 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 1 May 2008 14:13:58 +0000 (14:13 +0000)
commit889677147d31c890be714c422f081e9f39b603e9
tree3e5b865ff1e8975fac69bfc6aa6777d8886db76f
parent4418b2d587cab23c5257683aaf40dbdb6a091782
PR 2995, PR 6473
* elf.c (_bfd_elf_make_section_from_shdr): Always set lma from p_paddr.
(assign_file_positions_for_load_sections): Combine nested "if".
(copy_elf_program_header): Don't set p_paddr_valid or p_vaddr_offset
when all header p_paddr fields are zero.
bfd/ChangeLog
bfd/elf.c