Re: GNU Assembler (GAS) query
- From: Timothy Baldwin <spamtrap@xxxxxxxxxx>
- Date: Thu, 28 Feb 2008 10:56:02 +0000
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.
.
- References:
- GNU Assembler (GAS) query
- From: thisismyidentity
- Re: GNU Assembler (GAS) query
- From: DJ Delorie
- GNU Assembler (GAS) query
- Prev by Date: Re: Seg fault with hla 1.99 on Fedora 8 linux
- Next by Date: Re: Jumping into middle of instruction
- Previous by thread: Re: GNU Assembler (GAS) query
- Next by thread: Re: GNU Assembler (GAS) query
- Index(es):