This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: --gc-sections for sh-coff toolchain
- To: Arati Dikey <aratidikey at hotmail dot com>
- Subject: Re: --gc-sections for sh-coff toolchain
- From: Alan Modra <amodra at bigpond dot net dot au>
- Date: Thu, 4 Oct 2001 18:59:44 +0930
- Cc: binutils at sources dot redhat dot com
- References: <F13176vlnQvZ1vOFogr00013b74@hotmail.com>
On Thu, Oct 04, 2001 at 08:36:40AM +0000, Arati Dikey wrote:
>
> How do I enable it for the sh-coff tool chain ?
You will need to write some code. --gc-sections is only implemented for
ELF targets, so far. Alternatively, you may be able to use objcopy
to translate a fully linked sh-elf object to sh-coff.
--
Alan Modra