[SPARC] Repair GOT references to internal symbols.
[oota-llvm.git] / test / MC / Sparc / sparc-directives.s
1 ! RUN: llvm-mc %s -arch=sparc   -show-encoding | FileCheck %s --check-prefix=SPARC32
2 ! RUN: llvm-mc %s -arch=sparcv9 -show-encoding | FileCheck %s --check-prefix=SPARC64
3
4         ! SPARC32: .byte 24
5         ! SPARC64: .byte 24
6         .byte 24
7
8         ! SPARC32: .half 1024
9         ! SPARC64: .half 1024
10         .half 1024
11
12         ! SPARC32: .word 65536
13         ! SPARC64: .word 65536
14         .word 65536
15
16         ! SPARC32: .word 65536
17         ! SPARC64: .xword 65536
18         .nword 65536
19