diff options
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r-- | binutils/objdump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c index 1b89fa9..c3982e1 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -1572,7 +1572,8 @@ disassemble_section (bfd *abfd, asection *section, void *info) code are not normally disassembled. */ if (! disassemble_all && only == NULL - && (section->flags & SEC_CODE) == 0) + && ((section->flags & (SEC_CODE | SEC_HAS_CONTENTS)) + != (SEC_CODE | SEC_HAS_CONTENTS))) return; if (! process_section_p (section)) |