blob: e161a635c0776a18f75bd3d8ac060fde790c542d [file] [log] [blame]
Ben Dunbobbin0b95d372017-09-12 22:41:451# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
3# RUN: ld.lld %t.o -o %t1 --gc-sections
4# RUN: llvm-objdump -s %t1 | FileCheck %s
5
6# CHECK: Contents of section .noalloc:
7# 0000 00000000 00000000 ........
8
9 .section .text._start,"ax",@progbits
10 .globl _start
11_start:
12 retq
13
14 .type unused,@object
15 .comm unused,4,4
16
17 .section .noalloc,"",@progbits
18 .quad unused