Re: GNU Assembler (GAS) query



In message <xn8x16cgke.fsf@xxxxxxxxxxx>, DJ Delorie <dj@xxxxxxxxxxx> wrote:

For self modifying code, just use .data for those functions.

Just putting code in .data won't work in many modern systems as .data will
be marked as non-executable. You may need to use sys_mprotect if using
Linux.

.