1# REQUIRES: x86 2# Verify that .rodata is aligned to a 8 byte boundary. 3 4# RUN: llvm-mc -filetype=obj -triple=i386 %s -o %t.o 5# RUN: ld.lld %t.o -o %t.exe -n -Ttext 0 6# RUN: llvm-readelf --section-headers %t.exe | FileCheck %s 7 8# CHECK: [ 0] NULL 00000000 000000 000000 00 0 0 0 9# CHECK: [ 1] .text PROGBITS 00000000 000094 000001 00 AX 0 0 4 10# CHECK: [ 2] .rodata PROGBITS 00000008 000098 000008 00 A 0 0 8 11# CHECK: [ 3] .comment PROGBITS 00000000 0000a0 000008 01 MS 0 0 1 12# CHECK: [ 4] .symtab SYMTAB 00000000 0000a8 000020 10 6 1 4 13# CHECK: [ 5] .shstrtab STRTAB 00000000 0000c8 000032 00 0 0 1 14# CHECK: [ 6] .strtab STRTAB 00000000 0000fa 000008 00 0 0 1 15 16.globl _start 17.text 18_start: 19 ret 20 21.rodata 22.align 8 23.quad 42 24