[PATCH] D13486: ELF2; Make singleton output sections globally accessible
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 16:15:35 PDT 2015
ruiu created this revision.
ruiu added a reviewer: rafael.
ruiu added a subscriber: llvm-commits.
Previously, output sections handled specially by the linker (e.g. PLT or GOT)
are created by Writer and passed to other classes that need them. The problem
was that because these special sections are required by so many classes, the
plumbing work became too much burden.
This patch is to simply make them accessible from anywhere in the linker to
eliminate the plumbing work once and for all.
http://reviews.llvm.org/D13486
Files:
ELF/InputSection.cpp
ELF/InputSection.h
ELF/OutputSections.cpp
ELF/OutputSections.h
ELF/Target.cpp
ELF/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13486.36673.patch
Type: text/x-patch
Size: 43929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151006/44861d29/attachment.bin>
More information about the llvm-commits
mailing list