Commit | Line | Data |
---|---|---|
1bbb5f21 BW |
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" "" } |