[PATCH] [lld][ELF]: Minimal implementation for ARM static linking

Denis Protivensky dprotivensky at accesssoftek.com
Wed Dec 17 23:11:25 PST 2014


Hi atanasyan, shankarke, wnewton,

The skeleton code for ELF binary generation for ARM platform.

The code is able to statically link the simplest case of int main() { return 0; } sample with only ARM code (no Thumb code, no interwork, -marm, -mno-thumb-interwork options used) and with musl libc built with no interwork and no Thumb code as well.

Note: This is the replacement for http://reviews.llvm.org/D6446

http://reviews.llvm.org/D6716

Files:
  docs/open_projects.rst
  lib/Driver/GnuLdDriver.cpp
  lib/ReaderWriter/ELF/ARM/ARMELFFile.h
  lib/ReaderWriter/ELF/ARM/ARMELFReader.h
  lib/ReaderWriter/ELF/ARM/ARMExecutableWriter.h
  lib/ReaderWriter/ELF/ARM/ARMLinkingContext.cpp
  lib/ReaderWriter/ELF/ARM/ARMLinkingContext.h
  lib/ReaderWriter/ELF/ARM/ARMRelocationHandler.cpp
  lib/ReaderWriter/ELF/ARM/ARMRelocationHandler.h
  lib/ReaderWriter/ELF/ARM/ARMRelocationPass.cpp
  lib/ReaderWriter/ELF/ARM/ARMRelocationPass.h
  lib/ReaderWriter/ELF/ARM/ARMTarget.h
  lib/ReaderWriter/ELF/ARM/ARMTargetHandler.cpp
  lib/ReaderWriter/ELF/ARM/ARMTargetHandler.h
  lib/ReaderWriter/ELF/ARM/CMakeLists.txt
  lib/ReaderWriter/ELF/ARM/Makefile
  lib/ReaderWriter/ELF/ARM/TODO.rst
  lib/ReaderWriter/ELF/Atoms.h
  lib/ReaderWriter/ELF/CMakeLists.txt
  lib/ReaderWriter/ELF/ELFLinkingContext.cpp
  lib/ReaderWriter/ELF/Targets.h
  test/elf/ARM/defsym.test
  test/elf/ARM/rel-abs32.test
  test/elf/ARM/rel-arm-call.test

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6716.17421.patch
Type: text/x-patch
Size: 35698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141218/05cde76b/attachment.bin>


More information about the llvm-commits mailing list