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: selective.exp xfails


On Mon, Feb 18, 2002 at 07:18:37PM +1100, Ben Elliston wrote:
> >>>>> "H" == H J Lu <hjl@lucon.org> writes:
> 
>   >> ``* Added garbage collection of unused sections, enabled by --gc-sections.
>   >> It does require a bit of backend support; currently implemented are
>   >> arm-elf, avr-elf, d10v-elf, fr30-elf, i386-elf, m32r-elf, m68k-elf,
>   >> mcore-elf, mips-elf, mn10300-elf, ppc-elf, sh-elf, sparc-elf, and v850-elf.
>   >> Others will ignore the option.''
> 
>   H> I don't believe GC works on ELF/mips. I don't remeber seeing any real
>   H> GC code in elf32-mips.c. It is quite tricky due to the MIPS ABI. I
>   H> never bother to fix it.
> 
> elf32-mips.c:#define elf_backend_can_gc_sections        true
> 

Have you looked at _bfd_mips_elf_gc_sweep_hook in elf32-mips.c?


H.J.


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