Home | History | Annotate | Download | only in ELF
      1 // RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -o - | FileCheck %s
      2 // RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s --check-prefix=OBJ
      3 
      4 	.section	.text,"ax",@progbits,unique, 4294967293
      5         .globl	f
      6 f:
      7         nop
      8 
      9 	.section	.text,"ax",@progbits,unique, 4294967294
     10         .globl	g
     11 g:
     12         nop
     13 
     14 // test that f and g are in different sections.
     15 
     16 // CHECK: .section	.text,"ax",@progbits,unique,4294967293
     17 // CHECK: f:
     18 
     19 // CHECK: .section	.text,"ax",@progbits,unique,4294967294
     20 // CHECK: g:
     21 
     22 // OBJ: Symbol {
     23 // OBJ:   Name:    f
     24 // OBJ:   Value:   0x0
     25 // OBJ:   Size:    0
     26 // OBJ:   Binding: Global
     27 // OBJ:   Type:    None
     28 // OBJ:   Other:   0
     29 // OBJ:   Section: .text (0x3)
     30 // OBJ: }
     31 // OBJ: Symbol {
     32 // OBJ:   Name:    g
     33 // OBJ:   Value:   0x0
     34 // OBJ:   Size:    0
     35 // OBJ:   Binding: Global
     36 // OBJ:   Type:    None
     37 // OBJ:   Other:   0
     38 // OBJ:   Section: .text (0x4)
     39 // OBJ: }
     40