There's also gnu's objcopy.
This post covers a lot of different approaches, and has lots of tips: https://www.devever.net/~hl/incbin
This post covers a lot of different approaches, and has lots of tips: https://www.devever.net/~hl/incbin
Every now and again I ponder having another go with mruby...
Currently they append the database to the end of the executable, which has some problems and I'm working to make including it in the image more standardized as part of XVFS [0].
One of us from Memfault also wrote a post about tips with Binutils, and this approach is covered in it.