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]

[PATCH][GOLD] Handle .ARM.exidx sections in garbage collection.


Hi,

    This patch mainly add code to handle .ARM.exidx sections properly
in garbage collection.  These sections contain information about
unwinding and are linked to text sections in the input objects.   When
we look at a text section for reachable sections, we need to include
the associated .ARM.exidx section if there is one.   This patch also
fixes the generation of symbols __exdix_start and __exidx_end.

-Doug

2010-01-10  Doug Kwan  <dougkwan@google.com>

        * arm.cc (Arm_relobj::do_gc_proccess_relocs): New method.
        (Target_arm::do_finalize_sections): Only define __exidx_start and
        __exidx_end if these have not been defined already.  Also use default
        visibility for these symbols to match behaviour of GNU ld.

Attachment: patch.txt
Description: Text document


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