1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o 3# RUN: echo "SECTIONS { .text : { *(.text*) QUAD(bar) } }" > %t.script 4# RUN: ld.lld --gc-sections -o %t %t.o --script %t.script 5# RUN: llvm-objdump -t %t | FileCheck %s 6 7# CHECK: 0000000000000008 g .rodata.bar 0000000000000000 bar 8 9.section .rodata.bar 10.quad 0x1122334455667788 11.global bar 12bar: 13 14.section .text 15.global _start 16_start: 17 nop 18