summaryrefslogtreecommitdiff
path: root/rts/linker/elf_util.c
Commit message (Collapse)AuthorAgeFilesLines
* rts: Ensure that Rts.h is always included firstBen Gamari2019-11-071-0/+1
| | | | | | | | | | In general this is the convention that we use in the RTS. On Windows things actually fail if we break it. For instance, you see things like: includes\stg\Types.h:26:9: error: warning: #warning "Mismatch between __USE_MINGW_ANSI_STDIO definitions. If using Rts.h make sure it is the first header included." [-Wcpp]
* typos in local varGabor Greif2017-12-141-2/+2
|
* [linker] fix armv7 & add aarch64Moritz Angermann2017-06-081-5/+4
| | | | | | | | | | | | | | | This adds Global Offset Table logic, as well as PLT like logic for armv7 and aarch64; which replaces the preexisting symbolExtras logic, by placing the PLT tables next to the separtely loaded sections. This is needed to ensure that the symbol stubs are in range. Reviewers: bgamari, austin, erikd, simonmar Reviewed By: bgamari Subscribers: Ericson2314, ryantrinkle, rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3448
* [linker] Adds elf_compat.h, util.h, elf_util.hMoritz Angermann2017-04-231-0/+24
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