LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

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

Rep: Reputation: 0

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

Quote:
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, 05:05 AM   #17
kralizec
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, 05:55 AM   #18
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
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 05:57 AM.
 
  


Reply

Tags
loader


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 11:38 AM.

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