[coreboot-gerrit] Patch set updated for coreboot: lib/gcov-glue.c: Remove trailing number from COVERAGE_MAGIC macro
Jean Lucas (jean@4ray.co)
gerrit at coreboot.org
Sat Jan 30 07:35:12 CET 2016
Jean Lucas (jean at 4ray.co) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13520
-gerrit
commit 5121d744b9880967ebbc8bb72751c026ac381699
Author: Jean Lucas <jean at 4ray.co>
Date: Sat Jan 30 01:20:54 2016 -0500
lib/gcov-glue.c: Remove trailing number from COVERAGE_MAGIC macro
The COVERAGE_MAGIC macro has a trailing `4' on it, which makes it a
64-bit large integer, as opposed to a 32-bit unsigned integer, a
originally designated in `util/cbmem/cbmem.c'. Remove this number so
so building with CODE_COVERAGE will succeed.
Change-Id: Ib5d7f2704a4c092c3eca6f62e219edb30950d793
Signed-off-by: Jean Lucas <jean at 4ray.co>
---
src/lib/gcov-glue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/gcov-glue.c b/src/lib/gcov-glue.c
index 4e5a9e1..0e45247 100644
--- a/src/lib/gcov-glue.c
+++ b/src/lib/gcov-glue.c
@@ -34,7 +34,7 @@ typedef struct file {
#define COVERAGE_SIZE (32*1024)
-#define COVERAGE_MAGIC 0x584d41534
+#define COVERAGE_MAGIC 0x584d4153
static FILE *current_file = NULL;
static FILE *previous_file = NULL;
More information about the coreboot-gerrit
mailing list