diff options
author | Alan Modra <amodra@gmail.com> | 2021-01-07 08:37:38 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-01-07 08:56:28 +1030 |
commit | 4018f4e0fc535c2aee8ad85aeb4e0b8ae6da6385 (patch) | |
tree | 164b77ad9bb593d5af53e5939e9fd7d30336a064 | |
parent | 1606216201cbe3a46524ac3a423c3f60e86405fa (diff) | |
download | binutils-4018f4e0fc535c2aee8ad85aeb4e0b8ae6da6385.zip binutils-4018f4e0fc535c2aee8ad85aeb4e0b8ae6da6385.tar.gz binutils-4018f4e0fc535c2aee8ad85aeb4e0b8ae6da6385.tar.bz2 |
ld pr22471 test fails
* testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
complain about relocs in read-only sections. Tidy ASFLAGS append.
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/shared.exp | 23 |
2 files changed, 18 insertions, 10 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 41fdda1..98f9cde 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2021-01-07 Alan Modra <amodra@gmail.com> + + * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that + complain about relocs in read-only sections. Tidy ASFLAGS append. + 2021-01-06 Alan Modra <amodra@gmail.com> * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp index 33c53f2..fcf237a 100644 --- a/ld/testsuite/ld-elf/shared.exp +++ b/ld/testsuite/ld-elf/shared.exp @@ -71,7 +71,7 @@ if { [istarget "mips*vr4100*-*-elf*"] \ } if [is_underscore_target] { - set ASFLAGS "$ASFLAGS --defsym UNDERSCORE=1" + append ASFLAGS " --defsym UNDERSCORE=1" } run_ld_link_tests [list \ @@ -94,15 +94,6 @@ run_ld_link_tests [list \ "pr22471b.so" \ ] \ [list \ - "Build pr22471" \ - "$LFLAGS -rpath-link ." \ - "tmpdir/pr22471b.so" \ - "" \ - {pr22471b.s} \ - {} \ - "pr22471" \ - ] \ - [list \ "Build pr22649-1.so" \ "$LFLAGS -shared" \ "" \ @@ -113,6 +104,18 @@ run_ld_link_tests [list \ ] \ ] +run_ld_link_tests [list \ + [list \ + "Build pr22471" \ + "$LFLAGS -rpath-link . -rpath-link tmpdir" \ + "tmpdir/pr22471b.so" \ + "" \ + {pr22471b.s} \ + {} \ + "pr22471" \ + ] \ +] bfin-*-* frv-*-* lm32-*-* + if { [check_gc_sections_available] } { if [istarget mips*-*-*] { set actions {{ld pr22649-2ab-mips.msg}} |