Hi, I'm trying to implement some self-modifying code. Usually I use Visual C++ so I'm not too familiar with the linker that gcc uses. I can't figure out how to enable write for the .text section so I don't get an access violation when the SMC runs. Anyone can help? Thanks! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com