diff options
Diffstat (limited to 'test/MC/ELF/type.s')
-rw-r--r-- | test/MC/ELF/type.s | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/MC/ELF/type.s b/test/MC/ELF/type.s index a5b9812..c2f3631 100644 --- a/test/MC/ELF/type.s +++ b/test/MC/ELF/type.s @@ -31,6 +31,16 @@ tls: .type tls,@tls_object .type tls,@gnu_indirect_function +// Test that "<type>" is accepted. +tls_quoted: + .global tls_quoted + .type tls_quoted,"tls_object" + +// Test that "<type>" is accepted. +tls_upper_case: + .global tls_upper_case + .type tls_upper_case,STT_TLS + // CHECK: Symbol { // CHECK: Name: bar // CHECK-NEXT: Value: 0x0 @@ -85,3 +95,21 @@ tls: // CHECK-NEXT: Other: 0 // CHECK-NEXT: Section: .text (0x1) // CHECK-NEXT: } +// CHECK-NEXT: Symbol { +// CHECK-NEXT: Name: tls_quoted +// CHECK-NEXT: Value: 0x0 +// CHECK-NEXT: Size: 0 +// CHECK-NEXT: Binding: Global +// CHECK-NEXT: Type: TLS +// CHECK-NEXT: Other: 0 +// CHECK-NEXT: Section: .text (0x1) +// CHECK-NEXT: } +// CHECK-NEXT: Symbol { +// CHECK-NEXT: Name: tls_upper_case +// CHECK-NEXT: Value: 0x0 +// CHECK-NEXT: Size: 0 +// CHECK-NEXT: Binding: Global +// CHECK-NEXT: Type: TLS +// CHECK-NEXT: Other: 0 +// CHECK-NEXT: Section: .text (0x1) +// CHECK-NEXT: } |