From: morteza AT eleceng DOT adelaide DOT edu DOT au Subject: A question about writing dynamically in the text segment 9 Dec 1996 23:46:39 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199612100622.QAA01235.cygnus.gnu-win32@hybrid.eleceng.adelaide.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Original-To: gnu-win32 AT cygnus DOT com X-Mailer: ELM [version 2.4 PL25] Original-Sender: owner-gnu-win32 AT cygnus DOT com Hi, I need to write into the text segment dynamically (I mean when the program is running) and then transfer control to that area. As far as I know, the text segment is read only and writing into text segment results in "segmentation fault" error. Is there any way to solve this problem. Thanks for your help. Best regards Morteza Biglari-Abhari Dept. of Electrical Engineering University of Adelaide Adelaide, 5005 Australia Email: morteza AT eleceng DOT adelaide DOT edu DOT au - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".