Article View: gnu.gcc.help
Article #49958How to generate relocatable executables?
From: Neil Russell
Date: Wed, 01 Dec 1993 05:32
Date: Wed, 01 Dec 1993 05:32
17 lines
1132 bytes
1132 bytes
I'm writing a program that needs to be able to load executable images at an address that is decided at load time. I imagine the solution to be another output format for gld (bfd), that generates a very simple binary format that includes relocation information, and a simple loader that malloc's some memory then relocates the binary into it. Does something like this exist? If not, could someone give me some pointers on how to write it? Thanks, Neil Russell caret@c-side.com -- Neil Russell <caret@rahul.net>
Technical Details
Message-ID:
<CHCCpo.D52@rahul.net>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!nwnexus!a2i!caretShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,d2a86958683a9241,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-11-30 23:11:06 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!nwnexus!a2i!caret From: caret@rahul.net (Neil Russell) Subject: How to generate relocatable executables? Message-ID: <CHCCpo.D52@rahul.net> Sender: news@rahul.net (Usenet News) Nntp-Posting-Host: bolero Reply-To: caret@c-side.com Organization: a2i network Date: Wed, 1 Dec 1993 05:32:11 GMT Lines: 17