OUTPUT_FORMAT(binary) SECTIONS { . = 0x7c00; .boot : { * (.boot); } /* second stage boot loader */ .boot2 : { * (.boot2); /* pad to the next sector boundary */ . = ALIGN(512); } _boot2_size = SIZEOF(.boot2); }