llvm-project/lld/test/elf/dynamic-segorder.test

19 lines
384 B
Plaintext

RUN: lld -flavor gnu -target x86_64-linux %p/Inputs/tls.x86-64 \
RUN: %p/Inputs/shared.so-x86-64 -o %t -e main --allow-shlib-undefined
RUN: llvm-objdump -p %t | FileCheck %s
CHECK: PHDR
CHECK: flags r-x
CHECK: INTERP
CHECK: flags r--
CHECK: LOAD
CHECK: flags r-x
CHECK: LOAD
CHECK: flags rw-
CHECK: LOAD
CHECK: flags rw-
CHECK: DYNAMIC
CHECK: flags r--
CHECK: TLS
CHECK: flags rw-