This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]