From: Alan Modra Date: Tue, 9 Sep 2025 07:48:41 +0000 (+0930) Subject: Revert "objdump: Check the SEC_CODE bit for code" X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5d56bdcd71be827d575c41339c6d407fcf54ba2f;p=thirdparty%2Fbinutils-gdb.git Revert "objdump: Check the SEC_CODE bit for code" PR 33389 This reverts commit 6b27a220321ecead5435b170f1db02f1876cee08. --- diff --git a/binutils/objdump.c b/binutils/objdump.c index d322775e72d..0bea4d0761c 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -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")