bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag


From: nickc at redhat dot com
Subject: [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag
Date: Thu, 26 Sep 2024 14:36:11 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=32211

--- Comment #12 from Nick Clifton <nickc at redhat dot com> ---
Hi Dan,

  Sorry, you are right, I was wrong.  And now that I understand the problem I
have been able to track down the exact commit that causes this issue:
0a3137ce4c4b 
Which states:

  There is some inconsistency between the behaviour of objdump -D 
  and objdump -s, both supposedly operating on all sections by 
  default.  objdump -s ignores bss sections, while objdump -D 
  dissassembles the zeros.  Fix this by making objdump -D ignore 
  bss sections too.

I do not know if it will help, but you can work around the problem by using the
-j option to explicitly request the disassembly of the sections that matter,
eg:

  objdump -Dz 23.4-strap-libv8_base.a -j .bss.v8dbg_SmiTag -j
.data.v8dbg_SmiTagMask 

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]