From 64140f86ab732f9ed87beccab07c32befaf9ca52 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 11 Aug 2015 03:50:17 -0700 Subject: Fix a typo in _bfd_elf_copy_private_bfd_data * elf.c (_bfd_elf_copy_private_bfd_data): Fix a typo. --- bfd/elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/elf.c') diff --git a/bfd/elf.c b/bfd/elf.c index 9e401c8..15de37b 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -1237,7 +1237,7 @@ _bfd_elf_copy_private_bfd_data (bfd *ibfd, bfd *obfd) into SHT_NOBITS sections, the output SHT_NOBITS type matches any input type. */ if ((oheader->sh_type == SHT_NOBITS - || oheader->sh_type == oheader->sh_type) + || iheader->sh_type == oheader->sh_type) && iheader->sh_flags == oheader->sh_flags && iheader->sh_addralign == oheader->sh_addralign && iheader->sh_entsize == oheader->sh_entsize -- cgit v1.1