This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Convert MIPS .rld_map to input section
ClosedPublic

Authored by evgeny777 on Nov 22 2016, 2:05 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

evgeny777 updated this revision to Diff 78839.Nov 22 2016, 2:05 AM
evgeny777 retitled this revision from to [ELF] Convert MIPS .rld_map to input section.
evgeny777 updated this object.
evgeny777 added reviewers: ruiu, rafael, atanasyan.
evgeny777 set the repository for this revision to rL LLVM.
evgeny777 added a project: lld.
evgeny777 added subscribers: grimar, ikudrin, llvm-commits.
atanasyan accepted this revision.Nov 22 2016, 4:28 AM
atanasyan edited edge metadata.

LGTM Thanks!

This revision is now accepted and ready to land.Nov 22 2016, 4:28 AM
ruiu added inline comments.Nov 22 2016, 8:35 AM
ELF/SyntheticSections.cpp
1663–1666 ↗(On Diff #78839)

This should be moved to writeTo.

ELF/SyntheticSections.h
606 ↗(On Diff #78839)

Can you derive from SyntheticSection?

613 ↗(On Diff #78839)

You could just define typename ELFT::uint Dummy;.

But this is probably not a dummy because we actually need it. Maybe Pad?

Oops, looks like I committed it too early, but I did the required fixes

This revision was automatically updated to reflect the committed changes.