When i compile a c++ application with gcc, I noticed that gcc is inserting the gnu version string inside the rdata section. How do i make gcc not to insert this?

You can either use objcopy to edit the object file or you can remove the ident line from the assembler file that gcc can create before you assemble it.
Not that you'd ever need to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With