It is close to D29273, but has different implementation of filtering out
.rel[a] sections if target section was discarded.
Also testcase was simplified.
Paths
| Differential D29636
[ELF] - Added partial support for --emit-relocs (no --gc-section case) #2 AbandonedPublic Authored by grimar on Feb 7 2017, 5:51 AM.
Details
Diff Detail Event TimelineComment Actions So difference with D29273 is scanRelocationSections() method which scans over REL[A} sections after
Revision Contents
Diff 87414 ELF/Config.h
ELF/Driver.cpp
ELF/InputFiles.cpp
ELF/InputSection.cpp
ELF/LinkerScript.cpp
ELF/Options.td
ELF/OutputSections.cpp
ELF/Writer.cpp
test/ELF/Inputs/emit-relocs.s
test/ELF/emit-relocs-gc.s
test/ELF/emit-relocs.s
test/ELF/linkerscript/emit-reloc-discard.s
|