aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2017-11-14 17:07:32 -0800
committerJim Wilson <jimw@sifive.com>2017-11-14 17:07:32 -0800
commit4fbd5513b100b94b6b9fdb51975f79c38b6b1040 (patch)
tree47f9d97b535568c4dc944e36212eb7bda1189e3c /ld
parent754842fba3981b8d9d4d516d6cfc65d3992fa4b2 (diff)
downloadgdb-4fbd5513b100b94b6b9fdb51975f79c38b6b1040.zip
gdb-4fbd5513b100b94b6b9fdb51975f79c38b6b1040.tar.gz
gdb-4fbd5513b100b94b6b9fdb51975f79c38b6b1040.tar.bz2
Add modified file I missed in last commit.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-elf/compressed1d.d4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/compressed1d.d b/ld/testsuite/ld-elf/compressed1d.d
index 3ca40f9..5c5592d 100644
--- a/ld/testsuite/ld-elf/compressed1d.d
+++ b/ld/testsuite/ld-elf/compressed1d.d
@@ -2,8 +2,10 @@
#as: --compress-debug-sections=none
#ld: -r --compress-debug-sections=zlib-gnu
#readelf: -SW
-#notarget: d30v-*-* dlx-*-* fr30-*-* frv-*-* ft32-*-* i370-*-* i860-*-* iq2000-*-* mn10200-*-* moxie-*-* msp430-*-* mt-*-* or1k-*-* pj-*-*
+#notarget: d30v-*-* dlx-*-* fr30-*-* frv-*-* ft32-*-* i370-*-* i860-*-* iq2000-*-* mn10200-*-* moxie-*-* msp430-*-* mt-*-* or1k-*-* pj-*-* riscv*-*-*
# Not all ELF targets use the elf.em emulation...
+# RISC-V has linker relaxations that delete code, so text label subtractions
+# do not get resolved at assembly time, which results in a compressed section.
#failif
#...