[GOLD][ARM] non-linked ARM EXIDX sections

Doug Kwan (關振德) dougkwan@google.com
Thu Feb 11 00:20:00 GMT 2010


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.
>



More information about the Binutils mailing list