2007-06-14 Paolo Bonzini <bonzini@gnu.org>
[binutils.git] / ld / testsuite / ld-mips-elf / jaloverflow.d
blobb77afe67ae6f4c2ab7b1893e67e91a49052ebd6f
1 #name: JAL overflow
2 #source: jaloverflow.s
3 #as:
4 #ld: -Ttext=0xffffff0 -e start
5 #error: .*relocation truncated to fit.*
7 # This tests whether we correctly detect overflow in the jal
8 # instruction. jal is a bit weird since the upper four bits of the
9 # destination address are taken from the source address. So overflow
10 # occurs if the source and destination address do not have the same
11 # most significant four bits.