https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101987
--- Comment #5 from Dietmar May <dcmay at copper dot net> --- I've confirmed that the issue is present in binutils 2.36.1, but not 2.35.1 ARM / Linaro's aarch64 10.2.1 toolchain uses binutils 2.35.1 Their 10.3.1 toolchain uses binutils 2.36.1 By copying the 'as' binary from 10.2.1 to the 10.3.1 toolchain, I've confirmed that the boot.o file contains debugging information, and this problem does not appear. In other words, running with gcc 10.3.1, but with the binutils 2.35.1 as assembler, there is no problem. I've also confirmed this by assembling using my own mingw build of binutils 2.36.1