aboutsummaryrefslogtreecommitdiff
path: root/test/elf/tlsAddr.test
blob: 6bc5e3e9bf78977ed2f6e5928f99055cfbc37d79 (plain) (blame)
1
2
3
4
5
6
7
# This tests verifies that TLS variables have correct offsets
# and that TBSS doesn't occupy memory
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

CHECKADDR:   {{[0-9]+}} .data         00000000 0000000000401008 DATA