1 ## Ensures that dynamic section has sh_entsize correctly set.
3 # RUN: yaml2obj -DBITS=64 %s -o %t.64
4 # RUN: llvm-readobj --sections %t.64 | FileCheck %s -DENTSIZE=16
5 # RUN: yaml2obj -DBITS=32 %s -o %t.32
6 # RUN: llvm-readobj --sections %t.32 | FileCheck %s -DENTSIZE=8
10 Class: ELFCLASS[[BITS]]
14 ## Test default values set by yaml2obj.
17 Flags: [ SHF_ALLOC, SHF_WRITE ]
18 ## Test we can use an arbitrary value for sh_entsize.
23 # CHECK: Name: .dynamic
25 # CHECK-SAME: {{^}} [[ENTSIZE]]{{$}}
26 # CHECK: Name: .mydynamic
28 # CHECK-SAME: {{^}} 254{{$}}