This one is not for reviews, just for demo.
With this combination of patches, LLD output is similar with bfd for FreeBSD pmbr (protective mbr) loader.
Paths
| Differential D27340
[DEMO] AbandonedPublic Authored by grimar on Dec 2 2016, 6:14 AM.
Details
Summary This one is not for reviews, just for demo. With this combination of patches, LLD output is similar with bfd for FreeBSD pmbr (protective mbr) loader.
Diff Detail
Revision Contents
Diff 80061 ELF/Target.cpp
ELF/Writer.cpp
test/ELF/oformat-binary-ttext.s
|
This part is even excessive here. Since there is no phdrs, fixSectionAlignments() do nothing for binary output case.