Re: [Linux-ia64] executable data segment ?

From: David Mosberger <>
Date: 2003-05-10 17:01:48
>>>>> On Sat, 10 May 2003 10:00:24 +0530 (IST), CH Gowri Kumar <> said:

  >> Is there a way in linux on ia64 to execute code in the
  >> datasegment ?

  > Yes, it is possible to execute code in the data
  > segment.  The data segment by default is not executable. You
  > might have to make it executable using the mprotect system call.

And if you want to be able to get a backtrace through dynamically
generated code, please consider using the dynamic unwind info API of
libunwind (  No
man-page yet, I'm afraid, but there is an example in the libunwind
source distribution (tests/ia64-test-dyn1.c) which should make it
obvious how to use this API.

Imagine being about to use gdb to debug your dynamically-generated

Received on Sat May 10 00:03:35 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:14 EST