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

18 lines
394 B
Plaintext

RUN: lld -flavor old-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: --defsym=__tls_get_addr=0
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: DYNAMIC
CHECK: flags rw-
CHECK: TLS
CHECK: flags rw-