[binutils-gdb] Revert "objdump: Check the SEC_CODE bit for code"
Alan Modra
amodra@sourceware.org
Tue Sep 9 07:52:36 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5d56bdcd71be827d575c41339c6d407fcf54ba2f
commit 5d56bdcd71be827d575c41339c6d407fcf54ba2f
Author: Alan Modra <amodra@gmail.com>
Date: Tue Sep 9 17:18:41 2025 +0930
Revert "objdump: Check the SEC_CODE bit for code"
PR 33389
This reverts commit 6b27a220321ecead5435b170f1db02f1876cee08.
Diff:
---
binutils/objdump.c | 1 -
1 file changed, 1 deletion(-)
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")
More information about the Binutils-cvs
mailing list