libgot-1 testcases

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Thu Jan 22 15:14:21 GMT 2026


Hi Alan,

> There is no need for multiple tests of readelf --got-contents,
> nor should the matching be so strict that changes in section layout
> force editing of the testsuite.
>
> It also looks to me that the i386 --got-contents output is wrong,
> at least it is confusing to have .rel.plt show
> 0020020c  00000307 R_386_JUMP_SLOT   00000000   bar
> while the corresponding got-contents dump shows "bar + 156".
>      3: 0020020c R_386_JUMP_SLOT   bar + 156

thanks.  Btw., ld-s390/libgot_64-1b.rd has the same issue, probably
inspired by HJs tests.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Binutils mailing list