Revert accidental elf.c change

* elf.c (get_program_header_size): Revert accidental change.
This commit is contained in:
Alan Modra 2016-11-28 16:14:56 +10:30
parent 502d895cd1
commit e9a38e0f52
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-11-30 Alan Modra <amodra@gmail.com>
* elf.c (get_program_header_size): Revert accidental change.
2016-11-30 Alan Modra <amodra@gmail.com>
PR ld/20886

View File

@ -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)