objdump -d with -j and objdump disassembly of .plt
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Fri Jan 30 15:27:00 GMT 2026
Hi Alan,
> objdump -D disassembles non-code sections, paying no heed to symbols
> in those sections. I think "objdump -d -j .data" should do the same,
> ie. not switch into dumping the section as data because an object
> symbol is encountered.
>
> On the other hand, dissassembly of .plt which is a code section, dumps
> the first part of .plt as data due to the presense of
> _PROCEDURE_LINKAGE_TABLE_. Fix that too.
>
> A few ld tests are impacted by this change, but as far as I can see
> gcc and glibc won't be affected.
I've just given it a try and, as expected it causes
XPASS: gnu-debuglink (objdump 1) (PRMS PR binutils/33243)
on amd64-pc-solaris2.11. Will you remove the xfail in there or should I
once your patch is in?
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Binutils
mailing list