brintos

brintos / llvm-project-archived public Read only

0
0
Text · 648 B · aca0f6e Raw
19 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/align.s -o %t.o3# RUN: ld.lld -o %t --script %s %t.o4# RUN: llvm-objdump --section-headers %t | FileCheck %s5 6SECTIONS {7  . = 0x10000;8  .aaa : { *(.aaa) }9  .bbb : ALIGN(4096) { *(.bbb) }10  .ccc : ALIGN(4096 * 4) { *(.ccc) }11}12 13# CHECK:      Sections:14# CHECK-NEXT: Idx Name          Size     VMA              Type15# CHECK-NEXT:   0               00000000 000000000000000016# CHECK-NEXT:   1 .aaa          00000008 0000000000010000 DATA17# CHECK-NEXT:   2 .bbb          00000008 0000000000011000 DATA18# CHECK-NEXT:   3 .ccc          00000008 0000000000014000 DATA19