This is an archive of the discontinued LLVM Phabricator instance.

[LLD][LinkerScript] Add support for segment NONE.
ClosedPublic

Authored by andrewng on Jun 14 2017, 6:29 AM.

Details

Summary

This patch adds support for segment NONE in linker scripts which enables the
specification that a section should not be assigned to any segment.

Note that GNU ld does not disallow the definition of a segment named NONE, which
if defined, effectively overrides the behaviour described above. This feature
has been copied.

Diff Detail

Repository
rL LLVM

Event Timeline

andrewng created this revision.Jun 14 2017, 6:29 AM

Hi,

Is this patch good to land?

Cheers,
Andrew

This revision was automatically updated to reflect the committed changes.