[PATCH] D27561: [ELF] Allow output section data commands to take expressions
Meador Inge via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 18:24:12 PST 2016
meadori created this revision.
meadori added a reviewer: ruiu.
meadori added a subscriber: llvm-commits.
The current implementation of the output section data store commands
can only handle integer literals, but it should really handle arbitrary
expressions [1]. This commit fixes that.
[1] https://sourceware.org/binutils/docs-2.27/ld/Output-Section-Data.html#Output-Section-Data
https://reviews.llvm.org/D27561
Files:
ELF/LinkerScript.cpp
ELF/LinkerScript.h
test/ELF/linkerscript/data-commands.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27561.80707.patch
Type: text/x-patch
Size: 3647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161208/319a398a/attachment.bin>
More information about the llvm-commits
mailing list