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

18 lines
390 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: --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-