summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/map-gc-sections.s
blob: f69edf591f2f85b69ba5da1a42354ca995899ce3 (plain)
1
2
3
4
5
6
7
8
9
10
// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: ld.lld %t.o -o /dev/null -Map=- --gc-sections | FileCheck %s

.section .tbss,"awT",@nobits
// CHECK-NOT: foo
.globl foo
foo:
.align 8
.long 0
OpenPOWER on IntegriCloud