https://github.com/jh7370 commented: I've not looked at the code for this yet, but my first thought was "could you use the `SectionHeaderTable` yaml2obj element to simply omit a `SHT_NOTE` section header instead? https://github.com/llvm/llvm-project/pull/123704