mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
Revert "objdump: Check the SEC_CODE bit for code"
PR 33389
This reverts commit 6b27a22032.
This commit is contained in:
@@ -4091,7 +4091,6 @@ disassemble_section (bfd *abfd, asection *section, void *inf)
|
||||
if (disassemble_all
|
||||
|| sym == NULL
|
||||
|| sym->section != section
|
||||
|| (section->flags & SEC_CODE) != 0
|
||||
|| bfd_asymbol_value (sym) > addr
|
||||
|| ((sym->flags & BSF_OBJECT) == 0
|
||||
&& (strstr (bfd_asymbol_name (sym), "gnu_compiled")
|
||||
|
||||
Reference in New Issue
Block a user