[PATCH] D23663: [ELF] - Linkerscript: set correct synamic tag entries values when LS is used.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 08:18:31 PDT 2016


grimar created this revision.
grimar added a reviewer: ruiu.
grimar added subscribers: llvm-commits, grimar, davide, evgeny777.

Previously DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ and DT_FINI_ARRAYSZ
were set to zero when lincerscript was used becase sections sizes are
calculated later that were taken.

Patch delays values calculation for these entries. Testcase is provided.

https://reviews.llvm.org/D23663

Files:
  ELF/OutputSections.cpp
  ELF/OutputSections.h
  test/ELF/linkerscript/linkerscript-dynamic.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23663.68538.patch
Type: text/x-patch
Size: 3604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160818/85665a92/attachment.bin>


More information about the llvm-commits mailing list