2013-06-12 08:32:32 +08:00
|
|
|
# This tests verifies that TLS variables have correct offsets
|
2013-12-02 09:28:14 +08:00
|
|
|
# and that TBSS doesn't occupy memory
|
2013-06-12 08:32:32 +08:00
|
|
|
RUN: lld -flavor gnu -target x86_64-linux %p/Inputs/tlsAddr.x86-64 -static \
|
|
|
|
RUN: -o %t --noinhibit-exec
|
|
|
|
RUN: llvm-objdump -section-headers %t | FileCheck -check-prefix=CHECKADDR %s
|
|
|
|
|
2014-01-27 11:09:26 +08:00
|
|
|
CHECKADDR: {{[0-9]+}} .data 00000000 0000000000401008 DATA
|