brintos

brintos / llvm-project-archived public Read only

0
0
Text · 914 B · 417721f Raw
37 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o3# RUN: ld.lld %t.o -o %t4# RUN: llvm-readelf -l %t | FileCheck %s5 6# Check that we don't mix 4-byte and 8-byte aligned notes in one PT_LOAD.7# The possible 4-byte padding before the 8-byte align note may make consumers8# fail to parse it.9 10# CHECK: NOTE {{0x[0-9a-f]+}} {{0x[0-9a-f]+}} {{0x[0-9a-f]+}} 0x000004 0x000004 R   0x411# CHECK: NOTE {{0x[0-9a-f]+}} {{0x[0-9a-f]+}} {{0x[0-9a-f]+}} 0x000010 0x000010 R   0x812# CHECK: NOTE {{0x[0-9a-f]+}} {{0x[0-9a-f]+}} {{0x[0-9a-f]+}} 0x000008 0x000008 R   0x413 14# CHECK:      03     .note.a15# CHECK-NEXT: 04     .note.b .note.c16# CHECK-NEXT: 05     .note.d .note.e17 18.section .note.a, "a", @note19.align 420.long 021 22.section .note.b, "a", @note23.align 824.quad 025 26.section .note.c, "a", @note27.align 828.quad 029 30.section .note.d, "a", @note31.align 432.long 033 34.section .note.e, "a", @note35.align 436.long 037