diff options
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/sysroot-prefix.exp | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 5fa5677..dee8378 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,9 @@ 2021-01-05 Alan Modra <amodra@gmail.com> + * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets. + +2021-01-05 Alan Modra <amodra@gmail.com> + PR ld/26256 * testsuite/ld-elf/pr26256-1b.d: xfail s12z. * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64. diff --git a/ld/testsuite/ld-scripts/sysroot-prefix.exp b/ld/testsuite/ld-scripts/sysroot-prefix.exp index 8955153..b09bb18 100644 --- a/ld/testsuite/ld-scripts/sysroot-prefix.exp +++ b/ld/testsuite/ld-scripts/sysroot-prefix.exp @@ -17,6 +17,15 @@ # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, # MA 02110-1301, USA. +# Don't run on alpha-vms which requires linking with other libraries, +# or on targets that complain about relocations in read-only sections. +if { [istarget *-*-vms] + || [istarget bfin-*-*] + || [istarget frv-*-*] + || [istarget lm32-*-*] } then { + return +} + # Check that scripts using the "=" sysroot-prefix work, for both # toolchains with and without --sysroot support. |