brintos

brintos / llvm-project-archived public Read only

0
0
Text · 496 B · 5d36d91 Raw
32 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o3# RUN: ld.lld -r %t1.o -o %t4# RUN: llvm-objdump --section-headers %t | FileCheck %s5 6# CHECK:      .text7# CHECK-NEXT: .rela.text8# CHECK: .text._init9# CHECK-NEXT: .rela.text._init10# CHECK: .text._fini11# CHECK-NEXT: .rela.text._fini12 13.globl _start14_start:15 call foo16 nop17 18.section .xxx,"a"19 .quad 020 21.section .text._init,"ax"22 .quad .xxx23foo:24 call bar25 nop26 27 28.section .text._fini,"ax"29 .quad .xxx30bar:31 nop32