From: Ian Lance Taylor Date: Fri, 3 Jul 1998 17:45:52 +0000 (+0000) Subject: * elf.c (copy_private_bfd_data): Only set phdr_included oncde for X-Git-Tag: gdb-4_18~1668 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=369ee5df3ed0c3afc51287625dbf13cd38e3be3a;p=external%2Fbinutils.git * 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 721aa78..2fb6b8f 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.