Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-01-2010, 03:35 PM   #16
LQ Newbie
Registered: Mar 2010
Posts: 15

Rep: Reputation: 0

thanks gnashley, I'm not familiar with XIP, but, as I read on wikipedia:

In computer science, execute in place (XIP) is a method of executing programs directly from long term storage rather than copying it into RAM. It is an extension of using shared memory to reduce the total amount of memory required.
that seems to be the exact opposite of what we need... the matter of this topic is a scenario in which you have an ELF binary loaded in ram (usually on the stack) and we want to execute it, without have to re-write on the disc and, finally launch the file.
Old 05-21-2010, 06:05 AM   #17
LQ Newbie
Registered: Mar 2010
Posts: 15

Rep: Reputation: 0
guys, any news on this?

anyone knows a little more on how ld should be rewritten to allow that?
Old 05-21-2010, 06:55 AM   #18
Sergei Steshenko
Senior Member
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
GDB first loads a file and then executes it (a possible scenario). So maybe the answer is inside GDB source.


'goto' still works in "C", and GNU "C" has more features WRT goto/labels than standard "C".

Last edited by Sergei Steshenko; 05-21-2010 at 06:57 AM.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Execute Binary rightsidedown Linux - Software 8 05-10-2011 01:41 AM
RHE3.0 elf binary will it work on RHE4.0 URGENT dayalan_cse Linux - Enterprise 3 10-28-2006 09:36 AM
very new to C, how to execute command inside C? neurotic85 Programming 5 09-05-2005 09:19 AM
How to compile into ELF binary? kornerr Programming 3 06-29-2005 12:37 PM
Reading Memory Value from ELF Binary Damaged Soul Programming 4 11-25-2004 12:52 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration