objdump -d with -j and objdump disassembly of .plt
Alan Modra
amodra@gmail.com
Fri Jan 30 21:00:09 GMT 2026
On Fri, Jan 30, 2026 at 04:27:00PM +0100, Rainer Orth wrote:
> 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?
I was going to leave that to you, but since you've verified the XPASS
I will remove the xfail when pushing my change. That won't happen for
a few days at least to give time for dissenting opinions to be heard.
--
Alan Modra
More information about the Binutils
mailing list