[PATCH] D24450: [ELF] Linkerscript: improve ASSERT and symbol assignment outside SECTIONS block

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 04:48:01 PDT 2016


evgeny777 created this revision.
evgeny777 added reviewers: ruiu, rafael, atanasyan.
evgeny777 added subscribers: grimar, ikudrin, llvm-commits.
evgeny777 set the repository for this revision to rL LLVM.
evgeny777 added a project: lld.

This patch does the following

- ASSERT can be defined outside SECTIONS block
- In case there is no SECTIONS block, section names can still be used in ASSERT and symbol assignment expressions
- All command objects are stored and processed in a single place (createAssignments was removed)

Repository:
  rL LLVM

https://reviews.llvm.org/D24450

Files:
  ELF/InputFiles.cpp
  ELF/LinkerScript.cpp
  ELF/LinkerScript.h
  ELF/Writer.cpp
  test/ELF/linkerscript/assert.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24450.70992.patch
Type: text/x-patch
Size: 6570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160912/4dbbb9de/attachment.bin>


More information about the llvm-commits mailing list