[PATCH] [lld] [LinkerScript] Handle symbols defined in linker scripts

Rafael Auler rafaelauler at gmail.com
Wed Mar 11 13:12:21 PDT 2015


Hi shankar.easwaran, ruiu,

This patch plays on top of D8157 because it needs the expression
evaluation mechanism working in DefaultLayout.

Puts symbols defined in linker script expressions in a runtime file that is
added as input to the resolver, making the input object files see symbols
defined in linker scripts.

http://reviews.llvm.org/D8263

Files:
  include/lld/ReaderWriter/ELFLinkingContext.h
  include/lld/ReaderWriter/LinkerScript.h
  lib/ReaderWriter/ELF/DynamicLibraryWriter.h
  lib/ReaderWriter/ELF/ELFFile.h
  lib/ReaderWriter/ELF/ExecutableWriter.h
  lib/ReaderWriter/ELF/Hexagon/HexagonExecutableAtoms.h
  lib/ReaderWriter/ELF/Mips/MipsTargetHandler.h
  lib/ReaderWriter/ELF/OutputELFWriter.h
  lib/ReaderWriter/LinkerScript.cpp
  test/elf/linkerscript/Inputs/simple.o.yaml
  test/elf/linkerscript/symbol-definition.test

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8263.21756.patch
Type: text/x-patch
Size: 14631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150311/37719955/attachment.bin>


More information about the llvm-commits mailing list