summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2019-06-11 12:35:12 -0400
committerBen Gamari <ben@well-typed.com>2019-06-11 12:35:12 -0400
commit4a014433f0b0b9995005e03fdb737a1aa09047d0 (patch)
treed647f04f586a429792c15c76dea2188aa13a6eb4
parentdd40bcac812264e31ede0d3e2aba6cd6a0a0b120 (diff)
downloadhaskell-wip/angerman/fix-arm-relocs.tar.gz
Apply suggestion to rts/linker/Elf.cwip/angerman/fix-arm-relocs
-rw-r--r--rts/linker/Elf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/linker/Elf.c b/rts/linker/Elf.c
index 349de86227..1efb2d8342 100644
--- a/rts/linker/Elf.c
+++ b/rts/linker/Elf.c
@@ -1034,6 +1034,9 @@ do_Elf_Rel_relocations ( ObjectCode* oc, char* ehdrC,
* - GOT_ORG is the addressing origin of the Global Offset Table (the indirection table for imported data addresses).
* This value must always be word-aligned. See ยง4.6.1.8, Proxy generating relocations.
* - GOT(S) is the address of the GOT entry for the symbol S.
+ *
+ * See the ELF for "ARM Specification" for details:
+ * https://developer.arm.com/architectures/system-architectures/software-standards/abi
*/
for (j = 0; j < nent; j++) {