[RFA:] Ignore --gc-sections if non-ELF objects are involved

Alan Modra amodra@bigpond.net.au
Mon Mar 25 16:45:00 GMT 2002


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



More information about the Binutils mailing list