Discard .note.gnu.build-id sections The .note.gnu.build-id section was causing issues on my toolchain, it would end up getting inserted at the start of the dumps.
diff --git a/verilog/dv/caravel/sections.lds b/verilog/dv/caravel/sections.lds index 8da9aae..22ff000 100644 --- a/verilog/dv/caravel/sections.lds +++ b/verilog/dv/caravel/sections.lds
@@ -55,4 +55,9 @@ . = ALIGN(4); _heap_start = .; } >RAM + + /DISCARD/ : + { + *(.note.gnu.build-id) + } }