aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-riscv-elf/code-model-relax-medany-weakref-01.d
blob: 5b2d1eaf1db1669262a4cbdc334328b2d5fa8bca (plain)
1
2
3
4
#source: code-model.s
#as: -march=rv64i -mabi=lp64 --defsym __medany__=1 --defsym __undefweak__=1
#ld: -Tcode-model-01.ld -melf64lriscv --relax
#error: .*relocation truncated to fit: R_RISCV_GOT_HI20 against undefined symbol `symbolW'