brintos

brintos / llvm-project-archived public Read only

0
0
Text · 525 B · fa43e3c Raw
15 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/synthetic-symbols.s -o %t.o3# RUN: ld.lld -o %t --eh-frame-hdr --script %s %t.o4# RUN: llvm-objdump -t %t | FileCheck %s5 6SECTIONS {7  . = 0x201000;8  .text : { *(.text) }9  PROVIDE_HIDDEN(_begin_sec = ADDR(.text));10  PROVIDE_HIDDEN(_end_sec = ADDR(.text) + SIZEOF(.text));11}12 13# CHECK:       0000000000201054 l       .text  0000000000000000 .hidden _begin_sec14# CHECK-NEXT:  0000000000201055 l       .text  0000000000000000 .hidden _end_sec15