]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld: Update mixed LTO and non-LTO relocatable output tests
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Jan 2025 01:09:28 +0000 (09:09 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Jan 2025 13:09:36 +0000 (21:09 +0800)
commit40db53edab5b1e2cbf76fdee776b3a45632d280d
tree9e44a5c6be8158355f37a533ef8b60bce8ac887d
parent59449a2b21c94b0e1f6cedc278a1beebafaa5111
ld: Update mixed LTO and non-LTO relocatable output tests

Since mixed LTO and non-LTO relocatable output is only supported on ELF
platforms, limit these tests to ELF targets.  Since powerpc64 elfv1
defines a function symbol on its procedure descriptor, which is in a
data section, rather than on the code for that function, allow both D
and T for nm test on mixed object.

* testsuite/ld-plugin/lto.exp: Limits  mixed LTO and non-LTO
relocatable output tests to ELF targets.  Allow both D and T for
nm test on mixed object.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
ld/testsuite/ld-plugin/lto.exp