From 369ee5df3ed0c3afc51287625dbf13cd38e3be3a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 3 Jul 1998 17:45:52 +0000 Subject: [PATCH] * elf.c (copy_private_bfd_data): Only set phdr_included oncde for a PT_LOAD segment, rather than only setting it once for the entire file. * elf.c (_bfd_elf_make_section_from_shdr): When setting the LMA, rather than ignoring every phdr with a p_paddr of 0, ignore all the phdrs if they all have a p_paddr of 0. --- bfd/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 721aa787515..2fb6b8fe0cd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,13 @@ Fri Jul 3 13:11:35 1998 Ian Lance Taylor + * elf.c (copy_private_bfd_data): Only set phdr_included oncde for + a PT_LOAD segment, rather than only setting it once for the entire + file. + + * elf.c (_bfd_elf_make_section_from_shdr): When setting the LMA, + rather than ignoring every phdr with a p_paddr of 0, ignore all + the phdrs if they all have a p_paddr of 0. + * stabs.c (_bfd_write_stab_strings): Check whether the .stabstr section was discarded from the link. -- 2.30.2