From: Geoff Levand <geoff@infradead.org>
To: Anurup M <anurup.m@huawei.com>
Cc: sanil.kumar@hisilicon.com, kexec@lists.infradead.org
Subject: Re: [PATCH 0/8] arm64 kexec kernel patches V6
Date: Thu, 20 Nov 2014 15:31:15 -0800 [thread overview]
Message-ID: <1416526275.23886.120.camel@smoke> (raw)
In-Reply-To: <1416524243.23886.118.camel@smoke>
> On Tue, 2014-11-18 at 11:48 +0530, Anurup M wrote:
> > I get a relocation error when I try to load using latest kexec-tools from https://git.linaro.org/people/geoff.levand/kexec-tools.git.
Please build with the patch below and let me know the
result.
-Geoff
diff --git a/purgatory/purgatory.c b/purgatory/purgatory.c
index 3bbcc09..faee277 100644
--- a/purgatory/purgatory.c
+++ b/purgatory/purgatory.c
@@ -6,8 +6,9 @@
#include <string.h>
#include "../kexec/kexec-sha256.h"
-struct sha256_region sha256_regions[SHA256_REGIONS] = {};
-sha256_digest_t sha256_digest = { };
+struct sha256_region __attribute__ ((section (".data")))
+ sha256_regions[SHA256_REGIONS] = {};
+sha256_digest_t __attribute__ ((section (".data"))) sha256_digest = {};
int verify_sha256_digest(void)
{
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2014-11-20 23:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <D2393EB95A9993478029A6FE6A290A9F8129D1FE@szxeml510-mbx.china.huawei.com>
2014-11-18 6:18 ` [PATCH 0/8] arm64 kexec kernel patches V6 Anurup M
2014-11-20 1:19 ` Geoff Levand
2014-11-20 22:57 ` Geoff Levand
2014-11-20 23:31 ` Geoff Levand [this message]
2014-12-02 13:39 ` Anurup m
2014-12-02 20:30 ` Geoff Levand
2014-11-14 1:22 Geoff Levand
2014-11-27 6:19 ` Dave Young
2014-11-28 6:56 ` Dave Young
2014-12-02 20:26 ` Geoff Levand
2014-12-02 20:22 ` Geoff Levand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1416526275.23886.120.camel@smoke \
--to=geoff@infradead.org \
--cc=anurup.m@huawei.com \
--cc=kexec@lists.infradead.org \
--cc=sanil.kumar@hisilicon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox