1// REQUIRES: x86 2// RUN: llvm-mc -filetype=obj -triple=x86_64-windows %s -o %t.obj 3// RUN: lld-link -entry:main -subsystem:console %t.obj -out:%t.exe 4// RUN: llvm-readobj --sections %t.exe | FileCheck %s 5 .globl main 6main: 7 ret 8 9// Check that the first section data comes at 512 bytes in the file. 10// If the size allocated for headers would include size for section 11// headers which aren't written, PointerToRawData would be 0x400 instead. 12// CHECK: PointerToRawData: 0x200 13