Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / xtensa / err-pcrel.s
1 # { dg-do assemble { target xtensa*-*-* } }
2         .text
3         .global foo
4         beqz    a2, 1f@pcrel    # { dg-error "relocation not allowed" "" }
5 1:      movi    a2, foo@pcrel   # { dg-error "relocation not allowed" "" }
6 foo:    .short  foo@pcrel       # { dg-error "relocations do not fit" "" }