GNU Binutils 2.36 configures with --enable-x86-used-note by default for Linux/x86. This adds the new section .note.gnu.build-id, which needs to be removed.
When building fail-mbr.o with current binutils, ld links the file into an executable format. However this is not accepted by current binutils for building fail-mbr.image; thus it requires -Wl,--relocatable for the former and -Wl,--no-dynamic-linker for the latter.
GNU Binutils 2.36 configures with
--enable-x86-used-note
by default for Linux/x86. This adds the new section.note.gnu.build-id
, which needs to be removed.When building
fail-mbr.o
with current binutils,ld
links the file into an executable format. However this is not accepted by current binutils for buildingfail-mbr.image
; thus it requires-Wl,--relocatable
for the former and-Wl,--no-dynamic-linker
for the latter.See also:
Fixes: #159