This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA:] Ignore --gc-sections if non-ELF objects are involved
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 26 Mar 2002 11:15:12 +1030
- Subject: Re: [RFA:] Ignore --gc-sections if non-ELF objects are involved
- References: <200203252315.AAA23922@ignucius.axis.se>
On Tue, Mar 26, 2002 at 12:15:50AM +0100, Hans-Peter Nilsson wrote:
> The test currently SEGV:s.
Why?
> It's better if GC just isn't
> performed, as happens if !get_elf_backend_data (abfd)->can_gc_sections
> or info->dynamic_sections_created.
Seems a wee bit heavy-handed. Can't you just stop gc on the non-elf
object?
--
Alan Modra
IBM OzLabs - Linux Technology Centre