2013-04-05 02:59:24 +08:00
|
|
|
RUN: lld -flavor gnu -target x86_64-linux %p/Inputs/tls.x86-64 \
|
2013-04-11 10:56:30 +08:00
|
|
|
RUN: %p/Inputs/shared.so-x86-64 -o %t -e main --allow-shlib-undefined
|
2013-02-28 04:24:47 +08:00
|
|
|
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
|
2013-03-01 02:38:20 +08:00
|
|
|
CHECK: flags rw-
|
2013-02-28 04:24:47 +08:00
|
|
|
CHECK: DYNAMIC
|
|
|
|
CHECK: flags r--
|
|
|
|
CHECK: TLS
|
|
|
|
CHECK: flags rw-
|