This is the mail archive of the binutils@sourceware.org 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: [GOLD][ARM] non-linked ARM EXIDX sections


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


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