I updated my Arch Linux machine, and it seems like my binutils behavior has changed (from 2.35.1-1 to 2.36.1-2).
I didn't check the behavior on Ubuntu 18.04 but, either:
as is now adding a .note.gnu.property section to the object file for me, or
objcopy -O binary is no longer sufficient for removing this section
Either way, this is easily fixed by just explicitly specifying that we only want the .text segment when assembling with the shell scripts.
I updated my Arch Linux machine, and it seems like my
binutils
behavior has changed (from2.35.1-1
to2.36.1-2
). I didn't check the behavior on Ubuntu 18.04 but, either:as
is now adding a.note.gnu.property
section to the object file for me, orobjcopy -O binary
is no longer sufficient for removing this sectionEither way, this is easily fixed by just explicitly specifying that we only want the
.text
segment when assembling with the shell scripts.