[ELF] Make section member orders consistent
[llvm-project.git] / lld / test / ELF / soname2.s
blob67a9c24af5cdd3c01933979d39ca65422e9c9f4b
1 // REQUIRES: x86
2 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 // RUN: ld.lld %t.o -shared -soname=foo.so -o %t
4 // RUN: llvm-readobj --dynamic-table %t | FileCheck %s
6 // CHECK: 0x000000000000000E SONAME Library soname: [foo.so]
8 .global _start
9 _start: