Mercurial > hg > CbC > CbC_llvm
view lld/test/ELF/edata-no-bss.s @ 192:d7606dcf6fce
Added tag llvm10 for changeset 0572611fdcc8
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 18:01:34 +0900 |
parents | 0572611fdcc8 |
children |
line wrap: on
line source
# REQUIRES: x86 ## _edata points to the end of the last mapped initialized section. # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o # RUN: ld.lld %t.o -o %t --gc-sections # RUN: llvm-objdump -t --section-headers %t | FileCheck %s # CHECK: .data 00000008 000000000020215c DATA # CHECK: 0000000000202164 g .data 0000000000000000 _edata .text .globl _start _start: .long .data - . .data .quad 0 .globl _edata