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]

[GOLD][PATCH] Add .{fini,init,preinit}_array and add DT_BSYMBOLIC tags as needed.


Hi

     This patch adds the necessary tags in the dynamic section to
support uses of .fini_array, .init_array and .preinit_array sections.
 It also cause DT_BSYMBOLIC tag to be added if -Bsymbolic is given in
the command line.

-Doug

2009-10-15  Doug Kwan  <dougkwan@google.com>

        * layout.cc (Layout::finish_dynamic_section): Generate tags
        DT_FINI_ARRAY, DT_FINI_ARRAYSZ, DT_INIT_ARRAY, DT_INIT_ARRAYSZ,
        DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ and DT_BSYMBOLIC as needed.

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]