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: danmcd at mnx dot io
Subject: [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag
Date: Thu, 26 Sep 2024 15:42:35 +0000

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

--- Comment #13 from Dan McDonald <danmcd at mnx dot io> ---
(In reply to Nick Clifton from comment #12)
> Hi Dan,
> 
> 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 
>

This workaround will not help as there are (lemme check) 85 symbols that get
dropped generating a .h file because of this.  The big .a file is fed into a
pipeline that wants all of the zeroed data sections (which get marked as .bss)
and the non-zeroed ones (that get marked as .data).

I am going to enable `-fno-zero-initialized-in-bss` and see if that helps my
situation, and will report here with an update.

Did this change in 2.41 include updates in the man page or other user
documentation? If so, sorry for missing it. If not, that may be misleading to
folks beyond me.

-- 
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]