[coreboot-gerrit] Patch set updated for coreboot: 4577a0e util/cbfstool/cbfs-mkstage.c: Fix build issue on i686
Francis Rowe (info@gluglug.org.uk)
gerrit at coreboot.org
Fri Nov 21 15:05:56 CET 2014
Francis Rowe (info at gluglug.org.uk) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7545
-gerrit
commit 4577a0ea92d2547d91f314680f72ad9a6b578f68
Author: Francis Rowe <info at gluglug.org.uk>
Date: Fri Nov 21 02:38:48 2014 +0000
util/cbfstool/cbfs-mkstage.c: Fix build issue on i686
Fixes regression caused by Commit 405304ac
(cbfstool: Add option to ignore section in add-stage)
Change-Id: If9e3eea9ab2c05027f660d0057a635abf981b901
Signed-off-by: Francis Rowe <info at gluglug.org.uk>
Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
util/cbfstool/cbfs-mkstage.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/util/cbfstool/cbfs-mkstage.c b/util/cbfstool/cbfs-mkstage.c
index 8459334..bb9200d 100644
--- a/util/cbfstool/cbfs-mkstage.c
+++ b/util/cbfstool/cbfs-mkstage.c
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <inttypes.h>
#include "elfparsing.h"
#include "common.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;
}
More information about the coreboot-gerrit
mailing list