[Git][ghc/ghc][wip/haskell-nix-patches/aarch64-multiplatform/ghc-9.0-better-symbol-addr-debug] Apply 1 suggestion(s) to 1 file(s)
Sylvain Henry (@hsyl20)
gitlab at gitlab.haskell.org
Tue Jul 23 11:42:20 UTC 2024
Sylvain Henry pushed to branch wip/haskell-nix-patches/aarch64-multiplatform/ghc-9.0-better-symbol-addr-debug at Glasgow Haskell Compiler / GHC
Commits:
cbfe38a7 by Sylvain Henry at 2024-07-23T11:42:05+00:00
Apply 1 suggestion(s) to 1 file(s)
- - - - -
1 changed file:
- rts/linker/elf_reloc_aarch64.c
Changes:
=====================================
rts/linker/elf_reloc_aarch64.c
=====================================
@@ -327,7 +327,7 @@ relocateObjectCodeAarch64(ObjectCode * oc) {
CHECK(0x0 != symbol);
if(0x0 == symbol->addr)
- barf("0x0 address for %s + %d of type %d in %s for relocation %d in section %d of kind: %d\n", symbol->name, rel->r_addend, ELF64_R_TYPE((Elf64_Xword)rel->r_info), OC_INFORMATIVE_FILENAME(oc), i, relaTab->targetSectionIndex, oc->sections[relaTab->targetSectionIndex].kind);
+ barf("0x0 address for %s + %ld of type %ld in %s for relocation %d in section %d of kind: %d\n", symbol->name, rel->r_addend, ELF64_R_TYPE((Elf64_Xword)rel->r_info), OC_INFORMATIVE_FILENAME(oc), i, relaTab->targetSectionIndex, oc->sections[relaTab->targetSectionIndex].kind);
/* take explicit addend */
int64_t addend = rel->r_addend;
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/cbfe38a72bdeef1d2360cd64d4c68747087dc701
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/cbfe38a72bdeef1d2360cd64d4c68747087dc701
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240723/4c4cf9ec/attachment.html>
More information about the ghc-commits
mailing list