[PATCH] LinkerScript: Add parsing of the MEMORY command

Meador Inge meadori at gmail.com
Tue Mar 10 10:34:49 PDT 2015


This patch implements parsing of the GNU ld MEMORY command [1].
The command and the memory block definitions are parsed as
specified (including the slightly strange "o" and "l" keywords).
Evaluation will be added at a later point in time.

[1] https://sourceware.org/binutils/docs-2.25/ld/MEMORY.html

http://reviews.llvm.org/D8212

Files:
  include/lld/ReaderWriter/LinkerScript.h
  lib/ReaderWriter/LinkerScript.cpp
  test/LinkerScript/memory-empty.test
  test/LinkerScript/memory-missing-attrs.test
  test/LinkerScript/memory-missing-length.test
  test/LinkerScript/memory-missing-name.test
  test/LinkerScript/memory-missing-origin.test
  test/LinkerScript/memory-valid.test

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8212.21601.patch
Type: text/x-patch
Size: 11594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150310/df696e31/attachment.bin>


More information about the llvm-commits mailing list