This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD][ARM] non-linked ARM EXIDX sections
- From: =?big5?b?RG91ZyBLd2FuICjD9q62vHcp?= <dougkwan at google dot com>
- To: vkutuzov at accesssoftek dot com
- Cc: binutils <binutils at sourceware dot org>
- Date: Wed, 10 Feb 2010 16:20:22 -0800
- Subject: Re: [GOLD][ARM] non-linked ARM EXIDX sections
- References: <1265847185.2150.397.camel@dp690-dev5v4>
Can you send me the object file? If a bogus EXIDX section is being
generated, we may still want to know about that and fix it. We may
want to turn this into a warning.
-Doug
2010/2/10 Viktor Kutuzov <vkutuzov@accesssoftek.com>:
> Hi Doug,
>
> I got the problem with the ARM EXIDX sections, when I built the glibc
> library. So, there is some object files during a build of glibc, which
> contain the non-linked EXIDX sections (without linked text segment).
> GOLD fires an error in this situation like this --
>
> error: EXIDX section 9 in /opt/crosstool/build-gold/work/obj.glibc/elf/
> librtld.os has no linked text section
>
> but LD links those files without any problems. I have checked out how LD
> handles it and I found that LD just skips that kind of EXIDX sections
> silently. I suppose, we should do the same thing in GOLD. What do you
> think? Something like as it proposed in the attached file.
>
> -Viktor.
>