diff options
author | Alan Modra <amodra@gmail.com> | 2007-01-04 13:30:39 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-01-04 13:30:39 +0000 |
commit | b327f31f6db30f09102c0212eb526c7d83b09daa (patch) | |
tree | 557122aae61da042fdb76c38c2ef1e87cb13e160 /bfd/elf-eh-frame.c | |
parent | f9e182823dec22a74e570bd4257bf7d1ef2e3dfd (diff) | |
download | gdb-b327f31f6db30f09102c0212eb526c7d83b09daa.zip gdb-b327f31f6db30f09102c0212eb526c7d83b09daa.tar.gz gdb-b327f31f6db30f09102c0212eb526c7d83b09daa.tar.bz2 |
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
SEC_EXCLUDE on zero size .eh_frame.
Diffstat (limited to 'bfd/elf-eh-frame.c')
-rw-r--r-- | bfd/elf-eh-frame.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c index 2aa61e1..acc75a8 100644 --- a/bfd/elf-eh-frame.c +++ b/bfd/elf-eh-frame.c @@ -927,8 +927,6 @@ _bfd_elf_discard_section_eh_frame /* Resize the sec as needed. */ sec->rawsize = sec->size; sec->size = offset; - if (sec->size == 0) - sec->flags |= SEC_EXCLUDE; free (ehbuf); if (ecies) |