]> 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:55:09 +0000 (06:55 -0700)
commit2d37b890e569330a29181ec3bd34b5cc1c354cbc
tree24bab0560c97ff927c96b69727a851a50822668c
parentd16a1893c44f1b270c8298361dacbb768d3bfbfb
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>
(cherry picked from commit eb53cbeca8cf456b4a79f33d7a2a586a99b4b2e3)
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