aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/emit-relocs-271-overflow.d
blob: b526ca469c2c698b579adab94362c56fe25cc154 (plain)
1
2
3
4
5
#source: emit-relocs-271-overflow.s
#ld: -T relocs.ld --defsym tempy=0x100000000 --defsym tempy1=-0x100000001 -e0 --emit-relocs
#objdump: -dr
#error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_MOVW_SABS_G1 against symbol `tempy' .*
#error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_MOVW_SABS_G1 against symbol `tempy1' .*