projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ignore degenerate PT_LOAD segments
[deliverable/binutils-gdb.git]
/
bfd
/
elf.c
diff --git
a/bfd/elf.c
b/bfd/elf.c
index 397fa62178f634ca5f482cab2bb26efa99e21111..b069b592652dfd4d5c82478c71ba1b67538953fa 100644
(file)
--- a/
bfd/elf.c
+++ b/
bfd/elf.c
@@
-5897,6
+5897,7
@@
assign_file_positions_for_non_load_sections (bfd *abfd,
lm = lm->next, lp++)
{
if (lp->p_type == PT_LOAD
+ && lp->p_memsz != 0
&& lm->count != 0
&& lm->sections[lm->count - 1]->vma >= start
&& lm->sections[0]->vma < end)
This page took
0.025598 seconds
and
4
git commands to generate.