x86-64: also optimize ANDQ with immediate fitting in 7 bits
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mmix / err-bpo6.s
1 % { dg-do assemble { target mmix-*-* } }
2
3 # Test that we handle COMM-type symbols with base-plus-offset relocs, but
4 # that we don't merge ones that may be separately merged with other
5 # symbols at link-time. Likewise for weak symbols.
6 .comm comm_symbol1,4,4
7 .lcomm comm_symbol3,4
8 GREG comm_symbol1
9 GREG comm_symbol3
10 GREG xx
11 .weak xx
12 xx:
13 LDA $47,yy % { dg-error "no suitable GREG definition" "" }
14 LDA $46,xx
15 LDA $42,comm_symbol1
16 LDA $43,comm_symbol2 % { dg-error "no suitable GREG definition" "" }
17 LDA $44,comm_symbol3
18 LDA $45,comm_symbol4
19 yy:
20 .comm comm_symbol2,4,4
21 .lcomm comm_symbol4,4
This page took 0.034589 seconds and 4 git commands to generate.