mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-09 15:57:28 +00:00
16 lines
479 B
ArmAsm
16 lines
479 B
ArmAsm
|
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
|
||
|
|
||
|
// Test that foobar is of type STT_TLS.
|
||
|
|
||
|
.section .zed,"awT",@progbits
|
||
|
foobar:
|
||
|
.long 43
|
||
|
|
||
|
// CHECK: (('st_name', 0x00000001) # 'foobar'
|
||
|
// CHECK-NEXT: ('st_bind', 0x00000000)
|
||
|
// CHECK-NEXT: ('st_type', 0x00000006)
|
||
|
// CHECK-NEXT: ('st_other', 0x00000000)
|
||
|
// CHECK-NEXT: ('st_shndx', 0x00000004)
|
||
|
// CHECK-NEXT: ('st_value', 0x00000000)
|
||
|
// CHECK-NEXT: ('st_size', 0x00000000)
|