[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / lld / test / ELF / dynamic-no-rosegment.s
blobe3c83db02e088e526d32d5125f3e7e1afb759ef4
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: ld.lld -shared --no-rosegment -z rodynamic -o %t %t.o
4 # RUN: llvm-readobj --dynamic-table -S %t | FileCheck %s
6 # CHECK: DynamicSection [ (7 entries)
7 # CHECK-NEXT: Tag Type Name/Value
8 # CHECK-NEXT: 0x0000000000000006 SYMTAB 0x120
9 # CHECK-NEXT: 0x000000000000000B SYMENT 24 (bytes)
10 # CHECK-NEXT: 0x0000000000000005 STRTAB 0x1D8
11 # CHECK-NEXT: 0x000000000000000A STRSZ 1 (bytes)
12 # CHECK-NEXT: 0x000000006FFFFEF5 GNU_HASH 0x138
13 # CHECK-NEXT: 0x0000000000000004 HASH 0x154
14 # CHECK-NEXT: 0x0000000000000000 NULL 0x0
15 # CHECK-NEXT: ]