[commit: ghc] master: rts: Silence missing __noreturn__ warning (7fb89e8)
git at git.haskell.org
git at git.haskell.org
Tue Sep 26 19:39:53 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/7fb89e81aa26d546c468a780b57cbdd5ab189ec2/ghc
>---------------------------------------------------------------
commit 7fb89e81aa26d546c468a780b57cbdd5ab189ec2
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Tue Sep 26 14:34:58 2017 -0400
rts: Silence missing __noreturn__ warning
Reviewers: angerman, austin, erikd, simonmar
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D4034
>---------------------------------------------------------------
7fb89e81aa26d546c468a780b57cbdd5ab189ec2
rts/linker/elf_reloc_aarch64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rts/linker/elf_reloc_aarch64.c b/rts/linker/elf_reloc_aarch64.c
index 1d8f9e8..c50ef04 100644
--- a/rts/linker/elf_reloc_aarch64.c
+++ b/rts/linker/elf_reloc_aarch64.c
@@ -20,7 +20,7 @@ bool isAdrp(addr_t p);
bool isLoadStore(addr_t p);
bool isAddSub(addr_t p);
bool isVectorOp(addr_t p);
-int64_t decodeAddendAarch64(Section * section, Elf_Rel * rel);
+int64_t decodeAddendAarch64(Section * section, Elf_Rel * rel) GNU_ATTRIBUTE(__noreturn__);
bool encodeAddendAarch64(Section * section, Elf_Rel * rel, int64_t addend);
bool isBranch(addr_t p) {
More information about the ghc-commits
mailing list