This converts the last (chronologically) user of OutputSections to use the linker script commands instead.
The idea is to convert all uses after fabricateDefaultCommands, so that we have a single representation.
Paths
| Differential D33327
Use linker script commands in writeMapFile ClosedPublic Authored by • rafael on May 18 2017, 10:54 AM.
Details
Summary This converts the last (chronologically) user of OutputSections to use the linker script commands instead. The idea is to convert all uses after fabricateDefaultCommands, so that we have a single representation.
Diff Detail Event Timeline
This revision is now accepted and ready to land.May 18 2017, 12:13 PM
Revision Contents
Diff 99464 ELF/LinkerScript.cpp
ELF/MapFile.h
ELF/MapFile.cpp
ELF/Writer.cpp
|
The only thing we have below is writeMapFile, so it's probably too late to do this. I'd move this up or remove.