]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld/testsuite: exclude relocs from section contributions PDB test
authorMark Harmstone <mark@harmstone.com>
Mon, 9 Sep 2024 21:01:00 +0000 (22:01 +0100)
committerMark Harmstone <mark@harmstone.com>
Wed, 11 Sep 2024 00:02:44 +0000 (01:02 +0100)
commit8e98b4aa43deebf76f4bff2eaac0165ce6eb4c1b
treeb74c89066bc56bc3f8606b4c1b13dfdd8f253e80
parent80b48e0afd25650a3a1ef36d8c5edd9b6c538f14
ld/testsuite: exclude relocs from section contributions PDB test

A bug in ld meant that we were erroneously generating image relocations
for .secrel32 ops, which we then reflected in our PDB section
contributions because the linker was adding a .reloc section.

This was incidental to what we were testing for, so pass
--disable-reloc-section to ld in order to ensure a consistent output.
ld/testsuite/ld-pe/pdb.exp
ld/testsuite/ld-pe/pdb2-section-contrib.d