diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-11-21 02:38:48 +0000 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2014-11-21 19:46:18 +0100 |
commit | 3fb8b0d75b2a40a1e81e10b6abe9f63c71f9066c (patch) | |
tree | 41f76f3ae95308ba90fd2cf1e0eba25b391e1d8d /util/cbfstool | |
parent | 3b8bfeba437f85fbd428c1b76cfd417d55b9920f (diff) | |
download | coreboot-3fb8b0d75b2a40a1e81e10b6abe9f63c71f9066c.tar.gz coreboot-3fb8b0d75b2a40a1e81e10b6abe9f63c71f9066c.tar.bz2 coreboot-3fb8b0d75b2a40a1e81e10b6abe9f63c71f9066c.zip |
util/cbfstool/cbfs-mkstage.c: Fix build issue on 32-bit x86
Fixes regression caused by commit 405304ac
(cbfstool: Add option to ignore section in add-stage)
Change-Id: If9e3eea9ab2c05027f660d0057a635abf981b901
Signed-off-by: Francis Rowe <info@gluglug.org.uk>
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: http://review.coreboot.org/7545
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util/cbfstool')
-rw-r--r-- | util/cbfstool/cbfs-mkstage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/cbfstool/cbfs-mkstage.c b/util/cbfstool/cbfs-mkstage.c index 845933487f39..135a6e77146e 100644 --- a/util/cbfstool/cbfs-mkstage.c +++ b/util/cbfstool/cbfs-mkstage.c @@ -20,6 +20,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA */ +#include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -42,7 +43,7 @@ static int is_phdr_ignored(Elf64_Phdr *phdr, Elf64_Shdr *shdr) /* Return true only if section occupies whole of segment. */ if ((sh_start == ph_start) && (sh_end == ph_end)) { - DEBUG("Ignoring program segment at %p\n", (void *)ph_start); + DEBUG("Ignoring program segment at 0x%" PRIx64 "\n", ph_start); return 1; } |