[PATCH] D26327: Convert MIPS .reginfo section to synthetic input section.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 5 17:38:43 PDT 2016
ruiu created this revision.
ruiu added a reviewer: atanasyan.
ruiu added a subscriber: llvm-commits.
Herald added a subscriber: sdardis.
Previously, we have an input section and an output section
for MIPS .reginfo. This patch reorganizes the code structure.
Now we have only one class for .reginfo, which is MipsReginfoSection.
MipsReginfoSection is a synthetic input section.
.reginfo sections are handled as regular sections until the
control reaches Writer. Writer then aggregates all sections whose
type is SHT_MIPS_REGINFO to create a single synthesized input section.
The synthesized section is then processed normally as if it came
from an input file.
https://reviews.llvm.org/D26327
Files:
ELF/InputFiles.cpp
ELF/InputFiles.h
ELF/InputSection.cpp
ELF/InputSection.h
ELF/OutputSections.cpp
ELF/OutputSections.h
ELF/SyntheticSections.cpp
ELF/SyntheticSections.h
ELF/Writer.cpp
test/ELF/basic-mips.s
test/ELF/invalid/mips-multiple-reginfo.test
test/ELF/mips-64.s
test/ELF/mips-tls-64.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26327.76974.patch
Type: text/x-patch
Size: 18197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161106/e46e3f76/attachment.bin>
More information about the llvm-commits
mailing list