brintos

brintos / llvm-project-archived public Read only

0
0
Text · 444 B · 751f490 Raw
22 lines · plain
1# REQUIRES: x862 3## _edata points to the end of the last mapped initialized section.4 5# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o6# RUN: ld.lld %t.o -o %t --gc-sections7# RUN: llvm-objdump -t --section-headers %t | FileCheck %s8 9# CHECK: .data         00000008 000000000020215c DATA10 11# CHECK: 0000000000202164 g       .data  0000000000000000 _edata12 13.text14.globl _start15_start:16.long .data - .17 18.data19.quad 020 21.globl _edata22