]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
lto: Add a test for PR ld/32083
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 16 Aug 2024 10:48:34 +0000 (03:48 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 22 Aug 2024 13:34:53 +0000 (06:34 -0700)
commiteb53cbeca8cf456b4a79f33d7a2a586a99b4b2e3
treecd32f63bfe22145cbea3f772e6db2d3329a233cd
parent573d8bb08bfff4638405add40a6a61868af1f2a4
lto: Add a test for PR ld/32083

Add a test for PR ld/32083 and xfail the test for GCC without the fix:

commit a98dd536b1017c2b814a3465206c6c01b2890998
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Aug 21 07:25:25 2024 -0700

    Update LDPT_REGISTER_CLAIM_FILE_HOOK_V2 linker plugin hook

PR ld/32083
* testsuite/ld-plugin/common-2a.c: New file.
* testsuite/ld-plugin/common-2b.c: Likewise.
* testsuite/ld-plugin/lto.exp: Run PR ld/32083 test.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
ld/testsuite/ld-plugin/common-2a.c [new file with mode: 0644]
ld/testsuite/ld-plugin/common-2b.c [new file with mode: 0644]
ld/testsuite/ld-plugin/lto.exp