This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PowerPC ELF: retain program headers and relocation records in output file?
- To: pmikell at rare dot co dot uk
- Subject: Re: PowerPC ELF: retain program headers and relocation records in output file?
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Sun, 4 Feb 2001 11:44:45 -0800
- CC: binutils at sources dot redhat dot com
- References: <029701c08a37$fa52ab10$6801000a@rare.co.uk>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> From: "Paul Mikell" <pmikell@rare.co.uk>
> Date: Mon, 29 Jan 2001 15:10:58 -0600
> I have compiled gcc-2.95.2 and binutils 2.10.1 for cross-compiling
> from = Cygwin to PowerPC. The target machine requires the executable
> to be converted = to a proprietary format before it can be run. In
> order for this conversion to = work, the ELF file created by ld must
> contain program headers and relocation = records. Is there any way
> that GNU ld can create such an output file?
You want '-shared', possibly with '-Bdynamic'.
--
- Geoffrey Keating <geoffk@geoffk.org>