For test for PR 29072 when the linker is configured with --enable-default-execstack=no.
[binutils-gdb.git] / ld / testsuite / ld-riscv-elf / code-model-medany-weakref-01.d
1 #source: code-model.s
2 #as: -march=rv64i -mabi=lp64 --defsym __medany__=1 --defsym __undefweak__=1
3 #ld: -Tcode-model-01.ld -melf64lriscv --no-relax
4 #error: .*relocation truncated to fit: R_RISCV_GOT_HI20 against undefined symbol `symbolW'