[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / lld / test / ELF / relocatable-common.s
blob7f81ec4177dcdef84081b084d6344b7fa54d8da9
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
3 # RUN: ld.lld -r %t1.o -o %t
4 # RUN: llvm-readobj --symbols -r %t | FileCheck %s
6 # CHECK: Symbol {
7 # CHECK: Name: common
8 # CHECK-NEXT: Value: 0x4
9 # CHECK-NEXT: Size: 4
10 # CHECK-NEXT: Binding: Global
11 # CHECK-NEXT: Type: Object
12 # CHECK-NEXT: Other: 0
13 # CHECK-NEXT: Section: Common (0xFFF2)
14 # CHECK-NEXT: }
16 .comm common,4,4