[coreboot-gerrit] New patch to review for coreboot: lib/gcov-glue.c: Fix COVERAGE_MAGIC definition

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Tue Feb 2 01:29:01 CET 2016


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13551

-gerrit

commit 63c562b475521e1a0a5e5476bc04b5246a1e29e7
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Mon Feb 1 16:26:04 2016 -0800

    lib/gcov-glue.c: Fix COVERAGE_MAGIC definition
    
    In I52e9fa414fbbe2012bc6d00312db528efba3e564 coverage
    support was broken by changing the magic value used for
    coverage entries. Change the magic value back to the
    expected 32bit value (will also fix compilation with
    code coverage enabled)
    
    Change-Id: I43543e42f387a2d21dcf0220c9cca6312dbc643f
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 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