1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
3 // Test that the STT_FILE symbol precedes the other local symbols.
8 // CHECK-NEXT: (('st_name', 1) # 'foo'
9 // CHECK-NEXT: ('st_bind', 0)
10 // CHECK-NEXT: ('st_type', 4)
11 // CHECK-NEXT: ('st_other', 0)
12 // CHECK-NEXT: ('st_shndx', 65521)
13 // CHECK-NEXT: ('st_value', 0)
14 // CHECK-NEXT: ('st_size', 0)
16 // CHECK-NEXT: # Symbol 2
17 // CHECK-NEXT: (('st_name', 5) # 'foa'
18 // CHECK-NEXT: ('st_bind', 0)
19 // CHECK-NEXT: ('st_type', 0)
20 // CHECK-NEXT: ('st_other', 0)
21 // CHECK-NEXT: ('st_shndx', 1)
22 // CHECK-NEXT: ('st_value', 0)
23 // CHECK-NEXT: ('st_size', 0)