Page MenuHomePhabricator

[ELF, LinkerScript] Memory region name parsing fix
ClosedPublic

Authored by meadori on Jul 26 2017, 2:44 PM.

Details

Summary

This patch fixes a small issue with respect to how memory region names
are parsed on output section descriptions. For example, consider:

.text : { *(.text) } > rom

That can also be written like:

.text : { *(.text) } >rom

The latter form is accepted by GNU LD and is fairly common.

Diff Detail

Repository
rL LLVM

Event Timeline

meadori created this revision.Jul 26 2017, 2:44 PM
meadori edited the summary of this revision. (Show Details)Jul 26 2017, 2:45 PM
ruiu accepted this revision.Jul 26 2017, 2:46 PM

LGTM

This revision is now accepted and ready to land.Jul 26 2017, 2:46 PM
This revision was automatically updated to reflect the committed changes.