libgot-1 testcases
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
* testsuite/ld-i386/binutils.exp: Reduce number of tests.
* testsuite/ld-i386/libgot-1.rd: New.
* testsuite/ld-i386/libgot-1a.rd,
* testsuite/ld-i386/libgot-1b.rd,
* testsuite/ld-i386/libgot-1c.rd,
* testsuite/ld-i386/libgot-1d.rd: Delete.
* testsuite/ld-x86-64/binutils.exp: Reduce number of tests.
* testsuite/ld-x86-64/libgot-1.rd: New.
* testsuite/ld-x86-64/libgot-1a.rd,
* testsuite/ld-x86-64/libgot-1b.rd,
* testsuite/ld-x86-64/libgot-1c.rd,
* testsuite/ld-x86-64/libgot-1d.rd: Delete.
* testsuite/ld-x86-64/libgot-1-x32.rd: New.
* testsuite/ld-x86-64/libgot-1a-x32.rd,
* testsuite/ld-x86-64/libgot-1b-x32.rd,
* testsuite/ld-x86-64/libgot-1c-x32.rd,
* testsuite/ld-x86-64/libgot-1d-x32.rd: Delete.