[linker] Adds elf_compat.h, util.h, elf_util.h
authorMoritz Angermann <moritz.angermann@gmail.com>
Sun, 23 Apr 2017 14:02:21 +0000 (10:02 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sun, 23 Apr 2017 15:05:48 +0000 (11:05 -0400)
commit9eea43f9528a49194c25889bbfe3b49fe189cc6f
treedb96445b0dc325082c615064bb8b348005e7beb3
parente5e8646d3c6af82549b55fbee6764b087144a7ec
[linker] Adds elf_compat.h, util.h, elf_util.h

Further cleanup of the linker, we'll add elf_compat.h for a more
complete set of relocations.

Also Util.h has been added as suggested in the code already.

Depends on D3444, D3445

Reviewers: bgamari, austin, erikd, simonmar

Reviewed By: simonmar

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3446
rts/linker/ELFRelocs/AArch64.def [new file with mode: 0644]
rts/linker/ELFRelocs/ARM.def [new file with mode: 0644]
rts/linker/ELFRelocs/LICENSE-LLVM.TXT [new file with mode: 0644]
rts/linker/ELFRelocs/i386.def [new file with mode: 0644]
rts/linker/ELFRelocs/x86_64.def [new file with mode: 0644]
rts/linker/Elf.c
rts/linker/elf_compat.h [new file with mode: 0644]
rts/linker/elf_util.c [new file with mode: 0644]
rts/linker/elf_util.h [new file with mode: 0644]
rts/linker/util.h [new file with mode: 0644]