From: Alan Modra Date: Mon, 28 Nov 2016 05:44:56 +0000 (+1030) Subject: Revert accidental elf.c change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9a38e0f5287ce7b4629f5f923191e38dd7355c0;p=binutils-gdb.git Revert accidental elf.c change * elf.c (get_program_header_size): Revert accidental change. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e804d6ef4b6..fc32759107b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2016-11-30 Alan Modra + + * elf.c (get_program_header_size): Revert accidental change. + 2016-11-30 Alan Modra PR ld/20886 diff --git a/bfd/elf.c b/bfd/elf.c index 5cc938d8117..3d1a28aa7ee 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -4254,7 +4254,7 @@ get_program_header_size (bfd *abfd, struct bfd_link_info *info) PT_INTERP segment. In this case, assume we also need a PT_PHDR segment, although that may not be true for all targets. */ - segs += 3; + segs += 2; } if (bfd_get_section_by_name (abfd, ".dynamic") != NULL)