Re: [PATCH v2 08/15] makefile: Avoid objcopy --gap-fill for .hex/.srec

2025-03-29 Thread Ilias Apalodimas
On Sun, 16 Mar 2025 at 00:18, Sam Edwards wrote: > > This flag only makes sense for `binary` output, because .hex/.srec are > sparse formats and represent gaps without filler. While the GNU binutils > version of objcopy does not seem to mind the extra flag being passed, > llvm-objcopy considers th

[PATCH v2 08/15] makefile: Avoid objcopy --gap-fill for .hex/.srec

2025-03-15 Thread Sam Edwards
This flag only makes sense for `binary` output, because .hex/.srec are sparse formats and represent gaps without filler. While the GNU binutils version of objcopy does not seem to mind the extra flag being passed, llvm-objcopy considers this a fatal error. There is already a version of the objcopy