brintos

brintos / llvm-project-archived public Read only

0
0
Text · 490 B · 8ac362b Raw
19 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t3 4# RUN: echo "SECTIONS {.foo : { *(.foo) *(.foo) } }" > %t.script5# RUN: ld.lld -o %t1 --script %t.script %t6# RUN: llvm-objdump --section-headers %t1 | FileCheck %s7# CHECK:      Sections:8# CHECK-NEXT: Idx Name          Size9# CHECK-NEXT:   0               0000000010# CHECK-NEXT:   1 .foo          0000000411# CHECK-NEXT:   2 .text         0000000112 13.global _start14_start:15 nop16 17.section .foo,"a"18 .long 019